SHOW:
|
|
- or go back to the newest paste.
1 | -- x10Shield -- | |
2 | local me = game:GetService("Players").LocalPlayer | |
3 | local ShieldSize = 5 | |
4 | local canCollide = false | |
5 | local isLocked = false | |
6 | local defaultTransparency = 1 | |
7 | local whitelist = {"", "", "", ""} | |
8 | ||
9 | local scriptBreak = false | |
10 | local followPart = me.Character.HumanoidRootPart | |
11 | local actualList = {} | |
12 | local playerList = {} | |
13 | table.insert(playerList, me) | |
14 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
15 | for _,wplay in pairs(whitelist) do | |
16 | if v.Name:lower() == wplay:lower() then | |
17 | table.insert(playerList, v) | |
18 | end | |
19 | end | |
20 | end | |
21 | ||
22 | local MainLocation = me.Character.Torso | |
23 | ||
24 | function createShield() | |
25 | pcall(function() | |
26 | pcall(function() | |
27 | for i,v in pairs(MainLocation:GetChildren()) do | |
28 | if v.Name == "weinershield" then | |
29 | v:Destroy() | |
30 | end | |
31 | end | |
32 | end) | |
33 | local mod = Instance.new("Model", MainLocation) | |
34 | mod.Name = "weinershield" | |
35 | local p1 = Instance.new("Part", mod) | |
36 | p1.Name = "front" | |
37 | p1.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
38 | p1.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2)) | |
39 | local b = Instance.new("BlockMesh", p1) | |
40 | b.Scale = Vector3.new(1, 1, 0) | |
41 | local p2 = Instance.new("Part", mod) | |
42 | p2.Name = "back" | |
43 | p2.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
44 | p2.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2)) | |
45 | local b = Instance.new("BlockMesh", p2) | |
46 | b.Scale = Vector3.new(1, 1, 0) | |
47 | local p3 = Instance.new("Part", mod) | |
48 | p3.Name = "left" | |
49 | p3.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
50 | p3.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
51 | local b = Instance.new("BlockMesh", p3) | |
52 | b.Scale = Vector3.new(0, 1, 1) | |
53 | local p4 = Instance.new("Part", mod) | |
54 | p4.Name = "right" | |
55 | p4.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
56 | p4.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
57 | local b = Instance.new("BlockMesh", p4) | |
58 | b.Scale = Vector3.new(0, 1, 1) | |
59 | local p5 = Instance.new("Part", mod) | |
60 | p5.Name = "top" | |
61 | p5.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
62 | p5.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z) | |
63 | local b = Instance.new("BlockMesh", p5) | |
64 | b.Scale = Vector3.new(1, 0, 1) | |
65 | local p6 = Instance.new("Part", mod) | |
66 | p6.Name = "bottom" | |
67 | p6.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
68 | p6.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z) | |
69 | local b = Instance.new("BlockMesh", p6) | |
70 | b.Scale = Vector3.new(1, 0, 1) | |
71 | for i,v in pairs(mod:GetChildren()) do | |
72 | v.Anchored = true | |
73 | v.Transparency = defaultTransparency | |
74 | v.Material = "Neon" | |
75 | v.TopSurface = "Smooth" | |
76 | v.BottomSurface = "Smooth" | |
77 | v.CanCollide = canCollide | |
78 | end | |
79 | mod.ChildRemoved:connect(function(a) | |
80 | game:GetService("RunService").Stepped:wait() | |
81 | if a.ClassName == "Part" then | |
82 | createShield() | |
83 | end | |
84 | end) | |
85 | end) | |
86 | end | |
87 | ||
88 | function updateShield() | |
89 | pcall(function() | |
90 | char = me.Character | |
91 | for i,v in pairs(MainLocation:findFirstChild("weinershield"):GetChildren()) do | |
92 | v.Anchored = true | |
93 | v.Transparency = defaultTransparency | |
94 | v.Material = "Neon" | |
95 | v.TopSurface = "Smooth" | |
96 | v.BottomSurface = "Smooth" | |
97 | v.CanCollide = canCollide | |
98 | end | |
99 | MainLocation:findFirstChild("weinershield").front.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
100 | MainLocation:findFirstChild("weinershield").front.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2)) | |
101 | MainLocation:findFirstChild("weinershield").back.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
102 | MainLocation:findFirstChild("weinershield").back.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2)) | |
103 | MainLocation:findFirstChild("weinershield").left.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
104 | MainLocation:findFirstChild("weinershield").left.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
105 | MainLocation:findFirstChild("weinershield").right.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
106 | MainLocation:findFirstChild("weinershield").right.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
107 | MainLocation:findFirstChild("weinershield").top.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
108 | MainLocation:findFirstChild("weinershield").top.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z) | |
109 | MainLocation:findFirstChild("weinershield").bottom.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
110 | MainLocation:findFirstChild("weinershield").bottom.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z) | |
111 | end) | |
112 | end | |
113 | ||
114 | ||
115 | local function CreateRegion3FromLocAndSize(Position, Size) | |
116 | local SizeOffset = Size/2 | |
117 | local Point1 = Position - SizeOffset | |
118 | local Point2 = Position + SizeOffset | |
119 | return Region3.new(Point1, Point2) | |
120 | end | |
121 | ||
122 | createShield() | |
123 | game:GetService("RunService").Heartbeat:connect(function() | |
124 | if not scriptBreak then | |
125 | local me = game:GetService("Players").LocalPlayer | |
126 | local char = workspace:findFirstChild(me.Name) | |
127 | actualList = {} | |
128 | for i,v in pairs(playerList) do | |
129 | pcall(function() | |
130 | table.insert(actualList, workspace:findFirstChild(v.Name)) | |
131 | end) | |
132 | end | |
133 | if MainLocation:findFirstChild("weinershield") ~= nil then | |
134 | updateShield() | |
135 | else | |
136 | createShield() | |
137 | end | |
138 | pcall(function() | |
139 | local Region = CreateRegion3FromLocAndSize(followPart.Position, Vector3.new(ShieldSize+1,ShieldSize+1,ShieldSize+1)) | |
140 | for _,Part in pairs(workspace:FindPartsInRegion3WithIgnoreList(Region,actualList,math.huge)) do | |
141 | if Part.Name ~= "Base" and not Part:isDescendantOf(MainLocation:findFirstChild("weinershield")) then | |
142 | Part:Destroy() | |
143 | end | |
144 | end | |
145 | end) | |
146 | pcall(function() | |
147 | for i,v in pairs(actualList) do | |
148 | if v:findFirstChild("Humanoid") ~= nil then | |
149 | v.Humanoid.MaxHealth = math.huge | |
150 | v.Humanoid.Health = math.huge | |
151 | else | |
152 | Instance.new("Humanoid", v) | |
153 | end | |
154 | end | |
155 | end) | |
156 | end | |
157 | end) | |
158 | p = game.Players.LocalPlayer | |
159 | char = p.Character | |
160 | local char = p.Character | |
161 | torso = char.Torso | |
162 | neck = char.Torso.Neck | |
163 | hum = char.Humanoid | |
164 | Player = game:GetService("Players").LocalPlayer | |
165 | Character = Player.Character | |
166 | tors = Character.Torso | |
167 | root = Character.HumanoidRootPart | |
168 | lleg = Character["Left Leg"] | |
169 | hed = Character.Head | |
170 | rleg = Character["Right Leg"] | |
171 | rarm = Character["Right Arm"] | |
172 | larm = Character["Left Arm"] | |
173 | ||
174 | ypcall(function() | |
175 | for i,v in pairs(Character:children()) do | |
176 | if v:IsA("Hat") then | |
177 | v:Destroy() | |
178 | end | |
179 | end | |
180 | for i,v in pairs(Character:children()) do | |
181 | if v:IsA("Accessory") then | |
182 | v:Destroy() | |
183 | end | |
184 | end | |
185 | for i,v in pairs(Character:children()) do | |
186 | if v:IsA("Hair") then | |
187 | v:Destroy() | |
188 | end | |
189 | end | |
190 | end) | |
191 | ||
192 | CV="Hot pink" | |
193 | ||
194 | local txt = Instance.new("BillboardGui", char) | |
195 | txt.Adornee = char .Head | |
196 | txt.Name = "_status" | |
197 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
198 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
199 | local text = Instance.new("TextLabel", txt) | |
200 | text.Size = UDim2.new(10, 0, 7, 0) | |
201 | text.FontSize = "Size24" | |
202 | text.TextScaled = true | |
203 | text.TextTransparency = 0 | |
204 | text.BackgroundTransparency = 1 | |
205 | text.TextTransparency = 0 | |
206 | text.TextStrokeTransparency = 0 | |
207 | text.Font = "Fantasy" | |
208 | text.TextStrokeColor3 = BrickColor.new("Really black").Color | |
209 | ||
210 | v=Instance.new("Part") | |
211 | v.Name = "ColorBrick" | |
212 | v.Parent=p.Character | |
213 | v.FormFactor="Symmetric" | |
214 | v.Anchored=true | |
215 | v.CanCollide=false | |
216 | v.BottomSurface="Smooth" | |
217 | v.TopSurface="Smooth" | |
218 | v.Size=Vector3.new(10,5,3) | |
219 | v.Transparency=1 | |
220 | v.CFrame=char.Torso.CFrame | |
221 | v.BrickColor=BrickColor.new(CV) | |
222 | v.Transparency=1 | |
223 | text.TextColor3 = BrickColor.new("Really Black").Color | |
224 | v.Shape="Block" | |
225 | text.Text = "Death" | |
226 | ||
227 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
228 | hed.Transparency = 0.7 | |
229 | rleg.Transparency = 0.7 | |
230 | rarm.Transparency = 0.7 | |
231 | larm.Transparency = 0.7 | |
232 | lleg.Transparency = 0.7 | |
233 | tors.Transparency = 0.7 | |
234 | ||
235 | Player = game:GetService("Players").LocalPlayer | |
236 | Character = Player.Character | |
237 | rarm = Character["Right Arm"] | |
238 | larm = Character["Left Arm"] | |
239 | vt = Vector3.new | |
240 | bc = BrickColor.new | |
241 | - | wit = bc("Deep orange").Color |
241 | + | wit = bc("Really black").Color |
242 | local prth = Instance.new("Part",Character) | |
243 | prth.Size = vt(1.25,1.25,1.25) | |
244 | prth.CanCollide = false | |
245 | prth.Material = "Neon" | |
246 | prth.Transparency = 0.1 | |
247 | prth.BrickColor = bc("Really black") | |
248 | - | prth.BrickColor = bc("black") |
248 | + | |
249 | wldh.Part0 = hed | |
250 | wldh.Part1 = prth | |
251 | ||
252 | local prtrm = Instance.new("Part",Character) | |
253 | prtrm.Size = vt(2.1,2.1,1.1) | |
254 | prtrm.CanCollide = false | |
255 | prtrm.Transparency = 0.1 | |
256 | prtrm.Material = "Neon" | |
257 | prtrm.BrickColor = bc("Really black") | |
258 | - | prtrm.BrickColor = bc("black") |
258 | + | |
259 | wldm.Part0 = root | |
260 | wldm.Part1 = prtrm | |
261 | ||
262 | local prtr = Instance.new("Part",Character) | |
263 | prtr.Size = vt(1.1,2.1,1.1) | |
264 | prtr.CanCollide = false | |
265 | prtr.Transparency = 0.8 | |
266 | prtr.Material = "Neon" | |
267 | prtr.BrickColor = bc("Really black") | |
268 | - | prtr.BrickColor = bc("black") |
268 | + | |
269 | prtrl.Size = vt(1.1,2.1,1.1) | |
270 | prtrl.CanCollide = false | |
271 | prtrl.Transparency = 0.1 | |
272 | prtrl.Material = "Neon" | |
273 | prtrl.BrickColor = bc("Really black") | |
274 | - | prtrl.BrickColor = bc("black") |
274 | + | |
275 | eff.LightEmission = 1 | |
276 | eff.Texture = "rbxassetid://284205403" | |
277 | eff.Color = ColorSequence.new(wit) | |
278 | eff.Size = NumberSequence.new(0.5,1) | |
279 | eff.Acceleration = vt(0,25,0) | |
280 | eff.Speed = NumberRange.new(-5) | |
281 | eff.LockedToPart = false | |
282 | eff.Transparency = NumberSequence.new(0.95) | |
283 | eff.Lifetime = NumberRange.new(0.5) | |
284 | eff.Rate = 100000 | |
285 | eff.VelocitySpread = 25 | |
286 | local wld = Instance.new("Weld",Character) | |
287 | wld.Part0 = rarm | |
288 | wld.Part1 = prtr | |
289 | local wldl = Instance.new("Weld",Character) | |
290 | wldl.Part0 = rleg | |
291 | wldl.Part1 = prtrl | |
292 | ||
293 | local prtr2 = Instance.new("Part",Character) | |
294 | prtr2.Size = vt(1.1,2.1,1.1) | |
295 | prtr2.CanCollide = false | |
296 | prtr2.Transparency = 0.1 | |
297 | prtr2.Material = "Neon" | |
298 | prtr2.BrickColor = bc("black") | |
299 | local prtrl2 = Instance.new("Part",Character) | |
300 | prtrl2.Size = vt(1.1,2.1,1.1) | |
301 | prtrl2.CanCollide = false | |
302 | prtrl2.Transparency = 0.1 | |
303 | prtrl2.Material = "Neon" | |
304 | prtrl2.BrickColor = bc("black") | |
305 | local eff2 = Instance.new("ParticleEmitter",prtr2) | |
306 | eff2.LightEmission = 1 | |
307 | eff2.Texture = "rbxassetid://284205403" | |
308 | eff2.Color = ColorSequence.new(wit) | |
309 | eff2.Size = NumberSequence.new(0.5,1) | |
310 | eff2.Acceleration = vt(0,25,0) | |
311 | eff2.Speed = NumberRange.new(-5) | |
312 | eff2.LockedToPart = false | |
313 | eff2.Transparency = NumberSequence.new(0.95) | |
314 | eff2.Lifetime = NumberRange.new(0.5) | |
315 | eff2.Rate = 100000 | |
316 | eff2.VelocitySpread = 25 | |
317 | local wld2 = Instance.new("Weld",Character) | |
318 | wld2.Part0 = larm | |
319 | wld2.Part1 = prtr2 | |
320 | local wldl2 = Instance.new("Weld",Character) | |
321 | wldl2.Part0 = lleg | |
322 | wldl2.Part1 = prtrl2 | |
323 | ||
324 | local mouse = game.Players.LocalPlayer:GetMouse() | |
325 | tors = game.Players.LocalPlayer.Character.Torso | |
326 | vt = Vector3.new | |
327 | bc = BrickColor.new | |
328 | ||
329 | local Effect = Instance.new("Part",game.Lighting) | |
330 | Effect.BrickColor = bc("Deep orange") | |
331 | Effect.Transparency = 1 | |
332 | Effect.Anchored = true | |
333 | Effect.CanCollide = false | |
334 | Effect.Material = "Neon" | |
335 | Effect.Shape = "Ball" | |
336 | Effect.Size = vt(5,5,5) | |
337 | local fire1 = Instance.new("Fire",Effect) | |
338 | fire1.Name = "Fire" | |
339 | fire1.Heat = 0 | |
340 | fire1.Size = 30 | |
341 | fire1.SecondaryColor = bc("Really black").Color | |
342 | fire1.Color = bc("Deep orange").Color | |
343 | local fire2 = Instance.new("Fire",Effect) | |
344 | fire2.Name = "Fire2" | |
345 | fire2.Heat = 0 | |
346 | fire2.Size = 25 | |
347 | fire2.SecondaryColor = bc("Really black").Color | |
348 | fire2.Color = bc("Neon orange").Color | |
349 | ||
350 | function Explode(rad,par) | |
351 | local expart = Instance.new("Part",script.Parent) | |
352 | local expart2 = Instance.new("Part",script.Parent) | |
353 | local snd = Instance.new("Sound",expart) | |
354 | snd.SoundId = "rbxassetid://" | |
355 | snd.Volume = 2.5 | |
356 | local partMesh = Instance.new("SpecialMesh",expart) | |
357 | partMesh.MeshType = "Sphere" | |
358 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
359 | partMesh2.MeshType = "Sphere" | |
360 | local expld = Instance.new("Explosion", script.Parent) | |
361 | expld.BlastRadius = rad | |
362 | expld.Position = par.Position | |
363 | partMesh.Scale = vt(rad,rad,rad) | |
364 | expart.Size = vt(1,1,1)*1.5 | |
365 | expart.Transparency = 0.1 | |
366 | expart.Anchored = true | |
367 | expart.Material = "Neon" | |
368 | expart.BrickColor = bc("Black") | |
369 | expart.CFrame = par.CFrame | |
370 | partMesh2.Scale = vt(rad,rad,rad) | |
371 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
372 | expart2.Transparency = 0.1 | |
373 | expart2.Anchored = true | |
374 | expart2.Material = "Neon" | |
375 | expart2.BrickColor = bc("Black") | |
376 | expart2.CFrame = par.CFrame | |
377 | snd:Play() | |
378 | for i = 0, 100 do | |
379 | expart.Transparency = expart.Transparency + 0.005 | |
380 | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) | |
381 | expart.CFrame = expart.CFrame | |
382 | expart2.Transparency = expart.Transparency + 0.005 | |
383 | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) | |
384 | expart2.CFrame = expart.CFrame | |
385 | wait(0) | |
386 | end | |
387 | snd.Parent = nil | |
388 | expart.Parent = nil | |
389 | expart2.Parent = nil | |
390 | expld.Parent = nil | |
391 | end | |
392 | ||
393 | function Explode2(rad,par) | |
394 | local expart = Instance.new("Part",script.Parent) | |
395 | local expart2 = Instance.new("Part",script.Parent) | |
396 | local snd = Instance.new("Sound",expart) | |
397 | snd.SoundId = "rbxassetid://" | |
398 | snd.Volume = 3 | |
399 | local partMesh = Instance.new("SpecialMesh",expart) | |
400 | partMesh.MeshType = "Sphere" | |
401 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
402 | partMesh2.MeshType = "Sphere" | |
403 | local expld = Instance.new("Explosion", script.Parent) | |
404 | expld.BlastRadius = rad | |
405 | expld.Position = par.Position | |
406 | partMesh.Scale = vt(rad,rad,rad) | |
407 | expart.Size = vt(1,1,1)*1.5 | |
408 | expart.Transparency = 0.1 | |
409 | expart.Anchored = true | |
410 | expart.Material = "Neon" | |
411 | expart.BrickColor = bc("black") | |
412 | expart.CFrame = par.CFrame | |
413 | partMesh2.Scale = vt(rad,rad,rad) | |
414 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
415 | expart2.Transparency = 0.1 | |
416 | expart2.Anchored = true | |
417 | expart2.Material = "Neon" | |
418 | expart2.BrickColor = bc("black") | |
419 | expart2.CFrame = par.CFrame | |
420 | snd:Play() | |
421 | for i = 0, 100 do | |
422 | expart.Transparency = expart.Transparency + 0.005 | |
423 | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) | |
424 | expart.CFrame = expart.CFrame | |
425 | expart2.Transparency = expart.Transparency + 0.005 | |
426 | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) | |
427 | expart2.CFrame = expart.CFrame | |
428 | wait(0) | |
429 | end | |
430 | snd.Parent = nil | |
431 | expart.Parent = nil | |
432 | expart2.Parent = nil | |
433 | expld.Parent = nil | |
434 | end | |
435 | ||
436 | mouse.KeyDown:connect(function(k) | |
437 | ||
438 | k = k:lower() | |
439 | if k == "p" then | |
440 | - | if k == "q" then |
440 | + | |
441 | spart.Parent = game.Players.LocalPlayer.Character | |
442 | spart.Transparency = 0 | |
443 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5 | |
444 | wait() | |
445 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15 | |
446 | wait() | |
447 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25 | |
448 | wait() | |
449 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35 | |
450 | wait() | |
451 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45 | |
452 | wait() | |
453 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55 | |
454 | wait() | |
455 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65 | |
456 | wait() | |
457 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75 | |
458 | wait() | |
459 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85 | |
460 | wait() | |
461 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95 | |
462 | wait() | |
463 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105 | |
464 | spart.Transparency = 1 | |
465 | spart.Fire2:Destroy() | |
466 | spart.Fire:Destroy() | |
467 | Explode(25,spart) | |
468 | spart:Destroy() | |
469 | end | |
470 | if k == "p" then | |
471 | - | if k == "e" then |
471 | + | |
472 | spart.Parent = game.Players.LocalPlayer.Character | |
473 | spart.Transparency = 0 | |
474 | spart.Anchored = false | |
475 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0 | |
476 | spart.Position = spart.Position + vt(0,100,0) | |
477 | spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150 | |
478 | wait(1) | |
479 | spart.Transparency = 1 | |
480 | spart.Fire2:Destroy() | |
481 | spart.Fire:Destroy() | |
482 | Explode2(75,spart) | |
483 | spart:Destroy() | |
484 | end | |
485 | if k == "p" then | |
486 | - | if k == "r" then |
486 | + | |
487 | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275 | |
488 | wait(0.75) | |
489 | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165 | |
490 | Explode(30,game.Players.LocalPlayer.Character.Torso) | |
491 | wait(0.5) | |
492 | ff:Destroy() | |
493 | end | |
494 | if k == "p" then | |
495 | - | if k == "f" then |
495 | + | |
496 | for i = 0, 10 do | |
497 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0) | |
498 | wait(0) | |
499 | end | |
500 | for i = 0, 5 do | |
501 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0) | |
502 | wait(0) | |
503 | end | |
504 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
505 | wait(1.5) | |
506 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
507 | for i = 0, 10 do | |
508 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0) | |
509 | wait(0) | |
510 | end | |
511 | wait(0.25) | |
512 | Explode2(62.5,game.Players.LocalPlayer.Character.Torso) | |
513 | wait(0.5) | |
514 | ff:Destroy() | |
515 | end | |
516 | end) | |
517 | ||
518 | wait(5) | |
519 | ||
520 | --// Initializing \\-- | |
521 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
522 | local Plrs = S.Players | |
523 | local Plr = Plrs.LocalPlayer | |
524 | local Char = Plr.Character | |
525 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
526 | local RArm = Char["Right Arm"] | |
527 | local LArm = Char["Left Arm"] | |
528 | local RLeg = Char["Right Leg"] | |
529 | local LLeg = Char["Left Leg"] | |
530 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
531 | local Torso = Char.Torso | |
532 | local Head = Char.Head | |
533 | local NeutralAnims = true | |
534 | local Attack = false | |
535 | local BloodPuddles = {} | |
536 | local Effects = {} | |
537 | local Debounces = {Debounces={}} | |
538 | local Mouse = Plr:GetMouse() | |
539 | local Hit = {} | |
540 | local Sine = 0 | |
541 | local Change = 1 | |
542 | local BanishedEvents = {} | |
543 | ||
544 | ||
545 | --// Effect Thread System \\-- | |
546 | ||
547 | ||
548 | --// Debounce System \\-- | |
549 | ||
550 | function Debounces:New(name,cooldown) | |
551 | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} | |
552 | setmetatable(aaaaa,{__index = Debounces}) | |
553 | Debounces.Debounces[name] = aaaaa | |
554 | return aaaaa | |
555 | end | |
556 | ||
557 | function Debounces:Use(overrideUsable) | |
558 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
559 | if(self.Usable or overrideUsable)then | |
560 | self.Usable = false | |
561 | self.CoolingDown = true | |
562 | local LastUse = time() | |
563 | self.LastUse = LastUse | |
564 | delay(self.Cooldown or 2,function() | |
565 | if(self.LastUse == LastUse)then | |
566 | self.CoolingDown = false | |
567 | self.Usable = true | |
568 | end | |
569 | end) | |
570 | end | |
571 | end | |
572 | ||
573 | function Debounces:Get(name) | |
574 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) | |
575 | for i,v in next, Debounces.Debounces do | |
576 | if(i == name)then | |
577 | return v; | |
578 | end | |
579 | end | |
580 | end | |
581 | ||
582 | function Debounces:GetProgressPercentage() | |
583 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
584 | if(self.CoolingDown and not self.Usable)then | |
585 | return math.max( | |
586 | math.floor( | |
587 | ( | |
588 | (time()-self.LastUse)/self.Cooldown or 2 | |
589 | )*100 | |
590 | ) | |
591 | ) | |
592 | else | |
593 | return 100 | |
594 | end | |
595 | end | |
596 | ||
597 | --// Shortcut Variables \\-- | |
598 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} | |
599 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} | |
600 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} | |
601 | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} | |
602 | local R3 = {N=Region3.new} | |
603 | local De = S.Debris | |
604 | local WS = workspace | |
605 | local Lght = S.Lighting | |
606 | local RepS = S.ReplicatedStorage | |
607 | local IN = Instance.new | |
608 | --// Instance Creation Functions \\-- | |
609 | ||
610 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
611 | local Sound = IN("Sound") | |
612 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
613 | Sound.Pitch = pitch or 1 | |
614 | Sound.Volume = volume or 1 | |
615 | Sound.Looped = looped or false | |
616 | if(autoPlay)then | |
617 | coroutine.wrap(function() | |
618 | repeat wait() until Sound.IsLoaded | |
619 | Sound.Playing = autoPlay or false | |
620 | end)() | |
621 | end | |
622 | if(not looped and effect)then | |
623 | Sound.Stopped:connect(function() | |
624 | Sound.Volume = 0 | |
625 | Sound:destroy() | |
626 | end) | |
627 | elseif(effect)then | |
628 | warn("Sound can't be looped and a sound effect!") | |
629 | end | |
630 | Sound.Parent =parent or Torso | |
631 | return Sound | |
632 | end | |
633 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
634 | local part = IN("Part") | |
635 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
636 | part.Material = material or Enum.Material.SmoothPlastic | |
637 | part.TopSurface,part.BottomSurface=10,10 | |
638 | part.Size = size or V3.N(1,1,1) | |
639 | part.CFrame = cframe or CF.N(0,0,0) | |
640 | part.Anchored = anchored or true | |
641 | part.CanCollide = cancollide or false | |
642 | part.Parent = parent or Char | |
643 | return part | |
644 | end | |
645 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
646 | local part = IN("SpecialMesh") | |
647 | part.MeshId = meshid or "" | |
648 | part.TextureId = textid or "" | |
649 | part.Scale = scale or V3.N(1,1,1) | |
650 | part.Offset = offset or V3.N(0,0,0) | |
651 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
652 | part.Parent = parent | |
653 | return part | |
654 | end | |
655 | ||
656 | NewInstance = function(instance,parent,properties) | |
657 | local inst = Instance.new(instance,parent) | |
658 | if(properties)then | |
659 | for i,v in next, properties do | |
660 | pcall(function() inst[i] = v end) | |
661 | end | |
662 | end | |
663 | return inst; | |
664 | end | |
665 | ||
666 | ||
667 | ||
668 | --// Extended ROBLOX tables \\-- | |
669 | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance}) | |
670 | --// Customization \\-- | |
671 | ||
672 | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this | |
673 | local Remove_Hats = false | |
674 | local Remove_Clothing = false | |
675 | local PlayerSize = 1 | |
676 | local DamageColor = BrickColor.new'Really Black' | |
677 | local MusicID = 1119237438 | |
678 | local ChatSounds = {["You will know pain."] = 1,["Submit now."] = 1,["I will show you true power."] = 907329532, ["Your death is assured."] = 907332670, ["My attacks will tear you apart!"] = 907329893, ["Most worrying indeed."] = 1} | |
679 | local TauntDialogues = {"I will deside Your Fate !", "Even god will die!","Submit now.","I am Death", "I will show you true Death.", "Nothing satifies me but your soul.","No one can excel"} | |
680 | ||
681 | --// Weapon and GUI creation, and Character Customization \\-- | |
682 | ||
683 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
684 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
685 | local Effects = IN("Folder",Char) | |
686 | Effects.Name = "Effects" | |
687 | ||
688 | pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really black' Char.ReaperShadowHead.Eye1.Material = 'Glass' end) | |
689 | pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye2.Material = 'Glass' end) | |
690 | pcall(function() Char.LeftWing.BrickColor = BrickColor.new'Really red' Char.LeftWing.Transparency = 0.5 end) | |
691 | ||
692 | New = function(Object, Parent, Name, Data) | |
693 | local Object = Instance.new(Object) | |
694 | for Index, Value in pairs(Data or {}) do | |
695 | Object[Index] = Value | |
696 | end | |
697 | Object.Parent = Parent | |
698 | Object.Name = Name | |
699 | return Object | |
700 | end | |
701 | ||
702 | ||
703 | - | Ulta_Caliber = New("Model",Char,"Ulta_Caliber",{}) |
703 | + | |
704 | - | Handle = New("Part",Ulta_Caliber,"Handle",{Material = Enum.Material.Metal,Size = Vector3.new(1.13946342, 0.351685941, 0.328840196),CFrame = CFrame.new(-52.3439636, 4.31768751, -59.3824234, 0.5, -0.866025269, -1.57914513e-07, 0.866025269, 0.5, 3.60109915e-08, 4.7770822e-08, -1.5476347e-07, 1),CanCollide = false,}) |
704 | + | |
705 | - | WMesh =New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1, 1, 0.855579317),}) |
705 | + | |
706 | - | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.87730086, 0.396701694, 0.328840196),CFrame = CFrame.new(-50.9256058, 4.80724812, -59.3824234, 0.99999994, -2.24410021e-21, -1.57914513e-07, 0, 0.99999994, 3.60109773e-08, 1.57914499e-07, -3.60109809e-08, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
706 | + | |
707 | - | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(1, 1, 1.11225295),}) |
707 | + | |
708 | - | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -6.12576133e-15, 1.57914513e-07, 1.18124174e-14, 1, -3.60109809e-08, -1.57914513e-07, 3.60109809e-08, 1),C1 = CFrame.new(1.13315201, -0.98355484, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
708 | + | |
709 | - | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.572665811),CFrame = CFrame.new(-50.9072571, 4.11668205, -59.3754196, -2.32669322e-07, -0.00661635399, 0.999977946, -1.28771217e-06, 0.999977946, 0.00661635399, -1, -1.28614465e-06, -2.41184125e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) |
709 | + | |
710 | - | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.790156424, 1),MeshType = Enum.MeshType.Wedge,}) |
710 | + | |
711 | - | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -2.32669336e-07, -1.28771228e-06, -1, -0.00661629438, 0.999978125, -1.28614465e-06, 0.999978125, 0.00661629438, -2.41184125e-07),C1 = CFrame.new(0.544277191, -1.34472656, 0.00700378418, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
711 | + | |
712 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.1684952, 4.40930319, -59.3824196, 0.70710665, -0.70710665, -1.57914471e-07, 0.70710665, 0.70710665, 3.60109986e-08, 8.61987672e-08, -1.37126023e-07, 1),CanCollide = false,}) |
712 | + | |
713 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.385011137, 0.748631597, 0.855579317),}) |
713 | + | |
714 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.707106829, 0.707106829, 8.61987814e-08, -0.707106829, 0.707106829, -1.37126037e-07, -1.57914471e-07, 3.60110022e-08, 1),C1 = CFrame.new(1.16707611, -1.83820343, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
714 | + | |
715 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.6288223, 3.82322454, -59.3824234, 5.96046377e-08, -0.999999881, -2.24250414e-08, 0.999999881, 5.96046519e-08, -5.41976775e-09, 5.41976064e-09, -2.2425013e-08, 1),CanCollide = false,}) |
715 | + | |
716 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.543293059, 0.924025238, 0.855579317),}) |
716 | + | |
717 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.96046519e-08, 1, 5.41976819e-09, -1, 5.96046519e-08, -2.24250307e-08, -2.24250307e-08, -5.41976686e-09, 1),C1 = CFrame.new(-0.570646286, -0.000537872314, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
717 | + | |
718 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.8299942, 3.82262015, -59.3813744, 1.57915409e-07, 5.96046306e-08, 0.999999881, 4.68513015e-08, 0.999999881, -5.96046448e-08, -1, 4.68513228e-08, 1.57915395e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) |
718 | + | |
719 | - | WMesh =New("SpecialMesh",WPart,"Mesh",{Scale = Vector3.new(0.861996353, 0.541153729, 0.299452811),MeshType = Enum.MeshType.Wedge,}) |
719 | + | |
720 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.57915409e-07, 4.68513122e-08, -1, 5.96046519e-08, 1, 4.68513264e-08, 1, -5.9604659e-08, 1.57915409e-07),C1 = CFrame.new(-0.671756744, 0.173381805, 0.00104904175, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
720 | + | |
721 | - | WPart = New("Part",Ulta_Caliber,"Part",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.344652593, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.1012497, 4.28257656, -59.3753929, 0.70710665, 0.70710665, -1.20777344e-07, -0.70710665, 0.70710665, 1.25668052e-07, 1.74263192e-07, -3.45828965e-09, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
721 | + | |
722 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 0.98605454, 0.727242351),}) |
722 | + | |
723 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.707106829, -0.707106829, 1.74263207e-07, 0.707106829, 0.707106829, -3.45827589e-09, -1.20777329e-07, 1.25668066e-07, 1),C1 = CFrame.new(0.590950012, -1.0937767, 0.00703048706, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
723 | + | |
724 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.7306976, 4.31373549, -59.3824272, 0.432455212, -0.901655316, 1.27368111e-07, 0.901655316, 0.432455212, -3.95984443e-07, 3.01960569e-07, 2.86087754e-07, 1),CanCollide = false,}) |
724 | + | |
725 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.541154027, 0.370038033, 0.855579317),}) |
725 | + | |
726 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.432455301, 0.901655436, 3.01960569e-07, -0.901655436, 0.432455301, 2.86087754e-07, 1.27368125e-07, -3.959845e-07, 1),C1 = CFrame.new(0.303211212, -0.533081055, -3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
726 | + | |
727 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.7885818, 4.20838785, -59.3824234, 0.587423027, -0.809279799, -2.19202548e-07, 0.809279799, 0.587423027, -1.98992353e-07, 2.89805143e-07, -6.05034742e-08, 1),CanCollide = false,}) |
727 | + | |
728 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.275924385, 0.370038033, 0.855579317),}) |
728 | + | |
729 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.587423146, 0.809279919, 2.89805172e-07, -0.809279919, 0.587423146, -6.05035027e-08, -2.19202548e-07, -1.98992367e-07, 1),C1 = CFrame.new(0.183034897, -0.535625458, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
729 | + | |
730 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.8400269, 4.15359306, -59.3824234, 0.760836244, -0.648943782, -2.6871362e-07, 0.648943782, 0.760836244, -1.52704587e-07, 3.035438e-07, -5.81968678e-08, 1),CanCollide = false,}) |
730 | + | |
731 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.275924385, 0.370038033, 0.855579317),}) |
731 | + | |
732 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.760836303, 0.648943841, 3.035438e-07, -0.648943841, 0.760836303, -5.8196882e-08, -2.68713649e-07, -1.52704587e-07, 1),C1 = CFrame.new(0.109859467, -0.518470764, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
732 | + | |
733 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.9011612, 4.11773586, -59.3824234, 0.91851747, -0.395380199, -1.96948804e-08, 0.395380199, 0.91851747, -6.96443863e-07, 2.93450228e-07, 6.31909018e-07, 1),CanCollide = false,}) |
733 | + | |
734 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.275924385, 0.370038033, 0.855579317),}) |
734 | + | |
735 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.91851759, 0.395380259, 2.93450228e-07, -0.395380259, 0.91851759, 6.31909018e-07, -1.96948431e-08, -6.96443919e-07, 1),C1 = CFrame.new(0.0482387543, -0.483455658, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
735 | + | |
736 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.356609762, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.0863571, 4.12933016, -59.3824234, 0.991345346, 0.131278723, -5.39203029e-08, -0.131278723, 0.991345346, -9.33255933e-07, -6.90630628e-08, 9.32257819e-07, 1),CanCollide = false,}) |
736 | + | |
737 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 0.370038033, 0.855579317),}) |
737 | + | |
738 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.991345525, -0.131278753, -6.90630415e-08, 0.131278753, 0.991345525, 9.32257819e-07, -5.392031e-08, -9.33256047e-07, 1),C1 = CFrame.new(-0.034318924, -0.317272186, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
738 | + | |
739 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.1749916, 4.05356789, -59.3820763, 0.991345346, 0.131278723, -5.39203029e-08, -0.131278723, 0.991345346, -9.33255933e-07, -6.90630628e-08, 9.32257819e-07, 1),CanCollide = false,}) |
739 | + | |
740 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.994611204, 0.301591754, 0.699436307),}) |
740 | + | |
741 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.991345525, -0.131278753, -6.90630415e-08, 0.131278753, 0.991345525, 9.32257819e-07, -5.392031e-08, -9.33256047e-07, 1),C1 = CFrame.new(-0.144248962, -0.278392792, 0.000347137451, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
741 | + | |
742 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.0123367, 4.06675053, -59.3824272, 0.793815136, -0.608158827, -7.65793686e-08, 0.608158827, 0.793815136, -8.4843424e-07, 5.7677272e-07, 6.26927658e-07, 1),CanCollide = false,}) |
742 | + | |
743 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.346509725, 0.370038033, 0.684463739),}) |
743 | + | |
744 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.793815255, 0.608158886, 5.7677272e-07, -0.608158886, 0.793815255, 6.26927715e-07, -7.65793615e-08, -8.48434354e-07, 1),C1 = CFrame.new(-0.0515041351, -0.412666321, -3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
744 | + | |
745 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.827166021, 0.351685941, 0.328840196),CFrame = CFrame.new(-52.1878128, 4.82334518, -59.3845367, 0.999954939, 0.00948500633, -7.15095894e-09, -0.00948500633, 0.999954939, 7.46392743e-08, 7.85854581e-09, -7.45681135e-08, 1),CanCollide = false,}) |
745 | + | |
746 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.573238373),}) |
746 | + | |
747 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999955058, -0.00948503613, 7.85857424e-09, 0.00948503613, 0.999955058, -7.45681064e-08, -7.1509394e-09, 7.46392885e-08, 1),C1 = CFrame.new(0.515987396, 0.117599487, -0.00211334229, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
747 | + | |
748 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.364346951, 0.350982577, 0.328840196),CFrame = CFrame.new(-52.3578377, 4.71502256, -59.3845367, -0.870376885, -0.492385834, 1.83688564e-06, 0.492385834, -0.870376885, 4.2302986e-07, 1.3904895e-06, 1.2726523e-06, 1),CanCollide = false,}) |
748 | + | |
749 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.573238373),}) |
749 | + | |
750 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.870377064, 0.492385924, 1.3904895e-06, -0.492385924, -0.870377064, 1.2726523e-06, 1.83688599e-06, 4.2302986e-07, 1),C1 = CFrame.new(0.337165833, 0.210681915, -0.00211334229, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
750 | + | |
751 | - | WPart = New("Part",Ulta_Caliber,"Part",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.2399673, 4.18922997, -59.3753929, 0.470120013, 0.882602334, -6.54556175e-07, -0.882602334, 0.470120013, -3.05826063e-07, 3.77971503e-08, 7.21487936e-07, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
751 | + | |
752 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.789272487, 0.271646053, 0.727242351),}) |
752 | + | |
753 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.470120043, -0.882602453, 3.77971396e-08, 0.882602453, 0.470120043, 7.21487936e-07, -6.54556288e-07, -3.0582612e-07, 1),C1 = CFrame.new(0.440750122, -1.02031708, 0.00703048706, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
753 | + | |
754 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(1.22879124, 0.618263781, 0.328840196),CFrame = CFrame.new(-50.7363968, 4.58814573, -59.3824234, 0.999999881, -2.98023224e-08, -1.57914513e-07, 2.98023224e-08, 0.999999881, 3.60109738e-08, 1.57914499e-07, -3.60109844e-08, 1),CanCollide = false,}) |
754 | + | |
755 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.855579317),}) |
755 | + | |
756 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -6.12576133e-15, 1.57914513e-07, 1.18124174e-14, 1, -3.60109809e-08, -1.57914513e-07, 3.60109809e-08, 1),C1 = CFrame.new(1.03800774, -1.25696564, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
756 | + | |
757 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.859521151, 0.531045794, 0.328840196),CFrame = CFrame.new(-51.7777481, 4.63175058, -59.3824234, 0.999999881, -2.98023224e-08, -1.57914513e-07, 2.98023224e-08, 0.999999881, 3.60109738e-08, 1.57914499e-07, -3.60109844e-08, 1),CanCollide = false,}) |
757 | + | |
758 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.855579317),}) |
758 | + | |
759 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -6.12576133e-15, 1.57914513e-07, 1.18124174e-14, 1, -3.60109809e-08, -1.57914513e-07, 3.60109809e-08, 1),C1 = CFrame.new(0.555093765, -0.333324432, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
759 | + | |
760 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.414286286, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.4174423, 4.47936392, -59.3824234, 0.5, 0.866025209, 2.92257027e-08, -0.866025209, 0.5, 1.03682424e-07, 7.51787468e-08, -7.7151455e-08, 1),CanCollide = false,}) |
760 | + | |
761 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 0.265229613, 0.855579317),}) |
761 | + | |
762 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.50000006, -0.866025329, 7.51787468e-08, 0.866025329, 0.50000006, -7.7151455e-08, 2.92257365e-08, 1.03682439e-07, 1),C1 = CFrame.new(0.603277206, -0.721553802, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
762 | + | |
763 | - | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.527529478, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.0795135, 4.63236904, -59.3824196, -2.98023366e-08, -0.999999881, 3.74803335e-08, 0.999999881, -2.98023153e-08, -4.49242386e-08, 4.49242386e-08, 3.74803761e-08, 1),CanCollide = false,}) |
763 | + | |
764 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 0.263090521, 0.855579317),}) |
764 | + | |
765 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.38707111e-16, 1, 4.49242421e-08, -1, -1.54506983e-15, 3.74803619e-08, 3.74803619e-08, -4.49242421e-08, 1),C1 = CFrame.new(1.40474701, -1.80373001, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
765 | + | |
766 | - | WPart = New("Part",Ulta_Caliber,"Part",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.17252171, 0.576061606, 0.328840196),CFrame = CFrame.new(-50.7363968, 4.55438519, -59.3753891, 0.999999881, -2.98023224e-08, -1.57914513e-07, 2.98023224e-08, 0.999999881, 3.60109738e-08, 1.57914499e-07, -3.60109844e-08, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
766 | + | |
767 | - | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.727242351),}) |
767 | + | |
768 | - | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -6.12576133e-15, 1.57914513e-07, 1.18124174e-14, 1, -3.60109809e-08, -1.57914513e-07, 3.60109809e-08, 1),C1 = CFrame.new(1.00876999, -1.27384567, 0.00703430176, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
768 | + | |
769 | - | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.605763316),CFrame = CFrame.new(-49.3369522, 4.12218142, -59.3754158, 1.84564726e-07, 0.00661724806, -0.999978065, 5.00432975e-07, -0.999978065, -0.00661724806, -1, -4.99200723e-07, -1.87872132e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) |
769 | + | |
770 | - | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.779461861, 1),MeshType = Enum.MeshType.Wedge,}) |
770 | + | |
771 | - | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.84564712e-07, 5.00432975e-07, -1, 0.00661721826, -0.999978185, -4.9920078e-07, -0.999978185, -0.00661721826, -1.8787216e-07),C1 = CFrame.new(1.33419228, -2.70190048, 0.00700759888, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
771 | + | |
772 | - | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.835727096),CFrame = CFrame.new(-50.0582809, 4.11805487, -59.3754158, -2.32669322e-07, -0.00661635399, 0.999977946, -1.28771217e-06, 0.999977946, 0.00661635399, -1, -1.28614465e-06, -2.41184125e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) |
772 | + | |
773 | - | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.790156424, 1),MeshType = Enum.MeshType.Wedge,}) |
773 | + | |
774 | - | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -2.32669336e-07, -1.28771228e-06, -1, -0.00661629438, 0.999978125, -1.28614465e-06, 0.999978125, 0.00661629438, -2.41184125e-07),C1 = CFrame.new(0.969955444, -2.07927704, 0.00700759888, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
774 | + | |
775 | - | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-49.5309296, 4.30089998, -59.3754158, -5.15544457e-07, -0.00661677122, -0.999978065, 1.41483298e-07, 0.999978065, -0.00661677122, 1, -1.44891516e-07, -5.14597104e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) |
775 | + | |
776 | - | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.31531024, 0.65928185),MeshType = Enum.MeshType.Wedge,}) |
776 | + | |
777 | - | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -5.15544514e-07, 1.41483355e-07, 1, -0.00661674142, 0.999978185, -1.44891501e-07, -0.999978185, -0.00661674142, -5.14597104e-07),C1 = CFrame.new(1.39197922, -2.44455338, 0.00700759888, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
777 | + | |
778 | - | Blade2 = New("Part",Ulta_Caliber,"Blade2",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.328840256, 0.328840226, 1.44360781),CFrame = CFrame.new(-50.3589401, 4.14609241, -59.3749352, -1.8456474e-07, -0.00555405021, 0.999984503, 9.5615583e-08, -0.999984503, -0.00555405021, 1, 9.45890548e-08, 1.85092958e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
778 | + | |
779 | - | WMesh =New("BlockMesh",Blade2,"Mesh",{Scale = Vector3.new(0.0458685458, 0.541722536, 1),}) |
779 | + | |
780 | - | mot = New("Motor",Blade2,"mot",{Part0 = Blade2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.8456474e-07, 9.56156043e-08, 1, -0.00555405021, -0.999984622, 9.45890548e-08, 0.999984622, -0.00555405021, 1.85092958e-07),C1 = CFrame.new(0.843906403, -1.80487823, 0.00748825073, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
780 | + | |
781 | - | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.705641866),CFrame = CFrame.new(-50.2675247, 4.12026787, -59.3754196, 1.84564726e-07, 0.00661724806, -0.999978065, 5.00432975e-07, -0.999978065, -0.00661724806, -1, -4.99200723e-07, -1.87872132e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) |
781 | + | |
782 | - | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.779461861, 1),MeshType = Enum.MeshType.Wedge,}) |
782 | + | |
783 | - | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.84564712e-07, 5.00432975e-07, -1, 0.00661721826, -0.999978185, -4.9920078e-07, -0.999978185, -0.00661721826, -1.8787216e-07),C1 = CFrame.new(0.867248535, -1.8969574, 0.00700378418, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
783 | + | |
784 | - | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.2174072, 4.39788437, -59.3824196, -1.49011626e-07, -0.999999881, -1.98068761e-07, 0.999999881, -1.49011612e-07, -3.30714123e-08, 3.30713661e-08, -1.98068761e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
784 | + | |
785 | - | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(0.0855581015, 0.188227236, 1.12080872),}) |
785 | + | |
786 | - | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.49011612e-07, 1, 3.30713732e-08, -1, -1.49011612e-07, -1.98068776e-07, -1.98068776e-07, -3.30714016e-08, 1),C1 = CFrame.new(1.13273048, -1.80155182, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
786 | + | |
787 | - | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.520495594, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.9148941, 4.73376513, -59.3824234, 0.499999881, -0.866025329, -1.02213342e-07, 0.866025329, 0.499999881, 2.49974264e-09, 4.89418106e-08, -8.97692303e-08, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
787 | + | |
788 | - | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(1, 0.575376868, 1.11225307),}) |
788 | + | |
789 | - | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.5, 0.866025507, 4.89418248e-08, -0.866025507, 0.5, -8.97692303e-08, -1.02213335e-07, 2.49974352e-09, 1),C1 = CFrame.new(0.574869156, -0.163547516, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
789 | + | |
790 | - | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.730803668, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.3537521, 4.49474096, -59.3824234, 0.999999881, -1.49011655e-07, -3.99031308e-07, 1.49011626e-07, 0.999999881, -1.96114058e-07, 3.99031364e-07, 1.9611403e-07, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
790 | + | |
791 | - | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(1, 0.701574802, 1.11225307),}) |
791 | + | |
792 | - | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 1.49011598e-07, 3.99031393e-07, -1.49011683e-07, 1, 1.9611403e-07, -3.99031364e-07, -1.96114087e-07, 1),C1 = CFrame.new(1.14843941, -1.63504791, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
792 | + | |
793 | - | Neon = New("Part",Ulta_Caliber,"Neon",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Neon,Size = Vector3.new(0.368567139, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.4424782, 4.61851454, -59.3824234, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(1, 0, 0),}) |
793 | + | |
794 | - | WMesh =New("BlockMesh",Neon,"Mesh",{Scale = Vector3.new(1, 0.109086163, 1.12936485),}) |
794 | + | |
795 | - | mot = New("Motor",Neon,"mot",{Part0 = Neon,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.21126747, -1.49632263, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
795 | + | |
796 | - | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.365753591, 0.62600112, 0.328840196),CFrame = CFrame.new(-49.9626884, 4.69178581, -59.3826065, 7.68042241e-07, -0.00064355135, -0.999999762, -9.31381408e-08, -0.999999762, 0.00064355135, -1, 9.26439014e-08, -7.68102325e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
796 | + | |
797 | - | WMesh =New("SpecialMesh",Part2,"Mesh",{Scale = Vector3.new(1, 1, 0.168976992),MeshType = Enum.MeshType.Wedge,}) |
797 | + | |
798 | - | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 7.68042412e-07, -9.31381976e-08, -1, -0.00064358121, -0.999999881, 9.26438943e-08, -0.999999881, 0.000643581152, -7.68102325e-07),C1 = CFrame.new(1.51461601, -1.87519455, -0.000183105469, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
798 | + | |
799 | - | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.419210047, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.2704659, 4.60726166, -59.3824196, -0.258819252, -0.965925813, -2.34842005e-07, 0.965925813, -0.258819252, -3.7912713e-08, -2.41607623e-08, -2.36652539e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
799 | + | |
800 | - | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(1, 0.188227236, 1.12080872),}) |
800 | + | |
801 | - | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.28752899, -1.65091705, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
801 | + | |
802 | - | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.3136215, 4.95879316, -59.379261, 0.787994385, -0.615682065, 2.82908672e-07, 0.615682065, 0.787994385, -6.01714532e-07, 1.47534422e-07, 6.4832966e-07, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
802 | + | |
803 | - | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(0.840607285, 0.938997805, 0.442120701),}) |
803 | + | |
804 | - | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.787994564, 0.615682125, 1.47534436e-07, -0.615682125, 0.787994564, 6.4832966e-07, 2.82908701e-07, -6.01714646e-07, 1),C1 = CFrame.new(1.57038498, -1.43777466, 0.00316238403, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
804 | + | |
805 | - | CylinderWMesh =New("Part",Ulta_Caliber,"CylinderMesh",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.378414333, 0.377710849, 0.328840196),CFrame = CFrame.new(-50.0357437, 4.80339193, -59.39114, 2.98023224e-08, -0.999999881, 1.57914499e-07, -0.999999881, -2.98023224e-08, -3.60109773e-08, 3.60109915e-08, -1.57914499e-07, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
805 | + | |
806 | - | WMesh =New("CylinderMesh",CylinderWMesh,"Mesh",{Scale = Vector3.new(1, 1, 0.876968741),}) |
806 | + | |
807 | - | mot = New("Motor",CylinderWMesh,"mot",{Part0 = CylinderWMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.05101373e-15, -1, 3.6010988e-08, -1, -6.73767064e-15, -1.57914513e-07, 1.57914513e-07, -3.6010988e-08, -1),C1 = CFrame.new(1.57474327, -1.7561264, -0.00871658325, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
807 | + | |
808 | - | Barrel = New("Part",Ulta_Caliber,"Barrel",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.378414333, 0.377710849, 0.328840196),CFrame = CFrame.new(-50.0357437, 4.80443621, -59.3890343, 2.98023224e-08, -0.999999881, 1.57914499e-07, -0.999999881, -2.98023224e-08, -3.60109773e-08, 3.60109915e-08, -1.57914499e-07, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
808 | + | |
809 | - | WMesh =New("CylinderMesh",Barrel,"Mesh",{Scale = Vector3.new(1, 1.00999999, 0.79932487),}) |
809 | + | |
810 | - | mot = New("Motor",Barrel,"mot",{Part0 = Barrel,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.05101373e-15, -1, 3.6010988e-08, -1, -6.73767064e-15, -1.57914513e-07, 1.57914513e-07, -3.6010988e-08, -1),C1 = CFrame.new(1.57564735, -1.75560379, -0.00661087036, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
810 | + | |
811 | - | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.5515137, 4.3936615, -59.3824234, -1.49011626e-07, -0.999999881, -1.98068761e-07, 0.999999881, -1.49011612e-07, -3.30714123e-08, 3.30713661e-08, -1.98068761e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
811 | + | |
812 | - | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(0.0855581015, 0.188227236, 1.12080872),}) |
812 | + | |
813 | - | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.49011612e-07, 1, 3.30713732e-08, -1, -1.49011612e-07, -1.98068776e-07, -1.98068776e-07, -3.30714016e-08, 1),C1 = CFrame.new(0.962020874, -1.51432037, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
813 | + | |
814 | - | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.419210047, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.1192398, 4.60677624, -59.3824196, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
814 | + | |
815 | - | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(1, 0.188227236, 1.12080872),}) |
815 | + | |
816 | - | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.36272049, -1.78212357, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
816 | + | |
817 | - | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.497987658, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.6954193, 4.64329672, -59.3824234, 0.258819222, 0.965925694, -2.51750805e-07, -0.965925694, 0.258819222, -1.35819789e-07, -6.60338912e-08, 2.78325388e-07, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
817 | + | |
818 | - | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(1, 0.562543094, 1.11225307),}) |
818 | + | |
819 | - | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.258819252, -0.965925813, -6.60338841e-08, 0.965925813, 0.258819252, 2.78325388e-07, -2.51750834e-07, -1.35819803e-07, 1),C1 = CFrame.new(1.10625839, -1.26487732, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
819 | + | |
820 | - | Neon = New("Part",Ulta_Caliber,"Neon",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Neon,Size = Vector3.new(0.368567139, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.2807121, 4.61570024, -59.3824196, -0.258819252, -0.965925813, -2.34842005e-07, 0.965925813, -0.258819252, -3.7912713e-08, -2.41607623e-08, -2.36652539e-07, 1),CanCollide = false,Color = Color3.new(1, 0, 0),}) |
820 | + | |
821 | - | WMesh =New("BlockMesh",Neon,"Mesh",{Scale = Vector3.new(1, 0.109086163, 1.12936485),}) |
821 | + | |
822 | - | mot = New("Motor",Neon,"mot",{Part0 = Neon,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.28971481, -1.63782501, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
822 | + | |
823 | - | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.419210047, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.6045723, 4.60303879, -59.3824234, -0.258819282, -0.965925932, -2.34842005e-07, 0.965925932, -0.258819282, -3.79127094e-08, -2.41607623e-08, -2.36652568e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
823 | + | |
824 | - | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(1, 0.188227236, 1.12080872),}) |
824 | + | |
825 | - | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.11681747, -1.36368942, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
825 | + | |
826 | - | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.066185, 4.39740467, -59.3824196, -1.49011626e-07, -0.999999881, -1.98068761e-07, 0.999999881, -1.49011612e-07, -3.30714123e-08, 3.30713661e-08, -1.98068761e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
826 | + | |
827 | - | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(0.0855581015, 0.188227236, 1.12080872),}) |
827 | + | |
828 | - | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.49011612e-07, 1, 3.30713732e-08, -1, -1.49011612e-07, -1.98068776e-07, -1.98068776e-07, -3.30714016e-08, 1),C1 = CFrame.new(1.2079258, -1.93275452, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
828 | + | |
829 | - | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.419210047, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.4315338, 4.60514545, -59.3824234, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
829 | + | |
830 | - | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(1, 0.188227236, 1.12080872),}) |
830 | + | |
831 | - | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.20516205, -1.5124855, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
831 | + | |
832 | - | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.9104652, 4.60788345, -59.3824272, -0.588878095, -0.808221817, 1.09032158e-06, 0.808221817, -0.588878095, 8.42210341e-07, -3.86262684e-08, 1.37718132e-06, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) |
832 | + | |
833 | - | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(0.534737229, 0.787132502, 1.11225307),}) |
833 | + | |
834 | - | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.588878155, 0.808221936, -3.8626272e-08, -0.808221936, -0.588878155, 1.37718132e-06, 1.0903218e-06, 8.42210511e-07, 1),C1 = CFrame.new(0.468067169, -0.230323792, -3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
834 | + | |
835 | - | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.3784828, 4.39577246, -59.3824234, -1.49011626e-07, -0.999999881, -1.98068761e-07, 0.999999881, -1.49011612e-07, -3.30714123e-08, 3.30713661e-08, -1.98068761e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
835 | + | |
836 | - | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(0.0855581015, 0.188227236, 1.12080872),}) |
836 | + | |
837 | - | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.49011612e-07, 1, 3.30713732e-08, -1, -1.49011612e-07, -1.98068776e-07, -1.98068776e-07, -3.30714016e-08, 1),C1 = CFrame.new(1.05036354, -1.66311264, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
837 | + | |
838 | - | Neon = New("Part",Ulta_Caliber,"Neon",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Neon,Size = Vector3.new(0.368567139, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.1280746, 4.61569977, -59.3824196, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(1, 0, 0),}) |
838 | + | |
839 | - | WMesh =New("BlockMesh",Neon,"Mesh",{Scale = Vector3.new(1, 0.109086163, 1.12936485),}) |
839 | + | |
840 | - | mot = New("Motor",Neon,"mot",{Part0 = Neon,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.36603165, -1.7700119, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
840 | + | |
841 | - | Neon = New("Part",Ulta_Caliber,"Neon",{BrickColor = BrickColor.new("Light stone grey"),Material = Enum.Material.Neon,Size = Vector3.new(0.368567139, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.6162033, 4.61738539, -59.3824234, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(1, 0, 0),}) |
841 | + | |
842 | - | WMesh =New("BlockMesh",Neon,"Mesh",{Scale = Vector3.new(1, 0.109086163, 1.12936485),}) |
842 | + | |
843 | - | mot = New("Motor",Neon,"mot",{Part0 = Neon,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.12342644, -1.34643555, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) |
843 | + | |
844 | coroutine.resume(coroutine.create(function() | |
845 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
846 | Prt = Manual | |
847 | else | |
848 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
849 | Prt.Shape = Shape | |
850 | end | |
851 | if(typeof(MeshData) == 'table')then | |
852 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
853 | elseif(typeof(MeshData) == 'Instance')then | |
854 | - | for _,v in next, Ulta_Caliber:GetDescendants() do |
854 | + | |
855 | - | if(v:IsA'BasePart')then |
855 | + | |
856 | - | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) |
856 | + | |
857 | Msh = Mesh(Prt,Enum.MeshType.Brick) | |
858 | end | |
859 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
860 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
861 | end | |
862 | if(Snd)then | |
863 | repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
864 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
865 | end | |
866 | local MoveSpeed = nil; | |
867 | if(MoveDir)then | |
868 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
869 | end | |
870 | local Inc = M.RNG()-M.RNG() | |
871 | local Thingie = 0 | |
872 | local Thingie2 = M.RNG(50,100)/100 | |
873 | if(FX ~= 'Arc')then | |
874 | for i = 1, Frames do | |
875 | if(swait and typeof(swait) == 'function')then | |
876 | swait() | |
877 | else | |
878 | wait() | |
879 | end | |
880 | if(FX == 'ResizeAndFade')then | |
881 | if(not Settings.EndSize)then | |
882 | Settings.EndSize = V3.N(0,0,0) | |
883 | end | |
884 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
885 | if(Settings.EndIsIncrement)then | |
886 | Prt.Size = Prt.Size + Settings.EndSize | |
887 | else | |
888 | Prt.Size = Prt.Size - grow/Frames | |
889 | end | |
890 | Prt.Transparency = (i/Frames) | |
891 | elseif(FX == 'Fade')then | |
892 | Prt.Transparency = (i/Frames) | |
893 | end | |
894 | ||
895 | if(Settings.RandomizeCFrame)then | |
896 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
897 | end | |
898 | if(MoveDir and MoveSpeed)then | |
899 | local Orientation = Prt.Orientation | |
900 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
901 | Prt.Orientation = Orientation | |
902 | end | |
903 | end | |
904 | Prt:destroy() | |
905 | else | |
906 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
907 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
908 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
909 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
910 | assert(start ~= nil,"You need to specify a start point!") | |
911 | assert(endP ~= nil,"You need to specify an end point!") | |
912 | for i = 0, 1, Settings.Speed or 0.01 do | |
913 | if(swait and typeof(swait) == 'function')then | |
914 | swait() | |
915 | else | |
916 | wait() | |
917 | end | |
918 | if(Settings.Home)then | |
919 | endP = Settings.Home.CFrame | |
920 | end | |
921 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, i) | |
922 | end | |
923 | if(Settings.RemoveOnGoal)then | |
924 | Prt:destroy() | |
925 | end | |
926 | end | |
927 | end)) | |
928 | return Prt,Msh,Snd | |
929 | end | |
930 | ||
931 | ||
932 | function SoulSteal(whom) | |
933 | local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart') | |
934 | print(torso) | |
935 | if(torso and torso:IsA'BasePart')then | |
936 | local Model = Instance.new("Model",Effects) | |
937 | Model.Name = whom.Name.."'s Soul" | |
938 | whom:BreakJoints() | |
939 | local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) | |
940 | Soul.Name = 'Head' | |
941 | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0}) | |
942 | Effect{ | |
943 | Effect="Arc", | |
944 | Manual = Soul, | |
945 | FXSettings={ | |
946 | Start=torso.CFrame, | |
947 | Home = Torso, | |
948 | RemoveOnGoal = true, | |
949 | } | |
950 | } | |
951 | local lastPoint = Soul.CFrame.p | |
952 | ||
953 | for i = 0, 1, 0.01 do | |
954 | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) | |
955 | local mag = (lastPoint - Soul.Position).magnitude | |
956 | Effect{ | |
957 | Effect = "Fade", | |
958 | CFrame = point * CF.N(0, mag/2, 0), | |
959 | Size = V3.N(.5,mag+.5,.5), | |
960 | Color = Soul.BrickColor | |
961 | } | |
962 | lastPoint = Soul.CFrame.p | |
963 | swait() | |
964 | end | |
965 | for i = 1, 15 do | |
966 | Effect{ | |
967 | Effect="Fade", | |
968 | Color = BrickColor.new'Light stone grey', | |
969 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
970 | } | |
971 | end | |
972 | end | |
973 | end | |
974 | ||
975 | --// Other Functions \\ -- | |
976 | ||
977 | function Turn(position) | |
978 | Root.CFrame=CFrame.new(Root.CFrame.p,V3.N(position.X,Root.Position.Y,position.Z)) | |
979 | end | |
980 | ||
981 | function Shoot(startP,endP) | |
982 | local part,pos,norm,dist = CastRay(startP,endP,1500) | |
983 | if(part and part.Parent and part.Parent ~= workspace)then | |
984 | local part = part | |
985 | local who = part.Parent; | |
986 | OnceWas(who) | |
987 | local plr = S.Players:GetPlayerFromCharacter(who) | |
988 | warn("Banished "..who.Name) | |
989 | if(plr)then | |
990 | BanishedEvents[plr] = plr.CharacterAdded:connect(function(c) | |
991 | c:destroy() | |
992 | end) | |
993 | end | |
994 | if(who:FindFirstChild'Head' and Hum.Health > 0)then | |
995 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "BANISHED", 1.5, C3.N(1,0,0)) | |
996 | end | |
997 | end | |
998 | Effect{ | |
999 | Effect='ResizeAndFade', | |
1000 | Frames=45, | |
1001 | Size=V3.N(.1,.1,.1), | |
1002 | CFrame=Barrel.CFrame, | |
1003 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1004 | Color=BrickColor.new'Light stone grey', | |
1005 | FXSettings={ | |
1006 | EndSize=V3.N(.05,.05,.05), | |
1007 | EndIsIncrement=true, | |
1008 | } | |
1009 | } | |
1010 | Effect{ | |
1011 | Effect='ResizeAndFade', | |
1012 | Frames=45, | |
1013 | Size=V3.N(.1,.1,.1), | |
1014 | CFrame=Barrel.CFrame, | |
1015 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1016 | Color=BrickColor.new'Light stone grey', | |
1017 | FXSettings={ | |
1018 | EndSize=V3.N(.1,.1,.1), | |
1019 | EndIsIncrement=true, | |
1020 | } | |
1021 | } | |
1022 | Effect{ | |
1023 | Effect='Fade', | |
1024 | Frames=15, | |
1025 | Size=V3.N(.15,.15,dist), | |
1026 | CFrame=CF.N(Barrel.CFrame.p,pos)*CF.N(0,0,-dist/2), | |
1027 | Color=BrickColor.new'Light stone grey', | |
1028 | } | |
1029 | Effect{ | |
1030 | Effect='ResizeAndFade', | |
1031 | Frames=45, | |
1032 | Size=V3.N(.5,.5,.5), | |
1033 | CFrame=CF.N(pos), | |
1034 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1035 | Color=BrickColor.new'Light stone grey', | |
1036 | FXSettings={ | |
1037 | EndSize=V3.N(.05,.05,.05), | |
1038 | EndIsIncrement=true, | |
1039 | } | |
1040 | } | |
1041 | for i = 1, 5 do | |
1042 | Effect{ | |
1043 | Effect='ResizeAndFade', | |
1044 | Frames=65, | |
1045 | Size=V3.N(.2,.2,1), | |
1046 | CFrame=CF.N(CF.N(pos)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))*CF.N(0,0,-2).p,pos), | |
1047 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1048 | Material=Enum.Material.Neon, | |
1049 | Color=BrickColor.new'Really red', | |
1050 | FXSettings={ | |
1051 | EndSize=V3.N(.005,.005,.05), | |
1052 | EndIsIncrement=true, | |
1053 | } | |
1054 | } | |
1055 | end | |
1056 | end | |
1057 | ||
1058 | function Chat(text) | |
1059 | if(ChatSounds[text])then | |
1060 | Sound(Head,ChatSounds[text],1,3,false,true,true) | |
1061 | end | |
1062 | --if(game.PlaceId ~= 843468296)then | |
1063 | coroutine.wrap(function() | |
1064 | if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end | |
1065 | local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head}) | |
1066 | local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=C3.N(1,0,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=30,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)}) | |
1067 | local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true) | |
1068 | for i = 1, #text do | |
1069 | delay(i/25, function() | |
1070 | SND.Pitch = M.RNG(9,11)/10 | |
1071 | SND.Volume = 0 | |
1072 | SND.Parent = Effects | |
1073 | SND:Play() | |
1074 | Txt.Text = text:sub(1,i) | |
1075 | end) | |
1076 | end | |
1077 | delay((#text/25)+2, function() | |
1078 | Txt.Text = "" | |
1079 | for i = 1, #text do | |
1080 | Txt.Text = Txt.Text.. string.char(M.RNG(0,126)) | |
1081 | end | |
1082 | end) | |
1083 | delay((#text/25)+3, function() | |
1084 | BBG:destroy() | |
1085 | SND:destroy() | |
1086 | end) | |
1087 | end)() | |
1088 | --else | |
1089 | -- Chat2(text) | |
1090 | --end | |
1091 | end | |
1092 | ||
1093 | function Chat2(text) | |
1094 | coroutine.wrap(function() | |
1095 | if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end | |
1096 | local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head}) | |
1097 | local offset = 0; | |
1098 | local xsize = 0; | |
1099 | for i = 1, #text do | |
1100 | offset = offset - 16 | |
1101 | xsize = xsize + 32 | |
1102 | delay(i/25, function() | |
1103 | local Txt = NewInstance("TextLabel",BBG,{Text = text:sub(i,i),Position=UDim2.new(0,offset,0,0),BackgroundTransparency=1,TextColor3=C3.N(1,0,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=40,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)}) | |
1104 | offset = offset + 32 | |
1105 | while Txt and Txt.Parent do | |
1106 | Txt.Rotation = M.RNG(-15,15) | |
1107 | swait() | |
1108 | end | |
1109 | end) | |
1110 | end | |
1111 | BBG.Size = UDim2.new(0,xsize,0,40) | |
1112 | delay((#text/25)+3, function() | |
1113 | for _,v in next, BBG:children() do | |
1114 | pcall(function() v.Text = string.char(M.RNG(0,126)) end) | |
1115 | end | |
1116 | end) | |
1117 | delay((#text/25)+4, function() | |
1118 | BBG:destroy() | |
1119 | end) | |
1120 | end)() | |
1121 | end | |
1122 | ||
1123 | function getRegion(point,range,ignore) | |
1124 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
1125 | end | |
1126 | ||
1127 | function clerp(startCF,endCF,alpha) | |
1128 | return startCF:lerp(endCF, alpha) | |
1129 | end | |
1130 | ||
1131 | function GetTorso(char) | |
1132 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
1133 | end | |
1134 | ||
1135 | ||
1136 | ||
1137 | function ShowDamage(Pos, Text, Time, Color) | |
1138 | coroutine.wrap(function() | |
1139 | local Rate = (1 / 30) | |
1140 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1141 | local Text = (Text or "") | |
1142 | local Time = (Time or 2) | |
1143 | local Color = (Color or Color3.new(1, 0, 1)) | |
1144 | local EffectPart = NewInstance("Part",Effects,{ | |
1145 | Material=Enum.Material.SmoothPlastic, | |
1146 | Reflectance = 0, | |
1147 | Transparency = 1, | |
1148 | CanCollide=false, | |
1149 | BrickColor = BrickColor.new(Color), | |
1150 | Name = "Effect", | |
1151 | Size = Vector3.new(0,0,0), | |
1152 | Anchored = true, | |
1153 | CFrame = CFrame.new(Pos) | |
1154 | }) | |
1155 | local BillboardGui = NewInstance("BillboardGui",EffectPart,{ | |
1156 | Size = UDim2.new(3.75, 0, 3.75, 0), | |
1157 | Adornee = EffectPart, | |
1158 | }) | |
1159 | local TextLabel = NewInstance("TextLabel",BillboardGui,{ | |
1160 | BackgroundTransparency = 1, | |
1161 | Size = UDim2.new(1, 0, 1, 0), | |
1162 | Text = Text, | |
1163 | Font = "Arial", | |
1164 | TextColor3 = Color, | |
1165 | TextStrokeColor3 = Color3.new(0,0,0), | |
1166 | TextStrokeTransparency=0, | |
1167 | TextScaled = true, | |
1168 | }) | |
1169 | game.Debris:AddItem(EffectPart, (Time)) | |
1170 | EffectPart.Parent = game:GetService("Workspace") | |
1171 | delay(0, function() | |
1172 | local Frames = (Time / Rate) | |
1173 | for Frame = 1, Frames do | |
1174 | wait(Rate) | |
1175 | local Percent = (Frame / Frames) | |
1176 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1177 | TextLabel.TextTransparency = Percent | |
1178 | TextLabel.TextStrokeTransparency = Percent | |
1179 | end | |
1180 | if EffectPart and EffectPart.Parent then | |
1181 | EffectPart:Destroy() | |
1182 | end | |
1183 | end) end)() | |
1184 | end | |
1185 | ||
1186 | ||
1187 | function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult) | |
1188 | if(who)then | |
1189 | local hum = who:FindFirstChildOfClass'Humanoid' | |
1190 | local Damage = M.RNG(minDam,maxDam) | |
1191 | local canHit = true | |
1192 | if(hum)then | |
1193 | for _, p in pairs(Hit) do | |
1194 | if p[1] == hum then | |
1195 | if(time() - p[2] < 0.1) then | |
1196 | canHit = false | |
1197 | else | |
1198 | Hit[_] = nil | |
1199 | end | |
1200 | end | |
1201 | end | |
1202 | if(canHit)then | |
1203 | if(hum.Health >= math.huge)then | |
1204 | who:BreakJoints() | |
1205 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1206 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0)) | |
1207 | end | |
1208 | else | |
1209 | local player = S.Players:GetPlayerFromCharacter(who) | |
1210 | if(Type == "Fire")then | |
1211 | --idk.. | |
1212 | else | |
1213 | local c = Instance.new("ObjectValue",hum) | |
1214 | c.Name = "creator" | |
1215 | c.Value = Plr | |
1216 | game:service'Debris':AddItem(c,0.35) | |
1217 | if(M.RNG(1,100) <= (critChance or 0))then | |
1218 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1219 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color) | |
1220 | end | |
1221 | hum.Health = hum.Health - Damage*(critMult or 2) | |
1222 | else | |
1223 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1224 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color) | |
1225 | end | |
1226 | hum.Health = hum.Health - Damage | |
1227 | end | |
1228 | if(Type == 'Knockback' and GetTorso(who))then | |
1229 | local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit | |
1230 | local body = NewInstance('BodyVelocity',GetTorso(who),{ | |
1231 | P = 500, | |
1232 | maxForce = V3.N(math.huge,0,math.huge), | |
1233 | velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05 | |
1234 | }) | |
1235 | game:service'Debris':AddItem(body,.5) | |
1236 | elseif(Type == 'Knockdown' and GetTorso(who))then | |
1237 | local rek = GetTorso(who) | |
1238 | print(rek) | |
1239 | hum.PlatformStand = true | |
1240 | delay(1,function() | |
1241 | hum.PlatformStand = false | |
1242 | end) | |
1243 | local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit | |
1244 | local bodvol = NewInstance("BodyVelocity",rek,{ | |
1245 | velocity = angle * Knock, | |
1246 | P = 5000, | |
1247 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1248 | }) | |
1249 | local rl = NewInstance("BodyAngularVelocity",rek,{ | |
1250 | P = 3000, | |
1251 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1252 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1253 | }) | |
1254 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1255 | game:GetService("Debris"):AddItem(rl, .5) | |
1256 | end | |
1257 | end | |
1258 | end | |
1259 | end | |
1260 | table.insert(Hit,{hum,time()}) | |
1261 | end | |
1262 | end | |
1263 | end | |
1264 | ||
1265 | function ClosestPart(pos,range) | |
1266 | local mag,closest = math.huge; | |
1267 | for _,v in next, getRegion(pos,range or 10,{Char}) do | |
1268 | if((v.CFrame.p-pos).magnitude < mag)then | |
1269 | mag = (v.CFrame.p-pos).magnitude | |
1270 | closest = v | |
1271 | end | |
1272 | end | |
1273 | return closest | |
1274 | end | |
1275 | ||
1276 | function AOEBanish(pos,range) | |
1277 | local mag,closest = math.huge; | |
1278 | for _,v in next, getRegion(pos,range or 10,{Char}) do | |
1279 | local who = v.Parent | |
1280 | if((v.CFrame.p-pos).magnitude < mag and who and who ~= workspace and not Char:IsAncestorOf(v))then | |
1281 | local plr = S.Players:GetPlayerFromCharacter(who) | |
1282 | if(plr)then | |
1283 | BanishedEvents[plr] = plr.CharacterAdded:connect(function(c) | |
1284 | c:destroy() | |
1285 | end) | |
1286 | end | |
1287 | warn("Banished "..who.Name) | |
1288 | if(who:FindFirstChild'Head' and Hum.Health > 0)then | |
1289 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "BANISHED", 1.5, C3.N(1,0,0)) | |
1290 | end | |
1291 | OnceWas(who) | |
1292 | end | |
1293 | end | |
1294 | end | |
1295 | ||
1296 | function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult) | |
1297 | for _,v in next, getRegion(where,range,{Char}) do | |
1298 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then | |
1299 | DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult) | |
1300 | end | |
1301 | end | |
1302 | end | |
1303 | ||
1304 | function AOEHeal(where,range,amount) | |
1305 | local healed = {} | |
1306 | for _,v in next, getRegion(where,range,{Char}) do | |
1307 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) | |
1308 | if(hum and not healed[hum])then | |
1309 | hum.Health = hum.Health + amount | |
1310 | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then | |
1311 | ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Light stone grey'.Color) | |
1312 | end | |
1313 | end | |
1314 | end | |
1315 | end | |
1316 | ||
1317 | function CastRay(startPos,endPos,range,ignoreList) | |
1318 | local ray = Ray.new(startPos,(endPos-startPos).unit*range) | |
1319 | local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true) | |
1320 | return part,pos,norm,(pos and (startPos-pos).magnitude) | |
1321 | end | |
1322 | ||
1323 | --// Attack Functions \\-- | |
1324 | ||
1325 | ||
1326 | function Show_Mercy() | |
1327 | Chat "I will show you mercy." | |
1328 | ShowDamage((Head.CFrame * CF.N(0, 0, (Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "Soul Returned", 1.5, C3.N(.7,0,0)) | |
1329 | ||
1330 | for p,v in next, BanishedEvents do | |
1331 | warn("Unbanished "..p.Name) | |
1332 | v:disconnect() | |
1333 | BanishedEvents[p] = nil | |
1334 | end | |
1335 | end | |
1336 | ||
1337 | function Banishing_Storm() | |
1338 | Attack = true | |
1339 | NeutralAnims = false | |
1340 | Hum.AutoRotate = false | |
1341 | for i = 0, 2.3, .1 do | |
1342 | swait() | |
1343 | Turn(Mouse.Hit.p) | |
1344 | local Alpha = .15 | |
1345 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1346 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1347 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1348 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1349 | RS.C0 = clerp(RS.C0,CFrame.new(1.46891451, 0.639140844, 0.117049158, 0.947687626, 0.107383646, 0.300595015, 0.195006967, -0.940317333, -0.278883517, 0.252707064, 0.322912514, -0.912067294),Alpha) | |
1350 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1351 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110755987, -0.74960357, -0.415038228, -5.42402267e-06, -2.98023224e-07, 1.00000024, -0.500007331, 0.866021454, -2.48476863e-06, -0.866021395, -0.500007272, -4.7981739e-06),Alpha) | |
1352 | end | |
1353 | local numberFall = 0; | |
1354 | repeat | |
1355 | for i = 0, .8, 0.1 do | |
1356 | swait() | |
1357 | Turn(Mouse.Hit.p) | |
1358 | local Alpha = .3 | |
1359 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1360 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1361 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1362 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1363 | RS.C0 = clerp(RS.C0,CFrame.new(1.47921813, 0.661770463, 0.060773734, 0.947700858, 0.195051998, 0.252622485, 0.194988579, -0.980473101, 0.0255415048, 0.252671421, 0.0250527933, -0.967227817),Alpha) | |
1364 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1365 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110747263, -0.749596298, -0.415039092, -1.66893005e-06, -5.14090061e-06, 1.00000012, -0.500009954, 0.866019845, 3.60608101e-06, -0.866019726, -0.500009894, -3.9935112e-06),Alpha) | |
1366 | end | |
1367 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1368 | local part,pos,dist = Shoot(Barrel.CFrame.p,Barrel.CFrame*CF.N(0,-1500,0).p) | |
1369 | if(not part)then | |
1370 | numberFall = numberFall + 1 | |
1371 | end | |
1372 | Effect{ | |
1373 | Effect='ResizeAndFade', | |
1374 | Frames=45, | |
1375 | Size=V3.N(.1,.1,.1), | |
1376 | CFrame=Barrel.CFrame, | |
1377 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1378 | Color=BrickColor.new'Really red', | |
1379 | FXSettings={ | |
1380 | EndSize=V3.N(.05,.05,.05), | |
1381 | EndIsIncrement=true, | |
1382 | } | |
1383 | } | |
1384 | Effect{ | |
1385 | Effect='ResizeAndFade', | |
1386 | Frames=45, | |
1387 | Size=V3.N(.1,.1,.1), | |
1388 | CFrame=Barrel.CFrame, | |
1389 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1390 | Color=BrickColor.new'Really red', | |
1391 | FXSettings={ | |
1392 | EndSize=V3.N(.1,.1,.1), | |
1393 | EndIsIncrement=true, | |
1394 | } | |
1395 | } | |
1396 | for i = 0, .7, 0.1 do | |
1397 | swait() | |
1398 | Turn(Mouse.Hit.p) | |
1399 | local Alpha = .3 | |
1400 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1401 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1402 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1403 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1404 | RS.C0 = clerp(RS.C0,CFrame.new(1.47678053, 0.526562393, 0.174270749, 0.947701395, 0.126782924, 0.292896599, 0.194988653, -0.956529498, -0.216866404, 0.252669275, 0.262636065, -0.931225359),Alpha) | |
1405 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1406 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110761039, -0.749590993, -0.415038049, 5.96046448e-07, -4.7236681e-06, 1.00000012, -0.500009775, 0.866019845, 4.39817086e-06, -0.866019845, -0.500009775, -1.90734863e-06),Alpha) | |
1407 | end | |
1408 | until not S.UserInputService:IsKeyDown(Enum.KeyCode.Z) | |
1409 | delay(2, function() | |
1410 | for i = 1, numberFall*2 do | |
1411 | local part,pos,dist = ClosestPart(Mouse.Hit.p,2),Mouse.Hit.p+V3.N(M.RNG(-100,100)/100,0,M.RNG(-100,100)/100),1500 | |
1412 | Effect{ | |
1413 | Effect='Fade', | |
1414 | Frames=15, | |
1415 | Size=V3.N(.15,dist,.15), | |
1416 | CFrame=CF.N(pos)*CF.N(0,dist/2,0), | |
1417 | Color=BrickColor.new'Light stone grey', | |
1418 | } | |
1419 | Effect{ | |
1420 | Effect='ResizeAndFade', | |
1421 | Frames=45, | |
1422 | Size=V3.N(.5,.5,.5), | |
1423 | CFrame=CF.N(pos), | |
1424 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1425 | Color=BrickColor.new'Light stone grey', | |
1426 | FXSettings={ | |
1427 | EndSize=V3.N(.05,.05,.05), | |
1428 | EndIsIncrement=true, | |
1429 | } | |
1430 | } | |
1431 | for i = 1, 5 do | |
1432 | Effect{ | |
1433 | Effect='ResizeAndFade', | |
1434 | Frames=65, | |
1435 | Size=V3.N(.2,.2,1), | |
1436 | CFrame=CF.N(CF.N(pos)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))*CF.N(0,0,-2).p,pos), | |
1437 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1438 | Material=Enum.Material.Neon, | |
1439 | Color=BrickColor.new'Light stone grey', | |
1440 | FXSettings={ | |
1441 | EndSize=V3.N(.005,.005,.05), | |
1442 | EndIsIncrement=true, | |
1443 | } | |
1444 | } | |
1445 | end | |
1446 | if(part and part.Parent and part.Parent ~= workspace)then | |
1447 | local part = part | |
1448 | local who = part.Parent | |
1449 | OnceWas(who) | |
1450 | local plr = S.Players:GetPlayerFromCharacter(who) | |
1451 | if(plr)then | |
1452 | BanishedEvents[plr] = plr.CharacterAdded:connect(function(c) | |
1453 | c:destroy() | |
1454 | end) | |
1455 | end | |
1456 | if(who:FindFirstChild'Head' and Hum.Health > 0)then | |
1457 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "Soul Returned", 1.5, C3.N(1,0,0)) | |
1458 | end | |
1459 | end | |
1460 | swait(5) | |
1461 | end | |
1462 | end) | |
1463 | Hum.AutoRotate = true | |
1464 | Attack = false | |
1465 | NeutralAnims = true | |
1466 | end | |
1467 | ||
1468 | function Spectral_Banish() | |
1469 | Attack = true | |
1470 | Chat "If you desire to be a ghost.." | |
1471 | swait(120) | |
1472 | Chat "Then move on to the afterlife!" | |
1473 | NeutralAnims = false | |
1474 | Hum.AutoRotate = false | |
1475 | for i = 0, 6, .1 do | |
1476 | swait() | |
1477 | Turn(Mouse.Hit.p) | |
1478 | local Alpha = .15 | |
1479 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1480 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1481 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1482 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1483 | RS.C0 = clerp(RS.C0,CFrame.new(1.46891451, 0.639140844, 0.117049158, 0.947687626, 0.107383646, 0.300595015, 0.195006967, -0.940317333, -0.278883517, 0.252707064, 0.322912514, -0.912067294),Alpha) | |
1484 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1485 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110755987, -0.74960357, -0.415038228, -5.42402267e-06, -2.98023224e-07, 1.00000024, -0.500007331, 0.866021454, -2.48476863e-06, -0.866021395, -0.500007272, -4.7981739e-06),Alpha) | |
1486 | end | |
1487 | for i = 0, .8, 0.1 do | |
1488 | swait() | |
1489 | Turn(Mouse.Hit.p) | |
1490 | local Alpha = .3 | |
1491 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1492 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1493 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1494 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1495 | RS.C0 = clerp(RS.C0,CFrame.new(1.47921813, 0.661770463, 0.060773734, 0.947700858, 0.195051998, 0.252622485, 0.194988579, -0.980473101, 0.0255415048, 0.252671421, 0.0250527933, -0.967227817),Alpha) | |
1496 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1497 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110747263, -0.749596298, -0.415039092, -1.66893005e-06, -5.14090061e-06, 1.00000012, -0.500009954, 0.866019845, 3.60608101e-06, -0.866019726, -0.500009894, -3.9935112e-06),Alpha) | |
1498 | end | |
1499 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1500 | Effect{ | |
1501 | Effect='ResizeAndFade', | |
1502 | Frames=45, | |
1503 | Size=V3.N(.1,.1,.1), | |
1504 | CFrame=Barrel.CFrame, | |
1505 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1506 | Color=BrickColor.new'Light stone grey', | |
1507 | FXSettings={ | |
1508 | EndSize=V3.N(.05,.05,.05), | |
1509 | EndIsIncrement=true, | |
1510 | } | |
1511 | } | |
1512 | Effect{ | |
1513 | Effect='ResizeAndFade', | |
1514 | Frames=45, | |
1515 | Size=V3.N(.1,.1,.1), | |
1516 | CFrame=Barrel.CFrame, | |
1517 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1518 | Color=BrickColor.new'Light stone grey', | |
1519 | FXSettings={ | |
1520 | EndSize=V3.N(.1,.1,.1), | |
1521 | EndIsIncrement=true, | |
1522 | } | |
1523 | } | |
1524 | for i = 1, 5 do | |
1525 | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1526 | local cf = Barrel.CFrame | |
1527 | Effect{ | |
1528 | Effect='ResizeAndFade', | |
1529 | Frames=65, | |
1530 | Size=V3.N(.2,.2,1), | |
1531 | CFrame=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-2).p,cf.p), | |
1532 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1533 | Material=Enum.Material.Neon, | |
1534 | Color=BrickColor.new'Light stone grey', | |
1535 | MoveDirection=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-25).p,cf.p).p, | |
1536 | FXSettings={ | |
1537 | EndSize=V3.N(.005,.005,.05), | |
1538 | EndIsIncrement=true, | |
1539 | } | |
1540 | } | |
1541 | end | |
1542 | Effect{ | |
1543 | Effect='Fade', | |
1544 | Frames=35, | |
1545 | Size=V3.N(.15,2048,.15), | |
1546 | CFrame=CF.N(Barrel.CFrame.p)*CF.N(0,2048/2,0), | |
1547 | Color=BrickColor.new'Light stone grey', | |
1548 | } | |
1549 | for i = 0, .8, .1 do | |
1550 | swait() | |
1551 | Turn(Mouse.Hit.p) | |
1552 | local Alpha = .15 | |
1553 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1554 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1555 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1556 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1557 | RS.C0 = clerp(RS.C0,CFrame.new(1.46891451, 0.639140844, 0.117049158, 0.947687626, 0.107383646, 0.300595015, 0.195006967, -0.940317333, -0.278883517, 0.252707064, 0.322912514, -0.912067294),Alpha) | |
1558 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1559 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110755987, -0.74960357, -0.415038228, -5.42402267e-06, -2.98023224e-07, 1.00000024, -0.500007331, 0.866021454, -2.48476863e-06, -0.866021395, -0.500007272, -4.7981739e-06),Alpha) | |
1560 | end | |
1561 | for _,v in next, S.Players:players() do | |
1562 | if(v.Character and v.Character:FindFirstChild'Head' and not v.Character.Parent)then | |
1563 | pcall(function() | |
1564 | v.Character.Parent = workspace | |
1565 | local tor = v.Character:FindFirstChild'Head' | |
1566 | Effect{ | |
1567 | Effect='Fade', | |
1568 | Frames=15, | |
1569 | Size=V3.N(.15,2048,.15), | |
1570 | CFrame=CF.N(tor.CFrame.p)*CF.N(0,2048/2,0), | |
1571 | Color=BrickColor.new'Really red', | |
1572 | } | |
1573 | Effect{ | |
1574 | Effect='ResizeAndFade', | |
1575 | Frames=45, | |
1576 | Size=V3.N(.5,.5,.5), | |
1577 | CFrame=CF.N(tor.CFrame.p), | |
1578 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1579 | Color=BrickColor.new'Light stone grey', | |
1580 | FXSettings={ | |
1581 | EndSize=V3.N(.05,.05,.05), | |
1582 | EndIsIncrement=true, | |
1583 | } | |
1584 | } | |
1585 | for i = 1, 5 do | |
1586 | Effect{ | |
1587 | Effect='ResizeAndFade', | |
1588 | Frames=65, | |
1589 | Size=V3.N(.2,.2,1), | |
1590 | CFrame=CF.N(CF.N(tor.CFrame.p)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))*CF.N(0,0,-2).p,tor.CFrame.p), | |
1591 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1592 | Material=Enum.Material.Neon, | |
1593 | Color=BrickColor.new'Light stone grey', | |
1594 | FXSettings={ | |
1595 | EndSize=V3.N(.005,.005,.05), | |
1596 | EndIsIncrement=true, | |
1597 | } | |
1598 | } | |
1599 | end | |
1600 | local asd = v.Character; | |
1601 | OnceWas(asd) | |
1602 | v.Character:destroy() | |
1603 | BanishedEvents[v] = v.CharacterAdded:connect(function(c) | |
1604 | c:destroy() | |
1605 | end) | |
1606 | end) | |
1607 | end | |
1608 | end | |
1609 | Hum.AutoRotate = true | |
1610 | Attack = false | |
1611 | NeutralAnims = true | |
1612 | end | |
1613 | ||
1614 | function Teleport() | |
1615 | Attack = true | |
1616 | NeutralAnims = false | |
1617 | Hum.AutoRotate = false | |
1618 | repeat | |
1619 | Turn(Mouse.Hit.p) | |
1620 | swait() | |
1621 | local Alpha = .1 | |
1622 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1623 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1624 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1625 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1626 | RS.C0 = clerp(RS.C0,CFrame.new(1.56039762, 0.53398639, -0.0236691795, 0.0156120034, -0.99157083, 0.128623411, 0.00628500059, -0.128539219, -0.991684735, 0.999858379, 0.0162905809, 0.00422526803),Alpha) | |
1627 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1628 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749616861, -0.415070713, 0, 0, 1, -0.500001788, 0.866024435, 0, -0.866024435, -0.500001788, 0),Alpha) | |
1629 | until not S.UserInputService:IsKeyDown(Enum.KeyCode.C) | |
1630 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1631 | local pos,dist = Mouse.Hit.p,(Barrel.CFrame.p-Mouse.Hit.p).magnitude | |
1632 | Effect{ | |
1633 | Effect='ResizeAndFade', | |
1634 | Frames=45, | |
1635 | Size=V3.N(.1,.1,.1), | |
1636 | CFrame=Barrel.CFrame, | |
1637 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1638 | Color=BrickColor.new'Light stone grey', | |
1639 | FXSettings={ | |
1640 | EndSize=V3.N(.05,.05,.05), | |
1641 | EndIsIncrement=true, | |
1642 | } | |
1643 | } | |
1644 | Effect{ | |
1645 | Effect='ResizeAndFade', | |
1646 | Frames=45, | |
1647 | Size=V3.N(.1,.1,.1), | |
1648 | CFrame=Barrel.CFrame, | |
1649 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1650 | Color=BrickColor.new'Light stone grey', | |
1651 | FXSettings={ | |
1652 | EndSize=V3.N(.1,.1,.1), | |
1653 | EndIsIncrement=true, | |
1654 | } | |
1655 | } | |
1656 | ||
1657 | Effect{ | |
1658 | Effect='Fade', | |
1659 | Frames=15, | |
1660 | Size=V3.N(.15,.15,dist), | |
1661 | CFrame=CF.N(Barrel.CFrame.p,pos)*CF.N(0,0,-dist/2), | |
1662 | Color=BrickColor.new'Light stone grey', | |
1663 | } | |
1664 | for i = 0, .3, .05 do | |
1665 | swait() | |
1666 | local Alpha = .3 | |
1667 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1668 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1669 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1670 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1671 | RS.C0 = clerp(RS.C0,CFrame.new(1.43598688, 0.64456445, -0.0224216785, 0.0156120034, -0.933606386, 0.357960403, 0.00628500059, -0.357905358, -0.933736861, 0.999858379, 0.0168272816, 0.000280098058),Alpha) | |
1672 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1673 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749611259, -0.415075362, 0, 0, 1, -0.500002265, 0.866024256, 0, -0.866024256, -0.500002265, 0),Alpha) | |
1674 | end | |
1675 | OnceWas(Char,true) | |
1676 | Torso.CFrame = CF.N(pos)*CF.N(0,3,0) | |
1677 | for i = 1, 15 do | |
1678 | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1679 | local cf = Torso.CFrame | |
1680 | Effect{ | |
1681 | Effect='ResizeAndFade', | |
1682 | Frames=65, | |
1683 | Size=V3.N(2,2,10), | |
1684 | CFrame=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-2).p,cf.p), | |
1685 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1686 | Material=Enum.Material.Neon, | |
1687 | Color=BrickColor.new'Light stone grey', | |
1688 | MoveDirection=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-25).p,cf.p).p, | |
1689 | FXSettings={ | |
1690 | EndSize=V3.N(.005,.005,.05), | |
1691 | EndIsIncrement=true, | |
1692 | } | |
1693 | } | |
1694 | end | |
1695 | OnceWas(Char,true) | |
1696 | for i = 0, .4, .05 do | |
1697 | swait() | |
1698 | local Alpha = .3 | |
1699 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1700 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1701 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1702 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1703 | RS.C0 = clerp(RS.C0,CFrame.new(1.56039762, 0.53398639, -0.0236691795, 0.0156120034, -0.99157083, 0.128623411, 0.00628500059, -0.128539219, -0.991684735, 0.999858379, 0.0162905809, 0.00422526803),Alpha) | |
1704 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1705 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749616861, -0.415070713, 0, 0, 1, -0.500001788, 0.866024435, 0, -0.866024435, -0.500001788, 0),Alpha) | |
1706 | end | |
1707 | Attack = false | |
1708 | NeutralAnims = true | |
1709 | Hum.AutoRotate = true | |
1710 | end | |
1711 | ||
1712 | function BGone() | |
1713 | Attack = true | |
1714 | NeutralAnims = false | |
1715 | Hum.AutoRotate = false | |
1716 | Chat "Be gone.." | |
1717 | --repeat | |
1718 | for i = 0, 9, .1 do | |
1719 | Turn(Mouse.Hit.p) | |
1720 | swait() | |
1721 | Hum.WalkSpeed = 0 | |
1722 | local Alpha = .1 | |
1723 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0296121463, -0.249109969, -0.153551444, -0.000328990631, -0.0094739655, -0.999952853, 0.204196915, 0.978885293, -0.0093415454, 0.978927732, -0.204190359, 0.0016125096),Alpha) | |
1724 | LH.C0 = clerp(LH.C0,CFrame.new(-0.475788742, -0.651965797, 0.0191618577, 0.978805363, 0.204197079, 0.0156120053, -0.204313993, 0.978885233, 0.00628500246, -0.0139989806, -0.0093415454, 0.999858379),Alpha) | |
1725 | RH.C0 = clerp(RH.C0,CFrame.new(0.498535633, -0.912865818, 0.0149653442, 0.999878168, 5.14090061e-06, 0.0156120053, -0.000103279948, 0.999980271, 0.00628500246, -0.0156116625, -0.00628584996, 0.999858379),Alpha) | |
1726 | LS.C0 = clerp(LS.C0,CFrame.new(-1.29815638, 0.566930115, -0.00661327224, -0.237626657, 0.971231222, 0.0156120053, -0.971307039, -0.237746239, 0.00628500246, 0.00981588662, -0.0136705656, 0.999858379),Alpha) | |
1727 | RS.C0 = clerp(RS.C0,CFrame.new(1.24513125, 0.449408412, -0.155189604, 0.502771139, -0.519900203, -0.690597773, 0.303394169, 0.854222655, -0.422203362, 0.809427798, 0.00274830475, 0.587213099),Alpha) | |
1728 | NK.C0 = clerp(NK.C0,CFrame.new(-0.0153051838, 1.498806, -0.0364812165, 1.34855509e-06, 0.0477146953, 0.998861074, -0.00628432725, 0.998841345, -0.0477137454, -0.999980271, -0.00627710624, 0.000301202759),Alpha) | |
1729 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110760681, -0.749610901, -0.415069938, -1.63912773e-06, 9.19401646e-06, 1.00000024, -0.500005245, 0.866022348, -8.86109865e-06, -0.866022408, -0.500005245, 3.1888485e-06),Alpha) | |
1730 | end | |
1731 | --until not S.UserInputService:IsKeyDown(Enum.KeyCode.V) | |
1732 | ||
1733 | for i = 0, .7, 0.1 do | |
1734 | swait() | |
1735 | Hum.WalkSpeed = 0 | |
1736 | local Alpha = .3 | |
1737 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00766070001, -0.269241363, -0.0518192649, 0.00021806825, 0.00368537591, 0.99999094, -0.166544884, 0.9860273, -0.00359759619, -0.986031651, -0.166542619, 0.000828802586),Alpha) | |
1738 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497863114, -0.984335184, 0.0215952508, 0.987798393, 0.154953942, 0.0156120034, -0.155066714, 0.987884164, 0.00628500665, -0.0144489631, -0.00862922147, 0.999858379),Alpha) | |
1739 | RH.C0 = clerp(RH.C0,CFrame.new(0.462316692, -0.882526457, 0.015341443, 0.985910237, -0.166545048, 0.0156120034, 0.166465312, 0.9860273, 0.00628500665, -0.0164405983, -0.00359759573, 0.999858379),Alpha) | |
1740 | LS.C0 = clerp(LS.C0,CFrame.new(-1.34305215, 0.64557004, 0.206238627, 0.819938838, 0.417069167, 0.392114401, -0.412350535, 0.905431569, -0.100800663, -0.397073597, -0.0790382028, 0.914377153),Alpha) | |
1741 | RS.C0 = clerp(RS.C0,CFrame.new(1.3656987, 0.557721138, -0.0314715505, 0.0156120034, -0.985910237, 0.166545048, 0.00628500665, -0.166465312, -0.9860273, 0.999858379, 0.0164405983, 0.00359759573),Alpha) | |
1742 | NK.C0 = clerp(NK.C0,CFrame.new(0.0260951146, 1.49902618, -0.00289419782, -1.0067597e-06, 0.0574942529, -0.998345912, 0.00628517801, 0.998326182, 0.0574931316, 0.999980211, -0.00627472438, -0.000362364575),Alpha) | |
1743 | HW.C0 = clerp(HW.C0,CFrame.new(-0.11075601, -0.749610424, -0.415073156, 0, 0, 1, -0.500000238, 0.866025388, 0, -0.866025388, -0.500000238, 0),Alpha) | |
1744 | end | |
1745 | ||
1746 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1747 | Sound(Barrel,415700134,1.6,10,false,true,true) | |
1748 | Sound(Barrel,138677306,1.2,7,false,true,true) | |
1749 | coroutine.wrap(function() | |
1750 | local cf = Root.CFrame * CF.N(0,0,-2) | |
1751 | for i = 1, 100 do | |
1752 | Effect{ | |
1753 | Effect='ResizeAndFade', | |
1754 | CFrame = cf*CF.A(M.R(90),0,M.R(90)), | |
1755 | Size=V3.N(2,5,5), | |
1756 | Material=Enum.Material.Neon, | |
1757 | Color=BrickColor.new'Crimson', | |
1758 | Shape='Cylinder', | |
1759 | FXSettings={ | |
1760 | EndSize=V3.N(0,.3,.3), | |
1761 | EndIsIncrement=true | |
1762 | } | |
1763 | } | |
1764 | for i = 1, 3 do | |
1765 | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1766 | Effect{ | |
1767 | Effect='ResizeAndFade', | |
1768 | Frames=65, | |
1769 | Size=V3.N(1,1,1), | |
1770 | CFrame=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-10).p,cf.p), | |
1771 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1772 | Material=Enum.Material.Neon, | |
1773 | Color=BrickColor.new'Really red', | |
1774 | MoveDirection=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-50).p,cf.p).p, | |
1775 | FXSettings={ | |
1776 | EndSize=V3.N(0,0,.3), | |
1777 | EndIsIncrement=true, | |
1778 | } | |
1779 | } | |
1780 | end | |
1781 | AOEBanish(cf.p,8) | |
1782 | cf = cf*CF.N(0,0,-2) | |
1783 | swait() | |
1784 | end | |
1785 | end)() | |
1786 | swait(30) | |
1787 | Hum.WalkSpeed = 16 | |
1788 | Attack = false | |
1789 | NeutralAnims = true | |
1790 | Hum.AutoRotate = true | |
1791 | end | |
1792 | function Banisher_Bullet() | |
1793 | Attack = true | |
1794 | NeutralAnims = false | |
1795 | Hum.AutoRotate = false | |
1796 | for i = 0, .4, .1/3 do | |
1797 | Turn(Mouse.Hit.p) | |
1798 | swait() | |
1799 | local Alpha = .1 | |
1800 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1801 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1802 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1803 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1804 | RS.C0 = clerp(RS.C0,CFrame.new(1.56039762, 0.53398639, -0.0236691795, 0.0156120034, -0.99157083, 0.128623411, 0.00628500059, -0.128539219, -0.991684735, 0.999858379, 0.0162905809, 0.00422526803),Alpha) | |
1805 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1806 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749616861, -0.415070713, 0, 0, 1, -0.500001788, 0.866024435, 0, -0.866024435, -0.500001788, 0),Alpha) | |
1807 | end | |
1808 | repeat | |
1809 | for i = 0, .2, .1/3 do | |
1810 | Turn(Mouse.Hit.p) | |
1811 | swait() | |
1812 | local Alpha = .1 | |
1813 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1814 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1815 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1816 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1817 | RS.C0 = clerp(RS.C0,CFrame.new(1.43598688, 0.64456445, -0.0224216785, 0.0156120034, -0.933606386, 0.357960403, 0.00628500059, -0.357905358, -0.933736861, 0.999858379, 0.0168272816, 0.000280098058),Alpha) | |
1818 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1819 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749611259, -0.415075362, 0, 0, 1, -0.500002265, 0.866024256, 0, -0.866024256, -0.500002265, 0),Alpha) | |
1820 | end | |
1821 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1822 | Shoot(Barrel.CFrame.p,Mouse.Hit.p) | |
1823 | for i = 0, .3, .1/3 do | |
1824 | swait() | |
1825 | local Alpha = .1 | |
1826 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1827 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1828 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1829 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1830 | RS.C0 = clerp(RS.C0,CFrame.new(1.46904922, 0.532365739, -0.0222326554, 0.0156120034, -0.987360775, 0.157718793, 0.00628500059, -0.157637998, -0.987477064, 0.999858379, 0.0164077543, 0.00374451769),Alpha) | |
1831 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1832 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749605894, -0.415075004, 0, 0, 1, -0.50000155, 0.866024613, 0, -0.866024613, -0.50000149, 0),Alpha) | |
1833 | end | |
1834 | until not S.UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) | |
1835 | Hum.AutoRotate = true | |
1836 | Attack = false | |
1837 | NeutralAnims = true | |
1838 | end | |
1839 | ||
1840 | function Taunt() | |
1841 | Attack = true | |
1842 | NeutralAnims = false | |
1843 | local taunt = 1 --M.RNG(1,3) | |
1844 | if(taunt == 1)then | |
1845 | ||
1846 | local rad = 0 | |
1847 | for i = 0, 6, 0.1 do | |
1848 | swait() | |
1849 | rad = rad + 35 | |
1850 | local Alpha = .3 | |
1851 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.9524434e-13, 0.00629317388, 1.41309647e-06, 0.99999553, 9.4587449e-11, 0, -5.58664226e-12, 0.999980271, -0.00628617778, 9.31322575e-10, 0.00628615683, 0.99997592),Alpha) | |
1852 | LH.C0 = clerp(LH.C0,CFrame.new(-0.500225782, -0.996483386, 0.0217089336, 0.994214952, 0.10624785, 0.0156119671, -0.106356524, 0.994308293, 0.00628523249, -0.014855314, -0.00790933147, 0.999856234),Alpha) | |
1853 | RH.C0 = clerp(RH.C0,CFrame.new(0.512264967, -0.996646643, 0.0152785685, 0.994214535, -0.106250875, 0.0156119233, 0.106164388, 0.994328737, 0.00628523249, -0.0161911994, -0.0045914636, 0.999856234),Alpha) | |
1854 | LS.C0 = clerp(LS.C0,CFrame.new(-1.44726694, 0.503729105, -0.00388534926, 0.993391156, 0.113691822, 0.0156119671, -0.113801189, 0.993483663, 0.00628523249, -0.0147956526, -0.00802037865, 0.999856234),Alpha) | |
1855 | RS.C0 = clerp(RS.C0,CFrame.new(1.41887283, 0.461011291, -0.0306870341, 0.0158389043, -0.994383454, -0.104623824, 0.00844715256, 0.104766518, -0.994461119, 0.999836862, 0.0148673952, 0.0100591201),Alpha) | |
1856 | NK.C0 = clerp(NK.C0,CFrame.new(8.88854265e-06, 1.49895382, -0.0144050419, 0.566473544, 0.0473791771, -0.82271415, 0.00518015958, 0.99812144, 0.0610474497, 0.824061036, -0.0388435796, 0.56516397),Alpha) | |
1857 | HW.C0 = clerp(HW.C0,CFrame.new(-0.11075747, -0.749606431, -0.415068656, -5.63569483e-06, -1.58343755e-06, 1.00000012, -0.500001132, 0.866024792, -1.44650403e-06, -0.866024852, -0.500001192, -5.67225288e-06)*CF.A(0,0,M.R(rad)),Alpha) | |
1858 | end | |
1859 | Chat (TauntDialogues[M.RNG(1,#TauntDialogues)]) | |
1860 | for i = 0, 6, 0.1 do | |
1861 | swait() | |
1862 | local Alpha = .3 | |
1863 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.9524434e-13, 0.00629317388, 1.41309647e-06, 0.99999553, 9.4587449e-11, 0, -5.58664226e-12, 0.999980271, -0.00628617778, 9.31322575e-10, 0.00628615683, 0.99997592),Alpha) | |
1864 | LH.C0 = clerp(LH.C0,CFrame.new(-0.500225782, -0.996483386, 0.0217089336, 0.994214952, 0.10624785, 0.0156119671, -0.106356524, 0.994308293, 0.00628523249, -0.014855314, -0.00790933147, 0.999856234),Alpha) | |
1865 | RH.C0 = clerp(RH.C0,CFrame.new(0.512264967, -0.996646643, 0.0152785685, 0.994214535, -0.106250875, 0.0156119233, 0.106164388, 0.994328737, 0.00628523249, -0.0161911994, -0.0045914636, 0.999856234),Alpha) | |
1866 | LS.C0 = clerp(LS.C0,CFrame.new(-1.44726694, 0.503729105, -0.00388534926, 0.993391156, 0.113691822, 0.0156119671, -0.113801189, 0.993483663, 0.00628523249, -0.0147956526, -0.00802037865, 0.999856234),Alpha) | |
1867 | RS.C0 = clerp(RS.C0,CFrame.new(1.30098641, 0.458334863, -0.45630464, 0.97372508, 0.226236522, 0.0259280894, 0.00073058781, 0.110756524, -0.99384743, -0.227716282, 0.967752993, 0.10768114),Alpha) | |
1868 | NK.C0 = clerp(NK.C0,CFrame.new(8.21147114e-06, 1.49895406, -0.0144038275, 0.99988234, -0.000873879122, 0.0151748769, -9.55477299e-05, 0.997964978, 0.0637657493, -0.015199719, -0.0637597144, 0.997847497),Alpha) | |
1869 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110763341, -0.749599576, -0.415068239, -6.5267086e-06, -2.71201134e-06, 1.00000012, -0.500001013, 0.866024971, -9.23871994e-07, -0.866024971, -0.500001013, -7.01099634e-06),Alpha) | |
1870 | end | |
1871 | end | |
1872 | Attack = false | |
1873 | NeutralAnims = true | |
1874 | end | |
1875 | ||
1876 | Mouse.KeyDown:connect(function(k) | |
1877 | if(Attack)then return end | |
1878 | if(k == 'x')then Show_Mercy() end | |
1879 | if(k == 'l')then Banishing_Storm() end | |
1880 | if(k == 'b')then Spectral_Banish() end | |
1881 | if(k == 'c')then Teleport() end | |
1882 | if(k == 'v')then BGone() end | |
1883 | if(k == 't')then Taunt() end | |
1884 | ||
1885 | end) | |
1886 | Mouse.Button1Down:connect(function() | |
1887 | if(Attack)then return end | |
1888 | Banisher_Bullet() | |
1889 | end) | |
1890 | --// Wrap it all up \\-- | |
1891 | ||
1892 | Plr.Chatted:connect(function(m) | |
1893 | local succ,text = pcall(function() return game:service'Chat':FilterStringForBroadcast(m,Plr) end) | |
1894 | if(not succ)then | |
1895 | text = string.rep("_",#text) | |
1896 | end | |
1897 | Chat(text) | |
1898 | end) | |
1899 | while true do | |
1900 | swait() | |
1901 | Sine = Sine + Change | |
1902 | --[[if(not Music or not Music.Parent)then | |
1903 | local a = Music.TimePosition | |
1904 | Music = Sound(Char,MusicID,1,1,true,false,true) | |
1905 | Music.Name = 'Music' | |
1906 | Music.TimePosition = a | |
1907 | end | |
1908 | Music.Volume = 0 | |
1909 | Music.Pitch = 1 | |
1910 | Music.Playing = true]] | |
1911 | Sine = Sine + Change | |
1912 | local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char) | |
1913 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
1914 | local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle") | |
1915 | if(State == 'Walk')then | |
1916 | local wsVal = 32 / (Hum.WalkSpeed/14) | |
1917 | local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1) | |
1918 | Change = 2 | |
1919 | RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(25+45*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha) | |
1920 | LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(25-45*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha) | |
1921 | else | |
1922 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1) | |
1923 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1) | |
1924 | end | |
1925 | if(NeutralAnims)then | |
1926 | if(State == 'Idle')then | |
1927 | Change = .5 | |
1928 | local Alpha = .1 | |
1929 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.95311994e-13, 0.00629388914+.2*M.C(Sine/20), 1.41759301e-06, 0.99999553, 9.4587449e-11, 0, -5.58664226e-12, 0.999980271, -0.00628617778, 9.31322575e-10, 0.00628615683, 0.99997592),Alpha) | |
1930 | LH.C0 = clerp(LH.C0,CFrame.new(-0.560905516, -0.984790266-.2*M.C(Sine/20), 0.0225828942, 0.997905374, 0.0627432317, 0.0156119671, -0.062847726, 0.998003423, 0.00628523249, -0.0151864393, -0.00725326827, 0.999856234),Alpha) | |
1931 | RH.C0 = clerp(RH.C0,CFrame.new(0.507978499, -0.98526901-.2*M.C(Sine/20), 0.0152739538, 0.995106399, -0.0975458771, 0.0156119671, 0.0974583924, 0.995219886, 0.00628523249, -0.016150441, -0.00473298226, 0.999856234),Alpha) | |
1932 | LS.C0 = clerp(LS.C0,CFrame.new(-0.997352481, 0.328557909+.1*M.C(Sine/20), 0.373372614, 0.726782799, -0.595508456, 0.342274755, 0.369578063, 0.759076476, 0.535924494, -0.578960299, -0.263003558, 0.771770597),Alpha) | |
1933 | RS.C0 = clerp(RS.C0,CFrame.new(1.35597444, 0.402479589+.1*M.C(Sine/20), 0.0100756176, 0.788939416, -0.614269078, 0.0156119671, 0.614255786, 0.78908211, 0.00628523249, -0.0161799639, 0.00463105366, 0.999856234),Alpha) | |
1934 | NK.C0 = clerp(NK.C0,CFrame.new(4.35163702e-06, 1.4989562, -0.0144046843, 0.99999553, 3.67523171e-07, -1.62050128e-07, -3.56434612e-07, 0.997964919, 0.0637686774, 1.8440187e-07, -0.0637684539, 0.997960329)*CF.A(M.R(-6*-M.C(Sine/20)),0,0),Alpha) | |
1935 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110785089, -0.749598742, -0.415072441, 2.87592411e-06, 1.69873238e-06, 1.00000012, -0.500000358, 0.866025329, 0, -0.866025269, -0.500000358, 3.33799494e-06),Alpha) | |
1936 | elseif(State == 'Walk')then | |
1937 | local wsVal = 32 / (Hum.WalkSpeed/14) | |
1938 | local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1) | |
1939 | RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0-.15*M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-15*M.S(Sine/wsVal)/2),0),Alpha) | |
1940 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
1941 | LH.C0 = LH.C0:lerp(LHC0,Alpha) | |
1942 | RH.C0 = RH.C0:lerp(RHC0,Alpha) | |
1943 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha) | |
1944 | RS.C0 = clerp(RS.C0,CFrame.new(1.35597444, 0.402479589, 0.0100756176, 0.788939416, -0.614269078, 0.0156119671, 0.614255786, 0.78908211, 0.00628523249, -0.0161799639, 0.00463105366, 0.999856234),Alpha) | |
1945 | elseif(State == 'Jump' or State == 'Fall')then | |
1946 | if(Walking)then | |
1947 | local Alpha = .1 | |
1948 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
1949 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha) | |
1950 | RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha) | |
1951 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
1952 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
1953 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
1954 | else | |
1955 | local Alpha = .1 | |
1956 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
1957 | LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha) | |
1958 | RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha) | |
1959 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
1960 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
1961 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
1962 | end | |
1963 | elseif(State == 'Paralyzed')then | |
1964 | -- paralyzed | |
1965 | elseif(State == 'Sit')then | |
1966 | -- sit | |
1967 | end | |
1968 | end | |
1969 | end |