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 » Scripters
Home Search
 

Re: Universe help

Previous Thread :: Next Thread 
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
08 Jul 2015 08:11 PM
I made a gui, put a script In i learned to make from the wiki, but it doesn't teleport me to the place when i click the gui

local teleportService = game:GetService("TeleportService")
local otherPlaceId = 186119153


game.ReplicatedStorage.TeleportRequestEvent.OnServerEvent:connect(function(player)

local character = player.Character
local forceField = Instance.new("ForceField", character)


player.OnTeleport:connect(function(teleportState)
if teleportState == Enum.TeleportState.Failed then
game.ReplicatedStorage.TeleportRequestEvent:FireClient(player)
forceField:Destroy()
end
end)


teleportService:Teleport(otherPlaceId, player)


The Guardian of OT|Termed mains add 20k|
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
08 Jul 2015 08:15 PM
Bump



The Guardian of OT|Termed mains add 20k|
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
08 Jul 2015 08:21 PM
B.U.M.P



The Guardian of OT|Termed mains add 20k|
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
08 Jul 2015 08:22 PM
*Doesn't provide LocalScript from GUI*
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
08 Jul 2015 08:30 PM
???????????



The Guardian of OT|Termed mains add 20k|
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
08 Jul 2015 08:30 PM
Oh, I see I need a local script too



The Guardian of OT|Termed mains add 20k|
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
08 Jul 2015 08:31 PM
You only provided the server script. Why not the localscript?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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