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
 

What did i did wrong?

Previous Thread :: Next Thread 
bonkertje123 is not online. bonkertje123
Joined: 26 Dec 2011
Total Posts: 1642
29 Mar 2014 06:08 AM
local Water = script.Parent
Water.Position = Vector3.new(Water.Position.x+1,Water.Position.y+1,Water.Position.z+0)
end

Can someone help me?
I dont know what i did wrong...
Report Abuse
bonkertje123 is not online. bonkertje123
Joined: 26 Dec 2011
Total Posts: 1642
29 Mar 2014 06:11 AM
bump
Report Abuse
compy111 is not online. compy111
Joined: 02 Apr 2009
Total Posts: 583
29 Mar 2014 06:13 AM
Please be more detailed in your subject and the explanation of your problem, explain us what you are trying to achieve with the script.

But I guess you want to move the brick called water.
Your script will more the brick in x and y position by 1 and then your script ends.
The word 'end' is used to stop a loop or statement.
You must add a loop to it first.

local Water = script.Parent
while true do
Water.Position = Vector3.new(Water.Position.x+1,Water.Position.y+1,Water.Position.z+0)
end

Many people remember while true do as one piece but it actually says:
while the boolean true is true then do.

You can also change while true do with while 1==1 do (double = is needed)
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
29 Mar 2014 06:23 AM
@Comp

Or maybe he just wants it 1 step forward on realtive to it's x,y and z offsets .-.
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
29 Mar 2014 06:24 AM
But Ye you're kinda right

you place an end for no reason @ OP
so there must be some function you missed e.e
Report Abuse
bonkertje123 is not online. bonkertje123
Joined: 26 Dec 2011
Total Posts: 1642
29 Mar 2014 06:28 AM
It didnt worked.
I did this now.


local Water = script.Parent
while true do
Water.Size = Vector3.new(Water.Size.995.4,1.4,996)
wait(1)
Water.Size = Vector3.new(Water.Size.995.4,1.2,996)
end
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
29 Mar 2014 06:29 AM
@Bon

What do you want it to do?(the script)
Report Abuse
bonkertje123 is not online. bonkertje123
Joined: 26 Dec 2011
Total Posts: 1642
29 Mar 2014 06:31 AM
I want to make the water bigger and then smaller the whole time...
Report Abuse
bonkertje123 is not online. bonkertje123
Joined: 26 Dec 2011
Total Posts: 1642
29 Mar 2014 06:38 AM
bump
Report Abuse
bonkertje123 is not online. bonkertje123
Joined: 26 Dec 2011
Total Posts: 1642
29 Mar 2014 06:48 AM
Ugh can someone please help me???!!!
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
29 Mar 2014 06:51 AM

local Water = script.Parent
while true do
Water.Size = Vector3.new(Water.Size.995.4,1.4,996)
wait(2)
Water.Size = Vector3.new(Water.Size.5005.4,0.2,500)
end
Report Abuse
bonkertje123 is not online. bonkertje123
Joined: 26 Dec 2011
Total Posts: 1642
29 Mar 2014 07:01 AM
Thats still not working..
Report Abuse
baheeg is not online. baheeg
Joined: 19 Jul 2010
Total Posts: 72846
29 Mar 2014 07:05 AM

local Water = script.Parent
while true do
Water.Size = Vector3.new(995.4,1.4,996)
wait(2)
Water.Size = Vector3.new(5005.4,0.2,500)
end

silly us111
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