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: Why dosen't this script work?

Previous Thread :: Next Thread 
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
29 Aug 2013 09:14 AM
Why doesn't this script work? It's supposed to make rounds and everytime a round goes by it teleports you to the lobby and when a round starts it teleports you to the game.


However it does none of the above and, it has no output errors.




player = game.Players.LocalPlayer
player:WaitForDataReady()
for i = 1, 100 do
if i == 2 then
player.Character:MoveTo(Vector3.new(116.4, 5.2, -140.5))
elseif i == 99
then player.Character.Humanoid.Health = 0
player.Character.Torso.CFrame = CFrame.new(-232.2, 97.2, 233.6)
wait(10)
end
end


Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
29 Aug 2013 09:36 AM
bump
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
29 Aug 2013 09:56 AM
Help.
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
29 Aug 2013 10:04 AM
Omg, there's like no-oone on this forum
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
29 Aug 2013 10:12 AM
Mod someone answer!
Report Abuse
Hagar5000 is not online. Hagar5000
Joined: 02 Apr 2008
Total Posts: 467
29 Aug 2013 10:18 AM
Instead of player.Character:MoveTo(Vector3.new(116.4, 5.2, -140.5)) try

player.Character.Torso.CFrame = CFrame.new(116.4, 5.2, -140.5)
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
29 Aug 2013 10:24 AM
The script still doesn't work!
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