View difference between Paste ID: N9vZrWJd and m0LHAUvM
SHOW: | | - or go back to the newest paste.
1-
local plr = game.Players.Username
1+
local plr = game.Players.lafur2
2
local tool = Instance.new("Tool", plr.Backpack)
3
local h = Instance.new("Part", tool)
4
h.Name = "Handle"
5
h.Size = Vector3.new(0.4,4,0.4)
6
h.Material = Enum.Material.Neon;
7
tool.GripPos = Vector3.new(0,-1,0)
8
tool.Activated:connect(function()
9
         h.Size = Vector3.new(1000,1000,1000)
10
         tool.GripPos = Vector3.new(0,0,5)
11
         wait(1)
12
         h.Size = Vector3.new(0.4,4,0.4)
13
         tool.GripPos = Vector3.new(0,-1,0)
14
end)
15
h.Touched:connect(function(hitname)
16
local hit = game.Players:FindFirstChild(hitname.Parent.Name)
17
if hit then
18
hit:Destroy()
19
end
20
end)