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: Teleporter doesn't work.

Previous Thread :: Next Thread 
G0LDDRAG0N is not online. G0LDDRAG0N
Joined: 27 May 2012
Total Posts: 6687
29 Sep 2015 08:52 AM
Destination = game.Workspace.Floor
Player = game.Players.LocalPlayer

function onClicked()
Player.Character:MoveTo(Destination.Position)
end

script.Parent.MouseButton1Down:connect(onClicked)

Works fine in studio but not in Play mode. Anyone know why?
Report Abuse
MKofOrbiter is not online. MKofOrbiter
Joined: 28 Aug 2010
Total Posts: 910
29 Sep 2015 08:57 AM
-- Maybe it doesn't load?



local Destination = game["Workspace"]:WaitForChild("Floor")
Report Abuse
G0LDDRAG0N is not online. G0LDDRAG0N
Joined: 27 May 2012
Total Posts: 6687
29 Sep 2015 09:14 AM
@MK

Nope, doesn't work.
Report Abuse
G0LDDRAG0N is not online. G0LDDRAG0N
Joined: 27 May 2012
Total Posts: 6687
29 Sep 2015 09:20 AM
Bump
Report Abuse
G0LDDRAG0N is not online. G0LDDRAG0N
Joined: 27 May 2012
Total Posts: 6687
30 Sep 2015 01:55 AM
b
Report Abuse
G0LDDRAG0N is not online. G0LDDRAG0N
Joined: 27 May 2012
Total Posts: 6687
30 Sep 2015 07:53 AM
anyone?
Report Abuse
Bloxinality is not online. Bloxinality
Joined: 21 Jun 2013
Total Posts: 22538
30 Sep 2015 08:16 AM
Position in a game would be Vector3, and if it's moving the person there instead of a new place, you would use BodyPosition.


http://www.roblox.com/--item?id=297394377http://www.roblox.com/--item?id=297394428http://www.roblox.com/--item?id=297394447
Report Abuse
SpookyScarehSkeleton is not online. SpookyScarehSkeleton
Joined: 25 Mar 2011
Total Posts: 16681
30 Sep 2015 08:36 AM
"(Destination.Position)"
I see no efficient sourcehow the script would recognize position.

•SpookyScarehSkeleton• ≈ •Youtube: youtube.com/channel/UCixcrTr7gP2yziMzYJD-U7Q•
Report Abuse
G0LDDRAG0N is not online. G0LDDRAG0N
Joined: 27 May 2012
Total Posts: 6687
30 Sep 2015 08:37 AM
Actually, the problem is that I have to put the script into Localscript. It's working now.
Report Abuse
Versault is not online. Versault
Joined: 08 Oct 2014
Total Posts: 3241
30 Sep 2015 08:48 AM
Use free models
Report Abuse
SpookyScarehSkeleton is not online. SpookyScarehSkeleton
Joined: 25 Mar 2011
Total Posts: 16681
30 Sep 2015 09:21 AM
^
LOL

•SpookyScarehSkeleton• ≈ •Youtube: youtube.com/channel/UCixcrTr7gP2yziMzYJD-U7Q•
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