SHOW:
|
|
- or go back to the newest paste.
1 | --By Rufus14 | |
2 | --Converted with ttyyuu12345's model to script plugin v4 | |
3 | Tool0 = Instance.new("Tool") | |
4 | Part1 = Instance.new("Part") | |
5 | Part2 = Instance.new("Part") | |
6 | Sound3 = Instance.new("Sound") | |
7 | Sound4 = Instance.new("Sound") | |
8 | Sound5 = Instance.new("Sound") | |
9 | Sound6 = Instance.new("Sound") | |
10 | Sound7 = Instance.new("Sound") | |
11 | Sound8 = Instance.new("Sound") | |
12 | Sound9 = Instance.new("Sound") | |
13 | FlangeSoundEffect10 = Instance.new("FlangeSoundEffect") | |
14 | Sound11 = Instance.new("Sound") | |
15 | Sound12 = Instance.new("Sound") | |
16 | ReverbSoundEffect13 = Instance.new("ReverbSoundEffect") | |
17 | Sound14 = Instance.new("Sound") | |
18 | Weld15 = Instance.new("Weld") | |
19 | Weld16 = Instance.new("Weld") | |
20 | Weld17 = Instance.new("Weld") | |
21 | Sound18 = Instance.new("Sound") | |
22 | Sound19 = Instance.new("Sound") | |
23 | Part20 = Instance.new("Part") | |
24 | Part21 = Instance.new("Part") | |
25 | Script22 = Instance.new("Script") | |
26 | Tool0.Name = "cross" | |
27 | Tool0.ToolTip = "great for banishers" | |
28 | Part1.Name = "ripoffhandle" | |
29 | Part1.Parent = Tool0 | |
30 | Part1.CFrame = CFrame.new(-79.2499695, 1.10928917, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
31 | Part1.Position = Vector3.new(-79.2499695, 1.10928917, -48.25) | |
32 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
33 | Part1.Size = Vector3.new(0.5, 0.400000006, 2.5) | |
34 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
35 | Part1.BrickColor = BrickColor.new("Bright yellow") | |
36 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
37 | Part1.brickColor = BrickColor.new("Bright yellow") | |
38 | Part2.Name = "Handle" | |
39 | Part2.Parent = Tool0 | |
40 | Part2.CFrame = CFrame.new(-79.9999695, 1.10928917, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
41 | Part2.Position = Vector3.new(-79.9999695, 1.10928917, -48.25) | |
42 | Part2.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
43 | Part2.Size = Vector3.new(4, 0.400000006, 0.5) | |
44 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
45 | Part2.BrickColor = BrickColor.new("Bright yellow") | |
46 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
47 | Part2.brickColor = BrickColor.new("Bright yellow") | |
48 | Sound3.Name = "hold" | |
49 | Sound3.Parent = Part2 | |
50 | Sound3.SoundId = "rbxassetid://4361093477" | |
51 | Sound3.Volume = 3 | |
52 | Sound4.Name = "BOOM" | |
53 | Sound4.Parent = Part2 | |
54 | Sound4.SoundId = "rbxassetid://141679994" | |
55 | Sound4.Volume = 3 | |
56 | Sound5.Name = "NOSCOPE" | |
57 | Sound5.Parent = Part2 | |
58 | Sound5.SoundId = "rbxassetid://151030090" | |
59 | Sound5.Volume = 2 | |
60 | Sound6.Name = "HEADSHOT" | |
61 | Sound6.Parent = Part2 | |
62 | Sound6.SoundId = "rbxassetid://131313234" | |
63 | Sound6.Volume = 5 | |
64 | Sound7.Name = "HEADSHOT2" | |
65 | Sound7.Parent = Part2 | |
66 | Sound7.SoundId = "rbxassetid://147936251" | |
67 | Sound7.Volume = 4 | |
68 | Sound8.Name = "SHOT" | |
69 | Sound8.Parent = Part2 | |
70 | Sound8.SoundId = "rbxassetid://2756050321" | |
71 | Sound8.Volume = 3 | |
72 | Sound9.Name = "COMPEL" | |
73 | Sound9.Parent = Part2 | |
74 | Sound9.SoundId = "rbxassetid://270657517" | |
75 | Sound9.Volume = 4 | |
76 | FlangeSoundEffect10.Parent = Sound9 | |
77 | FlangeSoundEffect10.Rate = 3.5 | |
78 | FlangeSoundEffect10.Depth = 1 | |
79 | FlangeSoundEffect10.Mix = 1 | |
80 | Sound11.Name = "LAZOR" | |
81 | Sound11.Parent = Part2 | |
82 | Sound11.SoundId = "rbxassetid://167115397" | |
83 | Sound11.Volume = 2 | |
84 | Sound12.Name = "CHARGINN" | |
85 | Sound12.Parent = Part2 | |
86 | Sound12.Looped = true | |
87 | Sound12.SoundId = "rbxassetid://75421988" | |
88 | Sound12.Volume = 4 | |
89 | ReverbSoundEffect13.Parent = Sound12 | |
90 | Sound14.Name = "NOTGRABKNIFE" | |
91 | Sound14.Parent = Part2 | |
92 | Sound14.SoundId = "rbxassetid://608618332" | |
93 | Sound14.Volume = 10 | |
94 | Weld15.Name = "shiney" | |
95 | Weld15.Parent = Part2 | |
96 | Weld15.C0 = CFrame.new(-2.28881836e-05, 0.224999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
97 | Weld15.Part0 = Part2 | |
98 | Weld15.Part1 = Part21 | |
99 | Weld15.part1 = Part21 | |
100 | Weld16.Name = "shiney2" | |
101 | Weld16.Parent = Part2 | |
102 | Weld16.C0 = CFrame.new(0, 0.224999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
103 | Weld16.Part0 = Part1 | |
104 | Weld16.Part1 = Part20 | |
105 | Weld16.part1 = Part20 | |
106 | Weld17.Name = "ripoff" | |
107 | Weld17.Parent = Part2 | |
108 | Weld17.C0 = CFrame.new(0.75, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
109 | Weld17.Part0 = Part2 | |
110 | Weld17.Part1 = Part1 | |
111 | Weld17.part1 = Part1 | |
112 | Sound18.Name = "NOONSFAVMEAL" | |
113 | Sound18.Parent = Part2 | |
114 | Sound18.SoundId = "rbxassetid://1037197054" | |
115 | Sound18.Volume = 4 | |
116 | Sound19.Name = "DEFLECT" | |
117 | Sound19.Parent = Part2 | |
118 | Sound19.SoundId = "rbxassetid://1307059689" | |
119 | Sound19.Volume = 3 | |
120 | Part20.Name = "shiney" | |
121 | Part20.Parent = Tool0 | |
122 | Part20.CFrame = CFrame.new(-79.2499695, 1.33428907, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
123 | Part20.Position = Vector3.new(-79.2499695, 1.33428907, -48.25) | |
124 | Part20.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
125 | Part20.Size = Vector3.new(0.300000012, 0.0500000007, 2.30000019) | |
126 | Part20.BottomSurface = Enum.SurfaceType.Smooth | |
127 | Part20.BrickColor = BrickColor.new("Institutional white") | |
128 | Part20.Material = Enum.Material.SmoothPlastic | |
129 | Part20.Reflectance = 1 | |
130 | Part20.TopSurface = Enum.SurfaceType.Smooth | |
131 | Part20.brickColor = BrickColor.new("Institutional white") | |
132 | Part21.Name = "shiney" | |
133 | Part21.Parent = Tool0 | |
134 | Part21.CFrame = CFrame.new(-79.9999924, 1.33428907, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
135 | Part21.Position = Vector3.new(-79.9999924, 1.33428907, -48.25) | |
136 | Part21.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
137 | Part21.Size = Vector3.new(3.79999924, 0.0500000007, 0.300000131) | |
138 | Part21.BottomSurface = Enum.SurfaceType.Smooth | |
139 | Part21.BrickColor = BrickColor.new("Institutional white") | |
140 | Part21.Material = Enum.Material.SmoothPlastic | |
141 | Part21.Reflectance = 1 | |
142 | Part21.TopSurface = Enum.SurfaceType.Smooth | |
143 | Part21.brickColor = BrickColor.new("Institutional white") | |
144 | Script22.Parent = Tool0 | |
145 | coroutine.wrap(function() | |
146 | --By Rufus14 | |
147 | tool = Tool0 | |
148 | handle = tool.Handle | |
149 | ||
150 | local owner | |
151 | local ownercharacter | |
152 | local rootpart | |
153 | local charhum | |
154 | ||
155 | runservice = game:GetService("RunService") | |
156 | players = game:GetService("Players") | |
157 | ||
158 | equipped = false | |
159 | clicked = false | |
160 | canuse = true | |
161 | lifecheck = false | |
162 | anim = "idle" | |
163 | cananimate = true | |
164 | ||
165 | handle2weld = handle.ripoff | |
166 | handle2c0 = handle2weld.C0 | |
167 | shineyweld = handle.shiney | |
168 | shineyc0 = shineyweld.C0 | |
169 | shiney2weld = handle.shiney2 | |
170 | shiney2c0 = shiney2weld.C0 | |
171 | ||
172 | boomsound = handle.BOOM | |
173 | shootsound = handle.SHOT | |
174 | headshotsound = handle.HEADSHOT | |
175 | headshotsound2 = handle.HEADSHOT2 | |
176 | noscopesound = handle.NOSCOPE | |
177 | chargesound = handle.CHARGINN | |
178 | lasersound = handle.LAZOR | |
179 | deflectsound = handle.DEFLECT | |
180 | equip = handle.NOTGRABKNIFE | |
181 | kfcnwatermelon = handle.NOONSFAVMEAL | |
182 | lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu = handle.COMPEL | |
183 | music = handle.hold | |
184 | ||
185 | tool.Equipped:connect(function() | |
186 | equipped = true | |
187 | end) | |
188 | tool.Unequipped:connect(function() | |
189 | equipped = false | |
190 | end) | |
191 | -- | |
192 | tool.Activated:connect(function() | |
193 | clicked = true | |
194 | end) | |
195 | tool.Deactivated:connect(function() | |
196 | clicked = false | |
197 | end) | |
198 | ||
199 | tool.Equipped:connect(function() | |
200 | canuse = true | |
201 | equip:Play() | |
202 | local this = owner | |
203 | owner = players:GetPlayerFromCharacter(tool.Parent) | |
204 | ownercharacter = owner.Character | |
205 | rootpart = ownercharacter.HumanoidRootPart | |
206 | charhum = ownercharacter:findFirstChildOfClass("Humanoid") | |
207 | if this ~= owner then | |
208 | if ownercharacter.Head:findFirstChild("chat") then | |
209 | ownercharacter.Head:findFirstChild("chat"):destroy() | |
210 | end | |
211 | local billboard = Instance.new("BillboardGui", ownercharacter.Head) | |
212 | billboard.Adornee = ownercharacter.Head | |
213 | billboard.StudsOffset = Vector3.new(-1, 2.5, 0) | |
214 | billboard.Size = UDim2.new(2,0,1,0) | |
215 | billboard.Name = "chat" | |
216 | local text = Instance.new("TextLabel", billboard) | |
217 | text.BackgroundTransparency = 1 | |
218 | text.TextStrokeTransparency = 0 | |
219 | text.TextStrokeColor3 = Color3.fromRGB(255,255,255) | |
220 | text.TextSize = 25 | |
221 | text.TextStrokeColor3 = Color3.fromRGB(0,0,0) | |
222 | text.Size = billboard.Size | |
223 | text.Font = "Code" | |
224 | text.TextColor3 = Color3.fromRGB(255,255,0) | |
225 | text.Text = "protection" | |
226 | coroutine.wrap(function() | |
227 | for i = 1,200 do | |
228 | billboard.StudsOffset = billboard.StudsOffset - Vector3.new(0,-0.0025,0) | |
229 | text.TextTransparency = text.TextTransparency + 0.007 | |
230 | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.007 | |
231 | runservice.Stepped:wait() | |
232 | end | |
233 | billboard:destroy() | |
234 | end)() | |
235 | end | |
236 | local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip") | |
237 | rightgrip.C0 = CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0) | |
238 | if not lifecheck then | |
239 | music.SoundId = "rbxassetid://4361093477" | |
240 | elseif lifecheck and lifecheck ~= "indeed" then | |
241 | music.SoundId = "rbxassetid://2913619435" | |
242 | elseif lifecheck == "indeed" then | |
243 | music.SoundId = "rbxassetid://295754240" | |
244 | end | |
245 | music:Resume() | |
246 | if lifecheck == "indeed" then | |
247 | anim = "idle" | |
248 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
249 | rightarm.Part0 = ownercharacter.Torso | |
250 | rightarm.Part1 = ownercharacter["Right Arm"] | |
251 | rightarm.C0 = CFrame.new(1.5,0,0) | |
252 | rightarm.Name = "RightArmWeldcross" | |
253 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
254 | leftarm.Part0 = ownercharacter.Torso | |
255 | leftarm.Part1 = ownercharacter["Left Arm"] | |
256 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
257 | leftarm.Name = "LeftArmWeldcross" | |
258 | local head = Instance.new("Weld", ownercharacter.Torso) | |
259 | head.Part0 = ownercharacter.Torso | |
260 | head.Part1 = ownercharacter.Head | |
261 | head.C0 = CFrame.new(0,1.5,0) | |
262 | head.Name = "HeadWeldcross" | |
263 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
264 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
265 | humanoidrootpart.Part1 = ownercharacter.Torso | |
266 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
267 | coroutine.wrap(function() | |
268 | - | while equipped and lifecheck == "indeed" and runservice.Stepped:wait() do |
268 | + | while equipped and lifecheck == "indeed" and runservice.Stepped:wait(0.40) do |
269 | if cananimate then | |
270 | local absvel = rootpart.CFrame:vectorToObjectSpace(rootpart.Velocity) | |
271 | if anim == "idle" then | |
272 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
273 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.874992371, 0.141008854, -0.596240997, 0.50000006, 0.750001609, 0.433009773, -0.150381878, 0.567591846, -0.809459567, -0.852868795, 0.33961302, 0.396582663),0.15) | |
274 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.2557373, -0.044418335, -0.835590363, 0.934456587, -0.2350021, -0.267516464, -0.0593904369, 0.637900949, -0.767825007, 0.351089478, 0.733386993, 0.58213377),0.15) | |
275 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.984807849, 0, 0.173648179, 0, 1, 0, -0.173648193, 0, 0.984807849) * CFrame.fromEulerAnglesXYZ(absvel.z/100,0,-absvel.x/100),0.15) | |
276 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998355, 0, 0.984807789, 0, -0.173648179, 0, 1, 0, 0.173648179, 0, 0.984807789),0.15) | |
277 | runservice.Stepped:wait(0.40) | |
278 | elseif anim == "scope" then | |
279 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
280 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.809280396, 0.364839554, -0.920059204, 0.191511169, 0.972948372, 0.12920922, -0.116976522, 0.153333753, -0.981226504, -0.974494755, 0.17280136, 0.143177241),0.15) | |
281 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.49999619, 0.41317153, -0.492401123, 1, 0, 0, 0, 0.173646122, -0.984808087, 0, 0.984808207, 0.173646107),0.15) | |
282 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648149, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173648134),0.15) | |
283 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998379, 0, 0.173648149, 0, 0.984807789, 0, 1, 0, -0.984807789, 0, 0.173648149),0.15) | |
284 | runservice.Stepped:wait(0.40) | |
285 | elseif anim == "shoot" then | |
286 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
287 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.921146393, 1.04831123, -0.980117798, 0.191510394, 0.724376798, -0.662268221, -0.116975948, -0.653091669, -0.748176575, -0.974494457, 0.220755547, -0.0403396413),0.15) | |
288 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.65689468, 0.365976334, 0.224777222, 0.499998748, 0.813797832, 0.296194881, -0.150380298, 0.418411076, -0.895711064, -0.852868319, 0.403317034, 0.33158794),0.15) | |
289 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.163175866, 0.0593911558, -0.98480773, -0.342016339, 0.939682305, 0, 0.925416529, 0.336824059, 0.173648134),0.15) | |
290 | head.C0 = head.C0:lerp(CFrame.new(-0.16840744, 1.46983147, -0.0297012329, 0.173647925, -0.336824208, 0.925416589, 6.14207295e-07, 0.939692736, 0.342020094, -0.984807849, -0.0593905188, 0.163175866),0.15) | |
291 | runservice.Stepped:wait(0.40) | |
292 | end | |
293 | end | |
294 | end | |
295 | rightarm:destroy() | |
296 | leftarm:destroy() | |
297 | head:destroy() | |
298 | humanoidrootpart:destroy() | |
299 | end)() | |
300 | end | |
301 | coroutine.wrap(function() | |
302 | local function makeff() | |
303 | local canfieldanim = true | |
304 | local field = Instance.new("Part", workspace) | |
305 | if lifecheck == "indeed" then | |
306 | field.Size = Vector3.new(30,30,30) | |
307 | field.BrickColor = BrickColor.new("Institutional white") | |
308 | field.Material = "Neon" | |
309 | elseif lifecheck and lifecheck ~= "indeed" then | |
310 | field.Size = Vector3.new(20,20,20) | |
311 | field.BrickColor = BrickColor.new("Institutional white") | |
312 | elseif not lifecheck then | |
313 | field.Size = Vector3.new(15,15,15) | |
314 | field.BrickColor = BrickColor.new("New Yeller") | |
315 | end | |
316 | field.CanCollide = false | |
317 | field.Anchored = true | |
318 | field.Name = "omg"..string.lower(owner.Name) | |
319 | field.Shape = "Ball" | |
320 | field.Material = "ForceField" | |
321 | field.Transparency = 1 | |
322 | local function deflect(WHO) | |
323 | if WHO:findFirstChild("Head") then | |
324 | if WHO.Head:findFirstChild("fuckoff") then return end | |
325 | if canfieldanim then | |
326 | canfieldanim = false | |
327 | deflectsound:Play() | |
328 | field.Transparency = 0 | |
329 | coroutine.wrap(function() | |
330 | for i = 1,40 do | |
331 | field.Transparency = field.Transparency + 0.025 | |
332 | runservice.Stepped:wait() | |
333 | end | |
334 | canfieldanim = true | |
335 | end)() | |
336 | end | |
337 | WHO.Head.CFrame = CFrame.new(WHO.Head.Position, handle.Position) | |
338 | local velocity = Instance.new("BodyVelocity", WHO.Head) | |
339 | velocity.Name = "fuckoff" | |
340 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
341 | velocity.Velocity = WHO.Head.CFrame.lookVector * -70 | |
342 | game.Debris:AddItem(velocity, 0.2) | |
343 | end | |
344 | end | |
345 | field.Touched:connect(function(WHAT) | |
346 | if WHAT.Parent ~= ownercharacter then | |
347 | if string.find(string.lower(WHAT.Parent.Name), "furry") then | |
348 | deflect(WHAT.Parent) | |
349 | end | |
350 | if string.find(string.lower(WHAT.Parent.Name), "zombie") then | |
351 | deflect(WHAT.Parent) | |
352 | end | |
353 | if string.find(string.lower(WHAT.Parent.Name), "demon") then | |
354 | deflect(WHAT.Parent) | |
355 | end | |
356 | if WHAT.Parent:findFirstChild("Torso") then | |
357 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound") then | |
358 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound").SoundId == "rbxassetid://876316256" then | |
359 | deflect(WHAT.Parent) | |
360 | end | |
361 | end | |
362 | end | |
363 | - | if WHAT.Parent:findFirstChild("puro") then |
363 | + | if WHAT.Parent:findFirstChild("ArcticFoxHead") then |
364 | deflect(WHAT.Parent) | |
365 | end | |
366 | - | if WHAT.Parent:findFirstChild("TheTail") then |
366 | + | |
367 | deflect(WHAT.Parent) | |
368 | end | |
369 | - | if WHAT.Parent:findFirstChild("latex") then |
369 | + | |
370 | if WHAT.Parent.Head:findFirstChild("c-cat_noises") then --stop | |
371 | deflect(WHAT.Parent) | |
372 | - | if WHAT.Parent:findFirstChild("transform") then |
372 | + | |
373 | end | |
374 | end | |
375 | - | if WHAT.Parent:findFirstChild("big mistake") then |
375 | + | |
376 | end | |
377 | while equipped and runservice.Stepped:wait() do | |
378 | if not workspace:findFirstChild("omg"..string.lower(owner.Name)) then | |
379 | makeff() | |
380 | else | |
381 | workspace:findFirstChild("omg"..string.lower(owner.Name)).CFrame = rootpart.CFrame | |
382 | end | |
383 | end | |
384 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
385 | end)() | |
386 | end) | |
387 | tool.Unequipped:connect(function() | |
388 | music:Pause() | |
389 | lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu:Stop() | |
390 | end) | |
391 | tool.Deactivated:connect(function() | |
392 | if canuse then | |
393 | if not lifecheck then | |
394 | canuse = false | |
395 | lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu:Play() | |
396 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
397 | rightarm.Part0 = ownercharacter.Torso | |
398 | rightarm.Part1 = ownercharacter["Right Arm"] | |
399 | rightarm.C0 = CFrame.new(1.5,0,0) | |
400 | rightarm.Name = "RightArmWeldcross" | |
401 | local rightleg = Instance.new("Weld", ownercharacter.Torso) | |
402 | rightleg.Part0 = ownercharacter.Torso | |
403 | rightleg.Part1 = ownercharacter["Right Leg"] | |
404 | rightleg.C0 = CFrame.new(0.5,-2,0) | |
405 | rightleg.Name = "RightLegWeldcross" | |
406 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
407 | leftarm.Part0 = ownercharacter.Torso | |
408 | leftarm.Part1 = ownercharacter["Left Arm"] | |
409 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
410 | leftarm.Name = "LeftArmWeldcross" | |
411 | local leftleg = Instance.new("Weld", ownercharacter.Torso) | |
412 | leftleg.Part0 = ownercharacter.Torso | |
413 | leftleg.Part1 = ownercharacter["Left Leg"] | |
414 | leftleg.C0 = CFrame.new(-0.5,-2,0) | |
415 | leftleg.Name = "LeftLegWeldcross" | |
416 | local head = Instance.new("Weld", ownercharacter.Torso) | |
417 | head.Part0 = ownercharacter.Torso | |
418 | head.Part1 = ownercharacter.Head | |
419 | head.C0 = CFrame.new(0,1.5,0) | |
420 | head.Name = "HeadWeldcross" | |
421 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
422 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
423 | humanoidrootpart.Part1 = ownercharacter.Torso | |
424 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
425 | coroutine.wrap(function() | |
426 | while lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu.Playing and equipped do | |
427 | for i = 0,1 , 0.25 do | |
428 | if equipped then | |
429 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.63111877, 0.611276627, -0.298833847, 0.925416529, -0.336824059, 0.173648179, 0.163176164, -0.0593862236, -0.984799504, 0.342019945, 0.939689755, -4.67896461e-06),i) | |
430 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57923126, 0.0944194794, 0, 0.98480773, 0.173648179, 0, -0.173646733, 0.984799504, 4.76837158e-06, -8.27014446e-07, 4.67896461e-06, 0.999997258),i) | |
431 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.86600685, 0.499988556, 1, 0, 0, 0, 0.866025329, 0.500000238, 0, -0.500000238, 0.866025269),i) | |
432 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.99998283, -9.53674316e-06, 1, 0, 0, 0, 0.999991655, 4.76837158e-06, 0, 4.76837158e-06, 0.999997258),i) | |
433 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.142539978, -0.0853042603, 1, 0, 0, 0, 0.858073294, -0.513505876, 0, 0.513511479, 0.858082712),i) | |
434 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49239063, 0.0868301392, 1, 0, 0, 0, 0.984806776, -0.173653692, 0, 0.173653692, 0.984806776),i) | |
435 | runservice.Stepped:wait() | |
436 | end | |
437 | end | |
438 | for i = 0,1 , 0.25 do | |
439 | if equipped then | |
440 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.64085388, 0.448102951, -0.294296265, 0.939692616, -0.342020124, 0, 0.0593898818, 0.163172394, -0.984797418, 0.336823851, 0.925415874, 0.173649922),i) | |
441 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.98478603, -0.17364502, 1, 0, 0, 0, 0.984807789, -0.173648, 0, 0.173647985, 0.984807849),i) | |
442 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.99997807, 7.62939453e-06, 1, 0, 0, 0, 1, 1.86266561e-06, 0, -1.86266539e-06, 1),i) | |
443 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807432, 0.173650041, 0, -0.173650041, 0.984807432),i) | |
444 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49238777, -0.0868225098, 1, 0, 0, 0, 0.984797478, 0.173644468, 0, -0.173649952, 0.984807014),i) | |
445 | runservice.Stepped:wait() | |
446 | end | |
447 | end | |
448 | end | |
449 | canuse = true | |
450 | humanoidrootpart:destroy() | |
451 | head:destroy() | |
452 | rightarm:destroy() | |
453 | leftarm:destroy() | |
454 | leftleg:destroy() | |
455 | rightleg:destroy() | |
456 | end)() | |
457 | elseif lifecheck and lifecheck ~= "indeed" then | |
458 | canuse = false | |
459 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
460 | rightarm.Part0 = ownercharacter.Torso | |
461 | rightarm.Part1 = ownercharacter["Right Arm"] | |
462 | rightarm.C0 = CFrame.new(1.5,0,0) | |
463 | rightarm.Name = "RightArmWeldcross" | |
464 | local rightleg = Instance.new("Weld", ownercharacter.Torso) | |
465 | rightleg.Part0 = ownercharacter.Torso | |
466 | rightleg.Part1 = ownercharacter["Right Leg"] | |
467 | rightleg.C0 = CFrame.new(0.5,-2,0) | |
468 | rightleg.Name = "RightLegWeldcross" | |
469 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
470 | leftarm.Part0 = ownercharacter.Torso | |
471 | leftarm.Part1 = ownercharacter["Left Arm"] | |
472 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
473 | leftarm.Name = "LeftArmWeldcross" | |
474 | local leftleg = Instance.new("Weld", ownercharacter.Torso) | |
475 | leftleg.Part0 = ownercharacter.Torso | |
476 | leftleg.Part1 = ownercharacter["Left Leg"] | |
477 | leftleg.C0 = CFrame.new(-0.5,-2,0) | |
478 | leftleg.Name = "LeftLegWeldcross" | |
479 | local head = Instance.new("Weld", ownercharacter.Torso) | |
480 | head.Part0 = ownercharacter.Torso | |
481 | head.Part1 = ownercharacter.Head | |
482 | head.C0 = CFrame.new(0,1.5,0) | |
483 | head.Name = "HeadWeldcross" | |
484 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
485 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
486 | humanoidrootpart.Part1 = ownercharacter.Torso | |
487 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
488 | local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip") | |
489 | local ws = charhum.WalkSpeed | |
490 | local jp = charhum.JumpPower | |
491 | charhum.WalkSpeed = 0 | |
492 | charhum.JumpPower = 0 | |
493 | coroutine.wrap(function() | |
494 | local lastcf = rightgrip.C0 | |
495 | for i = 0,1 , 0.23 do | |
496 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00186920166, 0.558111191, -0.0767021179, -2.79102642e-05, -1, 2.33054725e-05, 1, -2.79103097e-05, -1.97005488e-06, 1.97070608e-06, 2.33054161e-05, 1),i) | |
497 | runservice.Stepped:wait() | |
498 | end | |
499 | local lastcf = rightgrip.C0 | |
500 | for i = 0,1 , 0.23 do | |
501 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00199890137, -0.641872406, 1.12329865, 6.43433596e-05, -1, 3.95103561e-05, -1.33738229e-06, -3.95104435e-05, -1, 1, 6.43433086e-05, -1.33992444e-06),i) | |
502 | runservice.Stepped:wait() | |
503 | end | |
504 | local lastcf = rightgrip.C0 | |
505 | for i = 0,1 , 0.23 do | |
506 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00185394287, -1.78735733, -0.426719666, 1.00994021e-05, -1, 4.36902374e-05, -1, -1.00994648e-05, -1.45057925e-06, 1.45102058e-06, -4.36902228e-05, -1),i) | |
507 | runservice.Stepped:wait() | |
508 | end | |
509 | local lastcf = rightgrip.C0 | |
510 | for i = 0,1 , 0.23 do | |
511 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.0018157959, -0.641872406, -1.07670069, -8.49999997e-05, -1, -3.50000009e-05, -4.37087699e-08, -3.49999973e-05, 1, -0.999994516, 8.4999534e-05, -4.07340224e-08),i) | |
512 | runservice.Stepped:wait() | |
513 | end | |
514 | local lastcf = rightgrip.C0 | |
515 | for i = 0,1 , 0.23 do | |
516 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00186920166, 0.558111191, -0.0767021179, -2.79102642e-05, -1, 2.33054725e-05, 1, -2.79103097e-05, -1.97005488e-06, 1.97070608e-06, 2.33054161e-05, 1),i) | |
517 | runservice.Stepped:wait() | |
518 | end | |
519 | local lastcf = rightgrip.C0 | |
520 | for i = 0,1 , 0.23 do | |
521 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00199890137, -0.641872406, 1.12329865, 6.43433596e-05, -1, 3.95103561e-05, -1.33738229e-06, -3.95104435e-05, -1, 1, 6.43433086e-05, -1.33992444e-06),i) | |
522 | runservice.Stepped:wait() | |
523 | end | |
524 | local lastcf = rightgrip.C0 | |
525 | for i = 0,1 , 0.2 do | |
526 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00185394287, -1.78735733, -0.426719666, 1.00994021e-05, -1, 4.36902374e-05, -1, -1.00994648e-05, -1.45057925e-06, 1.45102058e-06, -4.36902228e-05, -1),i) | |
527 | runservice.Stepped:wait() | |
528 | end | |
529 | end)() | |
530 | coroutine.wrap(function() | |
531 | for i = 0,1 , 0.02 do | |
532 | if equipped then | |
533 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(2.06786346, 0.499994516, -0.28225708, 0.342020184, -0.939692616, -2.90916346e-15, -4.10748271e-08, -1.49500146e-08, -1, 0.939692616, 0.342020184, -4.37109229e-08),i) | |
534 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57922745, 0.094419241, -7.62939453e-06, 0.984808147, 0.173646361, 1.49982284e-08, -0.173646361, 0.984808147, -7.5322043e-10, -1.49011701e-08, -1.86260984e-09, 1),i) | |
535 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.881240845, -2.07160878, -7.62939453e-06, 0.984808147, 0.173646361, 1.49982284e-08, -0.173646361, 0.984808147, -7.5322043e-10, -1.49011701e-08, -1.86260984e-09, 1),i) | |
536 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.881244659, -2.07160878, -7.62939453e-06, 0.984808147, -0.173646361, 1.49982284e-08, 0.173646361, 0.984808147, 7.5322043e-10, -1.49011701e-08, 1.86260984e-09, 1),i) | |
537 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648134, 0, 0.984807789, 0, 1, 0, -0.984807789, 0, 0.173648134),i) | |
538 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998355, 0, 0.173648253, 0, -0.984807789, 0, 1, 0, 0.984807789, 0, 0.173648253),i) | |
539 | runservice.Stepped:wait() | |
540 | end | |
541 | end | |
542 | if equipped then | |
543 | shootsound.PlaybackSpeed = 1+math.random(-10,10)/60 | |
544 | shootsound:Play() | |
545 | boomsound.PlaybackSpeed = 1+math.random(-10,10)/60 | |
546 | boomsound:Play() | |
547 | local missle = Instance.new("UnionOperation", charhum) | |
548 | local meshh = Instance.new("SpecialMesh", missle) | |
549 | meshh.MeshType = "Sphere" | |
550 | missle.Anchored = true | |
551 | missle.CanCollide = false | |
552 | missle.Size = Vector3.new(4,4,8) | |
553 | missle.Material = "Neon" | |
554 | missle.BrickColor = BrickColor.new("New Yeller") | |
555 | missle.CFrame = ownercharacter.Head.CFrame * CFrame.new(1.5,0,-5) | |
556 | local fallvalue = 0 | |
557 | local speedvalue = 5 | |
558 | local hitraycast = false | |
559 | local threshold = 0 | |
560 | coroutine.wrap(function() | |
561 | while not hitraycast and threshold <= 450 and runservice.Stepped:wait() do | |
562 | threshold = threshold + 1 | |
563 | missle.CFrame = missle.CFrame * CFrame.new(0,0,-2) | |
564 | if fallvalue <= 0.01 then | |
565 | fallvalue = fallvalue + 0.000035 | |
566 | missle.CFrame = missle.CFrame * CFrame.fromEulerAnglesXYZ(-fallvalue,0,0) | |
567 | end | |
568 | local trail = Instance.new("UnionOperation", charhum) | |
569 | Instance.new("BlockMesh", trail) | |
570 | trail.Anchored = true | |
571 | trail.CanCollide = false | |
572 | trail.Size = Vector3.new(4,4,4) | |
573 | trail.Material = "Neon" | |
574 | trail.CFrame = missle.CFrame * CFrame.new(0,0,4) * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5) | |
575 | coroutine.wrap(function() | |
576 | for i = 1,15 do | |
577 | trail.Transparency = trail.Transparency + 0.075 | |
578 | trail.Size = trail.Size + Vector3.new(0.15,0.15,0.15) | |
579 | runservice.Stepped:wait() | |
580 | end | |
581 | trail:destroy() | |
582 | end)() | |
583 | local exblock = Instance.new("UnionOperation", trail) | |
584 | local shockwave = Instance.new("SpecialMesh", exblock) | |
585 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
586 | shockwave.Scale = Vector3.new(3,5,3) | |
587 | exblock.BrickColor = BrickColor.new("Institutional white") | |
588 | exblock.Anchored = true | |
589 | exblock.Transparency = 0.5 | |
590 | exblock.CanCollide = false | |
591 | local cfx,cfy,cfz = missle.CFrame:ToEulerAnglesXYZ() | |
592 | exblock.CFrame = CFrame.new(trail.Position) * CFrame.fromEulerAnglesXYZ(cfx,cfy,cfz) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
593 | local rotrandom = math.random(1,2) | |
594 | coroutine.wrap(function() | |
595 | for i = 1,10 do | |
596 | exblock.Transparency = exblock.Transparency + 0.05 | |
597 | shockwave.Scale = shockwave.Scale + Vector3.new(0.5,0.2,0.5) | |
598 | if rotrandom == 1 then | |
599 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
600 | else | |
601 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
602 | end | |
603 | runservice.Stepped:wait() | |
604 | end | |
605 | exblock:destroy() | |
606 | end)() | |
607 | -- | |
608 | local rayecast = Ray.new(missle.Position, missle.CFrame.lookVector*missle.Size.z) | |
609 | local rayehit, rayepos, rayesurface = workspace:FindPartOnRayWithIgnoreList(rayecast, {ownercharacter}) | |
610 | if rayehit then | |
611 | hitraycast = true | |
612 | if rayesurface then | |
613 | local hitsomeone = false | |
614 | for i,v in pairs(workspace:GetDescendants()) do | |
615 | if v.ClassName == "Model" and v ~= ownercharacter then | |
616 | if v:findFirstChild("Head") then | |
617 | if (v.Head.Position - rayepos).magnitude < 30 then | |
618 | v:BreakJoints() | |
619 | hitsomeone = true | |
620 | end | |
621 | end | |
622 | end | |
623 | end | |
624 | if hitsomeone then | |
625 | local taunt = math.random(1,4) | |
626 | if taunt == 1 then | |
627 | noscopesound:Play() | |
628 | noscopesound.TimePosition = 2.3 | |
629 | elseif taunt == 2 then | |
630 | headshotsound:Play() | |
631 | elseif taunt == 3 then | |
632 | headshotsound2:Play() | |
633 | elseif taunt == 4 then | |
634 | kfcnwatermelon:Play() | |
635 | end | |
636 | end | |
637 | local explosionpart = Instance.new("UnionOperation", charhum) | |
638 | explosionpart.Anchored = true | |
639 | explosionpart.CanCollide = false | |
640 | explosionpart.CFrame = CFrame.new(rayepos) | |
641 | local explosionsound = Instance.new("Sound", explosionpart) | |
642 | explosionsound.SoundId = "rbxassetid://967702054" | |
643 | explosionsound:Play() | |
644 | explosionsound.Volume = 4 | |
645 | local reverb = Instance.new("ReverbSoundEffect", explosionsound) | |
646 | reverb.DecayTime = 6.5 | |
647 | reverb.DryLevel = 5 | |
648 | game.Debris:AddItem(explosionpart, explosionsound.TimeLength) | |
649 | local exblock = Instance.new("UnionOperation", charhum) | |
650 | Instance.new("SpecialMesh", exblock).MeshType = "Sphere" | |
651 | exblock.BrickColor = BrickColor.new("Institutional white") | |
652 | exblock.Anchored = true | |
653 | exblock.CanCollide = false | |
654 | exblock.Transparency = 0 | |
655 | exblock.CFrame = CFrame.new(rayepos) | |
656 | exblock.Size = Vector3.new(5,5,5) | |
657 | coroutine.wrap(function() | |
658 | for i = 1,40 do | |
659 | exblock.Size = exblock.Size + Vector3.new(2,2,2) | |
660 | exblock.Transparency = exblock.Transparency + 0.025 | |
661 | runservice.Stepped:wait() | |
662 | end | |
663 | exblock:destroy() | |
664 | end)() | |
665 | coroutine.wrap(function() | |
666 | for i = 1,25 do --blocks | |
667 | local exblock = Instance.new("UnionOperation", charhum) | |
668 | Instance.new("BlockMesh", exblock) | |
669 | exblock.BrickColor = BrickColor.new("New Yeller") | |
670 | exblock.Anchored = true | |
671 | exblock.CanCollide = false | |
672 | exblock.Material = "Neon" | |
673 | exblock.Transparency = 0.2 | |
674 | exblock.CFrame = CFrame.new(rayepos) | |
675 | exblock.Size = Vector3.new(0,0,0) | |
676 | coroutine.wrap(function() | |
677 | for i = 1,20 do | |
678 | exblock.Size = exblock.Size + Vector3.new(1,1,1) | |
679 | exblock.Transparency = exblock.Transparency + 0.03 | |
680 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
681 | runservice.Stepped:wait() | |
682 | end | |
683 | exblock:destroy() | |
684 | end)() | |
685 | wait(0.015) | |
686 | end | |
687 | end)() | |
688 | coroutine.wrap(function() --shockwave | |
689 | for i = 1,15 do | |
690 | local exblock = Instance.new("UnionOperation", charhum) | |
691 | local shockwave = Instance.new("SpecialMesh", exblock) | |
692 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
693 | shockwave.Scale = Vector3.new(3,6.5,3) | |
694 | exblock.BrickColor = BrickColor.new("Institutional white") | |
695 | exblock.Anchored = true | |
696 | exblock.Transparency = 0 | |
697 | exblock.CanCollide = false | |
698 | if rayehit.Parent:findFirstChildOfClass("Humanoid") or rayehit.Parent.Parent:findFirstChildOfClass("Humanoid") then | |
699 | exblock.CFrame = CFrame.new(rayepos) | |
700 | else | |
701 | exblock.CFrame = CFrame.new(rayepos, rayepos-rayesurface) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
702 | end | |
703 | local rotrandom = math.random(1,2) | |
704 | coroutine.wrap(function() | |
705 | for i = 1,20 do | |
706 | exblock.Transparency = exblock.Transparency + 0.05 | |
707 | shockwave.Scale = shockwave.Scale + Vector3.new(1.5,-0.4,1.5) | |
708 | if rotrandom == 1 then | |
709 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
710 | else | |
711 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
712 | end | |
713 | runservice.Stepped:wait() | |
714 | end | |
715 | exblock:destroy() | |
716 | end)() | |
717 | wait(0.05) | |
718 | end | |
719 | end)() | |
720 | end | |
721 | end | |
722 | end | |
723 | missle:destroy() | |
724 | end)() | |
725 | end | |
726 | for i = 0,1 , 0.1 do | |
727 | if equipped then | |
728 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.68267822, 0.96984005, -0.303489685, 0.984807253, -0.0593928285, 0.163175017, 1.81049109e-06, -0.939682603, -0.342016101, 0.173648149, 0.336824, -0.92541647),i) | |
729 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.59371948, 0.471656799, -0.383026123, 0.866024017, 0.321394622, -0.383023292, -0.499992967, 0.556664824, -0.663407445, 0, 0.766044378, 0.642787457),i) | |
730 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.98478603, -0.17364502, 1, 0, 0, 0, 0.984807789, -0.173648, 0, 0.173647985, 0.984807849),i) | |
731 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.99997807, 7.62939453e-06, 1, 0, 0, 0, 1, 1.86266561e-06, 0, -1.86266539e-06, 1),i) | |
732 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.633022487, 0.111617729, -0.766044497, -0.173646361, 0.984808087, 1.25124586e-08, 0.75440681, 0.133020818, 0.642787635),i) | |
733 | head.C0 = head.C0:lerp(CFrame.new(-0.0665130615, 1.49238777, -0.055809021, 0.642787576, -0.133023173, 0.754406452, 1.19896185e-06, 0.98480773, 0.173648417, -0.766044557, -0.111618131, 0.633022308),i) | |
734 | runservice.Stepped:wait() | |
735 | end | |
736 | end | |
737 | wait(0.040) | |
738 | canuse = true | |
739 | charhum.WalkSpeed = ws | |
740 | charhum.JumpPower = jp | |
741 | leftleg:destroy() | |
742 | rightleg:destroy() | |
743 | for i = 0,1 , 0.04 do | |
744 | if equipped then | |
745 | if canuse then | |
746 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0),i) | |
747 | end | |
748 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.499994755, -0.5, 1, 0, 0, 0, -4.3709008e-08, -1, 0, 1, -4.3709008e-08),i) | |
749 | - | wait(0.5) |
749 | + | |
750 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
751 | head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i) | |
752 | runservice.Stepped:wait() | |
753 | end | |
754 | end | |
755 | rightarm:destroy() | |
756 | leftarm:destroy() | |
757 | head:destroy() | |
758 | humanoidrootpart:destroy() | |
759 | end)() | |
760 | elseif lifecheck == "indeed" then | |
761 | canuse = false | |
762 | anim = "scope" | |
763 | wait(0.40) | |
764 | if equipped then | |
765 | if lifecheck == "indeed" then | |
766 | anim = "shoot" | |
767 | shootsound.PlaybackSpeed = 0.7+math.random(-10,10)/60 | |
768 | shootsound:Play() | |
769 | boomsound.PlaybackSpeed = 1+math.random(-10,10)/60 | |
770 | boomsound:Play() | |
771 | local missle = Instance.new("UnionOperation", charhum) | |
772 | local meshh = Instance.new("SpecialMesh", missle) | |
773 | meshh.MeshType = "Sphere" | |
774 | missle.Anchored = true | |
775 | - | wait(1) |
775 | + | |
776 | missle.Size = Vector3.new(6,6,12) | |
777 | missle.Material = "Neon" | |
778 | missle.BrickColor = BrickColor.new("New Yeller") | |
779 | missle.CFrame = ownercharacter.Head.CFrame * CFrame.new(1.5,0,-7) | |
780 | local fallvalue = 0 | |
781 | local speedvalue = 5 | |
782 | local hitraycast = false | |
783 | local threshold = 0 | |
784 | coroutine.wrap(function() | |
785 | while not hitraycast and threshold <= 450 and runservice.Stepped:wait() do | |
786 | threshold = threshold + 1 | |
787 | missle.CFrame = missle.CFrame * CFrame.new(0,0,-3) | |
788 | if fallvalue <= 0.01 then | |
789 | fallvalue = fallvalue + 0.000035 | |
790 | missle.CFrame = missle.CFrame * CFrame.fromEulerAnglesXYZ(-fallvalue,0,0) | |
791 | end | |
792 | local trail = Instance.new("UnionOperation", charhum) | |
793 | Instance.new("BlockMesh", trail) | |
794 | trail.Anchored = true | |
795 | trail.CanCollide = false | |
796 | trail.Size = Vector3.new(6,6,6) | |
797 | trail.Material = "Neon" | |
798 | trail.CFrame = missle.CFrame * CFrame.new(0,0,6) * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5) | |
799 | coroutine.wrap(function() | |
800 | for i = 1,15 do | |
801 | trail.Transparency = trail.Transparency + 0.075 | |
802 | trail.Size = trail.Size + Vector3.new(0.15,0.15,0.15) | |
803 | runservice.Stepped:wait() | |
804 | end | |
805 | trail:destroy() | |
806 | end)() | |
807 | local exblock = Instance.new("UnionOperation", trail) | |
808 | local shockwave = Instance.new("SpecialMesh", exblock) | |
809 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
810 | shockwave.Scale = Vector3.new(3,5,3) | |
811 | exblock.BrickColor = BrickColor.new("Institutional white") | |
812 | exblock.Anchored = true | |
813 | exblock.Transparency = 0.5 | |
814 | exblock.CanCollide = false | |
815 | local cfx,cfy,cfz = missle.CFrame:ToEulerAnglesXYZ() | |
816 | exblock.CFrame = CFrame.new(trail.Position) * CFrame.fromEulerAnglesXYZ(cfx,cfy,cfz) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
817 | local rotrandom = math.random(1,2) | |
818 | coroutine.wrap(function() | |
819 | for i = 1,10 do | |
820 | exblock.Transparency = exblock.Transparency + 0.05 | |
821 | shockwave.Scale = shockwave.Scale + Vector3.new(1,0.2,1) | |
822 | if rotrandom == 1 then | |
823 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
824 | else | |
825 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
826 | end | |
827 | runservice.Stepped:wait() | |
828 | end | |
829 | exblock:destroy() | |
830 | end)() | |
831 | -- | |
832 | local rayecast = Ray.new(missle.Position, missle.CFrame.lookVector*missle.Size.z) | |
833 | local rayehit, rayepos, rayesurface = workspace:FindPartOnRayWithIgnoreList(rayecast, {ownercharacter}) | |
834 | if rayehit then | |
835 | hitraycast = true | |
836 | if rayesurface then | |
837 | local hitsomeone = false | |
838 | for i,v in pairs(workspace:GetDescendants()) do | |
839 | if v.ClassName == "Model" and v ~= ownercharacter then | |
840 | if v:findFirstChild("Head") then | |
841 | if (v.Head.Position - rayepos).magnitude < 30 then | |
842 | v:BreakJoints() | |
843 | hitsomeone = true | |
844 | end | |
845 | end | |
846 | end | |
847 | end | |
848 | if hitsomeone then | |
849 | local taunt = math.random(1,4) | |
850 | if taunt == 1 then | |
851 | noscopesound:Play() | |
852 | noscopesound.TimePosition = 2.3 | |
853 | elseif taunt == 2 then | |
854 | headshotsound:Play() | |
855 | elseif taunt == 3 then | |
856 | headshotsound2:Play() | |
857 | elseif taunt == 4 then | |
858 | kfcnwatermelon:Play() | |
859 | end | |
860 | end | |
861 | local explosionpart = Instance.new("UnionOperation", charhum) | |
862 | explosionpart.Anchored = true | |
863 | explosionpart.CanCollide = false | |
864 | explosionpart.CFrame = CFrame.new(rayepos) | |
865 | local explosionsound = Instance.new("Sound", explosionpart) | |
866 | explosionsound.SoundId = "rbxassetid://967702054" | |
867 | explosionsound:Play() | |
868 | explosionsound.Volume = 6 | |
869 | explosionsound.PlaybackSpeed = 0.5 | |
870 | local reverb = Instance.new("ReverbSoundEffect", explosionsound) | |
871 | reverb.DecayTime = 6.5 | |
872 | reverb.DryLevel = 5 | |
873 | game.Debris:AddItem(explosionpart, explosionsound.TimeLength) | |
874 | local exblock = Instance.new("UnionOperation", charhum) | |
875 | Instance.new("SpecialMesh", exblock).MeshType = "Sphere" | |
876 | exblock.BrickColor = BrickColor.new("Institutional white") | |
877 | exblock.Anchored = true | |
878 | exblock.CanCollide = false | |
879 | exblock.Transparency = 0 | |
880 | exblock.CFrame = CFrame.new(rayepos) | |
881 | exblock.Size = Vector3.new(5,5,5) | |
882 | coroutine.wrap(function() | |
883 | for i = 1,40 do | |
884 | exblock.Size = exblock.Size + Vector3.new(4,4,4) | |
885 | exblock.Transparency = exblock.Transparency + 0.025 | |
886 | runservice.Stepped:wait() | |
887 | end | |
888 | exblock:destroy() | |
889 | end)() | |
890 | coroutine.wrap(function() | |
891 | for i = 1,35 do --blocks | |
892 | local exblock = Instance.new("UnionOperation", charhum) | |
893 | Instance.new("BlockMesh", exblock) | |
894 | exblock.BrickColor = BrickColor.new("New Yeller") | |
895 | exblock.Anchored = true | |
896 | exblock.CanCollide = false | |
897 | exblock.Material = "Neon" | |
898 | exblock.Transparency = 0.2 | |
899 | exblock.CFrame = CFrame.new(rayepos) | |
900 | exblock.Size = Vector3.new(0,0,0) | |
901 | coroutine.wrap(function() | |
902 | for i = 1,20 do | |
903 | exblock.Size = exblock.Size + Vector3.new(2,2,2) | |
904 | exblock.Transparency = exblock.Transparency + 0.03 | |
905 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
906 | runservice.Stepped:wait() | |
907 | end | |
908 | exblock:destroy() | |
909 | end)() | |
910 | wait(0.015) | |
911 | end | |
912 | end)() | |
913 | coroutine.wrap(function() --shockwave | |
914 | for i = 1,25 do | |
915 | local exblock = Instance.new("UnionOperation", charhum) | |
916 | local shockwave = Instance.new("SpecialMesh", exblock) | |
917 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
918 | shockwave.Scale = Vector3.new(3,7.5,3) | |
919 | exblock.BrickColor = BrickColor.new("Institutional white") | |
920 | exblock.Anchored = true | |
921 | exblock.Transparency = 0 | |
922 | exblock.CanCollide = false | |
923 | if rayehit.Parent:findFirstChildOfClass("Humanoid") or rayehit.Parent.Parent:findFirstChildOfClass("Humanoid") then | |
924 | exblock.CFrame = CFrame.new(rayepos) | |
925 | else | |
926 | exblock.CFrame = CFrame.new(rayepos, rayepos-rayesurface) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
927 | end | |
928 | local rotrandom = math.random(1,2) | |
929 | coroutine.wrap(function() | |
930 | for i = 1,20 do | |
931 | exblock.Transparency = exblock.Transparency + 0.05 | |
932 | shockwave.Scale = shockwave.Scale + Vector3.new(3,-0.6,3) | |
933 | if rotrandom == 1 then | |
934 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
935 | else | |
936 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
937 | end | |
938 | runservice.Stepped:wait() | |
939 | end | |
940 | exblock:destroy() | |
941 | end)() | |
942 | wait(0.05) | |
943 | end | |
944 | end)() | |
945 | end | |
946 | end | |
947 | end | |
948 | missle:destroy() | |
949 | end)() | |
950 | wait(0.5) | |
951 | anim = "idle" | |
952 | canuse = true | |
953 | end | |
954 | end | |
955 | end | |
956 | end | |
957 | end) | |
958 | tool.Activated:connect(function() | |
959 | if canuse then | |
960 | if not lifecheck then | |
961 | wait(0.040) | |
962 | if clicked then | |
963 | canuse = false | |
964 | chargesound.PlaybackSpeed = 1 | |
965 | chargesound:Play() | |
966 | coroutine.wrap(function() | |
967 | local chargiin = true | |
968 | coroutine.wrap(function() | |
969 | while clicked and equipped and chargiin and wait(0.1) do | |
970 | local exblock = Instance.new("UnionOperation", charhum) | |
971 | Instance.new("BlockMesh", exblock) | |
972 | exblock.BrickColor = BrickColor.new("Institutional white") | |
973 | exblock.Anchored = true | |
974 | exblock.CanCollide = false | |
975 | exblock.Material = "Neon" | |
976 | exblock.Transparency = 0.7 | |
977 | exblock.CFrame = CFrame.new(handle.Position) | |
978 | exblock.Size = Vector3.new(6,6,6) | |
979 | coroutine.wrap(function() | |
980 | for i = 1,20 do | |
981 | exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2) | |
982 | exblock.Transparency = exblock.Transparency + 0.015 | |
983 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
984 | runservice.Stepped:wait() | |
985 | end | |
986 | exblock:destroy() | |
987 | end)() | |
988 | end | |
989 | end)() | |
990 | for i = 1,300 do | |
991 | if clicked and equipped then | |
992 | chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025 | |
993 | runservice.Stepped:wait() | |
994 | end | |
995 | end | |
996 | chargiin = false | |
997 | if clicked and equipped then | |
998 | lifecheck = true | |
999 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
1000 | music.TimePosition = 0 | |
1001 | music.SoundId = "rbxassetid://2913619435" | |
1002 | lasersound:Play() | |
1003 | for i,v in pairs(tool:GetDescendants()) do | |
1004 | if v.Name == "shiney" and v.ClassName == "Part" then | |
1005 | v.Material = "Neon" | |
1006 | end | |
1007 | end | |
1008 | local holy = Instance.new("Fire", handle) | |
1009 | holy.Size = 30 | |
1010 | holy.Heat = 20 | |
1011 | holy.Color = Color3.fromRGB(255,255,255) | |
1012 | coroutine.wrap(function() | |
1013 | for i = 1,120 do | |
1014 | holy.Size = holy.Size - 0.25 | |
1015 | runservice.Stepped:wait() | |
1016 | end | |
1017 | holy.Enabled = false | |
1018 | wait(0.040) | |
1019 | holy:destroy() | |
1020 | end)() | |
1021 | end | |
1022 | chargesound:Stop() | |
1023 | while runservice.Stepped:wait() and clicked do end | |
1024 | canuse = true | |
1025 | end)() | |
1026 | end | |
1027 | elseif lifecheck and lifecheck ~= "indeed" then | |
1028 | wait(0.1) | |
1029 | if clicked then | |
1030 | - | wait(2) |
1030 | + | |
1031 | chargesound.PlaybackSpeed = 1 | |
1032 | chargesound:Play() | |
1033 | coroutine.wrap(function() | |
1034 | local chargiin = true | |
1035 | coroutine.wrap(function() | |
1036 | while clicked and equipped and chargiin and wait(0.1) do | |
1037 | local exblock = Instance.new("UnionOperation", charhum) | |
1038 | Instance.new("BlockMesh", exblock) | |
1039 | exblock.BrickColor = BrickColor.new("New Yeller") | |
1040 | exblock.Anchored = true | |
1041 | exblock.CanCollide = false | |
1042 | exblock.Material = "Neon" | |
1043 | exblock.Transparency = 0.5 | |
1044 | exblock.CFrame = CFrame.new(handle.Position) | |
1045 | exblock.Size = Vector3.new(6,6,6) | |
1046 | coroutine.wrap(function() | |
1047 | for i = 1,20 do | |
1048 | exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2) | |
1049 | exblock.Transparency = exblock.Transparency + 0.015 | |
1050 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
1051 | runservice.Stepped:wait() | |
1052 | end | |
1053 | exblock:destroy() | |
1054 | end)() | |
1055 | end | |
1056 | end)() | |
1057 | for i = 1,300 do | |
1058 | if clicked and equipped then | |
1059 | chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025 | |
1060 | runservice.Stepped:wait() | |
1061 | end | |
1062 | end | |
1063 | chargiin = false | |
1064 | if clicked and equipped then | |
1065 | lifecheck = "indeed" | |
1066 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
1067 | music.TimePosition = 0 | |
1068 | music.SoundId = "rbxassetid://295754240" | |
1069 | lasersound:Play() | |
1070 | for i,v in pairs(tool:GetDescendants()) do | |
1071 | if v.ClassName == "Part" then | |
1072 | local mesh = Instance.new("BlockMesh", v) | |
1073 | mesh.Scale = Vector3.new(2.5,2.5,2.5) | |
1074 | handle2weld.C0 = CFrame.new(2,0,0) | |
1075 | shineyweld.C0 = CFrame.new(0,0.5,0) | |
1076 | shiney2weld.C0 = CFrame.new(0,0.5,0) | |
1077 | end | |
1078 | end | |
1079 | local holy = Instance.new("Fire", handle) | |
1080 | holy.Size = 30 | |
1081 | holy.Heat = 20 | |
1082 | holy.Color = Color3.fromRGB(255,255,0) | |
1083 | coroutine.wrap(function() | |
1084 | for i = 1,120 do | |
1085 | holy.Size = holy.Size - 0.25 | |
1086 | runservice.Stepped:wait() | |
1087 | end | |
1088 | holy.Enabled = false | |
1089 | wait(0.040) | |
1090 | holy:destroy() | |
1091 | end)() | |
1092 | anim = "idle" | |
1093 | local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip") | |
1094 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
1095 | rightarm.Part0 = ownercharacter.Torso | |
1096 | rightarm.Part1 = ownercharacter["Right Arm"] | |
1097 | rightarm.C0 = CFrame.new(1.5,0,0) | |
1098 | rightarm.Name = "RightArmWeldcross" | |
1099 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
1100 | leftarm.Part0 = ownercharacter.Torso | |
1101 | - | wait(2) |
1101 | + | |
1102 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
1103 | leftarm.Name = "LeftArmWeldcross" | |
1104 | local head = Instance.new("Weld", ownercharacter.Torso) | |
1105 | head.Part0 = ownercharacter.Torso | |
1106 | head.Part1 = ownercharacter.Head | |
1107 | head.C0 = CFrame.new(0,1.5,0) | |
1108 | head.Name = "HeadWeldcross" | |
1109 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
1110 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
1111 | humanoidrootpart.Part1 = ownercharacter.Torso | |
1112 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
1113 | coroutine.wrap(function() | |
1114 | while equipped and lifecheck == "indeed" and runservice.Stepped:wait() do | |
1115 | if cananimate then | |
1116 | local absvel = rootpart.CFrame:vectorToObjectSpace(rootpart.Velocity) | |
1117 | if anim == "idle" then | |
1118 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
1119 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.874992371, 0.141008854, -0.596240997, 0.50000006, 0.750001609, 0.433009773, -0.150381878, 0.567591846, -0.809459567, -0.852868795, 0.33961302, 0.396582663),0.15) | |
1120 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.2557373, -0.044418335, -0.835590363, 0.934456587, -0.2350021, -0.267516464, -0.0593904369, 0.637900949, -0.767825007, 0.351089478, 0.733386993, 0.58213377),0.15) | |
1121 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.984807849, 0, 0.173648179, 0, 1, 0, -0.173648193, 0, 0.984807849) * CFrame.fromEulerAnglesXYZ(absvel.z/100,0,-absvel.x/100),0.15) | |
1122 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998355, 0, 0.984807789, 0, -0.173648179, 0, 1, 0, 0.173648179, 0, 0.984807789),0.15) | |
1123 | runservice.Stepped:wait() | |
1124 | elseif anim == "scope" then | |
1125 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
1126 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.809280396, 0.364839554, -0.920059204, 0.191511169, 0.972948372, 0.12920922, -0.116976522, 0.153333753, -0.981226504, -0.974494755, 0.17280136, 0.143177241),0.15) | |
1127 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.49999619, 0.41317153, -0.492401123, 1, 0, 0, 0, 0.173646122, -0.984808087, 0, 0.984808207, 0.173646107),0.15) | |
1128 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648149, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173648134),0.15) | |
1129 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998379, 0, 0.173648149, 0, 0.984807789, 0, 1, 0, -0.984807789, 0, 0.173648149),0.15) | |
1130 | runservice.Stepped:wait() | |
1131 | elseif anim == "shoot" then | |
1132 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
1133 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.921146393, 1.04831123, -0.980117798, 0.191510394, 0.724376798, -0.662268221, -0.116975948, -0.653091669, -0.748176575, -0.974494457, 0.220755547, -0.0403396413),0.15) | |
1134 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.65689468, 0.365976334, 0.224777222, 0.499998748, 0.813797832, 0.296194881, -0.150380298, 0.418411076, -0.895711064, -0.852868319, 0.403317034, 0.33158794),0.15) | |
1135 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.163175866, 0.0593911558, -0.98480773, -0.342016339, 0.939682305, 0, 0.925416529, 0.336824059, 0.173648134),0.15) | |
1136 | head.C0 = head.C0:lerp(CFrame.new(-0.16840744, 1.46983147, -0.0297012329, 0.173647925, -0.336824208, 0.925416589, 6.14207295e-07, 0.939692736, 0.342020094, -0.984807849, -0.0593905188, 0.163175866),0.15) | |
1137 | runservice.Stepped:wait() | |
1138 | end | |
1139 | end | |
1140 | end | |
1141 | rightarm:destroy() | |
1142 | leftarm:destroy() | |
1143 | head:destroy() | |
1144 | humanoidrootpart:destroy() | |
1145 | end)() | |
1146 | end | |
1147 | chargesound:Stop() | |
1148 | while runservice.Stepped:wait() and clicked do end | |
1149 | canuse = true | |
1150 | end)() | |
1151 | end | |
1152 | elseif lifecheck == "indeed" then | |
1153 | wait(0.1) | |
1154 | if clicked then | |
1155 | canuse = false | |
1156 | chargesound.PlaybackSpeed = 1 | |
1157 | chargesound:Play() | |
1158 | coroutine.wrap(function() | |
1159 | local chargiin = true | |
1160 | coroutine.wrap(function() | |
1161 | while clicked and equipped and chargiin and wait(0.1) do | |
1162 | local exblock = Instance.new("UnionOperation", charhum) | |
1163 | Instance.new("BlockMesh", exblock) | |
1164 | exblock.BrickColor = BrickColor.new("New Yeller") | |
1165 | exblock.Anchored = true | |
1166 | exblock.CanCollide = false | |
1167 | exblock.Material = "Neon" | |
1168 | exblock.Transparency = 0.5 | |
1169 | exblock.CFrame = CFrame.new(handle.Position) | |
1170 | exblock.Size = Vector3.new(10,10,10) | |
1171 | coroutine.wrap(function() | |
1172 | for i = 1,20 do | |
1173 | exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2) | |
1174 | exblock.Transparency = exblock.Transparency + 0.015 | |
1175 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
1176 | runservice.Stepped:wait() | |
1177 | end | |
1178 | exblock:destroy() | |
1179 | end)() | |
1180 | end | |
1181 | end)() | |
1182 | for i = 1,300 do | |
1183 | if clicked and equipped then | |
1184 | chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025 | |
1185 | runservice.Stepped:wait() | |
1186 | end | |
1187 | end | |
1188 | chargiin = false | |
1189 | if clicked and equipped then | |
1190 | lifecheck = false | |
1191 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
1192 | music.TimePosition = 0 | |
1193 | music.SoundId = "rbxassetid://4361093477" | |
1194 | lasersound:Play() | |
1195 | for i,v in pairs(tool:GetDescendants()) do | |
1196 | if v.ClassName == "BlockMesh" then | |
1197 | v:destroy() | |
1198 | end | |
1199 | if v.ClassName == "Part" then | |
1200 | if v.Material == Enum.Material.Neon then | |
1201 | v.Material = "Plastic" | |
1202 | v.Reflectance = 1 | |
1203 | end | |
1204 | end | |
1205 | end | |
1206 | local holy = Instance.new("Fire", handle) | |
1207 | holy.Size = 30 | |
1208 | holy.Heat = 20 | |
1209 | holy.Color = Color3.fromRGB(255,255,255) | |
1210 | coroutine.wrap(function() | |
1211 | for i = 1,120 do | |
1212 | holy.Size = holy.Size - 0.25 | |
1213 | runservice.Stepped:wait() | |
1214 | end | |
1215 | holy.Enabled = false | |
1216 | wait(0.040) | |
1217 | holy:destroy() | |
1218 | end)() | |
1219 | shiney2weld.C0 = shiney2c0 | |
1220 | shineyweld.C0 = shineyc0 | |
1221 | handle2weld.C0 = handle2c0 | |
1222 | ownercharacter["Right Arm"]:WaitForChild("RightGrip"):destroy() | |
1223 | local rightgrip = Instance.new("Weld", ownercharacter["Right Arm"]) | |
1224 | rightgrip.Part0 = ownercharacter["Right Arm"] | |
1225 | rightgrip.Part1 = handle | |
1226 | rightgrip.Name = "RightGrip" | |
1227 | rightgrip.C0 = CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0) | |
1228 | - | wait(2) |
1228 | + | |
1229 | chargesound:Stop() | |
1230 | while runservice.Stepped:wait() and clicked do end | |
1231 | canuse = true | |
1232 | end)() | |
1233 | end | |
1234 | end | |
1235 | end | |
1236 | end) | |
1237 | end)() | |
1238 | Tool0.Parent = owner.Character |