how to make a Damage Script in Roblox studio code example
Example 1: how to make a Damage Script in Roblox studio
local rarm = script.Parent:FindFirstChild("Right Arm")
local larm = script.Parent:FindFirstChild("Left Arm")
function dmg(hit)
if hit.Parent ~= nil then
local hum = hit.Parent:findFirstChild("Humanoid")
if hum ~= nil then
hum.Health = hum.Health -10
end
end
end
rarm.Touched:connect(dmg)
larm.Touched:connect(dmg)
--Made By Rigby#9052 on Discord
Example 2: how to make a damage script in roblox studio
I wanna hack a roblox acc of someonws