Advertisement
mustafaradhi

Giver script

Feb 11th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. script.Parent.Touched:connect(function(hit)---when the part touched (Guys the scripts ar in the description)
  2. local plr = game.Players:GetPlayerFromCharacter(hit.Parent)--we gonna make the player who touched this
  3. local knife = script.Parent.Knife--the location of the knife"
  4. local thenew = knife:Clone()--a varible we cloned the knife
  5. thenew.Parent = plr.Backpack--were will it will go when we cloned it/what do it parent when we cloned it.
  6. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement