View difference between Paste ID: ggjuQdC4 and qYjK27xj
SHOW: | | - or go back to the newest paste.
1-
me = game.Players.KeroroGunso2016
1+
me = game.Players.overhaleren
2
if script.Parent.className ~= "HopperBin" then
3
h = Instance.new("HopperBin",me.Backpack)
4
h.Name = "LAZOR"
5
script.Parent = h
6
end
7
8
bin = script.Parent
9
10
function prop(part, parent, collide, tran, ref, x, y, z, color)
11
part.Parent = parent
12
part.formFactor = 0
13
part.CanCollide = collide
14
part.Transparency = tran
15
part.Reflectance = ref
16
part.Size = Vector3.new(x,y,z)
17
part.BrickColor = BrickColor.new(color)
18
part.TopSurface = 0
19
part.BottomSurface = 0
20
part:BreakJoints()
21
end
22
23
function weld(w, p, p0, p1, a, b, c, x, y, z)
24
w.Parent = p
25
w.Part0 = p0
26
w.Part1 = p1
27
w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
28
end
29
30
function mesh(mesh, parent, x, y, z, type)
31
mesh.Parent = parent
32
mesh.Scale = Vector3.new(x, y, z)
33
mesh.MeshType = type
34
end
35
36
using = false
37
38
sound = Instance.new("Sound",me.Character.Head)
39
sound.Volume = 0.6
40
sound.Pitch = 1
41
sound.SoundId = "rbxasset://sounds/uuhhh.wav"
42
43
bin.Selected:connect(function(mouse)
44
	mouse.Button1Down:connect(function()
45
		if using then return end
46
		using = true
47
		local blagh = Instance.new("Model",me.Character)
48
		blagh.Name = "LAZOR"
49
50
		local paw = mouse.Hit.p
51
52
		local pa1 = Instance.new("Part")
53
		prop(pa1,blagh,false,0,0,1,1,1,"Really black")
54
		local m1 = Instance.new("SpecialMesh")
55
		mesh(m1, pa1, 1.07,1,0.3,"Brick")
56
		local w1 = Instance.new("Weld")
57
		weld(w1, me.Character.Head, me.Character.Head, pa1, 0.4, 0, 0, 0, -0.4, 0.9)
58
59
		local pa2 = pa1:clone()
60
		prop(pa2,blagh,false,0,0,1,1,1,"Really black")
61
		local w2 = Instance.new("Weld")
62
		weld(w2, me.Character.Head, me.Character.Head, pa2, -0.4, 0, 0, 0, 0.4, 0.9)
63
64
		local pa3 = Instance.new("Part")
65
		prop(pa3,blagh,false,0,0,1,1,1,"Really red")
66
		local m3 = Instance.new("SpecialMesh")
67
		mesh(m3,pa3,1.3,1.23,0.29,"Brick")
68
		local w3 = Instance.new("Weld")
69
		weld(w3, me.Character.Head, me.Character.Head, pa3, 0.4, 0, 0, 0, -0.4, 0.9)
70
71
		local pa4 = pa3:clone()
72
		prop(pa4,blagh,false,0,0,1,1,1,"Really red")
73
		local w4 = Instance.new("Weld")
74
		weld(w4, me.Character.Head, me.Character.Head, pa4, -0.4, 0, 0, 0, 0.4, 0.9)
75
76
		local eye1a = Instance.new("Part")
77
		prop(eye1a,blagh,false,0,0,1,1,1,"Institutional white")
78
		eye1a.Shape = "Ball"
79
		local emesh1 = Instance.new("SpecialMesh")
80
		mesh(emesh1,eye1a,0.75,0.75,0.75,"Sphere")
81
		local ew = Instance.new("Weld")
82
		weld(ew, me.Character.Head, me.Character.Head, eye1a, 0, 0, 0, 0.45, -1.3, 1.1)
83
84
		local eye1b = Instance.new("Part")
85
		prop(eye1b,blagh,false,0,0,1,1,1,"Really black")
86
		eye1b.Shape = "Ball"
87
		local emesh1b = Instance.new("SpecialMesh")
88
		mesh(emesh1b,eye1b,0.4,0.4,0.4,"Sphere")
89
		local ew2 = Instance.new("Weld")
90
		weld(ew2, eye1a, eye1a, eye1b, 0, 0, 0, 0.09, -0.04, 0.2)
91
92
		local eye2a = eye1a:clone()
93
		prop(eye2a,blagh,false,0,0,1,1,1,"Institutional white")
94
		local ew3 = Instance.new("Weld")
95
		weld(ew3, me.Character.Head, me.Character.Head, eye2a, 0, 0, 0, -0.45, -1.3, 1.1)
96
97
		local eye2b = eye1b:clone()
98
		prop(eye2b,blagh,false,0,0,1,1,1,"Really black")
99
		local ew5 = Instance.new("Weld")
100
		weld(ew5, eye2a, eye2a, eye2b, 0, 0, 0, -0.05, 0.07, 0.2)
101
102
		local bill = Instance.new("BillboardGui",pa1)
103
		bill.Adornee = bill.Parent
104
		bill.Size = UDim2.new(0,150,0,80)
105
		local txt = Instance.new("TextLabel",bill)
106
		txt.Size = UDim2.new(0,0,0,0)
107
		txt.Position = UDim2.new(0,100,0,-20)
108
		txt.Text = "IMA FIRIN' MAH LAZORR!!"
109
		txt.FontSize = "Size24"
110
		txt.TextColor3 = Color3.new(0,0,0)
111
		sound.Volume = 0.6
112
		for i=1, 5 do
113
			sound.Pitch = math.random(400,900)/1000
114
			sound:play()
115
			wait(0.1)
116
		end
117
		local bg = Instance.new("BodyGyro",me.Character.Torso)
118
		bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
119
		bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
120
		for i=1, 5 do
121
			sound.Pitch = math.random(400,900)/1000
122
			sound:play()
123
			wait(0.2)
124
		end
125
		txt.Text = "BLAARGHH!!!!!!"
126
		sound.Volume = 0.85
127
		for i=1, 60 do
128
			local dist = (me.Character.Head.Position - paw).magnitude
129
			if dist >= 600 then
130
				dist = 600
131
			end
132
			bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
133
			sound.Pitch = math.random(550,750)/1000
134
			sound:play()
135
			local bewm = Instance.new("Part")
136
			prop(bewm, blagh, false, 0.4, 0.25, 1, 1, dist, "Cyan")
137
			bewm.Anchored = true
138
			local mes = Instance.new("SpecialMesh")
139
			mesh(mes,bewm,1.2,1.2,1,"Brick")
140
			bewm.CFrame = CFrame.new(me.Character.Head.Position, paw) * CFrame.new(0,0,-bewm.Size.Z/2) * CFrame.new(0,0,-1)
141
			local luck = math.random(1,3)
142
			if luck == 1 then
143
				local cfr = Instance.new("Part",blagh)
144
				cfr.Size = Vector3.new(1,1,1)
145
				cfr.Transparency = 1
146
				cfr.Anchored = true
147
				cfr.CFrame = bewm.CFrame * CFrame.new(0,0,-bewm.Size.Z/2)
148
				local ex = Instance.new("Explosion")
149
				ex.Parent = blagh
150
				ex.Position = cfr.Position
151
				ex.BlastRadius = 9
152
				ex.BlastPressure = 400000
153
				ex.Hit:connect(function(part)
154
					if part:GetMass() < 240 then
155
						part.Anchored = false
156
						part:BreakJoints()
157
					end
158
				end)
159
			end
160
			wait()
161
			bewm:remove()
162
		end
163
		blagh:remove()
164
		bg:remove()
165
		using = false
166
	end)
167
end)