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 » Club Houses » Let's Make a Deal
Home Search
 

Re: 12/12 Gifts :D

Previous Thread :: Next Thread 
BobCowMan is not online. BobCowMan
Joined: 14 May 2010
Total Posts: 22634
22 Dec 2011 11:57 AM
I hope there's a gift for getting all the gifts O_e


Anyways bids on golden bow tie?


And my super scripting powers came up with this

p = script.Parent

while wait() do
p.Position = Vector3.new(x,y+1,z)
wait(3)
p.Position = Vector3.new(x,y-1,z)
wait(3)
end

Supposed to be a brick that goes up and down

Of course it doesnt work

Can anyone fix it?

~MOOOOlah 3:8~
Report Abuse
helloppl1404 is not online. helloppl1404
Joined: 25 Oct 2009
Total Posts: 9954
22 Dec 2011 11:59 AM
i only have 11 >.>

and if im gonna get them all, im gonna have to magically get 10k

Donec non ipsum.
Report Abuse
mechawaffle is not online. mechawaffle
Joined: 28 Oct 2010
Total Posts: 33621
22 Dec 2011 11:59 AM
11/12 gifts.... didnt get rally
Report Abuse
FredCowman is not online. FredCowman
Joined: 13 Dec 2011
Total Posts: 2887
22 Dec 2011 12:00 PM
[ Content Deleted ]
Report Abuse
SoulSword111 is not online. SoulSword111
Joined: 15 Feb 2010
Total Posts: 3007
22 Dec 2011 12:00 PM
I can't script RBX.Lua, so here I go.
First, is the brick (P) in the right place?
Second, do you need to define x, y, and z? Like with it's current position?
I dont know lol.
If only this was C# :3
I'm missing 3 gifts...

"No, you see, if you were a script, you would function properly." ~Leeav
Report Abuse
SirChickenNugget is not online. SirChickenNugget
Joined: 09 Nov 2010
Total Posts: 7933
22 Dec 2011 12:01 PM
Congratulations.

Limiteds: Rubber Duckie, Wanwood Antlers, Blue Winter Cap + 3,752 ROBUX
Report Abuse
SoulSword111 is not online. SoulSword111
Joined: 15 Feb 2010
Total Posts: 3007
22 Dec 2011 12:01 PM
Oh and what does your friend the output say?

"No, you see, if you were a script, you would function properly." ~Leeav
Report Abuse
Cocorebals is not online. Cocorebals
Joined: 17 Apr 2008
Total Posts: 12077
22 Dec 2011 12:03 PM
is it sopposed to be...
( x ,y-1, z ) ?
idunnno seems to me that that would be the only thing wrong that I can see :o
I iz learning :>
Report Abuse
BobCowMan is not online. BobCowMan
Joined: 14 May 2010
Total Posts: 22634
22 Dec 2011 12:03 PM
Workspace.Part.Script:4: attempt to perform arithmetic on global 'y' (a nil value)


;o

i know very little scripting, and my scripting buddiez are all offline

~MOOOOlah 3:8~
Report Abuse
FredCowman is not online. FredCowman
Joined: 13 Dec 2011
Total Posts: 2887
22 Dec 2011 12:03 PM
[ Content Deleted ]
Report Abuse
SoulSword111 is not online. SoulSword111
Joined: 15 Feb 2010
Total Posts: 3007
22 Dec 2011 12:04 PM
I was right. You need to define x, y, and z with it's current vector position.
Which of course, I don't know how to get the current position from a brick ​>.<

"No, you see, if you were a script, you would function properly." ~Leeav
Report Abuse
BobCowMan is not online. BobCowMan
Joined: 14 May 2010
Total Posts: 22634
22 Dec 2011 12:05 PM
@Soul

I'll try to define it

~MOOOOlah 3:8~
Report Abuse
Velocity100 is not online. Velocity100
Joined: 10 Dec 2010
Total Posts: 15
22 Dec 2011 12:06 PM
Your script needs a for i = 1,10 do in it,And you you did not put what is xyz so the script does not work,Plus this is LMad...
like..

p = script.Parent
x = p.Position.X
y = p.Position.Y
z = p.Position.Z

while true do
for i = 1,10 do
wait()
p.Position = Vector3.new(x,y+0.1,z)
end
wait(0.1)
for i = 1,10 do
wait()
p.Position = Vector3.new(x,y-0.1,z)
end
wait(0.1)
end
~pb23 out!
Report Abuse
SoulSword111 is not online. SoulSword111
Joined: 15 Feb 2010
Total Posts: 3007
22 Dec 2011 12:06 PM
Yeah.. If you go into it's proprieties window see if you can find x, y, and z.
Then define it at the top like you defined "p".
So it would be:
x = a #
y = a #
z = a #

"No, you see, if you were a script, you would function properly." ~Leeav
Report Abuse
SoulSword111 is not online. SoulSword111
Joined: 15 Feb 2010
Total Posts: 3007
22 Dec 2011 12:07 PM
Dangit velocity you beat me to it ​>.<
:P

"No, you see, if you were a script, you would function properly." ~Leeav
Report Abuse
Cocorebals is not online. Cocorebals
Joined: 17 Apr 2008
Total Posts: 12077
22 Dec 2011 12:07 PM
http://www.roblox.com/Forum/ShowForum.aspx?ForumID=20
Go thar :o
lol
Report Abuse
BobCowMan is not online. BobCowMan
Joined: 14 May 2010
Total Posts: 22634
22 Dec 2011 12:15 PM
@Cocore

Dunno the community and they dont usually help when I ask

@Velocity

How do I plug in the number?

Like x = p.Position.348.5 doesnt work

x = p.Position.(348.5) doesnt work

This is a little further than I've learned ;o

~MOOOOlah 3:8~
Report Abuse
Velocity100 is not online. Velocity100
Joined: 10 Dec 2010
Total Posts: 15
22 Dec 2011 12:18 PM
Wait what you want to move the brick to and from, Not up and down?
Ok you see the y+0.1 make that just y and add +0.1 to the x's

Or just pm me so i can help -.-
Report Abuse
LiLDJX is not online. LiLDJX
Joined: 17 May 2008
Total Posts: 35012
22 Dec 2011 12:21 PM
[ Content Deleted ]
Report Abuse
BobCowMan is not online. BobCowMan
Joined: 14 May 2010
Total Posts: 22634
22 Dec 2011 12:21 PM
Your messaging is disabled lol

and I do want to move it up and down

But how do I plug in the position of x,y, and z to define it?

~MOOOOlah 3:8~
Report Abuse
Velocity100 is not online. Velocity100
Joined: 10 Dec 2010
Total Posts: 15
22 Dec 2011 12:22 PM
Fixed lolol
Report Abuse
Velocity100 is not online. Velocity100
Joined: 10 Dec 2010
Total Posts: 15
22 Dec 2011 12:26 PM
x = 1337
y = 5
z = 101
Not z = p.Position.352
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Let's Make a Deal
   
 
   
  • 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