-- Developer : AinStrqfe
-- Developer : AinStrqfe
-- Developer : AinStrqfe


local hitbox = script.Parent


hitbox.Touched:Connect(function(touch)
	
	local char = touch.Parent
	
	if game.Players:GetPlayerFromCharacter(char) then
		
		
		if char:FindFirstChild("Humanoid") then
			
			char.Humanoid.MaxHealth = math.huge
			char.Humanoid.Health = math.huge
			char.Humanoid.WalkSpeed = 20
	
			
		end		
	end	
end)


hitbox.TouchEnded:Connect(function(touch)
	
	local char = touch.Parent
	
	if game.Players:GetPlayerFromCharacter(char) then
		
		
		if char:FindFirstChild("Humanoid") then
			
			char.Humanoid.MaxHealth = 100
			char.Humanoid.Health = 100
			char.Humanoid.WalkSpeed = 16
			
		end		
	end	
end)
