|
| 31 May 2014 02:37 PM |
This is a local script in StarterGui...
function playgame_function(player) game.StarterGui.ScreenGui:Remove() player.Character.Torso.CFrame = Vector3.new(-27.073, 2.09, 133.009)
end
game.StarterGui.ScreenGui.MouseButton1Down:connect(playgame_function) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 31 May 2014 02:38 PM |
local player = Game.Players.LocalPlayer
function playgame_function() player.PlayerGui.ScreenGui:Remove() player.Character.Torso.CFrame = CFrame.new(-27.073, 2.09, 133.009) end
game.StarterGui.ScreenGui.MouseButton1Down:connect(playgame_function) |
|
|
| Report Abuse |
|
|
|
| 31 May 2014 02:39 PM |
You're editing the Gui in the StarterGui, which is not what you want to do. You want to edit the GUI in the Player's PlayerGui
-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::] |
|
|
| Report Abuse |
|
|
|
| 31 May 2014 02:39 PM |
Dangit, cntkillme is 2speedy4me
-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 31 May 2014 02:39 PM |
And also, player.ScreenGui.MouseButton1Down:connect(playgame_function)
|
|
|
| Report Abuse |
|
|