Hello!
I have recently been trying to make a gun like a turbo fusion gun. FYI I am not new to Roblox, I am an advanced scripter but this is just broken... It is a reloading animation. There are no errors and it is printing everything successfully.
script:
print("Start") repeat wait() until game.Players.LocalPlayer.Character print("Char") local Hum = game.Players.LocalPlayer.Character:WaitForChild("Humanoid") print("Hum") wait(1/20) print("Waited") local NewAnimation = Instance.new("Animation", script) NewAnimation.AnimationId = "rbxassetid://3230722600" NewAnimation.Name = "MyAnimation" while wait(20) do print("Go") local TrackAnimation = Hum:LoadAnimation(NewAnimation) TrackAnimation:Play() end
Yes, my scripts are in StarterPlayerScripts and is a local script.