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
 

How??

Previous Thread :: Next Thread 
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
09 Jul 2011 10:52 PM
How do i make these 2 scripts where you can vote again these 2 scripts go together,

Script1,
function addvote(gui)
if Workspace.rtg.Value == 0 then
game.Workspace.rtg.Value = game.Workspace.rtg.Value + 1

script.Parent.Text = "You have voted :D"
else
script.Parent.Text = "You already voted!"
wait(3)
script.Parent.Text = "You have voted :D"
end
end
script.Parent.MouseButton1Down:connect(addvote)

Script2,
function regenerate(asd)
needed = 3

if script.Parent.Value == needed then
for i, v in pairs(workspace:GetChildren()) do
if v:IsA("BasePart") then
v:remove()
end
end
end
p = game.Players:GetChildren()
for i=1,#p do
if p[i].ClassName == "Player" then
end
end
end
script.Parent.Changed:connect(regenerate)
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
09 Jul 2011 11:30 PM
Bump.
Report Abuse
cool12309 is not online. cool12309
Joined: 21 Sep 2008
Total Posts: 1442
09 Jul 2011 11:32 PM
...

What?
Report Abuse
ZGS is not online. ZGS
Joined: 01 Aug 2009
Total Posts: 3972
09 Jul 2011 11:38 PM
What cool said. You need to be more descriptive and clear.
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
09 Jul 2011 11:44 PM
I mean how can i Vote again after it regened?
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
10 Jul 2011 12:02 AM
Bump!!!
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
10 Jul 2011 12:13 AM
Bump :C!!
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