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: how do i make this script so the wind horn can't kill me

Previous Thread :: Next Thread 
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 04:38 PM
well this weapon can still kill you with a forcefield, so how do i edit this so it wont

https://www.roblox.com/catalog/127506257/Knights-of-the-Splintered-Sky-Wind-Summoning-Horn


tool = script.Parent
handle = tool:WaitForChild("Handle")
event = tool:WaitForChild("Event")
properties = tool:WaitForChild("Configuration")

readyColor = properties:WaitForChild("ReadyColor")
onColor = properties:WaitForChild("ShieldColor")
offColor = properties:WaitForChild("ReloadColor")
onTime = properties:WaitForChild("ShieldTime")
offTime = properties:WaitForChild("ReloadTime")

debounce = false
handle.BrickColor = readyColor.Value

event.OnServerEvent:connect(function(player)

if debounce then return end debounce = true

local FF = Instance.new("ForceField", player.Character)
handle.BrickColor = onColor.Value
wait(onTime.Value)

FF:Destroy()
handle.BrickColor = offColor.Value
wait(offTime.Value)
handle.BrickColor = readyColor.Value
debounce = false
end)
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
10 May 2017 04:39 PM
http://wiki.roblox.com/index.php?title=API:Class/Humanoid/TakeDamage


Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
10 May 2017 04:39 PM
wiki.roblox.com
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 04:40 PM
come on guys fix it for me?
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
10 May 2017 04:42 PM
cmon fix my tycoon pls
Report Abuse
Vaserity is not online. Vaserity
Joined: 11 Oct 2016
Total Posts: 20
10 May 2017 04:44 PM
When a weapon is damaging you, make sure it uses;

player.Character.Humanoid:TakeDamage(100)

rather than

player.Character.Humanoid.Health = player.Character.Humanoid.Health - 100.

:TakeDamage() takes into account if the user is FFed.

But, if thats not working,


event.OnServerEvent:connect(function(player)
prevHealth = 0
if debounce then return end debounce = true

local FF = Instance.new("ForceField", player.Character)
handle.BrickColor = onColor.Value
prevHealth = player.Character.Humanoid.Health
player.Character.Humanoid.MaxHealth = math.huge
player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth
wait(onTime.Value)

player.Character.Humanoid.MaxHealth = 100
player.Character.Humanoid.Health = prevHealth

FF:Destroy()
handle.BrickColor = offColor.Value
wait(offTime.Value)
handle.BrickColor = readyColor.Value
debounce = false
end)


Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 04:51 PM
the weapon doesn't damage you it picks you up with a tornado.
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 04:54 PM
with an insta kill
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 05:43 PM
aye
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
10 May 2017 05:44 PM
so why would we fix the script for you?
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
10 May 2017 05:45 PM
"come on guys fix it for me? "

^ Ahem
no


Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 05:52 PM
ill pay what ever extra you charge, i'm not going over 100 robux for 1 line that needs to be added
Report Abuse
PhantomVisual is not online. PhantomVisual
Joined: 08 Apr 2011
Total Posts: 2025
10 May 2017 05:55 PM
Unsubtleties gave you answer, Vaserity just clearly explained it, even with code.


Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 06:27 PM
@phantom you don't understand get out.
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 06:27 PM
the wind horn doesn't take your damage. it picks up your limbs and insta kills you.
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 07:10 PM
hi
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 07:14 PM
name your price.
Report Abuse
BlueWizard12345 is not online. BlueWizard12345
Joined: 31 Mar 2012
Total Posts: 906
10 May 2017 07:15 PM
6,500
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 07:17 PM
ok.
Report Abuse
BlueWizard12345 is not online. BlueWizard12345
Joined: 31 Mar 2012
Total Posts: 906
10 May 2017 07:20 PM
lol

pastebin/M1Jy6TE5
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 07:21 PM
don't think i'm clicking a keylog link.
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
10 May 2017 07:22 PM
See what foruming in LMaD does to people?


Report Abuse
BlueWizard12345 is not online. BlueWizard12345
Joined: 31 Mar 2012
Total Posts: 906
10 May 2017 07:22 PM
lol.. do you not know what pastebin is *add ### ### after pastebin
Report Abuse
BlueWizard12345 is not online. BlueWizard12345
Joined: 31 Mar 2012
Total Posts: 906
10 May 2017 07:22 PM
add a period and the first 3 letters of come
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
10 May 2017 07:26 PM
i know what pastebin is, but you might've descised the link as a keylog one, post it here shawty.
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