|
| 06 Jul 2015 05:45 PM |
How can I have a loop that if player has HomeGK as their current pos value it will give them a stick. But only once
local plr = game.Players.LocalPlayer
while true do wait() if script.Parent.CurrentPos.Value == "HomeGK" and plr.Backpack:findFirstChild("Goalie Stick") == nil then game.ServerStorage["Goalie Stick"]:Clone().Parent = plr.Backpack end end
I came up with that except when a player uses a stick it. Another one will appear because the stick went away from his backpack and into his character |
|
|
| Report Abuse |
|
| |