Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I delay the time before the player gets to equip a tool?

Asked by 5 years ago

I'm trying to make an fps and don't want people to be able to switch to a different weapon as soon as the one they have equipped runs out of ammo so they can spam. Is there any way I can delay the time it takes to equip a tool/weapon and if so is there a way I can put a equip animation too?

0
tool.equipped:connect(function() tool.parent = game.Players.LocalPlayer.Backpack wait(delay) tool.Parent = workspace[game.Players.LocalPlayer.Name] end) WikiBaseHealthFinder 40 — 5y

Answer this question