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: Why this isn't working?

Previous Thread :: Next Thread 
superblade344 is not online. superblade344
Joined: 11 Sep 2009
Total Posts: 5283
29 Aug 2013 01:14 PM
debounce = false
script.Parent.Touched:connect(function(toucher)
wait(1)
if debounce == false and toucher ~= workspace.BasePlate then
firescript = script:Clone()
colorscript = script.Parent.colorscript:Clone()
colorscript.Parent = toucher
firescript.Parent = toucher
fire = script.Parent.Fire:Clone()
fire.Parent = toucher
toucher.BrickColor = BrickColor.new("Black")
human = toucher.Parent:FindFirstChild("Humanoid")
if human then
while true do
toucher.Parent.Humanoid.Health = toucher.Parent.Humanoid.Health - 1
if toucher.Parent.Humanoid.Health <= 0 then
break
end
wait(0.2)
end
end
debounce = true
wait(5)
debounce = false
end
end)
Report Abuse
superblade344 is not online. superblade344
Joined: 11 Sep 2009
Total Posts: 5283
29 Aug 2013 01:16 PM
That was #1 script...
This is #2 script...

script.Parent.Touched:connect(function(toucher)
if toucher.Name ~= "BasePlate" then
wait (2)
toucher.BrickColor = BrickColor.new("Really black")
wait(5)
toucher:Destroy()
wait (5)
end
end)
Report Abuse
xxBsFxx is not online. xxBsFxx
Joined: 26 Aug 2013
Total Posts: 3281
29 Aug 2013 01:16 PM
[ Content Deleted ]
Report Abuse
superblade344 is not online. superblade344
Joined: 11 Sep 2009
Total Posts: 5283
29 Aug 2013 01:17 PM
output?
Report Abuse
xxBsFxx is not online. xxBsFxx
Joined: 26 Aug 2013
Total Posts: 3281
29 Aug 2013 01:17 PM
[ Content Deleted ]
Report Abuse
superblade344 is not online. superblade344
Joined: 11 Sep 2009
Total Posts: 5283
29 Aug 2013 01:18 PM
How about the first one?
Report Abuse
superblade344 is not online. superblade344
Joined: 11 Sep 2009
Total Posts: 5283
29 Aug 2013 01:19 PM
So?
Report Abuse
superblade344 is not online. superblade344
Joined: 11 Sep 2009
Total Posts: 5283
29 Aug 2013 01:21 PM
Cmon... :/
Report Abuse
superblade344 is not online. superblade344
Joined: 11 Sep 2009
Total Posts: 5283
29 Aug 2013 01:24 PM
I mean fire must come out.
Report Abuse
killajake25 is not online. killajake25
Joined: 31 Jan 2011
Total Posts: 1713
29 Aug 2013 01:26 PM
Studio>View>Output Window

What's the script meant to do?
Report Abuse
superblade344 is not online. superblade344
Joined: 11 Sep 2009
Total Posts: 5283
29 Aug 2013 01:26 PM
CMON
FOR GOD'S SAKE
Report Abuse
xxBsFxx is not online. xxBsFxx
Joined: 26 Aug 2013
Total Posts: 3281
29 Aug 2013 01:26 PM
[ Content Deleted ]
Report Abuse
superblade344 is not online. superblade344
Joined: 11 Sep 2009
Total Posts: 5283
29 Aug 2013 01:29 PM
Can you gimmie scripts?
Report Abuse
xxBsFxx is not online. xxBsFxx
Joined: 26 Aug 2013
Total Posts: 3281
29 Aug 2013 01:29 PM
[ Content Deleted ]
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