I think its an Animation Priority error. But in roblox studio everything works correctly. ~~~~~~~~~~~~~~~~~
mouse.Button1Up:Connect(function() i dont showing full script. this script is inside tool
if GunStatus then game.ReplicatedStorage.Shoot:FireServer(mouse.Hit.p, script.Parent.Parent) else end
end)
NormalAnim = script.Normal --in script witch is inside serverScriptService game.ReplicatedStorage.Eqquiped.OnServerEvent:Connect(function(player) local load = player.Character.Humanoid:LoadAnimation(NormalAnim) load.Priority = Enum.AnimationPriority.Action load.Looped = true load:Play()
end)
~~~~~~~~~~~~~~~~~
Hello, tomekcz;
The problem is your last script.
So, this is your script...
NormalAnim = script.Normal --in script witch is inside serverScriptService game.ReplicatedStorage.Eqquiped.OnServerEvent:Connect(function(player) local load = player.Character.Humanoid:LoadAnimation(NormalAnim) load.Priority = Enum.AnimationPriority.Action load.Looped = true load:Play() end)
I have managed to fix some problems...
NormalAnim = script.Normal game.ReplicatedStorage.SomeGear.Equipped.OnServerEvent:Connect(function(player) -- Hey, you cannot equip the ReplicatedStorage, change the "SomeGear" your weapon's name. local load = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(NormalAnim) load:Play() end)
That is the best i could do in 2 mins, tell me more about your problems in the comments.