this is something where you press r and it playes a anamation and the anamation plays on studio but not on server this is in workspace and its a script here is code
wait(2) local Damage = 1 me = game.Players.LocalPlayer Playa = game.Players.LocalPlayer mouse = me:GetMouse() Torso = me.Character.Torso Head = me.Character.Head Humanoid = me.Character.Humanoid Neck = Torso["Neck"] RightShoulder = Torso["Right Shoulder"] LeftShoulder = Torso["Left Shoulder"] RightHip = Torso["Right Hip"] LeftHip = Torso["Left Hip"] LeftArm = me.Character["Left Arm"] RightArm = me.Character["Right Arm"] LeftLeg = me.Character["Left Leg"] RightLeg = me.Character["Right Leg"] req = 50 -- Damage function Damage1(hit) if hit.Parent:findFirstChild("Humanoid") and hit.Parent.Name ~= me.Name then hit.Parent.Humanoid:TakeDamage(3) wait(.2) end end ---- C MOVE-- PlayzUf = Playa.Name CMoveCD = true mouse.KeyDown:connect(function(Key) if Key == "r" and CMoveCD == true and Humanoid.Jump == false then local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/item.aspx?id=321445347" local animTrack = Humanoid:LoadAnimation(animation) local Damage = 1 animTrack:Play() wait(2) local Damage = 0 end end) if Damage == 1 then Damage1(me.Character) end