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: Problem with this statement?

Previous Thread :: Next Thread 
OzzyBlox is not online. OzzyBlox
Joined: 04 Nov 2009
Total Posts: 14166
21 Jan 2013 01:46 PM
if boom.Position ~= (1,1,1) then
boom.Position = Vector3.new(1,1,1)
end

Output says I need a '(' near ","
Report Abuse
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
21 Jan 2013 01:50 PM
I see nothing wrong with that... I assume that the output thing means you need to bracket off the CFrame..
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
21 Jan 2013 02:18 PM
if not boom.Position == Vector3.new(1,1,1) then
Report Abuse
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
21 Jan 2013 02:19 PM
miz, you beat me to it... .-.
Report Abuse
megaguy44 is not online. megaguy44
Joined: 28 Sep 2008
Total Posts: 1066
21 Jan 2013 02:20 PM
if (boom.Position ~= Vector3.new(1,1,1)) then
boom.Position = Vector3.new(1,1,1)
end
-- You were wrong cheese.


print('Hello World!')
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