--samy22

d = false
function onTouched(hit)
if d == false then
h = hit.Parent:findFirstChild("Torso")
if (h~=nil) then 
d = true
gg = math.random(1,20)
if gg == 4 then
h.CFrame = h.CFrame * CFrame.Angles(0,0,math.rad(100))
end
if script.dmg.Value == true then
hum = h.Parent:findFirstChild("Humanoid")
if hum then
hum.Health = hum.Health - 25
end
end
wait(1.5)
d = false
end
end 
end
script.Parent.Parent.Touched:connect(onTouched)

while true do
bt = script.Parent
ppp = bt.Parent:GetMass()
wait(.25)
bt.force = Vector3.new(0,0,500*ppp*script.mag.Value)
wait(.25)
bt.force = Vector3.new(0,0,-500*ppp*script.mag.Value)
end

