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

How to make this script work?

Asked by 10 years ago
function Give(Plr)
    wait()
    print("Giving...")
    wait(1)
    Plr = game.Players.LocalPlayer
    Tool1 = Tool:clone()
    Tool1.Parent = Plr.Backpack
end

This is only part of the main script. I am only showing this part because it only works when I test it on ROBLOX studio, but when I test it on my actual account instead of "Player1" it doesn't give you the weapon.

1 answer

Log in to vote
0
Answered by
OniiCh_n 410 Moderation Voter
10 years ago

You have to make sure it is in a LocalScript.

0
Still doesn't work. killerthedemon 14 — 10y
Ad

Answer this question