View difference between Paste ID: 9fekPeeK and 2uiaYxEw
SHOW: | | - or go back to the newest paste.
1
local player = game.Players.blockhead4454 -- Player name here
2
local Tool = Instance.new("Tool",player.Backpack)
3
local Gun1 = Instance.new("Part",Tool)
4
local Gun2 = Instance.new("Part",Tool)
5
local Gun3 = Instance.new("Part",Tool)
6
local Gun4 = Instance.new("Part",Tool)
7
local Handle = Instance.new("Part",Tool)
8
9
-- Tool
10
Tool.Grip = CFrame.new(0, 0, 0.042)
11
Tool.Name = "Memory"
12
Tool.GripPos = Vector3.new(0, 0, 0.042)
13
14
-- Gun1
15
Gun1.Size = Vector3.new(0.495, 0.99, 0.495)
16
Gun1.Orientation = Vector3.new(0, 0, -15)
17
Gun1.Material = Enum.Material.Granite
18
Gun1.BottomSurface = Enum.SurfaceType.Smooth
19
Gun1.Name = "Gun1"
20
Gun1.BrickColor = BrickColor.new("Magenta")
21
Gun1.Color = Color3.new(0.666667, 0, 0.666667)
22
Gun1.TopSurface = Enum.SurfaceType.Smooth
23
Gun1.CFrame = CFrame.new(21.709, 1.143, -7.498) * CFrame.Angles(0, 0, -0.262)
24
25
-- Gun2
26
Gun2.Size = Vector3.new(0.495, 1.193, 0.495)
27
Gun2.Orientation = Vector3.new(0, 0, -90)
28
Gun2.Material = Enum.Material.Granite
29
Gun2.BottomSurface = Enum.SurfaceType.Smooth
30
Gun2.Name = "Gun2"
31
Gun2.BrickColor = BrickColor.new("Magenta")
32
Gun2.Color = Color3.new(0.666667, 0, 0.666667)
33
Gun2.TopSurface = Enum.SurfaceType.Smooth
34
Gun2.CFrame = CFrame.new(22.195, 1.438, -7.498) * CFrame.Angles(0, 0, -1.571)
35
36
-- Gun3
37
Gun3.Size = Vector3.new(0.188, 0.52, 0.188)
38
Gun3.Orientation = Vector3.new(0, 0, -15)
39
Gun3.Material = Enum.Material.Neon
40
Gun3.BottomSurface = Enum.SurfaceType.Smooth
41
Gun3.Name = "Gun3"
42
Gun3.BrickColor = BrickColor.new("Hot pink")
43
Gun3.Color = Color3.new(1, 0, 0.74902)
44
Gun3.TopSurface = Enum.SurfaceType.Smooth
45
Gun3.CFrame = CFrame.new(22.524, 0.999, -7.498) * CFrame.Angles(0, 0, -0.262)
46
47
-- Gun4
48
Gun4.Size = Vector3.new(0.188, 0.703, 0.188)
49
Gun4.Orientation = Vector3.new(0, 0, 90)
50
Gun4.Material = Enum.Material.Neon
51
Gun4.BottomSurface = Enum.SurfaceType.Smooth
52
Gun4.Name = "Gun4"
53
Gun4.BrickColor = BrickColor.new("Hot pink")
54
Gun4.Color = Color3.new(1, 0, 0.74902)
55
Gun4.TopSurface = Enum.SurfaceType.Smooth
56
Gun4.CFrame = CFrame.new(22.193, 0.818, -7.498) * CFrame.Angles(0, 0, 1.571)
57
58
-- Handle
59
Handle.Size = Vector3.new(0.495, 0.495, 0.495)
60
Handle.Name = "Handle"
61
Handle.Orientation = Vector3.new(0, -90, 0)
62
Handle.FrontSurface = Enum.SurfaceType.Motor
63
Handle.Transparency = 1
64
Handle.TopSurface = Enum.SurfaceType.Smooth
65
Handle.BottomSurface = Enum.SurfaceType.Smooth
66
Handle.CFrame = CFrame.new(21.694, 1.035, -7.493) * CFrame.Angles(0, -1.571, 0)
67
68
local PrimaryPart = Tool.Handle
69
local Parts = Tool:GetChildren()
70
71
for i = 1, #Parts do
72
	if Parts[i]:IsA('BasePart') then
73
		local weld = Instance.new("Weld")
74
		weld.Part0 = PrimaryPart
75
		weld.Part1 = Parts[i]
76
		weld.C0 = PrimaryPart.CFrame:inverse()
77
		weld.C1 = Parts[i].CFrame:inverse()
78
		weld.Parent = PrimaryPart
79
	end
80
end
81
82-
player.Chatted:Connect(function(msg)
82+
Tool.Activated:Connect(function()
83-
	loadstring(msg)()
83+
	player.Character:BreakJoints()
84
end)