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