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: can someone help?

Previous Thread :: Next Thread 
pinball9 is not online. pinball9
Joined: 29 Apr 2016
Total Posts: 11
04 Oct 2017 04:04 PM
Hi i'm new to scripting so i need help most of the time... can someone help me create or send me a fall damage script because i looked it up all over the place and i can't find any. so if anyone is willing to help just send me a falling damage script or help me create a fall damage script. Thanks and goodbye :D
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
04 Oct 2017 04:10 PM
local FallDamageBegin = ## ##### ############### = 1 local Player = game.Players.LocalPlayer local Last_Y = Player.Character.Torso.Position.Y function onFreeFall(active) if (active) then Last_Y = Player.Character.Torso.Position.Y else local y_diff = Last_Y - Player.Character.Torso.Position.Y if (y_diff > FallDamageBegin) then local damage = (y_diff - FallDamageBegin) * FallDamageScale Player.Character.Humanoid:TakeDamage(damage) end end end Player.Character.Humanoid.FreeFalling:connect(onFreeFall)
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
04 Oct 2017 04:12 PM
Fall Damage Begin = TEN
Fall Damage Scale = ONE

remove spaces and change TEN and ONE to actual numbers

^^ sorry Roblox filtering is garbage
Report Abuse
pinball9 is not online. pinball9
Joined: 29 Apr 2016
Total Posts: 11
04 Oct 2017 05:12 PM
thx :D
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