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: What's wrong with this?

Previous Thread :: Next Thread 
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
24 Nov 2012 02:42 AM
while true do
wait()
script.Parent.Mesh.Offset= Vector3.new(0,(script.Parent.Mesh.Offset -1), 0)


end
Report Abuse
itunes89 is not online. itunes89
Joined: 19 Jan 2011
Total Posts: 1957
24 Nov 2012 02:47 AM
Try this:

    while wait() do
        script.Parent.Mesh.Offset = Vector3.new(0,script.Parent.Mesh.Offset -1, 0)
    end
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
24 Nov 2012 02:50 AM
No.. doesn't work.
Report Abuse
RobustPhysics is not online. RobustPhysics
Joined: 12 Jul 2012
Total Posts: 3064
24 Nov 2012 02:51 AM
while wait(0.01) do
script.Parent.Mesh.Offset = Vector3.new(0,script.Parent.Mesh.Offset.Y-1, 0)
end

--script.Parent.Mesh.Offset is a vector, and you tried subtracting a 1 from it.

--Vector3.new(0,0,0) - 1 = Error

--:P
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
24 Nov 2012 03:03 AM
OH - OF COURSE... I DIDN'T PUT ".Y"

*Fail*
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