generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Help me out here.

Previous Thread :: Next Thread 
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
26 Aug 2014 07:29 PM
script.Parent.MouseButton1Click:connect(function(plr)
print("Button1 Clicked")
b = script.Parent.Parent
b.Frame.ImageLabel.Image = "rbxassetid://42535818"
end)

script.Parent.MouseButton1Click:connect(function(plr)
print("Ready to teleport")
a = script.Parent
wait (0.01)
a.Text = "Are you sure?"
script.Parent.MouseButton1Click:connect(function(plr)
game:GetService("TeleportService"):Teleport(123989671)
wait (10)
a.Text = "Dispatchment Hub"
end)
end)

--------------
It's supposed to be a Universal GUI, everything else is working other than the teleportation to another game.

Report Abuse
cingwar73 is not online. cingwar73
Joined: 16 Aug 2009
Total Posts: 358
26 Aug 2014 08:11 PM
script.Parent.MouseButton1Click:connect(function(plr)
print("Button1 Clicked")
b = script.Parent.Parent
b.Frame.ImageLabel.Image = "rbxassetid://42535818"
end)

script.Parent.MouseButton1Click:connect(function(plr)
print("Ready to teleport")
a = script.Parent
wait (0.01)
a.Text = "Are you sure?"
script.Parent.MouseButton1Click:connect(function(plr)
game:GetService("TeleportService"):Teleport(123989671,plr) --Added the defined plr
-- Old code : game:GetService("TeleportService"):Teleport(123989671)
wait (10)
a.Text = "Dispatchment Hub"
end)
end)
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
26 Aug 2014 11:02 PM
doesn't work ;-;
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
26 Aug 2014 11:13 PM
b1
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
26 Aug 2014 11:25 PM
b2
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
26 Aug 2014 11:55 PM
b3
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
27 Aug 2014 12:55 AM
b4
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
27 Aug 2014 01:05 AM
wow
4 hours later
10/10 reliable
Report Abuse
XperialTheory is not online. XperialTheory
Joined: 06 Jul 2014
Total Posts: 41
27 Aug 2014 02:11 AM
script.Parent.MouseButton1Click:connect(function(plr)
print("Button1 Clicked")
b = script.Parent.Parent
b.Frame.ImageLabel.Image = "rbxassetid://42535818"
end)

script.Parent.MouseButton1Click:connect(function(plr)
print("Ready to teleport")
a = script.Parent
wait (0.01)
a.Text = "Are you sure?"
script.Parent.MouseButton1Click:connect(function(plr)
game:GetService('TeleportService'):TeleportImpl(123989671, "")
wait (10)
a.Text = "Dispatchment Hub"
end)
end)


??
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image