Answers for "how to make a Damage Script in Roblox studio"

Lua
0

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
Posted by: Guest on October-17-2020
0

how to make a damage script in roblox studio

I wanna  hack     a  roblox  acc of  someonws
Posted by: Guest on January-07-2021

Code answers related to "how to make a Damage Script in Roblox studio"

Browse Popular Code Answers by Language