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
 

GripForward problem

Previous Thread :: Next Thread 
wow75 is not online. wow75
Joined: 16 Jan 2009
Total Posts: 951
20 Apr 2013 04:40 PM
So i have afor loop to make the tool look like its swinging(Its a bell), and its straight up not changing.

function swordOut()
for i = 1,25 do
Tool.GripForward = Vector3.new(Tool.GripForward + Vector3.new(0,-0.1,0))
Tool.GripRight = Vector3.new(0,0,1)
Tool.GripUp = Vector3.new(0,1,0)
print(Tool.GripForward) -- Note this Here --
wait()
end
end

Output:
1,0,0
1,0,0
1,0,0
1,0,0
1,0,0
1,0,0
1,0,0
and so on..
Report Abuse
wow75 is not online. wow75
Joined: 16 Jan 2009
Total Posts: 951
20 Apr 2013 05:01 PM
Bump
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
20 Apr 2013 05:18 PM
The Vector3 value is unaffected due to the way you are creating one. I personally don't know the technical reason for this, but the fix is correcting the following format.

Tool.GripForward = Vector3.new(Tool.GripForward + Vector3.new(0,-0.1,0))

To

Tool.GripForward = Tool.GripForward + Vector3.new(0,-0.1,0)
Report Abuse
wow75 is not online. wow75
Joined: 16 Jan 2009
Total Posts: 951
20 Apr 2013 07:55 PM
Sadly, it still refuses to work.
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