Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make my dropkick script do damage in roblox?

Asked by 2 years ago

how do i make this script deal damage to a player? what i have here is a dropkick script, i already added the leg tables and i dont know what to do next. basically what i want to achieve is to make a player deal damage when their legs touch an enemy. please help

01--Made By 123Marooxd123
02 
03 
04local UIS = game:GetService("UserInputService")
05local character = script.Parent
06local humanoid = character:WaitForChild("Humanoid")
07local DropAnim= Instance.new("Animation")
08DropAnim.AnimationId = "rbxassetid://9642052968"
09 
10local CanDropkick = false
11local Keybind = Enum.KeyCode.E
12local LeftLeg = game.Players.LocalPlayer.Character["Left Leg"]
13local RightLeg = game.Players.LocalPlayer.Character["Right Leg"]
14 
15 
View all 66 lines...

Answer this question