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
 

Explosion..

Previous Thread :: Next Thread 
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
18 Dec 2012 05:25 PM
I need help, I want it to explode a random person. But I don't think it will. Can you proof reed from where it says,"Start here[," to where it says,"End here]."
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
18 Dec 2012 05:25 PM
Forgot to post the script..

--kill others gui..

print("Begin")

--------Stuffas------

lol = {}
me = game.Players.Player1
gui = Instance.new("ScreenGui")
gui.Name = me.Name.."'s Explosion Gui!"
clicked = Instance.new("TextButton",gui)
clicked.Name = "OmgClickMe!"
clicked.Size = UDim2.new(0, 100, 0, 50)
clicked.Position = UDim2.new(0, 350, 0, 0)
clicked.Text = "Explosion"
clicked.Font = "ArialBold"
clicked.FontSize = "Size24"
clicked.TextColor3 = Color3.new("Red")
clicked.Style = "RobloxButtonDefault"
gui.Parent = me.PlayerGui

-----endofsutffas----

print("Ready, Set, GO!")

----MoreStuffas------

function click() --Start here[
others = game.Players:GetChildren()
peeps = #others
if peeps >=2 then
for _,pwnage in pairs(others) do
v = pwnage[math.random(1,#pwnage)]
if v.Name == me.Name then
repeat v = pwnage[math.random(1,#pwnage)] until v.Name ~= me.Name
pwn = Instance.new("Explosion")
pwn.BlastRadius = 10
pwn.BlastPressure = 50
pwn2 = pwn:clone()
pwn2.Position = v.Character.Torso.Position
end
end
end
end -- End Here]

----beginfunctionlol----

clicked.MouseButton1Click:connect(click)

-----alldone-----
pi = 0
x = (1*2)+(1+.14)
pi = x
print(pi)
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
18 Dec 2012 05:36 PM
God, I hate it when people skip over your thread like it's nothing, however they go to someone else's thread starting a whole conversation that is off topic by a longshot.
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
18 Dec 2012 05:44 PM
LOL *700* Posts!!! WOOT

BUMP!
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
18 Dec 2012 06:05 PM
BUMP BUMP BUMP
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