Ive tried using
local stagenumber = script.Parent local function hit() wait(3) stagenumber:Destroy() end stagenumber.Touched:Connect(hit)
I don't think I could use Instance.new either
Ive tried using
local stagenumber = script.Parent local function hit() wait(3) stagenumber:Destroy() end stagenumber.Touched:Connect(hit)
I don't think I could use Instance.new either
I am not sure if you are using a local script to purposely destroy a part for a single client, but if you want to destroy a part for every player you need to do it from a module script of from a server script. You could use a remote event to connect between the scripts.
I am trying to make it destroy for only one player
Im trying to make an obby stage counter that shows your stage and it keeps going up every time they touch it so I want to make it destroy for only one player so the other players can get the stage counter without it destroying for everyone
Sorry, you could try having the part parented to the camera so only one player could see it.
Do you know how obbys show their players stages on the leaderboard
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
I fixed it instead of using stage.value = stage.value + 1 you just do stage.value = 1