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: Help with my tp to spawn script? View my game for more info.

Previous Thread :: Next Thread 
Toasterstrudelsz is not online. Toasterstrudelsz
Joined: 28 Nov 2016
Total Posts: 31
14 Jun 2017 10:43 AM
--Here is my script for teleporting to spawn, the button works but teleporting to spawn doesn't...

--Starts here:
local debounce=true local player=script.Parent.Parent.Parent.Parent local target=game.Workspace:WaitForChild("SpawnLocation") script.Parent.MouseButton1Click:connect(function() if debounce==true then debounce=false player.Character.HumaniodRootPart.CFrame=target. CFrame*CFrame.new(0,3,0) --Cooldown for i=5,1,-1 do wait(1) script.Parent.Text="Cooldown " .. i .. "seconds" end wait(1) script.ParentText="Teleport To P!NK Spawn" debounce=true end end)

--Link to my game: https://www.roblox.com/games/864430104/P-NK-Hangout
Report Abuse
xXLuka_XD is not online. xXLuka_XD
Joined: 27 Mar 2016
Total Posts: 296
14 Jun 2017 10:45 AM
why didnt u make the player teleport to position of the spawn and add some number to keep it in?
Report Abuse
Toasterstrudelsz is not online. Toasterstrudelsz
Joined: 28 Nov 2016
Total Posts: 31
14 Jun 2017 10:49 AM
--I did that with another button, but it didn't work :/ (This is pretty much the same script, but with coords)
--Script Starts Here: local debounce=true local player=script.Parent.Parent.Parent.Parent local target=game.Workspace:WaitForChild("-306.61, 6.115, 1039.8") script.Parent.MouseButton1Click:connect(function() if debounce==true then debounce=false player.Character.HumaniodRootPart.CFrame=target. CFrame*CFrame.new(0,3,0) --Cooldown for i=5,1,-1 do wait(1) script.Parent.Text="Cooldown " .. i .. "seconds" end wait(1) script.ParentText="Teleport To P!NK VIP" debounce=true end end)
Report Abuse
xXLuka_XD is not online. xXLuka_XD
Joined: 27 Mar 2016
Total Posts: 296
14 Jun 2017 10:52 AM
U said parent text without space. i meant fi rst find position of the part and make humanoid or the player itself go to that place using C FRAME or MoveTo
Report Abuse
xXLuka_XD is not online. xXLuka_XD
Joined: 27 Mar 2016
Total Posts: 296
14 Jun 2017 10:53 AM
I mean without a dot
Report Abuse
TaaRt is online. TaaRt
Joined: 26 Apr 2009
Total Posts: 5039
14 Jun 2017 10:54 AM
Did you actually write that?
Report Abuse
xXLuka_XD is not online. xXLuka_XD
Joined: 27 Mar 2016
Total Posts: 296
14 Jun 2017 10:56 AM
can i see your place? i will send u friend request
Report Abuse
Toasterstrudelsz is not online. Toasterstrudelsz
Joined: 28 Nov 2016
Total Posts: 31
14 Jun 2017 11:00 AM
Accepted
Report Abuse
Toasterstrudelsz is not online. Toasterstrudelsz
Joined: 28 Nov 2016
Total Posts: 31
14 Jun 2017 11:13 AM
A little bit, im not a very good scripter, i manly went off tutorials
Report Abuse
TaaRt is online. TaaRt
Joined: 26 Apr 2009
Total Posts: 5039
14 Jun 2017 11:14 AM
it's completely unreadable
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