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

How To Add A Suit Onto Every Player In The Game?

Asked by 8 years ago

I've been seeing games with jetpacks on your back when you spawn in and stuff. Im wondering how to do that for example the game impulse spawns with jetpacks and a gun in your hand you dont have to click a number its just there already so Im wondering how to do that too.

1 answer

Log in to vote
0
Answered by 8 years ago

You would use something like this:

function PlayerToSetup(Player)
    --[[ Code to weld the suit to the character ]]--
end

game.Players.PlayerAdded:connect(
    function(Player)
        PlayerToSetup(Player)
        Player.Backpack["Tool you want to equip"].Parent = Player.Character
    end
)
0
Thanks very much kennyspy222 0 — 8y
0
No problem :) KilowattLaser 5 — 8y
Ad

Answer this question