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: TeleportService

Previous Thread :: Next Thread 
FamianoIsGreat is online. FamianoIsGreat
Joined: 23 Dec 2015
Total Posts: 36
24 Nov 2017 06:00 PM
so i was making a basic button teleporter so i can move from place to place but my scripts arent working.... i just need someone to look it over and tell me what i did wrong Script - local TeleportService = game:GetService("TeleportService") local Place = ########## local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() TeleportService:Telport(Place, player) end)
Report Abuse
FamianoIsGreat is online. FamianoIsGreat
Joined: 23 Dec 2015
Total Posts: 36
24 Nov 2017 06:01 PM
local TeleportService = game:GetService("TeleportService") local Place = ########## local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() TeleportService:Telport(Place, player) end)
Report Abuse
Latine_Lemonade is not online. Latine_Lemonade
Joined: 10 Apr 2017
Total Posts: 143
24 Nov 2017 06:38 PM
It is "Teleport", not "Telport".
"connect" is deprecated, Try "Connect".

local Teleporting = game:GetService('TeleportService')

local Place = --ID

local Player = game:GetService('Players').LocalPlayer -- Plr who will teleport

local button = script.Parent -- the button

button.MouseButton1Click:Connect(function()
Teleporting:Teleport(Place, Player)
end)
Report Abuse
FamianoIsGreat is online. FamianoIsGreat
Joined: 23 Dec 2015
Total Posts: 36
24 Nov 2017 06:40 PM
thank you.... wow


Report Abuse
Latine_Lemonade is not online. Latine_Lemonade
Joined: 10 Apr 2017
Total Posts: 143
24 Nov 2017 06:40 PM
No problem.
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