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
 

Script helper!

Previous Thread :: Next Thread 
raspyjessie is not online. raspyjessie
Joined: 06 Jun 2010
Total Posts: 359
07 May 2013 07:09 PM
what wrong with it ?

tween=game.workspace.part2
x,y,z=game.workspace.Parent.Position
x= workspace.part2.Position(x,y,z)

while true do
tween.Anchored=true
wait(.1)
tween.Anchored=false
wait(3)
tween.Anchored=true
wait(3)
workspace.part2.Position=Vector3.new(x)
print("1 down")
wait(7)
tween.Anchored=true
wait(.1)
tween.Anchored=false
wait(3)
tween.Anchored=true
wait(3)
workspace.part2.Position=Vector3.new(x)
print ("2 down")
end
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
07 May 2013 07:14 PM
The issue with it is that you don't know how to use vectors.
Report Abuse
Flash77 is not online. Flash77
Joined: 14 Jun 2008
Total Posts: 550
07 May 2013 07:14 PM
this cant happen:
x,y,z=game.workspace.Parent.Position
x= workspace.part2.Position(x,y,z)

try:

x,y,z=game.workspace.Parent.Position.X,game.workspace.Parent.Position.Y,game.workspace.Parent.Position.Z
x2= workspace.part2.Position(x,y,z)
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
07 May 2013 07:15 PM
Flash, you can't call a position.
Report Abuse
raspyjessie is not online. raspyjessie
Joined: 06 Jun 2010
Total Posts: 359
07 May 2013 07:15 PM
Well i'm sorry that i'm new i started scripting yesterday.
Report Abuse
raspyjessie is not online. raspyjessie
Joined: 06 Jun 2010
Total Posts: 359
07 May 2013 07:17 PM
And i know how to use vector but im trying to make X = the parts position.
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
07 May 2013 07:17 PM
x = workspace.part2.Position
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