SHOW:
|
|
- or go back to the newest paste.
1 | - | --Fucking kill oversoul. |
1 | + | --Edited By basstracker1970. |
2 | - | --[[NIGHTOWLACE_WEAPONRY]]-- |
2 | + | --[[OVERSOUL_WEAPONRY]]-- |
3 | wait(1 / 60) | |
4 | Effects = { } | |
5 | local Player = game.Players.localPlayer | |
6 | local Character = Player.Character | |
7 | local Humanoid = Character.Humanoid | |
8 | local mouse = Player:GetMouse() | |
9 | local m = Instance.new('Model', Character) | |
10 | m.Name = "WeaponModel" | |
11 | local LeftArm = Character["Left Arm"] | |
12 | local RightArm = Character["Right Arm"] | |
13 | local LeftLeg = Character["Left Leg"] | |
14 | local RightLeg = Character["Right Leg"] | |
15 | local Head = Character.Head | |
16 | local Torso = Character.Torso | |
17 | local cam = game.Workspace.CurrentCamera | |
18 | local RootPart = Character.HumanoidRootPart | |
19 | local RootJoint = RootPart.RootJoint | |
20 | local equipped = false | |
21 | local attack = false | |
22 | local Anim = 'Idle' | |
23 | local idle = 0 | |
24 | local attacktype = 1 | |
25 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
26 | local velocity = RootPart.Velocity.y | |
27 | local sine = 0 | |
28 | local change = 1 | |
29 | local grabbed = false | |
30 | local cn = CFrame.new | |
31 | local mr = math.rad | |
32 | local angles = CFrame.Angles | |
33 | local ud = UDim2.new | |
34 | local c3 = Color3.new | |
35 | ||
36 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
37 | Humanoid.Animator:Destroy() | |
38 | Character.Animate:Destroy() | |
39 | ||
40 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
41 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
42 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
43 | ||
44 | RSH, LSH = nil, nil | |
45 | ||
46 | RW = Instance.new("Weld") | |
47 | LW = Instance.new("Weld") | |
48 | ||
49 | RH = Torso["Right Hip"] | |
50 | LH = Torso["Left Hip"] | |
51 | ||
52 | RSH = Torso["Right Shoulder"] | |
53 | LSH = Torso["Left Shoulder"] | |
54 | ||
55 | RSH.Parent = nil | |
56 | LSH.Parent = nil | |
57 | ||
58 | RW.Name = "RW" | |
59 | RW.Part0 = Torso | |
60 | RW.C0 = cn(1.5, 0.5, 0) | |
61 | RW.C1 = cn(0, 0.5, 0) | |
62 | RW.Part1 = RightArm | |
63 | RW.Parent = Torso | |
64 | ||
65 | LW.Name = "LW" | |
66 | LW.Part0 = Torso | |
67 | LW.C0 = cn(-1.5, 0.5, 0) | |
68 | LW.C1 = cn(0, 0.5, 0) | |
69 | LW.Part1 = LeftArm | |
70 | LW.Parent = Torso | |
71 | ||
72 | local co1 = 14--how long it will take for skill to cooldown | |
73 | local co2 = 15 | |
74 | local co3 = 22 | |
75 | local co4 = 30 | |
76 | ||
77 | local cooldown1 = 0 | |
78 | local cooldown2 = 0 | |
79 | local cooldown3 = 0 | |
80 | local cooldown4 = 0 | |
81 | ||
82 | local maxMana = 100 | |
83 | local Mana = 0--Mana you start out with | |
84 | local skill1stam = 50--how much Mana is needed for a skill | |
85 | local skill2stam = 60 | |
86 | local skill3stam = 54 | |
87 | local skill4stam = 100 | |
88 | local recovermana = 3--how much mana per second | |
89 | ||
90 | local skillcolorscheme = Color3.new(1, 1, 1) | |
91 | ||
92 | local scrn = Instance.new('ScreenGui', Player.PlayerGui) | |
93 | function makeframe(par, trans, pos, size, color) | |
94 | local frame = Instance.new('Frame', par) | |
95 | frame.BackgroundTransparency = trans | |
96 | frame.BorderSizePixel = 0 | |
97 | frame.Position = pos | |
98 | frame.Size = size | |
99 | frame.BackgroundColor3 = Color3.new(color) | |
100 | return frame | |
101 | end | |
102 | function makelabel(par, text) | |
103 | local label = Instance.new('TextLabel', par) | |
104 | label.BackgroundTransparency = 1 | |
105 | label.Size = UDim2.new(1, 0, 1, 0) | |
106 | label.Position = UDim2.new(0, 0, 0, 0) | |
107 | label.TextColor3 = Color3.new(255, 255, 255) | |
108 | label.TextStrokeTransparency = 0 | |
109 | label.FontSize = Enum.FontSize.Size32 | |
110 | label.Font = Enum.Font.SourceSansBold | |
111 | label.BorderSizePixel = 0 | |
112 | label.TextScaled = true | |
113 | label.Text = text | |
114 | end | |
115 | ||
116 | local colorscheme2 = Torso.BrickColor.Color | |
117 | ||
118 | framesk1 = makeframe(scrn, .5, UDim2.new(.23, 0, .93, 0), UDim2.new(.26, 0, .06, 0), colorscheme2) | |
119 | framesk2 = makeframe(scrn, .5, UDim2.new(.5, 0, .93, 0), UDim2.new(.26, 0, .06, 0), colorscheme2) | |
120 | framesk3 = makeframe(scrn, .5, UDim2.new(.5, 0, .86, 0), UDim2.new(.26, 0, .06, 0), colorscheme2) | |
121 | framesk4 = makeframe(scrn, .5, UDim2.new(.23, 0, .86, 0), UDim2.new(.26, 0, .06, 0), colorscheme2) | |
122 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
123 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
124 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
125 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
126 | - | text1 = makelabel(framesk1, '[C] Bulldozor') |
126 | + | text1 = makelabel(framesk1, '[C] Greenrush') |
127 | - | text2 = makelabel(framesk2, '[V] Jump-And-slam') |
127 | + | text2 = makelabel(framesk2, '[V] Jump-And-Explode') |
128 | - | text3 = makelabel(framesk3, "[X] stomp storm") |
128 | + | text3 = makelabel(framesk3, "[X] GreenStonps") |
129 | - | text4 = makelabel(framesk4, '[Z] OrbExplode') |
129 | + | text4 = makelabel(framesk4, '[Z] Greenorbs') |
130 | Manabar = makeframe(scrn, .5, UDim2.new(.23, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Really black").Color) | |
131 | Manacover = makeframe(Manabar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Cyan").Color) | |
132 | Manatext = makelabel(Manabar, 'Mana') | |
133 | healthbar = makeframe(scrn, .5, UDim2.new(.5, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Really black").Color) | |
134 | healthcover = makeframe(healthbar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Lime green").Color) | |
135 | healthtext = makelabel(healthbar, 'Health') | |
136 | ||
137 | local stats = Instance.new('Folder', Character) | |
138 | stats.Name = 'Stats' | |
139 | local block = Instance.new('BoolValue', stats) | |
140 | block.Name = 'Block' | |
141 | block.Value = false | |
142 | local stun = Instance.new('BoolValue', stats) | |
143 | stun.Name = 'Stun' | |
144 | stun.Value = false | |
145 | local defense = Instance.new('NumberValue', stats) | |
146 | defense.Name = 'Defence' | |
147 | defense.Value = 1.2 | |
148 | local speed = Instance.new('NumberValue', stats) | |
149 | speed.Name = 'Speed' | |
150 | speed.Value = .7 | |
151 | local damagea = Instance.new('NumberValue', stats) | |
152 | damagea.Name = 'Damage' | |
153 | damagea.Value = .8 | |
154 | ||
155 | function clerp(a, b, t) | |
156 | return a:lerp(b, t) | |
157 | end | |
158 | ||
159 | --[[Credits to SazErenos for his Artificial Heartbeat]]-- | |
160 | ||
161 | ArtificialHB = Instance.new("BindableEvent", script) | |
162 | ArtificialHB.Name = "Heartbeat" | |
163 | ||
164 | script:WaitForChild("Heartbeat") | |
165 | ||
166 | frame = 1 / 30 | |
167 | tf = 0 | |
168 | allowframeloss = false | |
169 | tossremainder = false | |
170 | lastframe = tick() | |
171 | script.Heartbeat:Fire() | |
172 | ||
173 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
174 | tf = tf + s | |
175 | if tf >= frame then | |
176 | if allowframeloss then | |
177 | script.Heartbeat:Fire() | |
178 | lastframe = tick() | |
179 | else | |
180 | for i = 1, math.floor(tf / frame) do | |
181 | script.Heartbeat:Fire() | |
182 | end | |
183 | lastframe = tick() | |
184 | end | |
185 | if tossremainder then | |
186 | tf = 0 | |
187 | else | |
188 | tf = tf - frame * math.floor(tf / frame) | |
189 | end | |
190 | end | |
191 | end) | |
192 | ||
193 | function swait(num) | |
194 | if num == 0 or num == nil then | |
195 | ArtificialHB.Event:wait() | |
196 | else | |
197 | for i = 0, num do | |
198 | ArtificialHB.Event:wait() | |
199 | end | |
200 | end | |
201 | end | |
202 | ||
203 | local RbxUtility = LoadLibrary("RbxUtility") | |
204 | local Create = RbxUtility.Create | |
205 | ||
206 | function RemoveOutlines(part) | |
207 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
208 | end | |
209 | ||
210 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
211 | local Part = Create("Part"){ | |
212 | Parent = Parent, | |
213 | Reflectance = Reflectance, | |
214 | Transparency = Transparency, | |
215 | CanCollide = false, | |
216 | Locked = true, | |
217 | BrickColor = BrickColor.new(tostring(BColor)), | |
218 | Name = Name, | |
219 | Size = Size, | |
220 | Material = Material, | |
221 | } | |
222 | RemoveOutlines(Part) | |
223 | return Part | |
224 | end | |
225 | ||
226 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
227 | local Msh = Create(Mesh){ | |
228 | Parent = Part, | |
229 | Offset = OffSet, | |
230 | Scale = Scale, | |
231 | } | |
232 | if Mesh == "SpecialMesh" then | |
233 | Msh.MeshType = MeshType | |
234 | Msh.MeshId = MeshId | |
235 | end | |
236 | return Msh | |
237 | end | |
238 | ||
239 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
240 | local Weld = Create("Weld"){ | |
241 | Parent = Parent, | |
242 | Part0 = Part0, | |
243 | Part1 = Part1, | |
244 | C0 = C0, | |
245 | C1 = C1, | |
246 | } | |
247 | return Weld | |
248 | end | |
249 | ||
250 | function rayCast(Position, Direction, Range, Ignore) | |
251 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
252 | end | |
253 | ||
254 | function CreateSound(id, par, vol, pit) | |
255 | coroutine.resume(coroutine.create(function() | |
256 | local sou = Instance.new("Sound", par or workspace) | |
257 | sou.Volume = vol | |
258 | sou.Pitch = pit or 1 | |
259 | sou.SoundId = id | |
260 | swait() | |
261 | sou:play() | |
262 | game:GetService("Debris"):AddItem(sou, 6) | |
263 | end)) | |
264 | end | |
265 | ||
266 | local function getclosest(obj, distance) | |
267 | local last, lastx = distance + 1 | |
268 | for i, v in pairs(workspace:GetChildren()) do | |
269 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then | |
270 | local t = v.Torso | |
271 | local dist = (t.Position - obj.Position).magnitude | |
272 | if dist <= distance then | |
273 | if dist < last then | |
274 | last = dist | |
275 | lastx = v | |
276 | end | |
277 | end | |
278 | end | |
279 | end | |
280 | return lastx | |
281 | end | |
282 | ||
283 | ||
284 | function makegui(cframe, text) | |
285 | local a = math.random(-10, 10) / 100 | |
286 | local c = Instance.new("Part") | |
287 | c.Transparency = 1 | |
288 | Instance.new("BodyGyro").Parent = c | |
289 | c.Parent = workspace | |
290 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
291 | local f = Instance.new("BodyPosition") | |
292 | f.P = 2000 | |
293 | f.D = 100 | |
294 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
295 | f.position = c.Position + Vector3.new(0, 3, 0) | |
296 | f.Parent = c | |
297 | game:GetService("Debris"):AddItem(c, .5 + 6) | |
298 | c.CanCollide = false | |
299 | c.Parent = workspace | |
300 | c.CanCollide = false | |
301 | local bg = Instance.new('BillboardGui', c) | |
302 | bg.Adornee = c | |
303 | bg.Size = UDim2.new(1, 0, 1, 0) | |
304 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
305 | bg.AlwaysOnTop = false | |
306 | local tl = Instance.new('TextLabel', bg) | |
307 | tl.BackgroundTransparency = 1 | |
308 | tl.Size = UDim2.new(1, 0, 1, 0) | |
309 | tl.Text = text | |
310 | tl.Font = 'SourceSansBold' | |
311 | tl.FontSize = 'Size42' | |
312 | if crit == true then | |
313 | tl.TextColor3 = Color3.new(180 / 255, 0, 0) | |
314 | else | |
315 | tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255) | |
316 | end | |
317 | tl.TextStrokeTransparency = 0 | |
318 | tl.TextScaled = true | |
319 | tl.TextWrapped = true | |
320 | coroutine.wrap(function() | |
321 | wait(2) | |
322 | for i = 1, 10 do | |
323 | swait() | |
324 | c.Transparency = 1 | |
325 | tl.TextTransparency = tl.TextTransparency + .1 | |
326 | end | |
327 | end)() | |
328 | end | |
329 | ||
330 | Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock) | |
331 | if hit.Parent == nil then | |
332 | return | |
333 | end | |
334 | local h = hit.Parent:FindFirstChild("Humanoid") | |
335 | for _, v in pairs(hit.Parent:children()) do | |
336 | if v:IsA("Humanoid") then | |
337 | h = v | |
338 | end | |
339 | end | |
340 | if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then | |
341 | h = hit.Parent.Parent:FindFirstChild("Humanoid") | |
342 | end | |
343 | if hit.Parent.className == "Hat" then | |
344 | hit = hit.Parent.Parent:findFirstChild("Head") | |
345 | end | |
346 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
347 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
348 | if hit.Parent.DebounceHit.Value == true then | |
349 | return | |
350 | end | |
351 | end | |
352 | local blocked = false | |
353 | local block = hit.Parent:findFirstChild("Block") | |
354 | if block ~= nil then | |
355 | print(block.className) | |
356 | if block.className == "NumberValue" then | |
357 | if block.Value > 0 then | |
358 | blocked = true | |
359 | if decreaseblock == nil then | |
360 | block.Value = block.Value - 1 | |
361 | end | |
362 | end | |
363 | end | |
364 | if block.className == "IntValue" then | |
365 | if block.Value > 0 then | |
366 | blocked = true | |
367 | if decreaseblock ~= nil then | |
368 | block.Value = block.Value - 1 | |
369 | end | |
370 | end | |
371 | end | |
372 | end | |
373 | if blocked == false then | |
374 | local D = math.random(minim, maxim) * damagea.Value | |
375 | if h.Parent:FindFirstChild('Stats') then | |
376 | D = D / h.Parent:FindFirstChild('Stats').Defence.Value | |
377 | elseif not h.Parent:FindFirstChild('Stats') then | |
378 | D = D | |
379 | end | |
380 | h.Health = h.Health - D | |
381 | TagService:NewTag(h.Parent, Player, script.Name, D) | |
382 | makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + .5))) | |
383 | else | |
384 | local D = math.random(minim, maxim) * damagea.Value | |
385 | if h.Parent:FindFirstChild('Stats') then | |
386 | D = D / h.Parent:FindFirstChild('Stats').Defence.Value | |
387 | elseif not h.Parent:FindFirstChild('Stats') then | |
388 | D = D | |
389 | end | |
390 | h.Health = h.Health - (D / 2) | |
391 | makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + .5))) | |
392 | showDamage(hit.Parent, Damage / 2, .5, BrickColor.new("Bright blue")) | |
393 | end | |
394 | if Type == "Knockdown" then | |
395 | local humanoid = hit.Parent.Humanoid | |
396 | humanoid.PlatformStand = true | |
397 | coroutine.resume(coroutine.create(function(Humanoid) | |
398 | swait() | |
399 | Humanoid.PlatformStand = false | |
400 | end), humanoid) | |
401 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
402 | local bodvol = Instance.new("BodyVelocity") | |
403 | bodvol.velocity = angle * knockback | |
404 | bodvol.P = 5000 | |
405 | bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003) | |
406 | bodvol.Parent = hit | |
407 | local rl = Instance.new("BodyAngularVelocity") | |
408 | rl.P = 3000 | |
409 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
410 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
411 | rl.Parent = hit | |
412 | game:GetService("Debris"):AddItem(bodvol, .5) | |
413 | game:GetService("Debris"):AddItem(rl, .5) | |
414 | elseif Type == "Normal" then | |
415 | CreateSound("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100) | |
416 | local vp = Instance.new("BodyVelocity") | |
417 | vp.P = 500 | |
418 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
419 | if KnockbackType == 1 then | |
420 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
421 | elseif KnockbackType == 2 then | |
422 | vp.velocity = Property.CFrame.lookVector * knockback | |
423 | end | |
424 | if knockback > 0 then | |
425 | vp.Parent = hit.Parent.Torso | |
426 | end | |
427 | game:GetService("Debris"):AddItem(vp, .5) | |
428 | elseif Type == "SlashLifeSteal" then | |
429 | CreateSound("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100) | |
430 | Humanoid.Health = Humanoid.Health + math.random(1, 2) / 2.5 | |
431 | local vp = Instance.new("BodyVelocity") | |
432 | vp.P = 500 | |
433 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
434 | if KnockbackType == 1 then | |
435 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
436 | elseif KnockbackType == 2 then | |
437 | vp.velocity = Property.CFrame.lookVector * knockback | |
438 | end | |
439 | if knockback > 0 then | |
440 | vp.Parent = hit.Parent.Torso | |
441 | end | |
442 | game:GetService("Debris"):AddItem(vp, .5) | |
443 | elseif Type == "SlashLifeSteal2" then | |
444 | CreateSound("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100) | |
445 | Humanoid.Health = Humanoid.Health + math.random(2, 3) / 2.5 | |
446 | local vp = Instance.new("BodyVelocity") | |
447 | vp.P = 500 | |
448 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
449 | if KnockbackType == 1 then | |
450 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
451 | elseif KnockbackType == 2 then | |
452 | vp.velocity = Property.CFrame.lookVector * knockback | |
453 | end | |
454 | if knockback > 0 then | |
455 | vp.Parent = hit.Parent.Torso | |
456 | end | |
457 | game:GetService("Debris"):AddItem(vp, .5) | |
458 | elseif Type == "BlackHoleDamage" then | |
459 | Humanoid.Health = Humanoid.Health + math.random(2, 4) / 5 | |
460 | local floatingvelocity = Instance.new("BodyVelocity") | |
461 | floatingvelocity.Parent = hit.Parent.Torso | |
462 | floatingvelocity.Velocity = Vector3.new(0, math.random(2.5, 5), 0) | |
463 | game:GetService("Debris"):AddItem(floatingvelocity, 1) | |
464 | elseif Type == "BlackHoleDamage2" then | |
465 | local vp = Instance.new("BodyVelocity") | |
466 | vp.P = 500 | |
467 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
468 | if KnockbackType == 1 then | |
469 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
470 | elseif KnockbackType == 2 then | |
471 | vp.velocity = Property.CFrame.lookVector * knockback | |
472 | end | |
473 | if knockback > 0 then | |
474 | vp.Parent = hit.Parent.Torso | |
475 | end | |
476 | game:GetService("Debris"):AddItem(vp, .5) | |
477 | elseif Type == "Up" then | |
478 | local bodyVelocity = Instance.new("BodyVelocity") | |
479 | bodyVelocity.velocity = Vector3.new(0, 60, 0) | |
480 | bodyVelocity.P = 5000 | |
481 | bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003) | |
482 | bodyVelocity.Parent = hit | |
483 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
484 | local rl = Instance.new("BodyAngularVelocity") | |
485 | rl.P = 3000 | |
486 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
487 | rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30)) | |
488 | rl.Parent = hit | |
489 | game:GetService("Debris"):AddItem(rl, .5) | |
490 | elseif Type == "Snare" then | |
491 | wait() | |
492 | local bp = Instance.new("BodyPosition") | |
493 | bp.P = 2000 | |
494 | bp.D = 100 | |
495 | bp.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
496 | bp.position = hit.Parent.Torso.Position | |
497 | bp.Parent = hit.Parent.Torso | |
498 | game:GetService("Debris"):AddItem(bp, 1) | |
499 | elseif Type == "Target" then | |
500 | CreateSound("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100) | |
501 | local vp = Instance.new("BodyVelocity") | |
502 | vp.P = 500 | |
503 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
504 | if KnockbackType == 1 then | |
505 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
506 | elseif KnockbackType == 2 then | |
507 | vp.velocity = Property.CFrame.lookVector * knockback | |
508 | end | |
509 | if knockback > 0 then | |
510 | vp.Parent = hit.Parent.Torso | |
511 | end | |
512 | game:GetService("Debris"):AddItem(vp, .5) | |
513 | end | |
514 | local debounce = Instance.new("BoolValue") | |
515 | debounce.Name = "DebounceHit" | |
516 | debounce.Parent = hit.Parent | |
517 | debounce.Value = true | |
518 | game:GetService("Debris"):AddItem(debounce, Delay) | |
519 | local c = Instance.new("ObjectValue") | |
520 | c.Name = "creator" | |
521 | c.Value = Player | |
522 | c.Parent = h | |
523 | game:GetService("Debris"):AddItem(c, .5) | |
524 | end | |
525 | end | |
526 | ||
527 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
528 | for _, c in pairs(workspace:children()) do | |
529 | local hum = c:findFirstChild("Humanoid") | |
530 | if hum ~= nil then | |
531 | local head = c:findFirstChild("Torso") | |
532 | if head ~= nil then | |
533 | local targ = head.Position - Part.Position | |
534 | local mag = targ.magnitude | |
535 | if mag <= magni and c.Name ~= Player.Name then | |
536 | Damagefunc(head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3, 1) | |
537 | end | |
538 | end | |
539 | end | |
540 | end | |
541 | end | |
542 | ||
543 | Handle = CreatePart(m, Enum.Material.Neon, 0, 1, Torso.BrickColor, "Handle", Vector3.new(0.549599648, 1, 1.01160002)) | |
544 | Handleweld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0937860012, 0.00657367706, 0.00419616699, 5.96046448e-008, 0.999994755, 5.96095191e-008, 1, -5.96043037e-008, -4.8416058e-007, -4.8416058e-007, 5.96092349e-008, -1)) | |
545 | Hitbox = CreatePart(m, Enum.Material.Neon, 0, 1, Torso.BrickColor, "Hitbox", Vector3.new(4.54959965, 0.600000024, 6.41160011)) | |
546 | Hitboxweld = CreateWeld(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200000048, -0.599998474, 0.100006104, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1)) | |
547 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599959)) | |
548 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748267651, 0.374885559, -0.163708687, 0.259237081, -0.965813696, 8.29293697e-007, -1.94643121e-006, -1.38109544e-006, -1, 0.965813696, 0.259237081, -2.23792108e-006)) | |
549 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
550 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.549599648, 1.16819978, 0.210000008)) | |
551 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.15255737e-007, -0.0840969086, -0.409217834, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1)) | |
552 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959)) | |
553 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668091297, 1.44761658, 2.02336073, -0.259194463, 0.96582514, 3.82060307e-006, 4.7164408e-006, -2.69006023e-006, 1, 0.96582514, 0.259194463, -3.85800831e-006)) | |
554 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
555 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
556 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.387033463, -0.748291492, -2.00602722, 0.932904124, 0.250400364, 0.258823335, -0.259233505, 0.965814769, -1.51112181e-006, -0.249975771, -0.0670942664, 0.96592468)) | |
557 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
558 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
559 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791927338, 0.0731578469, -2.68690491, 0.258355826, 0.96604985, 1.57819898e-006, 0.96604985, -0.258355826, 4.46641252e-006, 4.72251395e-006, 3.70695147e-007, -1)) | |
560 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913)) | |
561 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
562 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748335838, 0.499908447, 0.236524105, 0.259243727, -0.965811968, 2.29213128e-006, 3.49563311e-006, 3.31156821e-006, 1, -0.965811968, -0.259243727, 4.23462734e-006)) | |
563 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913)) | |
564 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 1.31219983)) | |
565 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748334408, 0.354118347, -0.49246645, 0.259243727, -0.965811968, 2.42647434e-006, 3.57742101e-006, 3.47262016e-006, 1, -0.965811968, -0.259243727, 4.35537095e-006)) | |
566 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 1)) | |
567 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
568 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748334885, -0.354110718, 1.22145891, 0.259243816, -0.965811849, 1.87510204e-006, -3.89473416e-006, -2.98690452e-006, -1, 0.965811849, 0.259243816, -4.53591747e-006)) | |
569 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913)) | |
570 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.437400103, 0.200000003)) | |
571 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.419552326, 0.645721436, 0.748315811, 0.965813994, 0.259236038, -1.18782089e-006, 8.57471662e-007, 1.38739472e-006, 1, 0.259236038, -0.965813994, 1.1176777e-006)) | |
572 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
573 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599989)) | |
574 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.748250961, -1.10388184, 1.00268936, -0.259237349, 0.965813696, -2.95466089e-006, 2.05441142e-006, 3.61067669e-006, 1, 0.965813696, 0.259237349, -2.92020081e-006)) | |
575 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
576 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.729000032, 0.200000003)) | |
577 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.273701668, -1.10388947, 0.748267174, 0.965814769, 0.259233236, -4.11742462e-007, 3.74089325e-007, 1.94579599e-007, 1, 0.259233236, -0.965814769, 9.09514597e-008)) | |
578 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
579 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924)) |
579 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924)) |
580 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.71172905, 1.08311462, 1.8220439, -0.258364588, -0.966047525, 4.46861804e-006, -1.88454442e-006, 5.12968245e-006, 1, -0.966047525, 0.258364588, -3.14588783e-006)) | |
581 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
582 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
583 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.291137397, 0.791987419, -0.0103759766, -0.966036141, 0.258407384, 3.18614229e-006, -0.258407384, -0.966036141, -1.70527414e-006, 2.6372727e-006, -2.47067874e-006, 1)) | |
584 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
585 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 2.04120016, 0.200000003)) | |
586 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0733758211, 1.59341431, -0.791968346, -0.966033578, 0.258416891, -1.1448418e-006, -1.16560352e-006, 7.2865646e-008, 1, 0.258416891, 0.966033578, 2.30821001e-007)) | |
587 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913)) | |
588 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.02060008)) | |
589 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791931152, -2.61401367, 0.509956539, 0.258375138, 0.966044664, -2.14422334e-006, 3.80396909e-006, -3.2369876e-006, -1, -0.966044664, 0.258375138, -4.51116148e-006)) | |
590 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
591 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.04120016, 0.437399924)) | |
592 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711686134, -1.03097534, -1.82201755, 0.258405864, 0.966036499, -3.94140943e-006, -1.7037512e-006, 4.53571738e-006, 1, 0.966036499, -0.258405864, 2.81794178e-006)) | |
593 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
594 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(0.291599959, 2.04120016, 0.437399983)) |
594 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.04120016, 0.437399983)) |
595 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711735725, 1.03098297, 1.82195807, 0.258460104, 0.966022015, -2.66190364e-006, 1.11263591e-006, -3.05321805e-006, -1, -0.966022015, 0.258460104, -1.86396585e-006)) | |
596 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
597 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924)) | |
598 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711661339, -1.09309554, 2.978508, -0.258407265, -0.966036081, 3.36418725e-006, 0.966036081, -0.258407265, -8.32808269e-007, 1.67385315e-006, 3.03472257e-006, 1)) | |
599 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
600 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
601 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.31173015, 0.791917801, -0.0103683472, -0.966039896, 0.258393317, -5.88560738e-007, -0.258393317, -0.966039896, -1.65475512e-006, -9.96150675e-007, -1.44647902e-006, 1)) | |
602 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
603 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003)) | |
604 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.280853271, -2.04826355, -0.791953087, -0.933117151, 0.249601856, 0.25882712, 0.25003624, -0.0668830872, 0.965923667, 0.258407503, 0.966036081, 2.45528014e-007)) | |
605 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
606 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003)) | |
607 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.801402152, -0.0103759766, -0.791955948, -0.966036141, 0.258407384, -2.41263734e-007, -2.7156463e-007, -8.15671228e-008, 1, 0.258407384, 0.966036141, 1.48971026e-007)) | |
608 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
609 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) |
609 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) |
610 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711751938, -0.947353661, 2.46820831, -0.258386463, -0.966041744, -1.42285126e-006, 0.966041744, -0.258386463, -3.87151067e-006, 3.37239476e-006, -2.37487916e-006, 1)) | |
611 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
612 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924)) | |
613 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711641312, -1.09310102, 2.85347748, 0.258411825, 0.96603483, -3.37836354e-006, 0.96603483, -0.258411825, 1.16675437e-006, 2.54116259e-007, -3.5651201e-006, -1)) | |
614 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
615 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) | |
616 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711715698, 0.94726485, -2.46821594, -0.258387119, -0.966041565, -1.17710044e-007, -0.966041565, 0.258387119, 2.52460541e-006, -2.40845884e-006, 7.66038113e-007, -1)) | |
617 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
618 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599959)) | |
619 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.792075157, 0.374885559, -0.000447571278, 0.258397371, 0.966038823, -3.81478458e-008, 1.99738133e-006, -5.73751208e-007, -1, -0.966038823, 0.258397371, -2.07780386e-006)) | |
620 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
621 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.291599959)) | |
622 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.792011261, 2.24951172, 0.145552039, -0.258379161, -0.966043591, -2.21535828e-007, -4.39142241e-006, 9.4521215e-007, 1, -0.966043591, 0.258379161, -4.48652872e-006)) | |
623 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
624 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
625 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.22946167, 0.791992188, -2.04825592, -0.933117151, 0.249601737, 0.258827031, -0.258407086, -0.966036141, 8.11744485e-007, 0.250036478, -0.066881977, 0.965923727)) | |
626 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
627 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
628 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.79108429, 0.791954994, -2.04824829, -0.933117151, 0.249601856, 0.25882712, -0.258407176, -0.966036081, 9.06736943e-007, 0.250036567, -0.0668819323, 0.965923727)) | |
629 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
630 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) | |
631 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711748123, 0.947217226, -2.34318542, 0.258388281, 0.966041148, 1.08739897e-007, -0.966041148, 0.258388281, -2.73797241e-006, -2.67309088e-006, 6.0241274e-007, 1)) | |
632 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
633 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) |
633 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) |
634 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711779594, -0.947313726, 2.3431778, 0.258389086, 0.966040909, 1.36804704e-006, 0.966040909, -0.258389086, 4.12955433e-006, 4.34280719e-006, 2.54557619e-007, -1)) | |
635 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
636 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
637 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.79196167, 0.499908447, 0.0733489394, 0.258376598, 0.966044366, 1.46641844e-006, -4.57452143e-006, -2.94468009e-007, 1, 0.966044366, -0.258376598, 4.34310687e-006)) | |
638 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913)) | |
639 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 1.31219983)) | |
640 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791954994, 0.354118347, -0.655609488, 0.258398682, 0.966038465, 1.57091995e-006, -4.80159633e-006, -3.41801865e-007, 1, 0.966038465, -0.258398682, 4.55020563e-006)) | |
641 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 1)) | |
642 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003)) | |
643 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.248426437, 2.16902924, -0.79195118, -0.933116436, 0.249601498, -0.25883016, -0.25003925, 0.0668835416, 0.965922832, 0.258407265, 0.966036201, 3.19331264e-008)) | |
644 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
645 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.729000032, 0.200000003)) | |
646 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.436873257, -1.10388184, -0.79204464, -0.966035903, 0.25840804, -2.51160202e-007, -4.18471444e-008, 8.1551002e-007, 1, 0.25840804, 0.966035903, -7.7699832e-007)) | |
647 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
648 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599989)) | |
649 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.791975021, -1.10387421, 1.16587758, -0.258397251, -0.966038764, -2.16711919e-006, -3.48613889e-006, -1.31082766e-006, 1, -0.966038764, 0.258397251, -3.02903118e-006)) | |
650 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
651 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.583199918, 0.291599989)) | |
652 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791950226, -1.15602112, 0.145350814, 0.258398414, 0.966038465, 1.00403645e-006, 4.74357103e-006, -2.29488592e-007, -1, -0.966038465, 0.258398414, -4.64177128e-006)) | |
653 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
654 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
655 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791969299, -0.354118347, 1.38458776, 0.258398414, 0.966038465, 9.90328999e-007, 4.74258241e-006, -2.4341341e-007, -1, -0.966038465, 0.258398414, -4.64441473e-006)) | |
656 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913)) | |
657 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(1.7495997, 4.22819996, 0.291599929)) |
657 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(1.7495997, 4.22819996, 0.291599929)) |
658 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.728473842, 0.0625152588, -0.711821556, -0.96603328, 0.258417934, -4.64850359e-007, -2.20301672e-007, 9.7528698e-007, 1, 0.258417934, 0.96603328, -8.85229781e-007)) | |
659 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.16639984)) | |
660 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791952133, -1.01022339, 0.582776666, 0.258398414, 0.966038465, 9.73264605e-007, 4.68442522e-006, -2.45521846e-007, -1, -0.966038465, 0.258398414, -4.58877776e-006)) | |
661 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
662 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.200000003)) | |
663 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791953087, -0.645729065, 1.23882413, 0.258398414, 0.966038465, 9.85365432e-007, 4.74521448e-006, -2.49255436e-007, -1, -0.966038465, 0.258398414, -4.64846698e-006)) | |
664 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913)) | |
665 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
666 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.758653641, 0.791967392, 2.16901398, -0.933116317, 0.249601379, -0.258830756, -0.258406103, -0.966036439, -4.07655898e-006, -0.250040919, 0.0668796301, 0.965922713)) | |
667 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
668 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.437400103, 0.200000003)) | |
669 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.582713842, 0.645721436, -0.791945457, -0.966035903, 0.258407861, -1.25082556e-006, -1.27987164e-006, 5.58177362e-008, 1, 0.258407861, 0.966035903, 2.76806929e-007)) | |
670 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
671 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599929, 0.291599959)) | |
672 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.792108536, -1.61417389, -0.000424981117, -0.258397162, -0.966038883, -2.09015161e-006, -3.05568869e-006, -1.34629158e-006, 1, -0.966038883, 0.258397162, -2.60403613e-006)) | |
673 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
674 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
675 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.261831284, 0.7920084, 2.16902924, -0.933116376, 0.249601558, -0.258829921, -0.258406281, -0.966036439, -4.11973315e-006, -0.250040174, 0.0668794289, 0.965923011)) | |
676 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
677 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
678 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748393536, 0.236421585, -2.68690491, 0.259242177, -0.965812325, 9.39434904e-006, -0.965812325, -0.259242177, 1.81594089e-006, 6.81553331e-007, -9.54394636e-006, -1)) | |
679 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913)) | |
680 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.549599648, 0.200000003, 0.611599982)) | |
681 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.400000095, 0, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1)) | |
682 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
683 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.633543015, -0.748318195, -2.00602722, 0.932904184, 0.250400394, 0.258823454, -0.259233505, 0.965814769, -1.53903522e-006, -0.24997583, -0.0670942515, 0.965924621)) | |
684 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
685 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959)) | |
686 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.668150902, 1.32257843, 2.02337718, 0.259231716, -0.965815246, -5.59616274e-006, -2.02115484e-006, 5.25174482e-006, -1, 0.965815246, 0.259231716, -5.90643424e-007)) | |
687 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
688 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.16639984)) | |
689 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748328209, -1.01021576, 0.419537544, 0.259243816, -0.965811849, 1.82883696e-006, -3.7662528e-006, -2.90451476e-006, -1, 0.965811849, 0.259243816, -4.39046926e-006)) | |
690 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
691 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599929, 0.291599959)) | |
692 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.748274803, -1.61417389, -0.163676262, -0.259237617, 0.965813577, -2.98417535e-006, 1.98260818e-006, 3.62196397e-006, 1, 0.965813577, 0.259237617, -2.85377928e-006)) | |
693 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
694 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.583199918, 0.291599989)) | |
695 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748350143, -1.15601349, -0.0178599358, 0.259243816, -0.965811849, 1.85960675e-006, -3.80946062e-006, -2.94797155e-006, -1, 0.965811849, 0.259243816, -4.44346597e-006)) | |
696 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
697 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003)) | |
698 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0908699036, 2.12680817, 0.748318195, 0.932903409, 0.250400096, -0.258826435, 0.24997808, 0.067097418, 0.965923846, 0.259234011, -0.96581459, 8.78642084e-007)) | |
699 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
700 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
701 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.601093292, -0.748310566, 2.12677765, 0.93290323, 0.250400156, -0.258826882, -0.259234697, 0.965814352, -3.2069297e-006, 0.249977916, 0.0670999065, 0.965923727)) | |
702 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
703 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(1.7495997, 4.22819996, 0.291599929)) |
703 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(1.7495997, 4.22819996, 0.291599929)) |
704 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.565392971, 0.0625152588, 0.668135643, 0.965815246, 0.259231359, -4.91199387e-007, 4.8916678e-007, 7.23472908e-008, 1, 0.259231359, -0.965815246, -5.69332315e-008)) | |
705 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.200000003)) | |
706 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748342991, -0.645713806, 1.0756433, 0.259243816, -0.965811849, 1.8409371e-006, -3.99065493e-006, -2.97727752e-006, -1, 0.965811849, 0.259243816, -4.6260634e-006)) | |
707 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913)) | |
708 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
709 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.419418335, -0.748321056, 2.12680054, 0.932903469, 0.250400156, -0.258826196, -0.259234637, 0.965814352, -3.23053882e-006, 0.249977246, 0.0670997277, 0.965924025)) | |
710 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
711 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.549599648, 1.16819966, 0.200000003)) | |
712 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.15255737e-007, -0.0840959549, 0.40423584, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1)) | |
713 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
714 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748373508, -0.236422062, 2.68690491, 0.259242624, -0.965812266, 1.82163058e-006, 0.965812266, 0.259242624, -2.00591694e-006, 1.46509501e-006, 2.27937221e-006, 1)) | |
715 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913)) | |
716 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924)) | |
717 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668161869, -1.08311462, -1.65887642, -0.259238631, 0.965813279, -4.12923669e-007, 2.22891821e-008, -4.21557132e-007, -1, -0.965813279, -0.259238631, 8.77566961e-008)) | |
718 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
719 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924)) |
719 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924)) |
720 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668140888, 1.08312225, 1.65885949, -0.259237617, 0.965813577, 3.65497885e-006, 3.96671521e-006, -2.71963154e-006, 1, 0.965813577, 0.259237617, -3.12607654e-006)) | |
721 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
722 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
723 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.127997398, -0.748288631, -0.0103759766, 0.96581459, 0.259233892, 3.24961434e-006, -0.259233892, 0.96581459, -2.47951652e-006, -3.78129926e-006, 1.55234306e-006, 1)) | |
724 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
725 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924)) | |
726 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668211937, -0.929962635, 2.97852325, -0.259212017, 0.965820491, 2.54913289e-006, -0.965820491, -0.259212017, -8.96806228e-007, -2.05387948e-007, -2.69446741e-006, 1)) | |
727 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
728 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003)) | |
729 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.123281479, -2.00604248, 0.748316288, 0.932904124, 0.250400394, 0.258823514, -0.249975741, -0.0670948401, 0.965924621, 0.259233654, -0.96581471, 9.78878688e-007)) | |
730 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
731 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929)) | |
732 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.14855218, -0.748366833, -0.0103759766, 0.965815067, 0.259231985, -7.14727889e-007, -0.259231985, 0.965815067, -2.50817857e-006, 4.00949318e-008, 2.60771685e-006, 1)) | |
733 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1)) | |
734 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.04120016, 0.437399924)) | |
735 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.668152809, -1.03097534, -1.65887117, 0.259237349, -0.965813637, -3.15378566e-006, 3.45980902e-006, -2.33675905e-006, 1, -0.965813637, -0.259237349, 2.73575552e-006)) | |
736 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
737 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(0.291599959, 2.04120016, 0.437399983)) |
737 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.04120016, 0.437399983)) |
738 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.66814518, 1.03097534, 1.65886927, 0.259237885, -0.965813518, -1.87370847e-006, -2.21794357e-006, 1.34470429e-006, -1, 0.965813518, 0.259237885, -1.79352128e-006)) | |
739 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
740 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924)) | |
741 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.668205738, -0.930031061, 2.85346985, 0.259222269, -0.96581769, -2.60306479e-006, -0.96581775, -0.259222299, 1.14704233e-006, -1.7826062e-006, 2.21674713e-006, -1)) | |
742 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
743 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 2.04120016, 0.200000003)) | |
744 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.236513138, 1.59341431, 0.748343468, 0.965813994, 0.259236038, -1.21717028e-006, 8.87492035e-007, 1.38876521e-006, 1, 0.259236038, -0.965813994, 1.11121904e-006)) | |
745 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913)) | |
746 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959)) | |
747 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711784363, 1.44760895, 2.18656635, -0.258395731, -0.96603924, 3.16468504e-006, 7.73344993e-007, 3.06908441e-006, 1, -0.96603924, 0.258395731, -4.59567389e-008)) | |
748 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
749 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
750 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791934013, -0.0731610656, 2.68690491, 0.258360416, 0.966048717, 8.7551814e-007, -0.966048717, 0.258360416, -1.93419714e-006, -2.09472728e-006, -3.46073136e-007, 1)) | |
751 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913)) | |
752 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) | |
753 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668188095, 0.784166813, -2.46821594, -0.259239137, 0.96581322, -9.58106966e-007, 0.96581322, 0.259239137, 2.45358251e-006, 2.61808077e-006, -2.89287811e-007, -1)) | |
754 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
755 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924)) | |
756 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711663246, -1.08311462, -1.82211637, -0.258347362, -0.966052175, 4.26980762e-007, -6.51804299e-008, -4.24554258e-007, -1, 0.966052175, -0.258347362, 4.67147743e-008)) | |
757 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
758 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) |
758 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) |
759 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.66814518, -0.784229279, 2.34318542, 0.259237558, -0.965813577, 2.15522095e-006, -0.965813577, -0.259237558, 4.15574686e-006, -3.45496255e-006, -3.15886746e-006, -1)) | |
760 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
761 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959)) | |
762 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711732864, 1.32258606, 2.18660164, 0.258424789, 0.966031373, -5.72344379e-006, 2.51068946e-006, -6.59633633e-006, -1, -0.966031373, 0.258424789, -4.13006182e-006)) | |
763 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
764 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.291599929)) | |
765 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.748332024, 2.24951172, -0.0176463127, -0.259235293, 0.965814173, -1.04926676e-006, 3.99967757e-006, 2.15996465e-006, 1, 0.965814173, 0.259235293, -4.42288456e-006)) | |
766 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
767 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) | |
768 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.668171883, 0.784127712, -2.34318542, 0.259238124, -0.965813458, 8.95987228e-007, 0.965813458, 0.259238124, -2.76424407e-006, 2.4374699e-006, 1.58195394e-006, 1)) | |
769 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
770 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003)) | |
771 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63828373, -0.0103759766, 0.748314857, 0.96581459, 0.259233892, -1.77737036e-007, -7.47181232e-008, 9.63997763e-007, 1, 0.259233892, -0.96581459, 9.50412584e-007)) | |
772 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913)) | |
773 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.02060008)) | |
774 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748323441, -2.61401367, 0.346779823, 0.259239912, -0.965812981, -1.30390742e-006, -4.67701739e-006, 9.46744763e-008, -1, 0.965812981, 0.259239912, -4.49258096e-006)) | |
775 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1)) | |
776 | - | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really red", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) |
776 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859)) |
777 | Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668186665, -0.784234047, 2.46820831, -0.259239942, 0.965813041, -2.21002483e-006, -0.965813041, -0.259239942, -3.84502073e-006, -4.28649719e-006, 1.1376876e-006, 1)) | |
778 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
779 | ||
780 | for i, v in pairs(Character:GetChildren()) do | |
781 | if v:IsA'Model' then | |
782 | for _, c in pairs(v:GetChildren()) do | |
783 | if c:IsA'Part' then | |
784 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
785 | end | |
786 | end | |
787 | end | |
788 | end | |
789 | ||
790 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
791 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
792 | prt.Anchored = true | |
793 | prt.CFrame = cframe | |
794 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
795 | game:GetService("Debris"):AddItem(prt, 10) | |
796 | if Type == 1 or Type == nil then | |
797 | table.insert(Effects, { | |
798 | prt, | |
799 | "Block1", | |
800 | delay, | |
801 | x3, | |
802 | y3, | |
803 | z3, | |
804 | msh | |
805 | }) | |
806 | elseif Type == 2 then | |
807 | table.insert(Effects, { | |
808 | prt, | |
809 | "Block2", | |
810 | delay, | |
811 | x3, | |
812 | y3, | |
813 | z3, | |
814 | msh | |
815 | }) | |
816 | end | |
817 | end | |
818 | ||
819 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
820 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
821 | prt.Anchored = true | |
822 | prt.CFrame = cframe | |
823 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
824 | game:GetService("Debris"):AddItem(prt, 10) | |
825 | table.insert(Effects, { | |
826 | prt, | |
827 | "Cylinder", | |
828 | delay, | |
829 | x3, | |
830 | y3, | |
831 | z3, | |
832 | msh | |
833 | }) | |
834 | end | |
835 | ||
836 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
837 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
838 | prt.Anchored = true | |
839 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
840 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
841 | game:GetService("Debris"):AddItem(prt, 10) | |
842 | table.insert(Effects, { | |
843 | prt, | |
844 | "Cylinder", | |
845 | delay, | |
846 | x3, | |
847 | y3, | |
848 | z3, | |
849 | msh | |
850 | }) | |
851 | end | |
852 | ||
853 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
854 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
855 | prt.Anchored = true | |
856 | prt.CFrame = cframe | |
857 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
858 | game:GetService("Debris"):AddItem(prt, 10) | |
859 | table.insert(Effects, { | |
860 | prt, | |
861 | "Cylinder", | |
862 | delay, | |
863 | x3, | |
864 | y3, | |
865 | z3, | |
866 | msh | |
867 | }) | |
868 | end | |
869 | ||
870 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
871 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
872 | prt.Anchored = true | |
873 | prt.CFrame = cframe | |
874 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
875 | game:GetService("Debris"):AddItem(prt, 10) | |
876 | table.insert(Effects, { | |
877 | prt, | |
878 | "Cylinder", | |
879 | delay, | |
880 | x3, | |
881 | y3, | |
882 | z3, | |
883 | msh | |
884 | }) | |
885 | end | |
886 | ||
887 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
888 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
889 | prt.Anchored = true | |
890 | prt.CFrame = cframe | |
891 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
892 | game:GetService("Debris"):AddItem(prt, 10) | |
893 | table.insert(Effects, { | |
894 | prt, | |
895 | "Cylinder", | |
896 | delay, | |
897 | x3, | |
898 | y3, | |
899 | z3, | |
900 | msh | |
901 | }) | |
902 | end | |
903 | ||
904 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
905 | local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
906 | prt.Anchored = true | |
907 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
908 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
909 | local num = math.random(10, 50) / 1000 | |
910 | game:GetService("Debris"):AddItem(prt, 10) | |
911 | table.insert(Effects, { | |
912 | prt, | |
913 | "Shatter", | |
914 | num, | |
915 | prt.CFrame, | |
916 | math.random() - math.random(), | |
917 | 0, | |
918 | math.random(50, 100) / 100 | |
919 | }) | |
920 | end | |
921 | ||
922 | function attackone() | |
923 | attack = true | |
924 | Hitbox.CanCollide = true | |
925 | for i = 0, 1, 0.15 do | |
926 | swait() | |
927 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .33) | |
928 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .33) | |
929 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(85), math.rad(0), math.rad(-70)), .33) | |
930 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(80), math.rad(0), math.rad(45)), .33) | |
931 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33) | |
932 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33) | |
933 | end | |
934 | CreateSound("http://roblox.com/asset/?id=320557518", RightArm, 1, .8) | |
935 | RootPart.Velocity = RootPart.CFrame.lookVector * 70 | |
936 | for i = 0, 1, 0.13 do | |
937 | swait() | |
938 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .5) | |
939 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-60)), .5) | |
940 | RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), .5) | |
941 | LW.C0 = clerp(LW.C0, CFrame.new(-.3, 0.5, -.5) * CFrame.new(0, 0, -.5) * angles(math.rad(80), math.rad(0), math.rad(70)), .5) | |
942 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-30), math.rad(-10)), .5) | |
943 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-30), math.rad(10)), .5) | |
944 | end | |
945 | Hitbox.CanCollide = false | |
946 | attack = false | |
947 | end | |
948 | ||
949 | function attacktwo() | |
950 | attack = true | |
951 | Hitbox.CanCollide = true | |
952 | for i = 0, 1, 0.15 do | |
953 | swait() | |
954 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), .33) | |
955 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-60)), .33) | |
956 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.7) * angles(math.rad(85), math.rad(0), math.rad(-70)), .33) | |
957 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(20), math.rad(0), math.rad(-10)), .33) | |
958 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-30), math.rad(0)), .33) | |
959 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-30), math.rad(0)), .33) | |
960 | end | |
961 | CreateSound("http://roblox.com/asset/?id=320557453", RightArm, 1, .8) | |
962 | for i = 0, 1, 0.12 do | |
963 | swait() | |
964 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .35) | |
965 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(80)), .35) | |
966 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), .35) | |
967 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(20), math.rad(0), math.rad(-80)), .35) | |
968 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(30), math.rad(0)), .35) | |
969 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(30), math.rad(0)), .35) | |
970 | end | |
971 | Hitbox.CanCollide = false | |
972 | attack = false | |
973 | end | |
974 | ||
975 | function attackthree() | |
976 | attack = true | |
977 | CreateSound("http://roblox.com/asset/?id=315743298", LeftArm, 1, 1) | |
978 | CreateSound("http://roblox.com/asset/?id=320557563", LeftArm, 1, 1) | |
979 | for i = 0, 1, 0.1 do | |
980 | swait() | |
981 | BlockEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .05, 1) | |
982 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), .33) | |
983 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), .33) | |
984 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33) | |
985 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(85), math.rad(0), math.rad(-60)), .33) | |
986 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33) | |
987 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33) | |
988 | end | |
989 | CreateSound("http://roblox.com/asset/?id=315744661", LeftArm, 1, 1) | |
990 | CreateSound("http://roblox.com/asset/?id=300916014", LeftArm, 1, 1) | |
991 | RootPart.Velocity = RootPart.CFrame.lookVector * -70 | |
992 | SphereEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .05) | |
993 | for i = 1, 10 do | |
994 | BreakEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), 1, 3, 2) | |
995 | end | |
996 | for i = 0, 1, 0.13 do | |
997 | swait() | |
998 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-4), math.rad(0), math.rad(40)), .33) | |
999 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-40)), .33) | |
1000 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(30)), .33) | |
1001 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(120), math.rad(0), math.rad(30)), .33) | |
1002 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-40), math.rad(5)), .33) | |
1003 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-40), math.rad(-5)), .33) | |
1004 | end | |
1005 | attack = false | |
1006 | end | |
1007 | ||
1008 | local Orbs = {} | |
1009 | local OrbNumb = 0 | |
1010 | local Orbhold = false | |
1011 | function MakeOrbs() | |
1012 | attack = true | |
1013 | Humanoid.WalkSpeed = 6 | |
1014 | for i = 0, 1, 0.1 do | |
1015 | swait() | |
1016 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), .33) | |
1017 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), .33) | |
1018 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33) | |
1019 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -.5) * angles(math.rad(0), math.rad(-120), math.rad(-90)), .33) | |
1020 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33) | |
1021 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33) | |
1022 | end | |
1023 | for i = 1, 5 do | |
1024 | if OrbNumb < 5 then | |
1025 | CreateSound("http://www.roblox.com/asset/?id=315746833", Torso, 1, 1.5) | |
1026 | OrbNumb = OrbNumb + 1 | |
1027 | print(OrbNumb) | |
1028 | local Orbl = CreatePart(m, "Neon", 0, 0.3, Torso.BrickColor, "Orb", Vector3.new(1, 1, 1)) | |
1029 | local msh = CreateMesh("SpecialMesh", Orbl, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1030 | Orbl.Anchored = false | |
1031 | Orbl.CFrame = LeftArm.CFrame * CFrame.new(0, -1, 0) | |
1032 | table.insert(Orbs, Orbl) | |
1033 | end | |
1034 | end | |
1035 | for i = 0, 1, 0.1 do | |
1036 | swait() | |
1037 | SphereEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .1, .1, .1, .5, .5, .5, .05) | |
1038 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), .33) | |
1039 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-10), math.rad(-60)), .33) | |
1040 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33) | |
1041 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(0), math.rad(-10), math.rad(-90)), .33) | |
1042 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-40), math.rad(0)), .33) | |
1043 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-40), math.rad(0)), .33) | |
1044 | end | |
1045 | for i = 0, 1, 0.1 do | |
1046 | swait() | |
1047 | BlockEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .09, 1) | |
1048 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .33) | |
1049 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .33) | |
1050 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33) | |
1051 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.8, -.1) * angles(math.rad(180), math.rad(0), math.rad(0)), .33) | |
1052 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
1053 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
1054 | end | |
1055 | for e = 1, #Orbs do | |
1056 | CreateSound("http://www.roblox.com/asset/?id=315744661", Torso, 1, 1) | |
1057 | CreateSound("http://www.roblox.com/asset/?id=315748999", Torso, 1, 1) | |
1058 | OrbNumb = OrbNumb - 1 | |
1059 | Orbs[e].Parent = nil | |
1060 | BlockEffect(Torso.BrickColor, Orbs[e].CFrame, .5, .5, .5, .8, .8, .8, .04, 1) | |
1061 | for i = 1, math.random(4, 10) do | |
1062 | BreakEffect(Orbs[e].BrickColor, Orbs[e].CFrame, 1, 3, 2) | |
1063 | end | |
1064 | end | |
1065 | for i = 1, 10 do | |
1066 | print("nou") | |
1067 | for e = 1, #Orbs do | |
1068 | print(#Orbs) | |
1069 | table.remove(Orbs, e) | |
1070 | end | |
1071 | end | |
1072 | BlockEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .04, 1) | |
1073 | for i = 0, 1, 0.1 do | |
1074 | swait() | |
1075 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .33) | |
1076 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .33) | |
1077 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33) | |
1078 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.8, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), .33) | |
1079 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
1080 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33) | |
1081 | end | |
1082 | OrbNumb = 0 | |
1083 | Humanoid.WalkSpeed = 16 | |
1084 | attack = false | |
1085 | end | |
1086 | ||
1087 | function ShockWave(Part, cframe1, cframe2, Damage, Size) | |
1088 | coroutine.resume(coroutine.create(function() | |
1089 | local wave = CreatePart(workspace, "Neon", 0, 0, Torso.BrickColor, "Effect", Vector3.new(1, 1, 5)) | |
1090 | wave.Anchored = true | |
1091 | wave.CFrame = Part.CFrame * cframe1 | |
1092 | local Msh = Create("SpecialMesh"){ | |
1093 | Parent = wave, | |
1094 | MeshType = "Sphere" | |
1095 | } | |
1096 | BlockEffect(Torso.BrickColor, wave.CFrame * CFrame.new(0, 0, 1), 1, 1, 1, 2, 2, 2, 0.05) | |
1097 | CreateSound("http://roblox.com/asset/?id=300916105", wave, 1, 1.3) | |
1098 | CreateSound("http://roblox.com/asset/?id=301031757", wave, 1, 1.2) | |
1099 | for i = 0, 1, 0.2 do | |
1100 | wait() | |
1101 | local dir = wave.CFrame.lookVector * -1 | |
1102 | local pos = rayCast(wave.Position, dir, 5, Character) | |
1103 | wave.CFrame = wave.CFrame * cframe2 | |
1104 | Effects[#Effects + 1] = { | |
1105 | wave, | |
1106 | "Cylinder", | |
1107 | 0.01, | |
1108 | .03, | |
1109 | .03, | |
1110 | .03 | |
1111 | } | |
1112 | end | |
1113 | end)) | |
1114 | end | |
1115 | ||
1116 | function Wave() | |
1117 | attack = true | |
1118 | Humanoid.WalkSpeed = 0 | |
1119 | for i = 0, 1, 0.1 do | |
1120 | swait() | |
1121 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .33) | |
1122 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .33) | |
1123 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33) | |
1124 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.8, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)), .33) | |
1125 | RH.C0 = clerp(RH.C0, cn(1, .5, -.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .33) | |
1126 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(10)), .33) | |
1127 | end | |
1128 | local inc = -3 | |
1129 | for i = 1, 3 do | |
1130 | ShockWave(RootPart, CFrame.new(0, -4, inc) * CFrame.fromEulerAnglesXYZ(-2, 0, 1.57), CFrame.new(0, 0, 0.8), 10, 5) | |
1131 | inc = inc - 5 | |
1132 | end | |
1133 | for i = 0, 1, 0.1 do | |
1134 | swait() | |
1135 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .5) | |
1136 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .33) | |
1137 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(10)), .33) | |
1138 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .33) | |
1139 | RH.C0 = clerp(RH.C0, cn(1, -1, -.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(10)), .7) | |
1140 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(-10)), .33) | |
1141 | end | |
1142 | Humanoid.WalkSpeed = 16 | |
1143 | attack = false | |
1144 | end | |
1145 | ||
1146 | local Blocking = false | |
1147 | ||
1148 | function Block() | |
1149 | attack = true | |
1150 | Humanoid.WalkSpeed = 10 | |
1151 | Hitbox.CanCollide = true | |
1152 | while wait() do | |
1153 | change = 1 | |
1154 | if Blocking == true then | |
1155 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .33) | |
1156 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33) | |
1157 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33) | |
1158 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33) | |
1159 | if Torsovelocity > 2 then | |
1160 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(20 * math.cos(sine / 4))), .3) | |
1161 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(20 * math.cos(sine / 4))), .3) | |
1162 | elseif Torsovelocity < 1 then | |
1163 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), .3) | |
1164 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), .3) | |
1165 | end | |
1166 | elseif Blocking == false then | |
1167 | break | |
1168 | end | |
1169 | end | |
1170 | Hitbox.CanCollide = false | |
1171 | Humanoid.WalkSpeed = 16 | |
1172 | attack = false | |
1173 | end | |
1174 | ||
1175 | function RushCharge() | |
1176 | attack = true | |
1177 | Humanoid.WalkSpeed = 5 | |
1178 | Hitbox.CanCollide = true | |
1179 | for i = 0, 1, 0.15 do | |
1180 | swait() | |
1181 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .33) | |
1182 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33) | |
1183 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33) | |
1184 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33) | |
1185 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33) | |
1186 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33) | |
1187 | end | |
1188 | CreateSound("http://roblox.com/asset/?id=153092348", Torso, 1, .9) | |
1189 | for i = 0, 1, 0.05 do | |
1190 | swait() | |
1191 | WaveEffect(Torso.BrickColor, RootPart.CFrame * CFrame.Angles(1.4, 0, 0), .2, .2, .2, .3, .3, .3, .08) | |
1192 | RootPart.Velocity = RootPart.CFrame.lookVector * 40 | |
1193 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .33) | |
1194 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-10), math.rad(-70)), .33) | |
1195 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -.2) * angles(math.rad(90), math.rad(0), math.rad(-30)), .33) | |
1196 | LW.C0 = clerp(LW.C0, CFrame.new(-.6, 0.4, -1) * angles(math.rad(95), math.rad(0), math.rad(65)), .33) | |
1197 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(-10)), .33) | |
1198 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(20)), .33) | |
1199 | end | |
1200 | Hitbox.CanCollide = false | |
1201 | Humanoid.WalkSpeed = 16 | |
1202 | attack = false | |
1203 | end | |
1204 | ||
1205 | function Ult() | |
1206 | attack = true | |
1207 | Humanoid.WalkSpeed = 5 | |
1208 | Hitbox.CanCollide = true | |
1209 | Humanoid.JumpPower = 200 | |
1210 | local AntiJump = Humanoid.Changed:connect(function() | |
1211 | Humanoid.Jump = false | |
1212 | end) | |
1213 | for i = 0, 1, 0.15 do | |
1214 | swait() | |
1215 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.3) * angles(math.rad(0), math.rad(0), math.rad(50)), .33) | |
1216 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33) | |
1217 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33) | |
1218 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33) | |
1219 | RH.C0 = clerp(RH.C0, cn(1, -.8, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), .3) | |
1220 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(30)), .3) | |
1221 | end | |
1222 | WaveEffect(Torso.BrickColor, RootPart.CFrame, .2, .2, .2, .5, .5, .5, .04) | |
1223 | AntiJump:disconnect() | |
1224 | Humanoid.Jump = true | |
1225 | Humanoid.WalkSpeed = 16 | |
1226 | CreateSound("http://roblox.com/asset/?id=199145327", Torso, 1, .9) | |
1227 | for i = 0, 1, 0.1 do | |
1228 | swait() | |
1229 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(6 * i, math.rad(0), math.rad(50)), .33) | |
1230 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33) | |
1231 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33) | |
1232 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33) | |
1233 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(-30)), .3) | |
1234 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(30)), .3) | |
1235 | end | |
1236 | for i = 0, 1, 0.1 do | |
1237 | swait() | |
1238 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.5) * angles(math.rad(90), math.rad(0), math.rad(40)), .33) | |
1239 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33) | |
1240 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33) | |
1241 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33) | |
1242 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(-30)), .3) | |
1243 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(30)), .3) | |
1244 | end | |
1245 | local hitfloor = nil | |
1246 | while hitfloor == nil do | |
1247 | swait() | |
1248 | hitfloor, posfloor = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 6, Character) | |
1249 | end | |
1250 | local hit, pos = rayCast(Hitbox.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1251 | if hit ~= nil then | |
1252 | local Color = hit.BrickColor | |
1253 | local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1254 | refpart.Anchored = true | |
1255 | refpart.CFrame = CFrame.new(pos) | |
1256 | game:GetService("Debris"):AddItem(refpart, 1) | |
1257 | CreateSound("http://www.roblox.com/asset/?id=199145477", refpart, .8, 0.75) | |
1258 | CreateSound("http://www.roblox.com/asset/?id=142070127", refpart, .7, .9) | |
1259 | for i = 1, 10 do | |
1260 | local Color = hit.BrickColor | |
1261 | local Materials = hit.Material | |
1262 | local groundpart = CreatePart(workspace, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(50, 100) / 100, math.random(50, 100) / 100, math.random(50, 100) / 100)) | |
1263 | groundpart.Anchored = false | |
1264 | groundpart.Material = Materials | |
1265 | groundpart.CanCollide = true | |
1266 | groundpart.Friction = 0.1 | |
1267 | groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50)) | |
1268 | groundpart.CFrame = CFrame.new(pos) * CFrame.new(math.random(-250, 250) / 100, 0.5, math.random(-250, 250) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1269 | game:GetService("Debris"):AddItem(groundpart, 10) | |
1270 | end | |
1271 | for i = 1, 10 do | |
1272 | local Color = hit.BrickColor | |
1273 | local Materials = hit.Material | |
1274 | local actualgroundpart = CreatePart(workspace, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100)) | |
1275 | actualgroundpart.Anchored = true | |
1276 | actualgroundpart.Material = Materials | |
1277 | actualgroundpart.CanCollide = true | |
1278 | actualgroundpart.Friction = 1 | |
1279 | actualgroundpart.CFrame = CFrame.new(pos) * CFrame.new(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1280 | game:GetService("Debris"):AddItem(actualgroundpart, 10) | |
1281 | end | |
1282 | WaveEffect(hit.BrickColor, refpart.CFrame, .2, .2, .2, .5, .5, .5, .04) | |
1283 | SphereEffect(hit.BrickColor, refpart.CFrame, .2, .2, .2, 3, 3, 3, .04) | |
1284 | RingEffect(hit.BrickColor, refpart.CFrame * CFrame.Angles(math.random(5, 6), math.random(2, 7), math.random(3, 6)), .2, .2, .2, 1, 1, 1, .05) | |
1285 | end | |
1286 | Humanoid.JumpPower = 50 | |
1287 | Hitbox.CanCollide = false | |
1288 | Humanoid.WalkSpeed = 16 | |
1289 | attack = false | |
1290 | end | |
1291 | ||
1292 | function subtractMana(k) | |
1293 | if Mana >= k then | |
1294 | Mana = Mana - k | |
1295 | end | |
1296 | end | |
1297 | ||
1298 | mouse.Button1Down:connect(function() | |
1299 | if attack == false and attacktype == 1 then | |
1300 | attacktype = 2 | |
1301 | attackone() | |
1302 | elseif attack == false and attacktype == 2 then | |
1303 | attacktype = 3 | |
1304 | attacktwo() | |
1305 | elseif attack == false and attacktype == 3 then | |
1306 | attacktype = 1 | |
1307 | attackthree() | |
1308 | end | |
1309 | end) | |
1310 | ||
1311 | mouse.KeyDown:connect(function(k) | |
1312 | k = k:lower() | |
1313 | if attack == false and k == 'z' and cooldown1 >= co1 and Mana >= skill1stam then | |
1314 | cooldown1 = 0 | |
1315 | subtractMana(skill1stam) | |
1316 | MakeOrbs() | |
1317 | elseif attack == false and k == 'x' and cooldown2 >= co2 and Mana >= skill2stam then | |
1318 | cooldown2 = 0 | |
1319 | subtractMana(skill2stam) | |
1320 | Wave() | |
1321 | elseif attack == false and k == 'e' then | |
1322 | Blocking = true | |
1323 | Block() | |
1324 | elseif attack == false and k == 'c' and cooldown3 >= co3 and Mana >= skill3stam then | |
1325 | cooldown3 = 0 | |
1326 | subtractMana(skill3stam) | |
1327 | RushCharge() | |
1328 | elseif attack == false and k == 'v' and cooldown4 >= co4 and Mana >= skill4stam then | |
1329 | cooldown4 = 0 | |
1330 | subtractMana(skill4stam) | |
1331 | Ult() | |
1332 | end | |
1333 | end) | |
1334 | ||
1335 | mouse.KeyUp:connect(function(k) | |
1336 | if attack == true and k == 'e' and Blocking == true then | |
1337 | Blocking = false | |
1338 | end | |
1339 | end) | |
1340 | ||
1341 | numbb = 0 | |
1342 | datnumb = 0 | |
1343 | ||
1344 | local Blink = 0 | |
1345 | ||
1346 | local BlinkEff = false | |
1347 | ||
1348 | function updateskills() | |
1349 | if cooldown1 <= co1 then | |
1350 | cooldown1 = cooldown1 + 1 / 30 | |
1351 | end | |
1352 | if cooldown2 <= co2 then | |
1353 | cooldown2 = cooldown2 + 1 / 30 | |
1354 | end | |
1355 | if cooldown3 <= co3 then | |
1356 | cooldown3 = cooldown3 + 1 / 30 | |
1357 | end | |
1358 | if cooldown4 <= co4 then | |
1359 | cooldown4 = cooldown4 + 1 / 30 | |
1360 | end | |
1361 | if Mana <= skill1stam then | |
1362 | bar4.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255) | |
1363 | else | |
1364 | bar4.BackgroundColor3 = skillcolorscheme | |
1365 | end | |
1366 | if Mana <= skill2stam then | |
1367 | bar3.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255) | |
1368 | else | |
1369 | bar3.BackgroundColor3 = skillcolorscheme | |
1370 | end | |
1371 | if Mana <= skill3stam then | |
1372 | bar1.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255) | |
1373 | else | |
1374 | bar1.BackgroundColor3 = skillcolorscheme | |
1375 | end | |
1376 | if Mana <= skill4stam then | |
1377 | bar2.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255) | |
1378 | else | |
1379 | bar2.BackgroundColor3 = skillcolorscheme | |
1380 | end | |
1381 | if Mana <= maxMana then | |
1382 | Mana = Mana + recovermana / 30 | |
1383 | end | |
1384 | end | |
1385 | ||
1386 | while true do | |
1387 | swait() | |
1388 | for i, v in pairs(Character:GetChildren()) do | |
1389 | if v:IsA("Part") then | |
1390 | v.Material = "SmoothPlastic" | |
1391 | elseif v:IsA("Hat") then | |
1392 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1393 | end | |
1394 | end | |
1395 | updateskills() | |
1396 | healthcover:TweenSize(UDim2.new(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5) | |
1397 | Manacover:TweenSize(UDim2.new(1 * (Mana / maxMana), 0, 1, 0), 'Out', 'Quad', .5) | |
1398 | bar4:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5) | |
1399 | bar3:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5) | |
1400 | bar1:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5) | |
1401 | bar2:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5) | |
1402 | Blink = Blink + .55 | |
1403 | if Blink >= 15 - (5 * (Humanoid.WalkSpeed / 16)) then | |
1404 | Blink = 0 | |
1405 | if BlinkEff == true then | |
1406 | BlinkEff = false | |
1407 | elseif BlinkEff == false then | |
1408 | BlinkEff = true | |
1409 | end | |
1410 | end | |
1411 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1412 | velocity = RootPart.Velocity.y | |
1413 | sine = sine + change | |
1414 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1415 | if equipped == true or equipped == false then | |
1416 | if RootPart.Velocity.y > 1 and hit == nil then | |
1417 | Anim = "Jump" | |
1418 | if attack == false then | |
1419 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1420 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3) | |
1421 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), .3) | |
1422 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), .3) | |
1423 | RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.3) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(-20)), .3) | |
1424 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
1425 | end | |
1426 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1427 | Anim = "Fall" | |
1428 | if attack == false then | |
1429 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1430 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
1431 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(20)), .3) | |
1432 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-30)), .3) | |
1433 | RH.C0 = clerp(RH.C0, CFrame.new(1, -.8, 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3) | |
1434 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3) | |
1435 | end | |
1436 | elseif Torsovelocity < 1 and hit ~= nil then | |
1437 | Anim = "Idle" | |
1438 | if attack == false then | |
1439 | change = 1 | |
1440 | Jumping = false | |
1441 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.15 + 0.1 * math.cos(sine / 15)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
1442 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10 - 2 * math.cos(sine / 15)), math.rad(0), math.rad(30)), .3) | |
1443 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(65), math.rad(30), math.rad(-30 + 5 * math.cos(sine / 15))), .3) | |
1444 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 - 3 * math.cos(sine / 15)), math.rad(0), math.rad(-10 - 3 * math.cos(sine / 15))), .3) | |
1445 | RH.C0 = clerp(RH.C0, cn(1.05, -.8 - 0.1 * math.cos(sine / 15), 0) * RHCF * angles(math.rad(-3 - 1 * math.cos(sine / 35)), math.rad(30), math.rad(0)), .3) | |
1446 | LH.C0 = clerp(LH.C0, cn(-1.05, -.8 - 0.1 * math.cos(sine / 15), 0) * LHCF * angles(math.rad(-3 - 1 * math.cos(sine / 35)), math.rad(30), math.rad(0)), .3) | |
1447 | end | |
1448 | elseif Torsovelocity > 2 and hit ~= nil then | |
1449 | Anim = "Walk" | |
1450 | if attack == false then | |
1451 | change = 3 | |
1452 | Jumping = false | |
1453 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10 + 1 * math.cos(sine / 15)), math.rad(0), math.rad(0 + 3 * math.cos(sine / 15))), .3) | |
1454 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-5 - 1 * math.cos(sine / 15)), math.rad(0), math.rad(0 - 1 * math.cos(sine / 15))), .3) | |
1455 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(50 + 1 * math.cos(sine / 14)), math.rad(0), math.rad(20 + 3 * math.cos(sine / 14))), .3) | |
1456 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45 + .1 * math.cos(sine / 13), 0.5, 0 - .1 * math.cos(sine / 13)) * angles(math.sin(40) * math.cos(sine / 13), math.rad(0), math.rad(-10 + 1 * math.cos(sine / 13))), .3) | |
1457 | RH.C0 = clerp(RH.C0, cn(1, -1, 0 - 0.5 * math.cos(sine / 15) / 2) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(40 * math.cos(sine / 15))), .3) | |
1458 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0 + 0.5 * math.cos(sine / 15) / 2) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(40 * math.cos(sine / 15))), .3) | |
1459 | end | |
1460 | end | |
1461 | end | |
1462 | if #Effects > 0 then | |
1463 | for e = 1, #Effects do | |
1464 | if Effects[e] ~= nil then | |
1465 | local Thing = Effects[e] | |
1466 | if Thing ~= nil then | |
1467 | local Part = Thing[1] | |
1468 | local Mode = Thing[2] | |
1469 | local Delay = Thing[3] | |
1470 | local IncX = Thing[4] | |
1471 | local IncY = Thing[5] | |
1472 | local IncZ = Thing[6] | |
1473 | if Thing[1].Transparency <= 1 then | |
1474 | if Thing[2] == "Block1" then | |
1475 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1476 | Mesh = Thing[1].Mesh | |
1477 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1478 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1479 | elseif Thing[2] == "Block2" then | |
1480 | Thing[1].CFrame = Thing[1].CFrame | |
1481 | Mesh = Thing[7] | |
1482 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1483 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1484 | elseif Thing[2] == "Cylinder" then | |
1485 | Mesh = Thing[1].Mesh | |
1486 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1487 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1488 | elseif Thing[2] == "Blood" then | |
1489 | Mesh = Thing[7] | |
1490 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0) | |
1491 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1492 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1493 | elseif Thing[2] == "Elec" then | |
1494 | Mesh = Thing[1].Mesh | |
1495 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1496 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1497 | elseif Thing[2] == "Disappear" then | |
1498 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1499 | elseif Thing[2] == "Shatter" then | |
1500 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1501 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1502 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1503 | Thing[6] = Thing[6] + Thing[5] | |
1504 | end | |
1505 | else | |
1506 | Part.Parent = nil | |
1507 | table.remove(Effects, e) | |
1508 | end | |
1509 | end | |
1510 | end | |
1511 | end | |
1512 | end | |
1513 | datnumb = 0 | |
1514 | BaseNumb = 6.28 | |
1515 | BaseNumb = BaseNumb / OrbNumb | |
1516 | for d, Orb in pairs (Orbs) do | |
1517 | datnumb = datnumb + BaseNumb | |
1518 | Orb.Anchored = true | |
1519 | if Orb.ClassName == "Part" then | |
1520 | if #Orbs ~= 0 then | |
1521 | Orb.CFrame = Orb.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(0, math.rad(360) / #Orbs * d, 0) * CFrame.new(0, 0, 5 + #Orbs / 3), .1) | |
1522 | numbb = numbb + 0.05 | |
1523 | end | |
1524 | end | |
1525 | end | |
1526 | end |