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

I have a teleportation problem. How could you fix it?

Asked by 10 years ago

I have this in a normal script in a GUI. It used to work in studio but because I changed the places starting place, its been acting weird...

script.Parent.MouseButton1Click:connect(function()
    game:GetService("TeleportService"):Teleport(196512319)

    script.Parent.Parent.Parent.Parent.Loading.Visible = true
    script.Parent.Parent.Parent.Visible = false

    for i = 1, 0, -.05 do
        script.Parent.Parent.Parent.Parent.Loading.BackgroundTransparency = i
        wait()
    end
    script.Parent.Parent.Parent.Parent.Loading.BackgroundTransparency = 0
end)
0
Weird in what way? Redbullusa 1580 — 10y
0
In studio it says that I can't join and in roblox player, it doesn't teleport at all. EzraNehemiah_TF2 3552 — 10y

Answer this question