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 » Scripters
Home Search
 

Re: ontouch add fire to torso script ???

Previous Thread :: Next Thread 
scrapper682 is not online. scrapper682
Joined: 01 Feb 2009
Total Posts: 11
25 Mar 2017 09:46 AM
Looking for a script like freeze tag, but other than ice its fire
Report Abuse
QuantumNexsus is not online. QuantumNexsus
Joined: 09 Nov 2014
Total Posts: 2451
25 Mar 2017 09:47 AM
script.Parent.Touched:connect(function(Hit)
if Hit.Parent.Humanoid then
Instance.new("Fire", Hit.Parent.Humanoid)
end
end)


R$0
Report Abuse
QuantumNexsus is not online. QuantumNexsus
Joined: 09 Nov 2014
Total Posts: 2451
25 Mar 2017 09:48 AM
Ops
script.Parent.Touched:connect(function(Hit)
if Hit.Parent.Humanoid then
Instance.new("Fire", Hit.Parent.Torso)
end
end)


R$51
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
25 Mar 2017 09:53 AM
^ No, if Humanoid/Torso doesn't exist then it'll error and that event could possibly be invoked by NPCs


Report Abuse
QuantumNexsus is not online. QuantumNexsus
Joined: 09 Nov 2014
Total Posts: 2451
25 Mar 2017 09:56 AM
I didnt really think of that so lol.


R$51
Report Abuse
scrapper682 is not online. scrapper682
Joined: 01 Feb 2009
Total Posts: 11
04 Apr 2017 08:33 AM
Thank you for the script, it worked
Report Abuse
graveyardposse is not online. graveyardposse
Joined: 23 Oct 2008
Total Posts: 2565
04 Apr 2017 09:11 AM
@Quantum you might want to use game.Players:GetPlayerFromCharacter(Hit.Parent) in the future
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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