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 11 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
11 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.

01game.Players.PlayerAdded:connect(function(player)
02 
03 
04 
05if player.Name==("Player1") then
06 
07 
08KeyClone=game.ServerStorage.Key:Clone()
09 
10 
11KeyClone.Parent=player.Backpack
12 
13 
14 
15end
16 
17end)
0
im having troubles its not loading up is the key jls12345678 0 — 11y
Ad

Answer this question