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

Character's Position = Stage.Position isnt working?

Asked by 6 years ago

Sorry for my best English!

local Characterx = game.Players.LocalPlayer

if Characterx.Character.Humanoid.Health <1 or Characterx.Character.Humanoid.Health == 0 then
    wait(1)
    Characterx.Character.Torso.CFrame = CFrame.new(game.Workspace[Characterx.leaderstats.Stage.Value].Position + Vector3.new(1, 3,0))
end
0
Why is characterx.leaderstats.Stage.Value in the CFrame? ultrasonicboomer 85 — 6y
0
First Stage's name is 1 another stages is +1... it found game.Workspace[Characterx.leaderstats.Stage.Value].Position it found your stage and if you died script will spawn you on stage. FrezeTagger 75 — 6y
0
I think it's because the HumanoidRootPart breaks after death so. Magivestigum 63 — 6y

Answer this question