All pastes #913004 Raw Edit

Someone

public text v1 · immutable
·published 2008-02-21 19:46 UTC
rendered paste body
h = Instance.new("HopperBin") h.Parent = game.Players.Nicholas544.Backpack 

s = Instance.new("Script") s.Parent = h s.Source = 



[[ 

print("RobloxPolice's Repair Tool!") 



shooting = false 

reloadtime = 0 

time = 0 

bin=script.Parent 



function nohealth() 

reloadtime = 0 

shooting = false 

mouse.Icon = "rbxasset://textures\\GunCursor.png" 

end 



function CheckDistance(part1,part2) 

if (part1~=nil and part2~=nil) then 

local x1=part1.Position.x 

local y1=part1.Position.y 

local z1=part1.Position.z 

local x2=part2.Position.x 

local y2=part2.Position.y 

local z2=part2.Position.z 

local dist=(math.abs(x1-x2)+math.abs(y1-y2)+math.abs(z1-z2))/3 --Average Position? 

if (dist<=20) then 

return true 

else 

return false 

end 

else 

return false 

end 

end 



function onButton1Down(mouse) 

if reloadtime > 0 then return end 

if shooting == true then return end