About 70,900 results
Open links in new tab
  1. Fall Damage Script - Community Resources - Developer Forum

    Mar 31, 2022 · Information After around 2 days of work, including a DevForum post (that I found the solution to myself lol), I am releasing my Fall Damage script! As you can see here in this video, you take damage when falling from at least 75 studs. (This can be changed to your likings in the script) If you just want to add the script right away to your game, here is the link to the model: Here is a game to ...

  2. Creating a Height-Based Fall Damage System (Using Velocity

    Jan 18, 2023 · [EDIT] - Changed script to work 100% server side, fixed grammar [EDIT 2] - Changed how falling is detected Recently whilst looking on the internet for good, robust fall damage tutorials I realized that most if not all only kill or give a predefined set of damage that is not dependent on the height you fell from. So that’s what we’re going to be doing here! This is available as an ...

  3. Best way to make fall damage? - Scripting Support - Roblox

    Apr 2, 2020 · As many of you probably think, fall damage is a nice addition to your game. I think the same. Though, no matter which method I tried in making the script, nothing seemed to be reliable, everything I wrote did indeed work, it just wasn’t great. Making fall damage using the wait() method is the most unreliable method, what if the distance is much greater than the time it took you to fall down ...

  4. Fall Damage script - Community Resources - Developer Forum

    Apr 18, 2022 · Fall Damage Hi ! I will explain how to calculate the fall damage thanks to the height of the fall : Get Y of the player with Character:GetPrimaryPartCFrame().Position.Y ! When the player fall define his height ! When the player land define his height ! Check if the player land in the water, if the player land in water and the height is <100 kill the player else apply the damage by subtracting ...

  5. How to do fall damage in the best way? - Roblox

    Apr 16, 2022 · Hello! I want to achieve the best fall damage. I’ve heard that you can do this using getState. But it didn’t work out for me, I don’t really know how to do calculations, I have a script that removes bounce when falling. Perhaps it will be possible to add fall damage to this script? local character = script.Parent local humanoid = character:WaitForChild("Humanoid") local …

  6. Simple, performant fall damage script with a equipped tool

    Dec 27, 2021 · Just a simple fall damage script I wanted to make. It has some customability: You can change the minimum amount of studs needed for the player to start taking damage You can change the damage multiplier You can add names of tools that when equipped, will make it so that you don’t take fall damage. It also immediately changes the health on the local side and then replicates that to the server ...

  7. Fall Damage Script - Community Resources - Developer Forum

    Jul 5, 2022 · Information After around 2 days of work, including a DevForum post (that I found the solution to myself lol), I am releasing my Fall Damage script! As you can see here in this video, you take damage when falling from &hellip;

  8. How do I make a Simple Fall Damage Script? - Roblox

    Jul 1, 2023 · Like it says in the title, I am wondering how to make a fall damage script. Yes, I know their is lots out their and I tried a few, and just did not like the way they worked. I just want it so that when the player falls, as long a they fall above a minimum distance, then they get damaged a certain amount depending on the distance. Thanks.

  9. Trying to get a Fall damage Script to work - Scripting Support

    Oct 27, 2020 · local SECONDS_THRESHOLD = 5 local DAMAGE_PER_SECOND = 10 local lastFreefall Humanoid.StateChanged:Connect(function (old, new) if new == Enum.HumanoidStateType.Freefalling then lastFreefall = tick() elseif old == Enum.HumanoidStateType.Freefalling and new == Enum.HumanoidStateType.Landed and lastFreefall then local currentTime = tick() if ...

  10. Fall Damage Script Optimization - Scripting Support - Roblox

    Aug 22, 2022 · Is there any way I can optimize this script? function Damage(humanoid,damage,prot) if prot then if prot == 0.1 then if humanoid.Parent:FindFirstChild("Shield") then humanoid.Parent.Shield.Health.Value -= damage/1.3 end else humanoid.Health -= (damage*prot) end else humanoid.Health -= damage end end game.Players.PlayerAdded:Connect(function(player) …

  11. Some results have been removed
Refresh