Cookaie
|
  |
| Joined: 04 Oct 2012 |
| Total Posts: 2306 |
|
|
| 09 Jul 2014 11:04 AM |
The following script works, but only when you join. After you respawn, the script does not run and the GUI does not appear. If anyone could give me advice on how to fix this, it'd be massively appreciated. The following script is here:
function added(player) wait(10) local f = Instance.new("TextButton") local s = Instance.new("ScreenGui") f.Text = "To MORPHS" f.Parent = s s.Parent = player.PlayerGui f.Position = UDim2.new(0, 0, 0.3, 0) f.Size = UDim2.new(0.1, 0, 0.1, 0) f.MouseButton1Down:connect(function() player.Character.Torso.CFrame = CFrame.new(Vector3.new(732.104, -105.352, 341.96)) end)
local a = Instance.new("TextButton") local b = Instance.new("ScreenGui") a.Text = "To CAFETERIA" a.Parent = b b.Parent = player.PlayerGui a.Position = UDim2.new(0, 0, 0.4, 0) a.Size = UDim2.new(0.1, 0, 0.1, 0) a.MouseButton1Down:connect(function() player.Character.Torso.CFrame = CFrame.new(Vector3.new(90.904, 135.194, 448.992)) end) local c = Instance.new("TextButton") local d = Instance.new("ScreenGui") c.Text = "To LIGHT/HEAVY CROSS SECTION" c.Parent = b d.Parent = player.PlayerGui c.Position = UDim2.new(0, 0, 0.5, 0) c.Size = UDim2.new(0.1, 0, 0.1, 0) a.MouseButton1Down:connect(function() player.Character.Torso.CFrame = CFrame.new(Vector3.new(-122.3, 1.9, 237.8))
end) end game.Players.PlayerAdded:connect(added)
super mayn to de rescuies |
|
|
| Report Abuse |
|
|
Cookaie
|
  |
| Joined: 04 Oct 2012 |
| Total Posts: 2306 |
|
|
| 09 Jul 2014 04:17 PM |
bumphs9JZ
super mayn to de rescuies |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2014 04:44 PM |
function added(player) wait(10) local f = Instance.new("TextButton") local s = Instance.new("ScreenGui") f.Text = "To MORPHS" f.Parent = s s.Parent = player.PlayerGui f.Position = UDim2.new(0, 0, 0.3, 0) f.Size = UDim2.new(0.1, 0, 0.1, 0)
f.MouseButton1Down:connect(function() player.Character.Torso.CFrame = CFrame.new(Vector3.new(732.104, -105.352, 341.96)) end)
local a = Instance.new("TextButton") local b = Instance.new("ScreenGui") a.Text = "To CAFETERIA" a.Parent = b b.Parent = player.PlayerGui a.Position = UDim2.new(0, 0, 0.4, 0) a.Size = UDim2.new(0.1, 0, 0.1, 0)
a.MouseButton1Down:connect(function() player.Character.Torso.CFrame = CFrame.new(Vector3.new(90.904, 135.194, 448.992)) end) local c = Instance.new("TextButton") local d = Instance.new("ScreenGui") c.Text = "To LIGHT/HEAVY CROSS SECTION" c.Parent = b d.Parent = player.PlayerGui c.Position = UDim2.new(0, 0, 0.5, 0) c.Size = UDim2.new(0.1, 0, 0.1, 0)
a.MouseButton1Down:connect(function() player.Character.Torso.CFrame = CFrame.new(Vector3.new(-122.3, 1.9, 237.8))
end) end game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function() added(player) end) end) |
|
|
| Report Abuse |
|
|