of     1   

TheOrangeNebula
#186277626Monday, March 28, 2016 11:19 PM GMT

When a player touches a brick, only they get a custom walking animation, not everyone else.
AxonMega
#186278461Monday, March 28, 2016 11:29 PM GMT

--scripted by AxonMega --put this in a script inside of the brick local brick = script.Parent local animid = the id of the custom walking animation local function ontouched(part) local player = game.Players:GetPlayerFromCharacter(part.Parent) if player then local walkanim = player.Character:FindFirstChi;ld("WalkAnim", true) if walkanim then walkanim.AnimationId = animid end end end brick.Touched:connect(ontouched)
DrSaint
#186279055Monday, March 28, 2016 11:37 PM GMT

@Ax Is it really necessary to put "--scripted by AxonMega" every time? People can just delete it.
AggressiveCatch
#186280332Monday, March 28, 2016 11:52 PM GMT

if u want credit for ur scripts dont post in this forum
Madified
#186280489Monday, March 28, 2016 11:54 PM GMT

Try this --scripted by Madified --put this in a script inside of the brick local brick = script.Parent local animid = the id of the custom walking animation local function ontouched(part) print("scripted by Madified") local player = game.Players:GetPlayerFromCharacter(part.Parent) if player then local walkanim = player.Character:FindFirstChi;ld("WalkAnim", true) if walkanim then print("Make sure to thank Madified") walkanim.AnimationId = animid end end end print("Madified scripted this") brick.Touched:connect(ontouched)

    of     1