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
 

how to fix that script?

Previous Thread :: Next Thread 
Incortable is not online. Incortable
Joined: 24 Dec 2011
Total Posts: 15
24 Mar 2017 05:37 PM
To = game.Players:FindFirstChild(to)
Who = GetPlayer(who)
if Who == 0 then return end
for i = 1 ,#Who do
if Who[i].Character ~= nil and To.Character ~= nil then
if Who[i].Character:FindFirstChild("Torso") ~= nil and To.Character:FindFirstChild("Torso") ~= nil then
Who[i].Character.Torso.CFrame = To.Character.Torso.CFrame + Vector3.new(math.random(-i/3,i/3),0,math.random(-i/3,i/3))
end end end end

the whole script doesnt work.
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
24 Mar 2017 05:52 PM
By looking in Output for any errors and if there are none letting us know.
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
24 Mar 2017 05:54 PM
there's an error on the first line lol, but these errors are easy to fix by using the ###### #############################################
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
24 Mar 2017 05:55 PM
today's the first day that every wiki link I've posted gets filtered smh
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
24 Mar 2017 05:55 PM
"Are you Dr. Seuss? Name your variables with some grace."
^ Is what I would say if this is your script. You didn't even give us the details on what the GetPlayer function does
Also why are these global variables? What is lowercase "to", "who"?
Report Abuse
Incortable is not online. Incortable
Joined: 24 Dec 2011
Total Posts: 15
24 Mar 2017 06:31 PM
no one can help? :(
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