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

How do i make so i can only have certain gear?

Asked by 10 years ago

Because im using tekknikk lifts but u need a lift key card and im wondering is there a way only i can have the lift key on a obby and the others have to complete it

1 answer

Log in to vote
1
Answered by
haillin 60
10 years ago

Your saying you have a device that is activated with a keycard and you want to make it so just your character spawns with it? If that's the case you can use this code.

game.Players.PlayerAdded:connect(function(player)



if player.Name==("Player1") then


KeyClone=game.ServerStorage.Key:Clone()


KeyClone.Parent=player.Backpack 



end

end)
0
im having troubles its not loading up is the key jls12345678 0 — 10y
Ad

Answer this question