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: Click for Brick

Previous Thread :: Next Thread 
darthkitty is not online. darthkitty
Joined: 20 Sep 2008
Total Posts: 1926
16 Aug 2011 11:20 PM
Anyone know where I could find a model where you click a button and it will spawn a brick? I need it for a way to make a voting booth.
Report Abuse
RoAnt is not online. RoAnt
Joined: 14 Jul 2008
Total Posts: 16794
16 Aug 2011 11:22 PM
Why won't you make it instead?
(Free model)
Report Abuse
dreaddraco2 is not online. dreaddraco2
Joined: 01 Dec 2007
Total Posts: 6275
16 Aug 2011 11:22 PM
p=Instance.new("Part", workspace)
p.formFactor = "Custom"
p.Size = Vector3.new(2,2,2)
p.Anchored = true
cd = Instance.new("ClickDetector")
cd.Parent = p
cd.MouseClick:connect(function()
p2 = Instance.new("Part", p)
p2.formFactor = "Custom"
p2.Size = Vector3.new(0.5, 0.5, 0.5)
p2.Anchored = true
end)
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
16 Aug 2011 11:23 PM
why do bricks? Just have it set up like this :


local vote0=0;
local vote1=0;

script.Parent.Vote0.CD.MouseClick:connect(function()
vote0=vote0+1;
end
)

script.Parent.Vote1.CD.MouseClick:connect(function()
vote1=vote1+1;
end
)
Report Abuse
dreaddraco2 is not online. dreaddraco2
Joined: 01 Dec 2007
Total Posts: 6275
16 Aug 2011 11:24 PM
A physics based voting system with kind of a set of scales and votes on each side would be awesome.
Report Abuse
darthkitty is not online. darthkitty
Joined: 20 Sep 2008
Total Posts: 1926
16 Aug 2011 11:40 PM
@RoAnt How about you become helpful like these people, because your logic is horrible, and most of what I make is made by myself, but of course, people like you require older players like me to make 100% of everything myself.
Report Abuse
darthkitty is not online. darthkitty
Joined: 20 Sep 2008
Total Posts: 1926
16 Aug 2011 11:53 PM
Hey thank you all for the help, however I had thought that possibly I could use two brick makers that are from a tycoon and decal the buttons with choice "1" and "2" and put the brick spawners in a concealed location, that way no one knows who voted for what. Thank you for the help however. :)
Report Abuse
RoAnt is not online. RoAnt
Joined: 14 Jul 2008
Total Posts: 16794
16 Aug 2011 11:55 PM
@darthkitty
Join date doesn't matter.
I am much older than you by two months. Compare my ID with yours.

"where I could find a model"
I gave you a location on where to find it.

Report Abuse
darthkitty is not online. darthkitty
Joined: 20 Sep 2008
Total Posts: 1926
17 Aug 2011 12:04 AM
Alright you did make a valid point, in fact; one that I used before on someone else, but the fact is; I don't think free models are bad, only players who overuse them and make the majority of their place out of free models, but free models is how I learned how to make things on my own. So I aplogize for snapping about it, I just never can understand how free models are bad unless overused.
Report Abuse
darthkitty is not online. darthkitty
Joined: 20 Sep 2008
Total Posts: 1926
17 Aug 2011 12:06 AM
Oh, and now that I read it, I jumped the gun and yelled, you weren't even calling me a Free Model user or anything. Im sorry XD
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
17 Aug 2011 11:44 AM
I can tell that the voting thing is supposed to make a bar graph for who won, which would be a lot easier with what I showed by just making a gui pop up with the results ( vote0/(vote0+vote1) for the size ) and you would also need a gui to be able to stop cheating anyways.
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