local Master = game.Players.LocalPlayer Character = Master.Character local enabled = true Player = script.Parent.Parent me = Player mouse = Player:GetMouse() Player = script.Parent.Parent Character = Player.Character run = game:GetService("RunService") waittime = 4 LeftShoulder = Player.Character.Torso["Left Shoulder"] RightShoulder = Player.Character.Torso["Right Shoulder"] LeftArm = me.Character["Left Arm"] RightArm = me.Character["Right Arm"] LeftLeg = me.Character["Left Leg"] RightLeg = me.Character["Right Leg"] Torso = me.Character["Torso"] Colour = BrickColor.new("Bright orange") function onKeyDown(key) key = key:lower() if key == "f" then run = game:GetService("RunService") game:GetService("Chat"):Chat(Player.Character.Head, "Fist Shot") local anim = Player.Character.Humanoid:LoadAnimation(script.Animation) anim:Play() end end mouse.KeyDown:connect(onKeyDown)
The animation is a arm going out and i need that arm to have damage, i've dried some things, but it just breaks the whole script. Btw i know most of that stuff at the top is unneeded, but that's not the reason it's not working. it works when i don't have any damage "Script" in it.