0

# My tool Animation wont play when clicked (used for a simulator)?

Basically, I have a ServerScript inside of a tool (I used a ServerScript instead of Functions so hackers can't give themself infinite "gas" yet for some reason the Animation wont play, the script works fine except the animation

script.Parent.Activated:Connect(function()
local Character = script.Parent.Parent
local Player = game.Players:GetPlayerFromCharacter(Character)