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: Would this script work?

Previous Thread :: Next Thread 
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
07 Jan 2014 10:55 AM

function unanchored_chairs()
while true do

wait(2)
game.ServerStorage.Chair1:Clone()
local chair = game.Worksapce.Chair1
chair.Position = Vector3.new(493.77, 113.053, 0.5)
chair.derp1.BrickColor = BrickColor.Random()
chair.derp2.BrickColor = chair.derp1.BrickColor
chair.derp3.BrickColor = chair.derp1.BrickColor
chair.derp4.BrickColor = chair.derp1.BrickColor
chair.derp5.BrickColor = chair.derp1.BrickColor
chair.derp6.BrickColor = chair.derp1.BrickColor
vel = Instance.new("BodyVelocity", chair)
vel.velocity = vector3.new(0, 10, 0)
wait(10)
chair:Destroy()


end
end
game.Players.PlayerAdded:connect(unanchored_chairs)




--I'm making a game like dodge the teapots. The original chair is in the storage.
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
07 Jan 2014 10:57 AM
I need to know so I can continue.
Report Abuse
breuning is not online. breuning
Joined: 30 Oct 2008
Total Posts: 4268
07 Jan 2014 10:59 AM
why dont you just test it

i think it will work
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
07 Jan 2014 11:02 AM
hmm...... that looks a little fishy let me think .................




oh at the end change :Destroy() to :remove() as destroy can cause lag , bugs and breaks scripts, and sometimes doesnt even work , so it safer to use remove , even though im not saying destroy doesnt work it is really buggy though.
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