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: help

Previous Thread :: Next Thread 
demonwingz999 is not online. demonwingz999
Joined: 18 Oct 2010
Total Posts: 36
13 Jun 2012 10:46 AM
t = game.Workspace.TestDummie1

t2 = game.Workspace.TestDummie2

t3 = game.Workspace.TestDummie3

if t.Humanoid.Health == 0 or t2.Humanoid.Health == 0 or t3.Humanoid.Health == 0 then
d3 = game.Workspace.Door3
d3.Transparency = 1
d3.CanCollide = false
local p = Instance.new("Message")
p.Parent = Workspace
p.Text = "Grenade room unlocked!!"
wait(5)
p.Remove()
end
this wont work when i kill any of these test dummies
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
13 Jun 2012 10:51 AM
function Grenade()
d3 = Workspace.Door3
d3.Transparency = 1
d3.CanCollide = false
local p = Instance.new("Message", Workspace)
p.Text = "Grenade room unlocked!!"
wait(5)
p:Destroy()
d3.Transparency = 0
d3.CanCollide = true
end

for i = 1, 3 do
Workspace['TestDummie' .. i].Humanoid.Died:connect(Grenade)
end

Maybe?
Report Abuse
demonwingz999 is not online. demonwingz999
Joined: 18 Oct 2010
Total Posts: 36
13 Jun 2012 10:53 AM
i have read this script and i think it might work.
Report Abuse
demonwingz999 is not online. demonwingz999
Joined: 18 Oct 2010
Total Posts: 36
13 Jun 2012 10:57 AM
nope it doesnt work.
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
13 Jun 2012 10:58 AM
Are you getting any output?
Report Abuse
demonwingz999 is not online. demonwingz999
Joined: 18 Oct 2010
Total Posts: 36
13 Jun 2012 11:01 AM
it says

11:00:16 - TestDummie1 is not a valid member of Workspace
11:00:16 - Script "Workspace.door!! opener", Line 16
11:00:16 - stack end
Report Abuse
demonwingz999 is not online. demonwingz999
Joined: 18 Oct 2010
Total Posts: 36
13 Jun 2012 11:11 AM
bump help?
Report Abuse
GreenDay987Alt is not online. GreenDay987Alt
Joined: 01 Apr 2012
Total Posts: 246
13 Jun 2012 11:13 AM
Um... is TestDummie1 inside the Workspace...?




~Let the Flame Wars begin! And may the odds NEVER be in your favor!~
Report Abuse
demonwingz999 is not online. demonwingz999
Joined: 18 Oct 2010
Total Posts: 36
13 Jun 2012 11:15 AM
yes it is. i dotn know why its not working.
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
13 Jun 2012 12:26 PM
Are you sure you wrote it correctly?
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
13 Jun 2012 12:29 PM
Spec, nice scripting. Perfect efficiency.
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