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

how can i make it so that when i join my game a part/group disapears?

Asked by
Alex08l 10
2 years ago
Edited 2 years ago

i have searched up youtube tutorials it dont work i have tried everything. im making a game and when i join i need my model thats by the counter to disapear so i can stand in there instead

1 answer

Log in to vote
0
Answered by
bailley5 114
2 years ago

Put this in StarterPlayerScripts as a local script:

game.Players.PlayerAdded:Connect(function(player)
if player.Name == "YourUsernameHere" then
game.WherEverYourModelIs.Model:Destroy()
end
end)
0
thanks Alex08l 10 — 2y
0
why doesnt it work? i changed the "yourusernamehere" Alex08l 10 — 2y
0
Did you change WhereEverYourModelIs and Model to the correct bames? bailley5 114 — 2y
0
what do you mean by "WhereEverYourModelIs"? Alex08l 10 — 2y
0
Get the location of the model you want to disappear (through the explorer tab) and then replace "WhereEverYourModelIs" with the location. If your model has a specific name change "Model" on line 3 to that name. bailley5 114 — 2y
Ad

Answer this question