null
nil
-
true
true
-1.5
-0.800000012
-2.70000005
-1
0
0
0
-1
2.18556949e-007
0
2.18556949e-007
1
Vacuum
http://www.roblox.com/asset/?id=84394194
-
false
SoundScript
--Stickmasterluke
sp=script.Parent
handle=sp.Handle
script.ChildAdded:connect(function(item)
if item~=nil then
local s=handle:FindFirstChild(item.Name)
if s~=nil then
s:Play()
end
item:remove()
end
end)
-
false
-0.5
0.5
0
0
-0.5
0.5
0
0
1
-0.0999984741
3.50000024
-0.5
-1
-0
0
-0
-1
0
-0
-0
1
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
true
256
Handle
0.400000006
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
3
1
1.79999995
2.5
1
-
2
2
http://www.roblox.com/asset/?id=84313478
5
Mesh
0
0
0
1.5
1.5
1.5
http://www.roblox.com/asset/?id=84313638
1
1
1
-
false
-0.5
0.5
0
0
-0.5
0.5
4
0
11
1.75910091
4.5313549
-1.08508193
-0.999999523
5.96046235e-008
0
0
5.96046341e-008
-0.999999702
-5.96046164e-008
-0.999999523
-5.96046164e-008
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
true
256
HosePart
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
3
0
0
0
0
0
3
1
0.200000003
0.200000003
0.200000003
-
2
2
http://www.roblox.com/asset/?id=84313555
5
Mesh
0
0
0
1.5
1.5
1.5
http://www.roblox.com/asset/?id=84313638
1
1
1
-
false
HoseSound
1
false
http://www.roblox.com/asset/?id=81699764
0.699999988
-
0
0
0
-0.999999881
0
0
0
-0.99999994
0
0
0
0.999999881
1.85910034
-0.585082412
1.0313549
-0.999999642
0
-5.96046235e-008
5.96046306e-008
5.96046377e-008
-0.999999642
0
-0.999999762
-5.96046235e-008
0
0.0500000007
Motor
[RBX2]
[RBX4]
-
false
LocalScript
--Stickmasterluke
--Altered by QuantumSama
local Tool=script.Parent
local Backpack = Tool.Handle
rate=1/30
equipped=false
check=true
debris=game:GetService("Debris")
while Tool.Handle:FindFirstChild("Motor")==nil do
wait()
end
local storeWeld=Tool.Handle.Motor
local HoseSound
function playsound(soundname)
if soundname and Tool:FindFirstChild("SoundScript")~=nil then
local soundtag=Instance.new("StringValue")
soundtag.Name=soundname
soundtag.Parent=Tool.SoundScript
end
end
function setwelds()
if storeWeld then
storeWeld.Parent=Tool.Handle
end
if equipped then
local ra=Tool.Parent:FindFirstChild("Right Arm")
local t=Tool.Parent:FindFirstChild("Torso")
if ra~=nil and t~=nil then
local rightgrip=ra:FindFirstChild("RightGrip")
if rightgrip~=nil then
rightgrip.Part0=t
rightgrip.C0=CFrame.new(0,0,1)*CFrame.Angles(0,0,math.pi)
rightgrip.C1=CFrame.new(0,0,0)
end
end
end
end
function doSuck()
local plr=game.Players.LocalPlayer
if plr~=nil then
local radiusVec = Vector3.new(6,6,6)
local handle = Tool:FindFirstChild("Handle")
local hose = handle:FindFirstChild("HosePart")
local hoseCFrame = hose.CFrame*CFrame.Angles(math.pi/2,0,0)
local hoseTarget = hoseCFrame + hoseCFrame.lookVector*9
local suckTarget = hoseCFrame + hoseCFrame.lookVector*3
local suckPart = Instance.new("Part")
suckPart.CanCollide = false
suckPart.FormFactor = "Custom"
--suckPart.Shape = "Ball"
suckPart.Size = Vector3.new(.2,.2,.2)
suckPart.CFrame = hoseTarget + Vector3.new((math.random()-.5)*10,(math.random()-.5)*10,(math.random()-.5)*10)
suckPart2 = suckPart:Clone()
suckPart2.CFrame = hoseTarget + Vector3.new((math.random()-.5)*10,(math.random()-.5)*10,(math.random()-.5)*10)
debris:AddItem(suckPart,3)
debris:AddItem(suckPart2,3)
suckPart.Parent = game.Workspace
suckPart2.Parent = game.Workspace
local suckRegion = Region3.new(hoseTarget.p - radiusVec, hoseTarget.p + radiusVec)
local suckableParts = game.Workspace:FindPartsInRegion3(suckRegion, Tool.Parent,50)
local limbChance = .075
for i,v in pairs(suckableParts) do
if v and v.Parent and v:IsA("BasePart") and not v:IsA("Terrain") and v:getMass() < 40 and not v:FindFirstChild("bp") then
local bp = Instance.new("BodyPosition")
bp.Name = "bp"
bp.maxForce = Vector3.new(99999,99999,99999)
bp.D = 3000
bp.P = 30000
bp.position = suckTarget.p
debris:AddItem(bp,.5)
local hum = v.Parent:FindFirstChild("Humanoid")
if hum then
if math.random() < limbChance or hum.Health == 0 then
local creatorTag = Instance.new("ObjectValue")
creatorTag.Value = plr
creatorTag.Name = "creator"
debris:AddItem(creatorTag,.5)
creatorTag.Parent = hum
v:BreakJoints()
bp.Parent = v
debris:AddItem(v,.15)
end
else
bp.Parent = v
if not v.Parent:IsA("Tool") then
delay(0,function()
local pos = v.Position
wait(.15)
if (pos-v.Position).magnitude > .1 then
v:Destroy()
end
end)
end
end
end
end
end
end
function onEquipped(mouse)
if mouse==nil then
print("Mouse not found")
return
end
equipped=true
mouse.Icon="rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function()
if check and equipped then
check=false
mouse.Icon="rbxasset://textures\\GunWaitCursor.png"
local hum=Tool.Parent:FindFirstChild("Humanoid")
local torso=Tool.Parent:FindFirstChild("Torso")
--local rightArm=Tool.Parent:FindFirstChild("Right Arm")
if torso and hum then
if hum.Health>0 then
HoseSound = Backpack:FindFirstChild("HoseSound")
if HoseSound then HoseSound:Play() end
--theanim:Play()
playsound("Spray")
if storeWeld then
storeWeld.DesiredAngle=-.5
end
local frames = 10
for i = 1, frames do
if not equipped then break end
doSuck()
wait(.2)
end
if storeWeld then
storeWeld.DesiredAngle=0
end
wait(2)
end
end
mouse.Icon="rbxasset://textures\\GunCursor.png"
check=true
end
end)
setwelds()
end
function onUnequipped()
equipped=false
if HoseSound then HoseSound:Stop() end
end
Tool.Equipped:connect(onEquipped)
Tool.Unequipped:connect(onUnequipped)
setwelds()
-
[null]
0
1.01015282
4.17695284
2.4850738
0.937280715
-0.0724726766
0.340958297
-0
0.978147805
0.207911015
-0.348575443
-0.194870979
0.916799068
70
-0.0999984741
3.5
-0.5
1
0
0
0
1
0
0
0
1
ThumbnailCamera