SHOW:
|
|
- or go back to the newest paste.
1 | - | } |
1 | + | -- This script has been converted to FE by iPxter |
2 | ||
3 | - | local Player = game.Players.localPlayer |
3 | + | |
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | - | local mouse = Player:GetMouse() |
6 | + | do |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | - | local co1 = 10--how long it will take for skill to cooldown |
42 | + | if io.isMouse then |
43 | - | local co2 = 15 |
43 | + | m.Target = io.Target |
44 | - | local co3 = 15 |
44 | + | m.Hit = io.Hit |
45 | - | local co4 = 35 |
45 | + | else |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | ||
88 | wait() | |
89 | local Player = owner | |
90 | local Character = Player.Character | |
91 | local Humanoid = Character.Humanoid | |
92 | local m = Instance.new('Model', Character) | |
93 | m.Name = "WeaponModel" | |
94 | local Effects = {} | |
95 | local LeftArm = Character["Left Arm"] | |
96 | local RightArm = Character["Right Arm"] | |
97 | local LeftLeg = Character["Left Leg"] | |
98 | local RightLeg = Character["Right Leg"] | |
99 | local Head = Character.Head | |
100 | local Torso = Character.Torso | |
101 | local cam = game.Workspace.CurrentCamera | |
102 | local RootPart = Character.HumanoidRootPart | |
103 | local RootJoint = RootPart.RootJoint | |
104 | --cam.CameraSubject = Head | |
105 | local equipped = false | |
106 | local attack = false | |
107 | local Anim = 'Idle' | |
108 | local idle = 0 | |
109 | local sprint = false | |
110 | local battlestance = false | |
111 | local attacktype = 1 | |
112 | local state = 'none' | |
113 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
114 | local velocity = RootPart.Velocity.y | |
115 | local sine = 0 | |
116 | local change = 1 | |
117 | local on = false | |
118 | local grabbed = false | |
119 | local skill1 = false | |
120 | local skill2 = false | |
121 | local skill3 = false | |
122 | local skill4 = false | |
123 | local cooldown1 = 0 | |
124 | local cooldown2 = 0 | |
125 | local cooldown3 = 0 | |
126 | local cooldown4 = 0 | |
127 | local co1 = 0--how long it will take for skill to cooldown | |
128 | local co2 = 0 | |
129 | local co3 = 0 | |
130 | local co4 = 0 | |
131 | local inputserv = game:GetService('UserInputService') | |
132 | local typing = false | |
133 | local crit = false | |
134 | local critchance = 9999999--critical chance percentage | |
135 | local critdamageaddmin = 9999999--minimum amount of critical damage being added to regular damage | |
136 | local critdamageaddmax = 9999999--maximum amount | |
137 | local maxstamina = 100--max amount of stamina | |
138 | local stamina = 0--stamina you start out with | |
139 | local skill1stam = 0--how much stamina is needed for a skill | |
140 | local skill2stam = 0 | |
141 | local skill3stam = 0 | |
142 | local skill4stam = 0 | |
143 | local recoverEnergy = 9999999--how much Energy per second | |
144 | local defensevalue = 9999999--how much defense this character has | |
145 | local speedvalue = 1--how much speed this character has | |
146 | --speed is 16*speedvalue | |
147 | local mindamage = 9999999--self explanatory | |
148 | local maxdamage = 9999999--self explanatory | |
149 | local damagevalue = 999999--how much damage this character has | |
150 | --damage is math.random(mindamage,maxdamage)*damagevalue | |
151 | --damage(hit, mindamage, maxdamage, 1, 1, RootPart) | |
152 | --asd | |
153 | local cn = CFrame.new-- make things easier :) | |
154 | local mr = math.rad | |
155 | local angles = CFrame.Angles | |
156 | local ud = UDim2.new | |
157 | local c3 = Color3.new | |
158 | local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol | |
159 | --asd | |
160 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
161 | Humanoid.Animator:Destroy() | |
162 | Character.Animate:Destroy() | |
163 | ||
164 | --Angles For RootJoint `~` | |
165 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
166 | --Save Shoulders/Hips | |
167 | RSH, LSH = nil, nil | |
168 | RHS, LHS = nil, nil | |
169 | --Shoulders | |
170 | RW = Instance.new("Weld") | |
171 | LW = Instance.new("Weld") | |
172 | --Hips | |
173 | RH = Instance.new("Weld") | |
174 | LH = Instance.new("Weld") | |
175 | -- | |
176 | Player = Player | |
177 | ch = Character | |
178 | LHS = Torso["Left Hip"] | |
179 | RHS = Torso["Right Hip"] | |
180 | RSH = ch.Torso["Right Shoulder"] | |
181 | LSH = ch.Torso["Left Shoulder"] | |
182 | -- | |
183 | RSH.Parent = nil | |
184 | LSH.Parent = nil | |
185 | -- | |
186 | LHS.Parent = nil | |
187 | RHS.Parent = nil | |
188 | -- | |
189 | RW.Name = "RW" | |
190 | RW.Part0 = ch.Torso | |
191 | RW.C0 = cn(1.5, 0.5, 0) | |
192 | RW.C1 = cn(0, 0.5, 0) | |
193 | RW.Part1 = ch["Right Arm"] | |
194 | RW.Parent = ch.Torso | |
195 | -- | |
196 | LW.Name = "LW" | |
197 | LW.Part0 = ch.Torso | |
198 | LW.C0 = cn(-1.5, 0.5, 0) | |
199 | LW.C1 = cn(0, 0.5, 0) | |
200 | LW.Part1 = ch["Left Arm"] | |
201 | LW.Parent = ch.Torso | |
202 | -- | |
203 | LH.Name = "LH" | |
204 | LH.Part0 = ch.Torso | |
205 | LH.C0 = cn(-0.5, -2, 0) | |
206 | LH.Part1 = ch["Left Leg"] | |
207 | LH.Parent = ch.Torso | |
208 | -- | |
209 | RH.Name = "RH" | |
210 | RH.Part0 = ch.Torso | |
211 | RH.C0 = cn(0.5, -2, 0) | |
212 | RH.Part1 = ch["Right Leg"] | |
213 | RH.Parent = ch.Torso | |
214 | ||
215 | local scrn = Instance.new('ScreenGui', Player.PlayerGui) | |
216 | function makeframe(par, trans, pos, size, color) | |
217 | local frame = Instance.new('Frame', par) | |
218 | frame.BackgroundTransparency = trans | |
219 | frame.BorderSizePixel = 0 | |
220 | frame.Position = pos | |
221 | frame.Size = size | |
222 | frame.BackgroundColor3 = color | |
223 | return frame | |
224 | end | |
225 | function makelabel(par, text) | |
226 | local label = Instance.new('TextLabel', par) | |
227 | label.BackgroundTransparency = 1 | |
228 | label.Size = ud(1, 0, 1, 0) | |
229 | label.Position = ud(0, 0, 0, 0) | |
230 | label.TextColor3 = c3(255, 255, 255) | |
231 | label.TextStrokeTransparency = 0 | |
232 | label.FontSize = Enum.FontSize.Size32 | |
233 | label.Font = Enum.Font.SourceSansBold | |
234 | label.BorderSizePixel = 0 | |
235 | label.TextScaled = true | |
236 | label.Text = text | |
237 | end | |
238 | framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
239 | framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
240 | framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
241 | framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
242 | bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
243 | bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
244 | bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
245 | bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
246 | text1 = makelabel(framesk1, '[t] Reflex') | |
247 | text2 = makelabel(framesk2, '[f] Luxuriance') | |
248 | text3 = makelabel(framesk3, "[r] Lucent Scatter") | |
249 | text4 = makelabel(framesk4, '[q] Echo Barrage') | |
250 | staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), BrickColor.new("Really black").Color) | |
251 | staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Hot pink").Color) | |
252 | staminatext = makelabel(staminabar, 'Photon Energy') | |
253 | healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0)) | |
254 | healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Lime green").Color) | |
255 | healthtext = makelabel(healthbar, 'Health') | |
256 | ||
257 | local stats = Instance.new('Folder', Character) | |
258 | stats.Name = 'Stats' | |
259 | local block = Instance.new('BoolValue', stats) | |
260 | block.Name = 'Block' | |
261 | block.Value = false | |
262 | local stun = Instance.new('BoolValue', stats) | |
263 | stun.Name = 'Stun' | |
264 | stun.Value = false | |
265 | local defense = Instance.new('NumberValue', stats) | |
266 | defense.Name = 'Defence' | |
267 | defense.Value = defensevalue | |
268 | local speed = Instance.new('NumberValue', stats) | |
269 | speed.Name = 'Speed' | |
270 | speed.Value = speedvalue | |
271 | local damagea = Instance.new('NumberValue', stats) | |
272 | damagea.Name = 'Damage' | |
273 | damagea.Value = damagevalue | |
274 | gyro = Instance.new("BodyGyro") | |
275 | gyro.Parent = nil | |
276 | gyro.P = 1e7 | |
277 | gyro.D = 1e3 | |
278 | gyro.MaxTorque = Vector3.new(0,1e7,0) | |
279 | ||
280 | function atktype(s, e) | |
281 | coroutine.resume(coroutine.create(function() | |
282 | attacktype = e | |
283 | wait() | |
284 | attacktype = s | |
285 | end)) | |
286 | end | |
287 | ||
288 | function turncrit() | |
289 | coroutine.resume(coroutine.create(function() | |
290 | print'CRITICAL!' | |
291 | crit = true | |
292 | wait() | |
293 | crit = false | |
294 | end)) | |
295 | end | |
296 | ||
297 | function subtractstamina(k) | |
298 | if stamina >= k then | |
299 | stamina = stamina - k | |
300 | end | |
301 | end | |
302 | ||
303 | function clerp(a, b, t) | |
304 | return a:lerp(b, t) | |
305 | end | |
306 | ||
307 | function randomizer(percent) | |
308 | local randomized = math.random(0, 100) | |
309 | if randomized <= percent then | |
310 | return true | |
311 | elseif randomized >= percent then | |
312 | return false | |
313 | end | |
314 | end | |
315 | ||
316 | local RbxUtility = LoadLibrary("RbxUtility") | |
317 | local Create = RbxUtility.Create | |
318 | ||
319 | function RemoveOutlines(part) | |
320 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
321 | end | |
322 | ||
323 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
324 | local Part = Create("Part"){ | |
325 | formFactor = FormFactor, | |
326 | Parent = Parent, | |
327 | Reflectance = Reflectance, | |
328 | Transparency = Transparency, | |
329 | CanCollide = false, | |
330 | Locked = true, | |
331 | BrickColor = BrickColor.new(tostring(BColor)), | |
332 | Name = Name, | |
333 | Size = Size, | |
334 | Material = Material, | |
335 | } | |
336 | RemoveOutlines(Part) | |
337 | return Part | |
338 | end | |
339 | ||
340 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
341 | local Msh = Create(Mesh){ | |
342 | Parent = Part, | |
343 | Offset = OffSet, | |
344 | Scale = Scale, | |
345 | } | |
346 | if Mesh == "SpecialMesh" then | |
347 | Msh.MeshType = MeshType | |
348 | Msh.MeshId = MeshId | |
349 | end | |
350 | return Msh | |
351 | end | |
352 | ||
353 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
354 | local Weld = Create("Weld"){ | |
355 | Parent = Parent, | |
356 | Part0 = Part0, | |
357 | Part1 = Part1, | |
358 | C0 = C0, | |
359 | C1 = C1, | |
360 | } | |
361 | return Weld | |
362 | end | |
363 | ||
364 | function rayCast(pos, dir, maxl, ignore) | |
365 | return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore) | |
366 | end | |
367 | --Effects | |
368 | function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type) | |
369 | local p = Instance.new('Part', par or workspace) | |
370 | p.CFrame = pos1 | |
371 | p.Anchored = true | |
372 | p.Material = 'SmoothPlastic' | |
373 | p.CanCollide = false | |
374 | p.TopSurface = 0 | |
375 | p.Size = Vector3.new(1, 1, 1) | |
376 | p.BottomSurface = 0 | |
377 | p.Transparency = trans | |
378 | p.FormFactor = 'Custom' | |
379 | RemoveOutlines(p) | |
380 | local mesh = Instance.new('SpecialMesh', p) | |
381 | mesh.Scale = size | |
382 | if id ~= nil and type == nil then | |
383 | mesh.MeshId = 'rbxassetid://'..id | |
384 | elseif id == nil and type ~= nil then | |
385 | mesh.MeshType = type | |
386 | elseif id == nil and type == nil then | |
387 | mesh.MeshType = 'Brick' | |
388 | end | |
389 | coroutine.wrap(function() | |
390 | for i = 0, delay1, .1 do | |
391 | wait() | |
392 | p.CFrame = p.CFrame | |
393 | mesh.Scale = mesh.Scale + howmuch | |
394 | p.Transparency = p.Transparency + trans1 | |
395 | end | |
396 | p:Destroy() | |
397 | end)() | |
398 | return p | |
399 | end | |
400 | function clangy(cframe) | |
401 | wait() | |
402 | local clang = {} | |
403 | local dis = 0 | |
404 | local part = Instance.new('Part', nil) | |
405 | part.CFrame = cframe | |
406 | part.Anchored = true | |
407 | part.CanCollide = false | |
408 | part.BrickColor = BrickColor.new('New Yeller') | |
409 | part.FormFactor = 'Custom' | |
410 | part.Name = 'clanger' | |
411 | part.Size = Vector3.new(.2, .2, .2) | |
412 | part.TopSurface = 10 | |
413 | part.BottomSurface = 10 | |
414 | part.RightSurface = 10 | |
415 | part.LeftSurface = 10 | |
416 | part.BackSurface = 10 | |
417 | part.FrontSurface = 10 | |
418 | --part.Material='Neon' | |
419 | part:BreakJoints() | |
420 | local mesh = Instance.new('BlockMesh', part) | |
421 | coroutine.wrap(function() | |
422 | for i = 1, 7 do | |
423 | wait() | |
424 | dis = dis + .2 | |
425 | local partc = part:clone() | |
426 | partc.Parent = workspace | |
427 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
428 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
429 | table.insert(clang, partc) | |
430 | end | |
431 | for i, v in pairs(clang) do | |
432 | coroutine.wrap(function() | |
433 | for i = 1, 10 do | |
434 | wait() | |
435 | v.Transparency = v.Transparency + .1 | |
436 | end | |
437 | v:destroy() | |
438 | end)() | |
439 | end | |
440 | end)() | |
441 | end | |
442 | --damage effects | |
443 | function circle(color, pos1) | |
444 | local p = Instance.new('Part', m) | |
445 | p.BrickColor = BrickColor.new(color) | |
446 | p.CFrame = pos1 | |
447 | p.Anchored = true | |
448 | p.Material = 'Plastic' | |
449 | p.CanCollide = false | |
450 | p.TopSurface = 0 | |
451 | p.Size = Vector3.new(1, 1, 1) | |
452 | p.BottomSurface = 0 | |
453 | p.Transparency = 0.35 | |
454 | p.FormFactor = 'Custom' | |
455 | local mesh = Instance.new('CylinderMesh', p) | |
456 | mesh.Scale = Vector3.new(0, 0, 0) | |
457 | coroutine.wrap(function() | |
458 | for i = 0, 5, .1 do | |
459 | wait() | |
460 | p.CFrame = p.CFrame | |
461 | mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5) | |
462 | p.Transparency = p.Transparency + .025 | |
463 | end | |
464 | p:Destroy() | |
465 | end)() | |
466 | end | |
467 | function firespaz1(color, pos1) | |
468 | local p = Instance.new('Part', m) | |
469 | p.BrickColor = BrickColor.new(color) | |
470 | p.CFrame = pos1 | |
471 | p.Anchored = true | |
472 | p.Material = 'Plastic' | |
473 | p.CanCollide = false | |
474 | p.TopSurface = 0 | |
475 | p.Size = Vector3.new(1, 1, 1) | |
476 | p.BottomSurface = 0 | |
477 | p.Transparency = 0.5 | |
478 | p.FormFactor = 'Custom' | |
479 | local mesh = Instance.new('BlockMesh', p) | |
480 | mesh.Scale = Vector3.new(1, 1, 1) | |
481 | coroutine.wrap(function() | |
482 | for i = 0, 15, .1 do | |
483 | wait() | |
484 | p.CFrame = p.CFrame * CFrame.new(0, .1, 0) | |
485 | mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1) | |
486 | p.Transparency = p.Transparency + .025 | |
487 | end | |
488 | p:Destroy() | |
489 | end)() | |
490 | end | |
491 | ||
492 | function pickrandom(tablesa) | |
493 | local randomized = tablesa[math.random(1, #tablesa)] | |
494 | return randomized | |
495 | end | |
496 | function sound(id, pitch, volume, par, last) | |
497 | local s = Instance.new('Sound', par or Torso) | |
498 | s.SoundId = 'rbxassetid://'..id | |
499 | s.Pitch = pitch or 1 | |
500 | s.Volume = volume or 1 | |
501 | wait() | |
502 | s:play() | |
503 | game.Debris:AddItem(s, last or 120) | |
504 | end | |
505 | function clangy(cframe) | |
506 | wait() | |
507 | local clang = {} | |
508 | local dis = 0 | |
509 | local part = Instance.new('Part', nil) | |
510 | part.CFrame = cframe | |
511 | part.Anchored = true | |
512 | part.CanCollide = false | |
513 | part.BrickColor = BrickColor.new('New Yeller') | |
514 | part.FormFactor = 'Custom' | |
515 | part.Name = 'clanger' | |
516 | part.Size = Vector3.new(.2, .2, .2) | |
517 | part.TopSurface = 10 | |
518 | part.BottomSurface = 10 | |
519 | part.RightSurface = 10 | |
520 | part.LeftSurface = 10 | |
521 | part.BackSurface = 10 | |
522 | part.FrontSurface = 10 | |
523 | --part.Material='Neon' | |
524 | part:BreakJoints() | |
525 | local mesh = Instance.new('BlockMesh', part) | |
526 | coroutine.wrap(function() | |
527 | for i = 1, 7 do | |
528 | wait() | |
529 | dis = dis + .2 | |
530 | local partc = part:clone() | |
531 | partc.Parent = workspace | |
532 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
533 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
534 | table.insert(clang, partc) | |
535 | end | |
536 | for i, v in pairs(clang) do | |
537 | coroutine.wrap(function() | |
538 | for i = 1, 10 do | |
539 | wait() | |
540 | v.Transparency = v.Transparency + .1 | |
541 | end | |
542 | v:destroy() | |
543 | end)() | |
544 | end | |
545 | end)() | |
546 | end | |
547 | --damage effects | |
548 | --Effects | |
549 | so = function(id, par, vol, pit) | |
550 | coroutine.resume(coroutine.create(function() | |
551 | local sou = Instance.new("Sound", par or workspace) | |
552 | sou.Volume = vol | |
553 | sou.Pitch = pit or 1 | |
554 | sou.SoundId = id | |
555 | wait() | |
556 | sou:play() | |
557 | game:GetService("Debris"):AddItem(sou, 6) | |
558 | end)) | |
559 | end | |
560 | ||
561 | local function getclosest(obj, distance) | |
562 | local last, lastx = distance + 1 | |
563 | for i, v in pairs(workspace:GetChildren()) do | |
564 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then | |
565 | local t = v.Torso | |
566 | local dist = (t.Position - obj.Position).magnitude | |
567 | if dist <= distance then | |
568 | if dist < last then | |
569 | last = dist | |
570 | lastx = v | |
571 | end | |
572 | end | |
573 | end | |
574 | end | |
575 | return lastx | |
576 | end | |
577 | ||
578 | function makegui(cframe, text) | |
579 | local a = math.random(-10, 10) / 100 | |
580 | local c = Instance.new("Part") | |
581 | c.Transparency = 1 | |
582 | Instance.new("BodyGyro").Parent = c | |
583 | c.Parent = m | |
584 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
585 | local f = Instance.new("BodyPosition") | |
586 | f.P = 2000 | |
587 | f.D = 100 | |
588 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
589 | f.position = c.Position + Vector3.new(0, 3, 0) | |
590 | f.Parent = c | |
591 | game:GetService("Debris"):AddItem(c, .5 + 6) | |
592 | c.CanCollide = false | |
593 | c.CanCollide = false | |
594 | local bg = Instance.new('BillboardGui', m) | |
595 | bg.Adornee = c | |
596 | bg.Size = UDim2.new(1, 0, 1, 0) | |
597 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
598 | bg.AlwaysOnTop = false | |
599 | local tl = Instance.new('TextLabel', bg) | |
600 | tl.BackgroundTransparency = 1 | |
601 | tl.Size = UDim2.new(1, 0, 1, 0) | |
602 | tl.Text = text | |
603 | tl.Font = 'SourceSansBold' | |
604 | tl.FontSize = 'Size42' | |
605 | if crit == true then | |
606 | tl.TextColor3 = Color3.new(180 / 255, 0, 0) | |
607 | else | |
608 | tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255) | |
609 | end | |
610 | tl.TextStrokeTransparency = 0 | |
611 | tl.TextScaled = true | |
612 | tl.TextWrapped = true | |
613 | coroutine.wrap(function() | |
614 | wait() | |
615 | for i = 1, 10 do | |
616 | wait() | |
617 | tl.TextTransparency = tl.TextTransparency + .1 | |
618 | end | |
619 | end)() | |
620 | end | |
621 | ||
622 | function tag(hum, Player) | |
623 | local creator = Instance.new('ObjectValue', hum) | |
624 | creator.Value = Player | |
625 | creator.Name = 'creator' | |
626 | end | |
627 | function untag(hum) | |
628 | if hum ~= nil then | |
629 | local tag = hum:findFirstChild("creator") | |
630 | if tag ~= nil then | |
631 | tag.Parent = nil | |
632 | end | |
633 | end | |
634 | end | |
635 | ||
636 | function tagPlayer(h) | |
637 | coroutine.wrap(function() | |
638 | tag(h, Player) | |
639 | wait() | |
640 | untag(h) | |
641 | end)() | |
642 | end | |
643 | ||
644 | function CheckClose(Obj,Dist) | |
645 | for _,v in pairs(workspace:GetChildren()) do | |
646 | if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Character then | |
647 | local DistFromTorso = (v.Torso.Position - Obj.Position).magnitude | |
648 | if DistFromTorso < Dist then | |
649 | return v | |
650 | end | |
651 | end | |
652 | end | |
653 | end | |
654 | ||
655 | function damage(hit, mind, maxd, knock, type, prop) | |
656 | --[[ | |
657 | to apply it to a Player directly, make the first arg go to the Players Torso | |
658 | 1 - normal type(damage and knockback) | |
659 | 2 - drain type(damage no knockback) | |
660 | 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed | |
661 | 4 - heal(heals target) | |
662 | 5 - subtracts enemies defense | |
663 | 6 - subtracts enemies speed | |
664 | 7 - | |
665 | ]] | |
666 | if hit.Name:lower() == 'Hitbox' then | |
667 | local pos = CFrame.new(0, 1, -1) | |
668 | sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6) | |
669 | coroutine.wrap(function() | |
670 | for i = 1, 4 do | |
671 | clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)) | |
672 | end | |
673 | end)() | |
674 | end | |
675 | if hit.Parent == nil then | |
676 | return | |
677 | end | |
678 | local h = hit.Parent:FindFirstChild("Humanoid") | |
679 | for i, v in pairs(hit.Parent:children()) do | |
680 | if v:IsA("Humanoid") then | |
681 | h = v | |
682 | end | |
683 | end | |
684 | if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then | |
685 | h = hit.Parent.Parent:FindFirstChild('Humanoid') | |
686 | end | |
687 | if hit.Parent:IsA('Hat') then | |
688 | hit = hit.Parent.Parent:findFirstChild('Head') | |
689 | end | |
690 | local D = math.random(mind, maxd) * damagea.Value | |
691 | if h then | |
692 | if h.Parent:FindFirstChild('Stats') then | |
693 | D=D/h.Parent:FindFirstChild('Stats').Defence.Value | |
694 | elseif not h.Parent:FindFirstChild('Stats') then | |
695 | D=D | |
696 | end | |
697 | end | |
698 | if h then | |
699 | makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5))) | |
700 | end | |
701 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
702 | if type == 1 then | |
703 | tagPlayer(h) | |
704 | local asd = randomizer(critchance) | |
705 | if asd == true then | |
706 | turncrit() | |
707 | end | |
708 | if crit == false then | |
709 | h.Health = h.Health - D | |
710 | else | |
711 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
712 | end | |
713 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100) | |
714 | local vp = Instance.new('BodyVelocity') | |
715 | vp.P = 500 | |
716 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
717 | vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05 | |
718 | if knock > 0 then | |
719 | vp.Parent = hit.Parent.Torso | |
720 | end | |
721 | game:GetService("Debris"):AddItem(vp, .5) | |
722 | elseif type == 2 then | |
723 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100) | |
724 | local asd = randomizer(critchance) | |
725 | if asd == true then | |
726 | turncrit() | |
727 | end | |
728 | if crit == false then | |
729 | h.Health = h.Health - D | |
730 | else | |
731 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
732 | end | |
733 | tagPlayer(h) | |
734 | elseif type == 3 then | |
735 | tagPlayer(h) | |
736 | local asd = randomizer(critchance) | |
737 | if asd == true then | |
738 | turncrit() | |
739 | end | |
740 | if crit == false then | |
741 | h.Health = h.Health - D | |
742 | else | |
743 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
744 | end | |
745 | Character.Humanoid.Health = Character.Humanoid.Health + D / 2 | |
746 | so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5) | |
747 | for i = 1, 10 do | |
748 | firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))) | |
749 | end | |
750 | elseif type == 4 then | |
751 | h.Health = h.Health + D | |
752 | so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1) | |
753 | circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0)) | |
754 | end | |
755 | end | |
756 | end | |
757 | ||
758 | function subtrackstamina(k) | |
759 | if stamina >= k then | |
760 | stamina = stamina - k | |
761 | end | |
762 | end | |
763 | ||
764 | HandleA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleA",Vector3.new(0.200000003, 0.256000012, 0.896000028)) | |
765 | HandleAweld=CreateWeld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.969136477, -0.00157141685, 0.385794818, 1.8189894e-012, -0.999995947, 5.21540642e-007, 0.999999762, 1.81898897e-012, 9.74654385e-013, -7.32133104e-013, 5.21538425e-007, 1)) | |
766 | CreateMesh("BlockMesh",HandleA,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1)) | |
767 | HandleB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleB",Vector3.new(0.200000003, 0.256000012, 0.896000028)) | |
768 | HandleBweld=CreateWeld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.969139576, -0.00157129765, 0.385794759, 1.81901087e-012, -0.999999881, 5.21546838e-007, 1, 1.8190113e-012, 1.20202969e-012, -1.20203066e-012, 5.21546781e-007, 1)) | |
769 | CreateMesh("BlockMesh",HandleB,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1)) | |
770 | FakeHandleA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","FakeHandleA",Vector3.new(0.200000003, 0.256000012, 0.496000051)) | |
771 | FakeHandleAweld=CreateWeld(m,HandleA,FakeHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.66893005e-006, -1.1920929e-007, 0, 0.999992013, 7.55563563e-018, 4.206413e-012, 7.01353372e-018, 0.999999404, 2.42520739e-013, 4.32009983e-012, 2.42522365e-013, 1)) | |
772 | CreateMesh("BlockMesh",FakeHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1)) | |
773 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
774 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.46283865, -0.0531138182, -0.000952363014, -0.999995947, 1.00897567e-012, 5.21538198e-007, -5.21540414e-007, -5.79337901e-013, -1, -1.00897871e-012, -0.999999642, 3.36817813e-013)) | |
775 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
776 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
777 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952482224, -0.446709782, -0.193131208, 2.83093277e-006, 0.999999642, -3.04522609e-006, -7.05200193e-007, -3.04522314e-006, -1, -0.999995947, 2.83094528e-006, 7.05190132e-007)) | |
778 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
779 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
780 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0690844059, -0.0718523264, 0.394913316, -0.707372546, 1.49017545e-008, -0.706838131, -7.89236623e-008, -0.999999642, 5.79014454e-008, -0.70683527, 9.67446709e-008, 0.707375348)) | |
781 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
782 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
783 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.22985673, 0.330393285, 0.128970504, -0.999995947, 2.91118395e-005, 0.000388933928, 0.000388931512, -2.88635401e-005, 1, 2.91229535e-005, 0.999999642, 2.88522242e-005)) | |
784 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375)) | |
785 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
786 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.22985673, 0.330393285, 0.128970504, -0.999995947, 2.91118395e-005, 0.000388933928, 0.000388931512, -2.88635401e-005, 1, 2.91229535e-005, 0.999999642, 2.88522242e-005)) | |
787 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375)) | |
788 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
789 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000954985619, 0.46309948, 0.577915907, 2.08608085e-007, 0.999999642, 4.43563515e-008, -0.999995947, 2.0860881e-007, 9.0896873e-007, 9.08969355e-007, -4.43562875e-008, 1)) | |
790 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
791 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
792 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952601433, -0.46309948, -0.577939391, -5.96009748e-008, 0.999999642, 1.78326225e-008, 0.999995947, 5.96012093e-008, -7.89759383e-007, -7.8976052e-007, 1.78323258e-008, -1)) | |
793 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
794 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
795 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952720642, -0.72529912, 0.577960372, 3.77829451e-007, -0.999999642, -5.66733604e-007, 0.999995947, 3.77831128e-007, -5.21538368e-007, 5.21540812e-007, -5.66732922e-007, 1)) | |
796 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
797 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
798 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0618202686, -0.57786119, -0.000952601433, -0.999995947, 2.76042605e-010, 5.21538198e-007, -5.21540414e-007, -4.75706585e-010, -1, -2.76041356e-010, -0.999999642, 4.7546439e-010)) | |
799 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
800 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
801 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.394863844, -0.0697959661, -0.0693871975, -0.707371831, 1.49031312e-008, 0.706838787, -5.17638155e-009, 0.999999642, -2.62642939e-008, -0.706835926, -2.22377423e-008, -0.707374692)) | |
802 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
803 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
804 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.22960186, -0.325974345, 0.126894236, -0.999995947, -2.91118213e-005, -0.000387890788, 0.000387888373, 2.88337342e-005, -1, 2.91228953e-005, -0.999999642, -2.88224492e-005)) | |
805 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375)) | |
806 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
807 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000954151154, 0.462881565, 0.0781461895, -4.01817232e-007, -0.999999642, 1.08038626e-006, -0.999990225, 4.0182158e-007, 5.21535412e-007, -5.21538084e-007, -1.08039217e-006, -0.999994278)) | |
808 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
809 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.393659979, 0.524879932)) | |
810 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.659671783, -0.315543771, -0.000952482224, -0.999995947, -7.10575912e-013, 5.21538198e-007, -5.21540414e-007, -6.60076464e-012, -1, 7.10569624e-013, -0.999999642, 6.35824596e-012)) | |
811 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.524879932)) | |
812 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.64371943, -0.184356153, -0.000952720642, -0.999995947, -2.84785216e-014, 5.21538198e-007, -5.21540414e-007, -1.32740338e-011, -1, 2.84781049e-014, -0.999999642, 1.30315177e-011)) | |
813 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656100452, 0.656099916, 1)) | |
814 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.787320077, 0.262439996, 0.524879932)) | |
815 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.18442535, -0.118758678, -0.000952601433, -0.999995947, 2.01786829e-012, 5.21538198e-007, -5.21540414e-007, -1.28376595e-012, -1, -2.01786721e-012, -0.999999642, 1.04124662e-012)) | |
816 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
817 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.7749244, -0.0646617413, 0.446767867, 0.999995947, -1.47525031e-006, -1.80021914e-007, 1.47524486e-006, 0.999999642, 1.47599106e-008, 1.80025495e-007, -1.47599293e-008, 1)) | |
818 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
819 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
820 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00095307827, -0.0694081783, 0.577923179, -1.12560102e-007, -0.999999642, 4.43628316e-008, 0.999995947, -1.12560521e-007, -1.34108177e-007, 1.34111957e-007, 4.43630412e-008, 1)) | |
821 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
822 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
823 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00095307827, -0.594094753, 0.0781440437, 4.17225039e-007, 0.999999642, -1.04824289e-006, 0.999990225, -4.17229472e-007, -5.03516958e-007, -5.03519686e-007, -1.04824858e-006, -0.999994278)) | |
824 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
825 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
826 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.22960186, -0.325974345, 0.126894236, -0.999995947, -2.91118213e-005, -0.000387890788, 0.000387888373, 2.88337342e-005, -1, 2.91228953e-005, -0.999999642, -2.88224492e-005)) | |
827 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375)) | |
828 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.249317944, 0.262439966)) | |
829 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0810444355, -0.13091433, -0.000957727432, 0.707103014, 1.57924467e-006, 0.707106233, -0.707106531, -3.81509017e-006, 0.707109034, 3.81435189e-006, -0.999999642, -1.58096839e-006)) | |
830 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1)) | |
831 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.262439966)) | |
832 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000948548317, 0.0531208515, -0.65964818, 5.96030603e-008, 0.999999642, 1.09855229e-007, 5.97940073e-007, -1.0985498e-007, 1, 0.999995947, -5.96032166e-008, -5.97938197e-007)) | |
833 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
834 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
835 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000953316689, 0.0694112778, -0.577948451, 5.12384233e-008, -0.999999642, 1.78378254e-008, -0.999995947, -5.12386045e-008, 2.53317438e-007, -2.53320735e-007, -1.78380741e-008, -1)) | |
836 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
837 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.524879932, 0.262439966)) | |
838 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381076962, -1.18433952, -0.000951886177, -4.61936025e-007, -4.84779994e-011, -1, 0.999995947, 7.64824488e-012, -4.61933581e-007, 7.64823274e-012, -0.999999642, 4.8235492e-011)) | |
839 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
840 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
841 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000945568085, -0.725336075, -0.0530678928, 1.03413649e-005, 0.999999642, -1.3563623e-006, 0.999995947, -1.0341404e-005, -5.8640012e-007, -5.86416093e-007, -1.35635605e-006, -1)) | |
842 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
843 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
844 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.195877314, 0.315567017, 1.77494192, -2.13285796e-013, -0.999999642, -4.6366435e-007, 5.03123488e-007, -4.63663952e-007, 1, -0.999995947, -2.00015972e-014, 5.03121157e-007)) | |
845 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
846 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439966, 0.262439966)) | |
847 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.64357042, -0.381081522, -0.000952005386, -0.999995947, -2.84963025e-014, 5.21538198e-007, -5.21540414e-007, -1.368856e-010, -1, 2.85603552e-014, -0.999999642, 1.36643141e-010)) | |
848 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1)) | |
849 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439996, 0.262439966)) | |
850 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77479982, -0.381083727, -0.000951886177, -0.999995947, -2.85570179e-014, 5.21538198e-007, -5.21540414e-007, -1.45497003e-010, -1, 2.86255632e-014, -0.999999642, 1.45254545e-010)) | |
851 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1)) | |
852 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.200000003)) | |
853 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00095307827, 0.184345901, 1.77491713, -2.13323012e-013, -0.999999642, -4.63661678e-007, 5.03123488e-007, -4.6366128e-007, 1, -0.999995947, -1.99632164e-014, 5.03121157e-007)) | |
854 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
855 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
856 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381089836, -0.856295109, -0.000952124596, -4.61936025e-007, -5.05883807e-011, -1, 0.999995947, 8.32963819e-012, -4.61933553e-007, 8.32962432e-012, -0.999999642, 5.03458698e-011)) | |
857 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
858 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
859 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77492106, -0.064658761, -0.31554234, -0.999995947, -1.22364965e-012, 5.39955295e-007, -9.5812659e-013, 0.999999642, 4.9172661e-007, -5.39957398e-007, 4.91726212e-007, -1)) | |
860 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
861 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.200000003)) | |
862 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952839851, 0.0531313121, 1.64369941, -2.13395951e-013, -0.999999642, -4.63665572e-007, 5.03123488e-007, -4.63665174e-007, 1, -0.999995947, -1.98925264e-014, 5.03121157e-007)) | |
863 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
864 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
865 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.577950954, 0.19316268, 3.2544206e-012, -0.999999642, 4.63510275e-007, -5.03123886e-007, -4.63510332e-007, -1, 0.999995947, 3.02113716e-012, -5.03121612e-007)) | |
866 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
867 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.262439966)) | |
868 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.266271591, -0.577865899, -0.000952601433, -0.999995947, 4.89863532e-011, 5.21538198e-007, -5.21540414e-007, -1.56372887e-010, -1, -4.89860999e-011, -0.999999642, 1.56130456e-010)) | |
869 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
870 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.465830922, 0.200000003, 0.262439966)) | |
871 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0548343658, -0.318395138, -0.000958204269, 0.707103014, 1.5792516e-006, 0.707106233, -0.707106531, -3.81508926e-006, 0.707109034, 3.81435621e-006, -0.999999642, -1.58096282e-006)) | |
872 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
873 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.656099856, 0.393659979, 0.262439966)) | |
874 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200451851, -0.315522313, -0.000952482224, -0.999995947, -3.1282919e-013, 5.21538198e-007, -5.21540414e-007, -6.28311465e-012, -1, 3.12824257e-013, -0.999999642, 6.04059554e-012)) | |
875 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
876 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.7749095, -0.0665602684, 0.446766496, -0.999995947, 3.94417901e-011, 5.03121157e-007, -3.96749439e-011, -0.999999642, -4.63689446e-007, 5.03123431e-007, -4.63689048e-007, 1)) | |
877 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
878 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.656099916, 0.262439966)) | |
879 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.382884979, -0.0559492111, -0.000958323479, 0.707103789, 1.57925547e-006, 0.707107008, -0.707104146, -3.81507652e-006, 0.70710665, 3.81435484e-006, -0.999999642, -1.58096418e-006)) | |
880 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1)) | |
881 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
882 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.2500999, -0.315561235, -0.197781086, -0.999995947, -7.10677394e-013, 5.21538198e-007, -5.21540414e-007, -5.410158e-012, -1, 7.10670509e-013, -0.999999642, 5.16763889e-012)) | |
883 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
884 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
885 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.77491331, -0.0665630102, -0.315546811, 0.999995947, 1.47522928e-006, -8.63054538e-007, 1.47522383e-006, -0.999999642, -5.96148269e-008, -8.63055448e-007, 5.96132921e-008, -1)) | |
886 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
887 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
888 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00095307827, -0.0692355633, -0.0530753136, 4.17208184e-007, 0.999999642, -1.24864869e-006, 0.999995947, -4.17210487e-007, -6.0446132e-007, -6.04463764e-007, -1.24864835e-006, -1)) | |
889 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
890 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
891 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.594289541, -0.577865899, -0.000952482224, -0.999995947, 4.85845982e-011, 5.21538198e-007, -5.21540414e-007, -1.55332233e-010, -1, -4.85843449e-011, -0.999999642, 1.55089802e-010)) | |
892 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
893 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
894 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.061965704, -0.0530880094, -4.01771786e-007, -0.999999642, 1.08025915e-006, -0.999995947, 4.01773832e-007, 5.21538254e-007, -5.21540869e-007, -1.08025893e-006, -1)) | |
895 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
896 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
897 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.324400663, -0.446751714, -0.000952601433, -0.999995947, -1.51789562e-012, 5.21538198e-007, -5.21540414e-007, 1.45567641e-010, -1, 1.51780715e-012, -0.999999642, -1.45810183e-010)) | |
898 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
899 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
900 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381086797, -1.51240134, -0.000951886177, -4.61936025e-007, -5.05883252e-011, -1, 0.999995947, 8.3296087e-012, -4.61933553e-007, 8.32959483e-012, -0.999999642, 5.03458178e-011)) | |
901 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
902 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
903 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70932698, -0.446754277, 0.195877552, -0.999995947, -2.85565842e-014, 5.21538198e-007, -5.21540414e-007, 3.59957689e-011, -1, 2.85304718e-014, -0.999999642, -3.62383006e-011)) | |
904 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
905 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
906 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952839851, 0.331614971, -0.0531049073, -4.01787446e-007, -0.999999642, 1.0803011e-006, -0.999995947, 4.01789492e-007, 5.21538254e-007, -5.21540869e-007, -1.08030088e-006, -1)) | |
907 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
908 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
909 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.25009334, -0.315559089, 0.195877194, -0.999995947, -7.10700812e-013, 5.21538198e-007, -5.21540414e-007, -6.16940093e-012, -1, 7.10694307e-013, -0.999999642, 5.92688182e-012)) | |
910 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
911 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
912 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.19778192, 0.315561116, 1.77493024, -2.13241344e-013, -0.999999642, -4.63686348e-007, 5.03123488e-007, -4.6368595e-007, 1, -0.999995947, -2.00571083e-014, 5.03121157e-007)) | |
913 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
914 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
915 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952363014, 0.446721375, 0.193159819, 4.75546358e-009, 0.999999642, -1.8624263e-006, 5.20043955e-007, 1.86242596e-006, 1, 0.999995947, -4.75644946e-009, -5.20041738e-007)) | |
916 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
917 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
918 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.193187475, -0.315557897, -0.000952601433, -0.999995947, -1.39693855e-012, 5.21538198e-007, -5.21540414e-007, 1.66943959e-011, -1, 1.39691752e-012, -0.999999642, -1.69369241e-011)) | |
919 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
920 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
921 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.59407711, -0.0531000197, -0.000952363014, -0.999990225, -3.56847798e-014, 5.21535242e-007, -5.21537459e-007, -2.62820841e-012, -0.999994278, 7.82880772e-014, -0.999999642, 2.61816176e-012)) | |
922 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
923 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
924 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70935547, -0.44676286, -0.197781682, -0.999995947, -2.85648241e-014, 5.21538198e-007, -5.21540414e-007, 4.92065971e-011, -1, 2.85318237e-014, -0.999999642, -4.94491323e-011)) | |
925 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
926 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
927 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381075412, -1.78140426, -0.00095307827, -4.61936025e-007, -4.94634819e-011, -1, 0.999995947, 8.18711939e-012, -4.61933581e-007, 8.18710464e-012, -0.999999642, 4.92209745e-011)) | |
928 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
929 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439996)) | |
930 | Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.258820057, -0.184331298, -0.000952601433, -0.999995947, -9.58359694e-013, 5.21538198e-007, -5.21540414e-007, 1.63497792e-011, -1, 9.58340612e-013, -0.999999642, -1.65923074e-011)) | |
931 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
932 | BarrelA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Hot pink","BarrelA",Vector3.new(0.200000003, 0.200000003, 0.512000024)) | |
933 | BarrelAweld=CreateWeld(m,FakeHandleA,BarrelA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00648152828, -0.375403494, -1.62293732, 4.16029834e-005, -0.999999523, 4.46679103e-008, 4.43538624e-007, -4.46531416e-008, -0.999999881, 0.999992251, 4.16032817e-005, 4.43546355e-007)) | |
934 | CreateMesh("SpecialMesh",BarrelA,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.153600022, 0.140799999, 0.447999448)) | |
935 | FakeHandleB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","FakeHandleB",Vector3.new(0.200000003, 0.256000012, 0.496000051)) | |
936 | FakeHandleBweld=CreateWeld(m,HandleB,FakeHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, -2.36065456e-020, 0, -2.36065456e-020, 1, 0, 0, 0, 1)) | |
937 | CreateMesh("BlockMesh",FakeHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1)) | |
938 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
939 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.462830544, -0.0531138182, -0.000952243805, -0.999992132, 1.09443888e-012, 5.21542518e-007, -5.21546724e-007, -1.02038245e-012, -1, -1.09444235e-012, -0.999999523, 4.35311509e-013)) | |
940 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
941 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
942 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952363014, -0.446709752, -0.193128824, 2.83092186e-006, 0.999999523, -3.04522632e-006, -7.05205821e-007, -3.04522337e-006, -1, -0.999992132, 2.83094482e-006, 7.05194395e-007)) | |
943 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
944 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
945 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0690851212, -0.0718523264, 0.394912601, -0.707375407, 1.49016e-008, -0.706838131, -7.8923982e-008, -1, 5.79019144e-008, -0.706838131, 9.67448699e-008, 0.707375348)) | |
946 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
947 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
948 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229856014, 0.330393344, 0.128970504, -1, 2.91118504e-005, 0.000388933928, 0.000388933084, -2.88635511e-005, 1, 2.91230717e-005, 1, 2.88522242e-005)) | |
949 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375)) | |
950 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
951 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229856014, 0.330393344, 0.128970504, -1, 2.91118504e-005, 0.000388933928, 0.000388933084, -2.88635511e-005, 1, 2.91230717e-005, 1, 2.88522242e-005)) | |
952 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375)) | |
953 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
954 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000954866409, 0.463091612, 0.577915788, 2.08607375e-007, 0.999999523, 4.4356252e-008, -0.999992132, 2.08608867e-007, 9.08972993e-007, 9.08974243e-007, -4.43558399e-008, 1)) | |
955 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
956 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
957 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952482224, -0.463091373, -0.577939391, -5.96006622e-008, 0.999999523, 1.78325248e-008, 0.999992132, 5.96011169e-008, -7.89763646e-007, -7.8976575e-007, 1.78318817e-008, -1)) | |
958 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
959 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
960 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952601433, -0.725286722, 0.577960372, 3.77827917e-007, -0.999999523, -5.6673349e-007, 0.999992132, 3.77831014e-007, -5.21542631e-007, 5.21547122e-007, -5.6673241e-007, 1)) | |
961 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
962 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
963 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0618202686, -0.57786119, -0.000952482224, -0.999992132, 2.76128037e-010, 5.21542518e-007, -5.21546781e-007, -4.76147566e-010, -1, -2.76125789e-010, -0.999999523, 4.75562811e-010)) | |
964 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
965 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
966 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.394863367, -0.0697958469, -0.0693879128, -0.707374692, 1.49032964e-008, 0.706838787, -5.17640242e-009, 1, -2.62647628e-008, -0.706838787, -2.22379111e-008, -0.707374692)) | |
967 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
968 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
969 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229600906, -0.325974405, 0.126894355, -1, -2.91118322e-005, -0.000387890788, 0.000387889944, 2.88337451e-005, -1, 2.91230135e-005, -1, -2.88224492e-005)) | |
970 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375)) | |
971 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
972 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000953912735, 0.46284461, 0.0781242549, -4.01818824e-007, -0.999999523, 1.08039103e-006, -0.999992132, 4.01822348e-007, 5.21542688e-007, -5.21547349e-007, -1.08039092e-006, -1)) | |
973 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
974 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.393659979, 0.524879932)) | |
975 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.659660816, -0.315543771, -0.000952363014, -0.999992132, -6.25112375e-013, 5.21542461e-007, -5.21546724e-007, -7.04180898e-012, -1, 6.25099527e-013, -0.999999523, 6.45673966e-012)) | |
976 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.524879932)) | |
977 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.64369273, -0.184356153, -0.000952601433, -0.999992132, 5.69847988e-014, 5.21542461e-007, -5.21546724e-007, -1.37150759e-011, -1, -5.69892034e-014, -0.999999523, 1.31300101e-011)) | |
978 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656100452, 0.656099916, 1)) | |
979 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.787320077, 0.262439996, 0.524879932)) | |
980 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.18440604, -0.118758678, -0.000952482224, -0.999992132, 2.1033314e-012, 5.21542518e-007, -5.21546724e-007, -1.72481072e-012, -1, -2.10332684e-012, -0.999999523, 1.13974021e-012)) | |
981 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
982 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.77489591, -0.0646619797, 0.446767896, 0.999992132, -1.47525031e-006, -1.80026205e-007, 1.4752394e-006, 0.999999523, 1.4759812e-008, 1.8003314e-007, -1.47594861e-008, 1)) | |
983 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
984 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
985 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.069406271, 0.577923179, -1.12559754e-007, -0.999999523, 4.43629311e-008, 0.999992132, -1.12560592e-007, -1.3411244e-007, 1.34119745e-007, 4.43634747e-008, 1)) | |
986 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
987 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
988 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952959061, -0.594092369, 0.0781444907, 4.17223703e-007, 1, -1.04824346e-006, 1, -4.17224214e-007, -5.03528042e-007, -5.03528497e-007, -1.04824335e-006, -1)) | |
989 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
990 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
991 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229600906, -0.325974405, 0.126894355, -1, -2.91118322e-005, -0.000387890788, 0.000387889944, 2.88337451e-005, -1, 2.91230135e-005, -1, -2.88224492e-005)) | |
992 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375)) | |
993 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.249317944, 0.262439966)) | |
994 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0810451508, -0.130914927, -0.000957846642, 0.707105875, 1.57924535e-006, 0.707106233, -0.707109392, -3.81509153e-006, 0.707109034, 3.81436735e-006, -1, -1.58096793e-006)) | |
995 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1)) | |
996 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.262439966)) | |
997 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000948429108, 0.0531208515, -0.659636974, 5.96029182e-008, 0.999999523, 1.09855129e-007, 5.97946098e-007, -1.09854533e-007, 1, 0.999992132, -5.96032947e-008, -5.9794246e-007)) | |
998 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
999 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1000 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000953197479, 0.0694093704, -0.577948451, 5.12381426e-008, -0.999999523, 1.78379249e-008, -0.999992132, -5.12385121e-008, 2.5332173e-007, -2.53328068e-007, -1.78385147e-008, -1)) | |
1001 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1002 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.524879932, 0.262439966)) | |
1003 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381076962, -1.18432021, -0.000951766968, -4.61942591e-007, -4.89190355e-011, -1, 0.999992132, 7.56278113e-012, -4.61937873e-007, 7.56273516e-012, -0.999999523, 4.83339826e-011)) | |
1004 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1005 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1006 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000945448875, -0.725324035, -0.053067863, 1.03413258e-005, 0.999999523, -1.3563623e-006, 0.999992132, -1.03414031e-005, -5.86404383e-007, -5.86422175e-007, -1.35635628e-006, -1)) | |
1007 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1008 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1009 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.195877314, 0.315567106, 1.77491331, -2.98756218e-013, -0.999999523, -4.63664264e-007, 5.03129854e-007, -4.63663469e-007, 1, -0.999992132, 6.54619384e-014, 5.03125477e-007)) | |
1010 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1011 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439966, 0.262439966)) | |
1012 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.64354384, -0.381081581, -0.000951766968, -0.999992132, 5.69671263e-014, 5.21542518e-007, -5.21546724e-007, -1.37326636e-010, -1, -5.69069531e-014, -0.999999523, 1.36741632e-010)) | |
1013 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1)) | |
1014 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439996, 0.262439966)) | |
1015 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77477098, -0.381083727, -0.000951647758, -0.999992132, 5.6906411e-014, 5.21542518e-007, -5.21546724e-007, -1.45938026e-010, -1, -5.68417451e-014, -0.999999523, 1.45353021e-010)) | |
1016 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1)) | |
1017 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.200000003)) | |
1018 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, 0.184345931, 1.77488852, -2.98793217e-013, -0.999999523, -4.63661593e-007, 5.03129854e-007, -4.63660797e-007, 1, -0.999992132, 6.55001024e-014, 5.03125477e-007)) | |
1019 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1020 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
1021 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381089836, -0.856280804, -0.000952005386, -4.61942562e-007, -5.10294133e-011, -1, 0.999992132, 8.24417357e-012, -4.61937844e-007, 8.244125e-012, -0.999999523, 5.0444364e-011)) | |
1022 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1023 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1024 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77489245, -0.0646588802, -0.31554237, -0.999992132, -1.13818612e-012, 5.39959558e-007, -8.72651452e-013, 0.999999523, 4.91726496e-007, -5.39963651e-007, 4.917257e-007, -1)) | |
1025 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1026 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.200000003)) | |
1027 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952720642, 0.0531313121, 1.6436727, -2.98866156e-013, -0.999999523, -4.63665486e-007, 5.03129854e-007, -4.63664691e-007, 1, -0.999992132, 6.55707923e-014, 5.03125477e-007)) | |
1028 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1029 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1030 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.577952385, 0.193134546, 2.79130136e-010, -0.999999523, 4.63188996e-007, -5.03130252e-007, -4.63189366e-007, -1, 0.999992132, 2.78899154e-010, -5.03125875e-007)) | |
1031 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1032 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.262439966)) | |
1033 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.266266823, -0.577865839, -0.000952482224, -0.999992132, 4.90718091e-011, 5.21542461e-007, -5.21546724e-007, -1.56813909e-010, -1, -4.90713789e-011, -0.999999523, 1.56228946e-010)) | |
1034 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1035 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.465830922, 0.200000003, 0.262439966)) | |
1036 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0548336506, -0.318395734, -0.000958323479, 0.707105875, 1.57925228e-006, 0.707106233, -0.707109392, -3.81509062e-006, 0.707109034, 3.81437167e-006, -1, -1.58096236e-006)) | |
1037 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1038 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.656099856, 0.393659979, 0.262439966)) | |
1039 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200448036, -0.315522313, -0.000952363014, -0.999992132, -2.27365869e-013, 5.21542461e-007, -5.21546724e-007, -6.72415856e-012, -1, 2.27355651e-013, -0.999999523, 6.13908924e-012)) | |
1040 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1041 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77488089, -0.0665599108, 0.446766585, -0.999992132, 3.95272495e-011, 5.0312542e-007, -3.9760268e-011, -0.999999523, -4.63689361e-007, 5.03129854e-007, -4.63688565e-007, 1)) | |
1042 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1043 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.656099916, 0.262439966)) | |
1044 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.382884026, -0.0559498072, -0.000958442688, 0.70710665, 1.57925615e-006, 0.707107008, -0.707107008, -3.81507789e-006, 0.70710665, 3.8143703e-006, -1, -1.58096373e-006)) | |
1045 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1)) | |
1046 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
1047 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.25007939, -0.315561235, -0.197780728, -0.999992132, -6.25213856e-013, 5.21542461e-007, -5.21546724e-007, -5.85120234e-012, -1, 6.25200358e-013, -0.999999523, 5.26613258e-012)) | |
1048 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1049 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1050 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.77488446, -0.0665627718, -0.315546811, 0.999992132, 1.47522906e-006, -8.63058801e-007, 1.47521814e-006, -0.999999523, -5.96147274e-008, -8.6306045e-007, 5.96128444e-008, -1)) | |
1051 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1052 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1053 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952959061, -0.0692336559, -0.0530753434, 4.17206678e-007, 0.999999523, -1.24864869e-006, 0.999992132, -4.17210515e-007, -6.0446564e-007, -6.04469733e-007, -1.24864869e-006, -1)) | |
1054 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1055 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1056 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.594279528, -0.577865899, -0.000952363014, -0.999992132, 4.86700541e-011, 5.21542461e-007, -5.21546724e-007, -1.55773255e-010, -1, -4.86696274e-011, -0.999999523, 1.55188293e-010)) | |
1057 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1058 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1059 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952839851, -0.061965704, -0.0530880094, -4.01770336e-007, -0.999999523, 1.08025915e-006, -0.999992132, 4.0177386e-007, 5.21542518e-007, -5.21547179e-007, -1.08025915e-006, -1)) | |
1060 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1061 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
1062 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.324369669, -0.446746528, -0.000952601433, -0.999992132, -2.28737904e-010, 5.21542461e-007, -5.21546724e-007, 3.90042887e-010, -1, 2.28737695e-010, -0.999999523, -3.90628141e-010)) | |
1063 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1064 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
1065 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381086797, -1.51237679, -0.000951766968, -4.61942562e-007, -5.10293613e-011, -1, 0.999992132, 8.24414408e-012, -4.61937844e-007, 8.24409551e-012, -0.999999523, 5.04443119e-011)) | |
1066 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1067 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
1068 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70929945, -0.446754336, 0.195877552, -0.999992132, 5.69068447e-014, 5.21542461e-007, -5.21546724e-007, 3.55547189e-011, -1, -5.69368364e-014, -0.999999523, -3.61398099e-011)) | |
1069 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1070 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1071 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952720642, 0.331609011, -0.0531049073, -4.01785996e-007, -0.999999523, 1.0803011e-006, -0.999992132, 4.01789521e-007, 5.21542518e-007, -5.21547236e-007, -1.0803011e-006, -1)) | |
1072 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1073 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
1074 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.25007296, -0.315559149, 0.195877194, -0.999992132, -6.25237275e-013, 5.21542461e-007, -5.21546724e-007, -6.61044526e-012, -1, 6.25224156e-013, -0.999999523, 6.02537551e-012)) | |
1075 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1076 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1077 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.197781563, 0.315561146, 1.77490151, -2.98711766e-013, -0.999999523, -4.63686263e-007, 5.03129854e-007, -4.63685438e-007, 1, -0.999992132, 6.54063189e-014, 5.03125477e-007)) | |
1078 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1079 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1080 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952243805, 0.446721435, 0.193157434, 4.75553064e-009, 0.999999523, -1.86242642e-006, 5.20050321e-007, 1.86242619e-006, 1, 0.999992132, -4.75653428e-009, -5.20046058e-007)) | |
1081 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1082 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
1083 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.193185091, -0.315557897, -0.000952482224, -0.999992132, -1.3114748e-012, 5.21542461e-007, -5.21546724e-007, 1.62533511e-011, -1, 1.31144477e-012, -0.999999523, -1.683843e-011)) | |
1084 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1085 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1086 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.594074965, -0.0531003177, -0.000952243805, -1, 4.97786491e-014, 5.21546554e-007, -5.21546554e-007, -3.0692675e-012, -1, -4.97770262e-014, -1, 3.0692675e-012)) | |
1087 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1088 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
1089 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70932782, -0.44676286, -0.197781324, -0.999992132, 5.68986048e-014, 5.21542461e-007, -5.21546724e-007, 4.87655437e-011, -1, -5.6935488e-014, -0.999999523, -4.93506416e-011)) | |
1090 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1091 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1092 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381075472, -1.78137565, -0.000952839851, -4.61942591e-007, -4.99045215e-011, -1, 0.999992132, 8.10165563e-012, -4.61937873e-007, 8.10160619e-012, -0.999999523, 4.93194721e-011)) | |
1093 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1094 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439996)) | |
1095 | Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.258816719, -0.184331298, -0.000952482224, -0.999992132, -8.72896373e-013, 5.21542461e-007, -5.21546724e-007, 1.59087344e-011, -1, 8.72869593e-013, -0.999999523, -1.64938133e-011)) | |
1096 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1097 | BarrelB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Hot pink","BarrelB",Vector3.new(0.200000003, 0.200000003, 0.512000024)) | |
1098 | BarrelBweld=CreateWeld(m,FakeHandleB,BarrelB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00648140907, -0.375403613, -1.62292969, 4.16028452e-005, -1, 4.46680346e-008, 4.43528563e-007, -4.46495818e-008, -1, 1, 4.16028452e-005, 4.43526744e-007)) | |
1099 | CreateMesh("SpecialMesh",BarrelB,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.153600022, 0.140799999, 0.447999448)) | |
1100 | ||
1101 | local lasrs = {} | |
1102 | local lasrspd = 5 | |
1103 | local maxTravelDistance = 300 | |
1104 | local maxRebounds = 2 | |
1105 | ||
1106 | function RAY(pos, dir, collidedlist, startpos, endpos, distleft) | |
1107 | collidedlist = collidedlist or {Character} | |
1108 | startpos = startpos or pos | |
1109 | distleft = distleft or dir.unit * dir.magnitude | |
1110 | endpos = endpos or pos + distleft | |
1111 | local ray = Ray.new(pos, distleft) | |
1112 | local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist) | |
1113 | if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then | |
1114 | if hitz.CanCollide == false then | |
1115 | table.insert(collidedlist, hitz) | |
1116 | local newpos = enz | |
1117 | local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude) | |
1118 | if newdistleft then | |
1119 | return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01)) | |
1120 | end | |
1121 | end | |
1122 | end | |
1123 | return hitz, enz, ray | |
1124 | end | |
1125 | ||
1126 | function FindSurface(part, position) | |
1127 | local obj = part.CFrame:pointToObjectSpace(position) | |
1128 | local siz = part.Size/2 | |
1129 | for i,v in pairs(Enum.NormalId:GetEnumItems()) do | |
1130 | local vec = Vector3.FromNormalId(v) | |
1131 | local wvec = part.CFrame:vectorToWorldSpace(vec) | |
1132 | local vz = (obj)/(siz*vec) | |
1133 | if (math.abs(vz.X-1) < 0.001 or math.abs(vz.Y-1) < 0.001 or math.abs(vz.Z-1) < 0.001) then | |
1134 | return wvec,vec | |
1135 | end | |
1136 | end | |
1137 | if part.className == "WedgePart" then | |
1138 | local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p | |
1139 | local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p | |
1140 | local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos) | |
1141 | return wvec,vec | |
1142 | elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then | |
1143 | return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit) | |
1144 | end | |
1145 | end | |
1146 | ||
1147 | function Reflect(direction, normal) | |
1148 | return direction - 2 * normal:Dot(direction) * normal | |
1149 | end | |
1150 | ||
1151 | function ReflectShot(mouse,asd) | |
1152 | local dir = (mouse.Hit.p - Torso.Position).unit | |
1153 | local tabl | |
1154 | local tablnum = 0 | |
1155 | for i, v in pairs(lasrs) do | |
1156 | if not v[1] then | |
1157 | tabl = v | |
1158 | tablnum = i | |
1159 | break | |
1160 | end | |
1161 | end | |
1162 | if not tabl then | |
1163 | tablnum = #lasrs + 1 | |
1164 | tabl = {false,nil,nil,0,0,1,{},{},{},{}} | |
1165 | for i = 1, 2 do | |
1166 | for j = 1, 6 do | |
1167 | local p = Instance.new("Part") | |
1168 | p.FormFactor = "Custom" | |
1169 | p.CanCollide = false | |
1170 | p.Anchored = true | |
1171 | p.Locked = true | |
1172 | p.BrickColor = BarrelA.BrickColor | |
1173 | p.TopSurface = 10 | |
1174 | p.BottomSurface = 10 | |
1175 | p.RightSurface = 10 | |
1176 | p.LeftSurface = 10 | |
1177 | p.FrontSurface = 10 | |
1178 | p.BackSurface = 10 | |
1179 | p.Size = Vector3.new(.5,.5,.5) | |
1180 | p.Material = "Neon" | |
1181 | p.Transparency = i == 1 and 0 or 0.6 | |
1182 | local mesh = Instance.new("CylinderMesh",p) | |
1183 | table.insert(tabl[6+i],p) | |
1184 | table.insert(tabl[8+i],mesh) | |
1185 | end | |
1186 | end | |
1187 | table.insert(lasrs,tabl) | |
1188 | end | |
1189 | -- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer | |
1190 | tabl[4],tabl[5] = 0,0 | |
1191 | tabl[3] = asd.Position | |
1192 | tabl[2] = dir | |
1193 | tabl[1] = true | |
1194 | ||
1195 | end | |
1196 | ||
1197 | gun = false | |
1198 | ||
1199 | shoot = false | |
1200 | ||
1201 | gunidle = false | |
1202 | ||
1203 | local GunA = true | |
1204 | local GunB = false | |
1205 | ||
1206 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1207 | local prt = CreatePart(3, Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.1, 0.1, 0.1)) | |
1208 | prt.Anchored = true | |
1209 | prt.CFrame = cframe | |
1210 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1211 | game:GetService("Debris"):AddItem(prt, 5) | |
1212 | Effects[#Effects + 1] = { | |
1213 | prt, | |
1214 | "Cylinder", | |
1215 | delay, | |
1216 | x3, | |
1217 | y3, | |
1218 | z3 | |
1219 | } --part, type, delay | |
1220 | end | |
1221 | ||
1222 | function Shoot(asd, spread1, spread2) | |
1223 | local MainPos = asd.Position | |
1224 | local MainPos2 = mouse.Hit.p | |
1225 | local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100 | |
1226 | local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread) | |
1227 | num = 30 | |
1228 | coroutine.resume(coroutine.create(function(Spreaded) | |
1229 | repeat | |
1230 | wait() | |
1231 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RootPart.Parent) | |
1232 | local TheHit = mouse.Hit.p | |
1233 | local mag = (MainPos - pos).magnitude | |
1234 | CylinderEffect(BrickColor.new(asd.BrickColor.Color), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1) | |
1235 | MainPos = MainPos + (MouseLook.lookVector * 10) | |
1236 | num = num - 1 | |
1237 | if hit ~= nil then | |
1238 | num = 0 | |
1239 | damage(hit.Parent:WaitForChild("Torso"), math.random(5,8), math.random(8,10), 5, 1, RootPart) | |
1240 | end | |
1241 | until num <= 0 | |
1242 | end)) | |
1243 | end | |
1244 | ||
1245 | function Attackone() | |
1246 | attack = true | |
1247 | Con1 = LeftLeg.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end) | |
1248 | for i = 0,1,0.2 do | |
1249 | wait() | |
1250 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .3) | |
1251 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
1252 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), .3) | |
1253 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)), .3) | |
1254 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(5)), .3) | |
1255 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(-5)), .3) | |
1256 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1257 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1258 | end | |
1259 | so("http://roblox.com/asset/?id=320557413",LeftLeg,1,1) | |
1260 | for i = 0,1,0.15 do | |
1261 | wait() | |
1262 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .5) | |
1263 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(30)), .5) | |
1264 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .5) | |
1265 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-20)), .5) | |
1266 | RH.C0 = clerp(RH.C0, cn(0.55, -2, .5) * angles(math.rad(-30), math.rad(30), math.rad(10)), .5) | |
1267 | LH.C0 = clerp(LH.C0, cn(-1.3, -1, -1.3) * angles(math.rad(80), math.rad(-10), math.rad(-30)), .5) | |
1268 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1269 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1270 | end | |
1271 | attack = false | |
1272 | Con1:disconnect() | |
1273 | end | |
1274 | ||
1275 | function Attacktwo() | |
1276 | attack = true | |
1277 | Con1 = LeftArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end) | |
1278 | for i = 0,1,0.2 do | |
1279 | wait() | |
1280 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
1281 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(10), math.rad(50)), .3) | |
1282 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .3) | |
1283 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3) | |
1284 | RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(30), math.rad(10)), .3) | |
1285 | LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(0), math.rad(30), math.rad(-10)), .3) | |
1286 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1287 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(70), math.rad(0)), .4) | |
1288 | end | |
1289 | so("http://roblox.com/asset/?id=320557413",LeftArm,1,1.2) | |
1290 | for i = 0,1,0.15 do | |
1291 | wait() | |
1292 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .35) | |
1293 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-5), math.rad(-80)), .35) | |
1294 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(50), math.rad(20), math.rad(30)), .35) | |
1295 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(-90)), .35) | |
1296 | RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(10)), .35) | |
1297 | LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(-10)), .35) | |
1298 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1299 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-90), math.rad(0)), .3) | |
1300 | end | |
1301 | attack = false | |
1302 | Con1:disconnect() | |
1303 | end | |
1304 | ||
1305 | function Attackthree() | |
1306 | attack = true | |
1307 | Con1 = RightArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end) | |
1308 | for i = 0,1,0.2 do | |
1309 | wait() | |
1310 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), .3) | |
1311 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), .3) | |
1312 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(20)), .3) | |
1313 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3) | |
1314 | RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(7)), .3) | |
1315 | LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(-7)), .3) | |
1316 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, -.1) * angles(math.rad(0), math.rad(150), math.rad(0)), .4) | |
1317 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1318 | end | |
1319 | so("http://roblox.com/asset/?id=320557413",RightArm,1,1.3) | |
1320 | for i = 0,1,0.13 do | |
1321 | wait() | |
1322 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .35) | |
1323 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-70)), .35) | |
1324 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.3) * angles(math.rad(30), math.rad(-50), math.rad(-20)), .35) | |
1325 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .35) | |
1326 | RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(7)), .35) | |
1327 | LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-7)), .35) | |
1328 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .4) | |
1329 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1330 | end | |
1331 | attack = false | |
1332 | Con1:disconnect() | |
1333 | end | |
1334 | ||
1335 | function Attackfour() | |
1336 | attack = true | |
1337 | for i = 0,1,0.2 do | |
1338 | wait() | |
1339 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3) | |
1340 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(3), math.rad(70)), .3) | |
1341 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3) | |
1342 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3) | |
1343 | RH.C0 = clerp(RH.C0, cn(0.7, -2, .3) * angles(math.rad(3), math.rad(70), math.rad(5)), .3) | |
1344 | LH.C0 = clerp(LH.C0, cn(-0.7, -2, -.3) * angles(math.rad(3), math.rad(70), math.rad(-5)), .3) | |
1345 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7) | |
1346 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1347 | end | |
1348 | so("http://roblox.com/asset/?id=320557413",LeftArm,1,0.9) | |
1349 | for i = 0,1,0.15 do | |
1350 | wait() | |
1351 | so("http://roblox.com/asset/?id=199145534",BarrelA,.5,math.random(150,200)/100) | |
1352 | OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1) | |
1353 | Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1) | |
1354 | local target=CheckClose(BarrelA,5) | |
1355 | if target then | |
1356 | damage(target.Torso, math.random(1,2), math.random(2,3), 1, 1, RootPart) | |
1357 | end | |
1358 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .35) | |
1359 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(-3), math.rad(-100)), .35) | |
1360 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(60), math.rad(70)), .35) | |
1361 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .35) | |
1362 | RH.C0 = clerp(RH.C0, cn(0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(8)), .35) | |
1363 | LH.C0 = clerp(LH.C0, cn(-0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-8)), .35) | |
1364 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1365 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1366 | end | |
1367 | attack = false | |
1368 | end | |
1369 | ||
1370 | function GunStance() | |
1371 | attack=true | |
1372 | gun=true | |
1373 | speedvalue = 1 | |
1374 | gyro.Parent = RootPart | |
1375 | if GunA == true then | |
1376 | for i=0,1,0.2 do | |
1377 | wait() | |
1378 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
1379 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-90)), .25) | |
1380 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(30), math.rad(90)), .25) | |
1381 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), .25) | |
1382 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1383 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1384 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75) | |
1385 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1386 | end | |
1387 | for i=0,1,0.1 do | |
1388 | wait() | |
1389 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
1390 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
1391 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), .25) | |
1392 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-10)), .25) | |
1393 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1394 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1395 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1396 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1397 | end | |
1398 | elseif GunB == true then | |
1399 | for i=0,1,0.2 do | |
1400 | wait() | |
1401 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
1402 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(90)), .25) | |
1403 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(10)), .25) | |
1404 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(-30), math.rad(-90)), .25) | |
1405 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1406 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1407 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1408 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75) | |
1409 | end | |
1410 | for i=0,1,0.1 do | |
1411 | wait() | |
1412 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
1413 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
1414 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25) | |
1415 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25) | |
1416 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1417 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1418 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1419 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1420 | end | |
1421 | end | |
1422 | local offset = nil | |
1423 | gunidle=true | |
1424 | while gun==true do | |
1425 | wait() | |
1426 | local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z) | |
1427 | offset = (Torso.Position.y - mouse.Hit.p.y) / 60 | |
1428 | local mag = (Torso.Position - mouse.Hit.p).magnitude / 80 | |
1429 | offset = offset / mag | |
1430 | if GunA == true and GunB == false then | |
1431 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5) | |
1432 | elseif GunB == true and GunA == false then | |
1433 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5) | |
1434 | end | |
1435 | end | |
1436 | if shoot==true then | |
1437 | gunidle=false | |
1438 | if GunA == true then | |
1439 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1440 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1441 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1442 | GunA = false | |
1443 | Shoot(BarrelA, 0, 0) | |
1444 | for i=0,1,0.15 do | |
1445 | wait() | |
1446 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3) | |
1447 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-80)), .3) | |
1448 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(90), math.rad(60), math.rad(80)), .55) | |
1449 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-15)), .3) | |
1450 | RH.C0 = clerp(RH.C0, cn(0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(3)), .25) | |
1451 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .25) | |
1452 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75) | |
1453 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3) | |
1454 | end | |
1455 | GunB = true | |
1456 | elseif GunB == true then | |
1457 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1458 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1459 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1460 | GunB = false | |
1461 | Shoot(BarrelB, 0, 0) | |
1462 | for i=0,1,0.15 do | |
1463 | wait() | |
1464 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
1465 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .3) | |
1466 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .3) | |
1467 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55) | |
1468 | RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .25) | |
1469 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .25) | |
1470 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3) | |
1471 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75) | |
1472 | end | |
1473 | GunA = true | |
1474 | end | |
1475 | end | |
1476 | gyro.Parent = nil | |
1477 | speedvalue = 2.5 | |
1478 | gun=false | |
1479 | gunidle=false | |
1480 | shoot=false | |
1481 | attack=false | |
1482 | end | |
1483 | ||
1484 | function EchoBarrage() | |
1485 | attack = true | |
1486 | gyro.Parent = RootPart | |
1487 | speedvalue = 1 | |
1488 | for i = 0,1,0.1 do | |
1489 | wait() | |
1490 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3) | |
1491 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1492 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3) | |
1493 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3) | |
1494 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3) | |
1495 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3) | |
1496 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
1497 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1498 | end | |
1499 | for i = 1,2 do | |
1500 | for i = 0,1,0.3 do | |
1501 | wait() | |
1502 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1503 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1504 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
1505 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
1506 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3) | |
1507 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3) | |
1508 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1509 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1510 | end | |
1511 | ReflectShot(mouse,BarrelA) | |
1512 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1513 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1514 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1515 | --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1) | |
1516 | for i = 0,1,0.35 do | |
1517 | wait() | |
1518 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4) | |
1519 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4) | |
1520 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4) | |
1521 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
1522 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4) | |
1523 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4) | |
1524 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1525 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1526 | end | |
1527 | for i = 0,1,0.3 do | |
1528 | wait() | |
1529 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1530 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1531 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
1532 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
1533 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3) | |
1534 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3) | |
1535 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1536 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1537 | end | |
1538 | ReflectShot(mouse,BarrelB) | |
1539 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1540 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1541 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1542 | --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1) | |
1543 | for i = 0,1,0.35 do | |
1544 | wait() | |
1545 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4) | |
1546 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4) | |
1547 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
1548 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4) | |
1549 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4) | |
1550 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4) | |
1551 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1552 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1553 | end | |
1554 | end | |
1555 | gyro.Parent = nil | |
1556 | attack = false | |
1557 | speedvalue = 2.5 | |
1558 | end | |
1559 | ||
1560 | function LucentScatter() | |
1561 | attack = true | |
1562 | gyro.Parent = RootPart | |
1563 | speedvalue = 1 | |
1564 | for i = 0,1,0.1 do | |
1565 | wait() | |
1566 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3) | |
1567 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(70)), .3) | |
1568 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3) | |
1569 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3) | |
1570 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3) | |
1571 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3) | |
1572 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1573 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1574 | end | |
1575 | for i = 0,1,0.2 do | |
1576 | wait() | |
1577 | Shoot(BarrelA, 0, 0) | |
1578 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1579 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1580 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1581 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3) | |
1582 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3) | |
1583 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2) | |
1584 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3) | |
1585 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3) | |
1586 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3) | |
1587 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1588 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1589 | end | |
1590 | for i=0,1,0.3 do | |
1591 | wait() | |
1592 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
1593 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
1594 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25) | |
1595 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25) | |
1596 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1597 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1598 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1599 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1600 | end | |
1601 | for i = 1,5 do | |
1602 | Shoot(BarrelB, 0, 0) | |
1603 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1604 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1605 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1606 | for i=0,1,0.3 do | |
1607 | wait() | |
1608 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .5) | |
1609 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .5) | |
1610 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .5) | |
1611 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55) | |
1612 | RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .5) | |
1613 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .5) | |
1614 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3) | |
1615 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75) | |
1616 | end | |
1617 | for i=0,1,0.3 do | |
1618 | wait() | |
1619 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .8) | |
1620 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .5) | |
1621 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .8) | |
1622 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .8) | |
1623 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .5) | |
1624 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .5) | |
1625 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5) | |
1626 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5) | |
1627 | end | |
1628 | end | |
1629 | gyro.Parent = nil | |
1630 | attack = false | |
1631 | speedvalue = 2.5 | |
1632 | end | |
1633 | ||
1634 | function OrbEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
1635 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1636 | prt.Anchored = true | |
1637 | prt.CanCollide=false | |
1638 | prt.CFrame = cframe*cn(0,-1,0)*angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))) | |
1639 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1640 | game:GetService("Debris"):AddItem(prt, 10) | |
1641 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1642 | for i = 0, 1, delay do | |
1643 | wait(0) | |
1644 | Part.CFrame = Part.CFrame | |
1645 | Part.Transparency = i | |
1646 | Mesh.Scale = Mesh.Scale + Vector3.new(x2, y2, z2) | |
1647 | end | |
1648 | Part.Parent = nil | |
1649 | end), prt, msh) | |
1650 | end | |
1651 | ||
1652 | function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1653 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1654 | prt.Anchored = true | |
1655 | prt.CFrame = cframe*cn(0,-1,0) | |
1656 | --prt.Material = "Neon" | |
1657 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1658 | game:GetService("Debris"):AddItem(prt, 10) | |
1659 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1660 | for i = 0, 1, delay do | |
1661 | wait(0) | |
1662 | Part.CFrame = Part.CFrame | |
1663 | Part.Transparency = i | |
1664 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1665 | end | |
1666 | Part.Parent = nil | |
1667 | end), prt, msh) | |
1668 | end | |
1669 | ||
1670 | function Reflex() | |
1671 | attack = true | |
1672 | gyro.Parent = RootPart | |
1673 | speedvalue = 1 | |
1674 | for i = 0,1,0.1 do | |
1675 | wait() | |
1676 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.55) * angles(math.rad(5), math.rad(0), math.rad(0)), .3) | |
1677 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
1678 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.2) * angles(math.rad(0), math.rad(100), math.rad(50)), .3) | |
1679 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.2) * angles(math.rad(0), math.rad(-100), math.rad(-50)), .3) | |
1680 | RH.C0 = clerp(RH.C0, cn(0.55, -1.5, .5) * angles(math.rad(-60), math.rad(0), math.rad(3)), .3) | |
1681 | LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .3) | |
1682 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1683 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1684 | end | |
1685 | so("http://roblox.com/asset/?id=199145534",BarrelA,1,math.random(150,200)/100) | |
1686 | for i=1,math.random(3,6) do | |
1687 | OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025) | |
1688 | Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025) | |
1689 | end | |
1690 | local target=CheckClose(BarrelA,30) | |
1691 | if target then | |
1692 | damage(target.Torso, 5, math.random(15,20), math.random(15,16), 1, RootPart) | |
1693 | end | |
1694 | Humanoid.Jump=true | |
1695 | Torso.Velocity=Vector3.new(0,7.5,0) | |
1696 | Torso.Velocity=RootPart.CFrame.lookVector*-100 | |
1697 | Humanoid.WalkSpeed = 16*speed.Value | |
1698 | for i = 0,1,0.1 do | |
1699 | wait() | |
1700 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(-6*i, math.rad(0), math.rad(0)), .4) | |
1701 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .4) | |
1702 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(130)), .4) | |
1703 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(-130)), .4) | |
1704 | RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .4) | |
1705 | LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .4) | |
1706 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25) | |
1707 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25) | |
1708 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1709 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1710 | end | |
1711 | gyro.Parent = nil | |
1712 | attack = false | |
1713 | speedvalue = 2.5 | |
1714 | end | |
1715 | ||
1716 | function Luxuriance() | |
1717 | attack = true | |
1718 | gyro.Parent = RootPart | |
1719 | for i = 0,1,0.1 do | |
1720 | wait() | |
1721 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
1722 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
1723 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3) | |
1724 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3) | |
1725 | RH.C0 = clerp(RH.C0, cn(0.55, -1.7, .4) * angles(math.rad(-20), math.rad(0), math.rad(3)), .3) | |
1726 | LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(5), math.rad(0), math.rad(-3)), .3) | |
1727 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
1728 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1729 | end | |
1730 | for i = 0,1,0.3 do | |
1731 | wait() | |
1732 | ReflectShot(mouse,BarrelA) | |
1733 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1734 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1735 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1736 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3) | |
1737 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3) | |
1738 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2) | |
1739 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3) | |
1740 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3) | |
1741 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3) | |
1742 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1743 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1744 | end | |
1745 | for i = 0,1,0.2 do | |
1746 | wait() | |
1747 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1748 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
1749 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3) | |
1750 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3) | |
1751 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3) | |
1752 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3) | |
1753 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
1754 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1755 | end | |
1756 | for i = 0,1,0.3 do | |
1757 | wait() | |
1758 | ReflectShot(mouse,BarrelB) | |
1759 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1760 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1761 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1762 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-100)), .3) | |
1763 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(100)), .3) | |
1764 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .2) | |
1765 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(130), math.rad(-50), math.rad(-30)), .3) | |
1766 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3) | |
1767 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3) | |
1768 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1769 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7) | |
1770 | end | |
1771 | for i = 0,1,0.1 do | |
1772 | wait() | |
1773 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3) | |
1774 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1775 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3) | |
1776 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3) | |
1777 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3) | |
1778 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3) | |
1779 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
1780 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1781 | end | |
1782 | for i = 1,5 do | |
1783 | Shoot(BarrelA, 0, 0) | |
1784 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1785 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1786 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1787 | for i = 0,1,0.35 do | |
1788 | wait() | |
1789 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4) | |
1790 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4) | |
1791 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4) | |
1792 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
1793 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4) | |
1794 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4) | |
1795 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1796 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1797 | end | |
1798 | Shoot(BarrelB, 0, 0) | |
1799 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1800 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1801 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1802 | for i = 0,1,0.35 do | |
1803 | wait() | |
1804 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4) | |
1805 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4) | |
1806 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
1807 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4) | |
1808 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4) | |
1809 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4) | |
1810 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1811 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1812 | end | |
1813 | end | |
1814 | gyro.Parent = nil | |
1815 | attack = false | |
1816 | end | |
1817 | ||
1818 | mouse.Button1Down:connect(function() | |
1819 | if gun==true and shoot==false then | |
1820 | shoot=true | |
1821 | gun=false | |
1822 | end | |
1823 | if attack == false and attacktype == 1 then | |
1824 | Attackone() | |
1825 | attacktype = 2 | |
1826 | elseif attack == false and attacktype == 2 then | |
1827 | Attacktwo() | |
1828 | attacktype = 3 | |
1829 | elseif attack == false and attacktype == 3 then | |
1830 | Attackthree() | |
1831 | attacktype = 4 | |
1832 | elseif attack == false and attacktype == 4 then | |
1833 | Attackfour() | |
1834 | attacktype = 1 | |
1835 | end | |
1836 | end) | |
1837 | ||
1838 | mouse.KeyDown:connect(function(k) | |
1839 | k = k:lower() | |
1840 | if k=='e' and gun==false and shoot==false and attack==false then | |
1841 | GunStance() | |
1842 | end | |
1843 | if k=='e'and shoot==false then | |
1844 | if gun==true then | |
1845 | gun=false | |
1846 | end | |
1847 | end | |
1848 | if k=='q' and gun==false and shoot==false and attack==false and cooldown1 >= co1 and stamina>=skill1stam then | |
1849 | cooldown1=0 | |
1850 | subtractstamina(skill1stam) | |
1851 | EchoBarrage() | |
1852 | end | |
1853 | if k=='r' and gun==false and shoot==false and attack==false and cooldown2 >= co2 and stamina>=skill2stam then | |
1854 | cooldown2=0 | |
1855 | subtractstamina(skill2stam) | |
1856 | LucentScatter() | |
1857 | end | |
1858 | if k=='t' and gun==false and shoot==false and attack==false and cooldown3 >= co3 and stamina>=skill3stam then | |
1859 | cooldown3=0 | |
1860 | subtractstamina(skill3stam) | |
1861 | Reflex() | |
1862 | end | |
1863 | if k=='f' and gun==false and shoot==false and attack==false and cooldown4 >= co4 and stamina>=skill4stam then | |
1864 | cooldown4=0 | |
1865 | subtractstamina(skill4stam) | |
1866 | Luxuriance() | |
1867 | end | |
1868 | end) | |
1869 | ||
1870 | ||
1871 | inputserv.InputBegan:connect(function(k) | |
1872 | if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then | |
1873 | elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then | |
1874 | elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then | |
1875 | elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then | |
1876 | end | |
1877 | end) | |
1878 | ||
1879 | inputserv.InputBegan:connect(function(k) | |
1880 | if k.KeyCode == Enum.KeyCode.Slash then | |
1881 | local fin = nil | |
1882 | typing = true | |
1883 | fin = inputserv.InputBegan:connect(function(k) | |
1884 | if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then | |
1885 | typing = false | |
1886 | fin:disconnect() | |
1887 | end | |
1888 | end) | |
1889 | end | |
1890 | end) | |
1891 | ||
1892 | local ReboundCount = 0 | |
1893 | ||
1894 | function updateskills() | |
1895 | if cooldown1 <= co1 then | |
1896 | cooldown1 = cooldown1 + 1 | |
1897 | end | |
1898 | if cooldown2 <= co2 then | |
1899 | cooldown2 = cooldown2 + 1 | |
1900 | end | |
1901 | if cooldown3 <= co3 then | |
1902 | cooldown3 = cooldown3 + 1 | |
1903 | end | |
1904 | if cooldown4 <= co4 then | |
1905 | cooldown4 = cooldown4 + 1 | |
1906 | end | |
1907 | if stamina <= maxstamina then | |
1908 | stamina = stamina + recoverEnergy | |
1909 | end | |
1910 | end | |
1911 | ||
1912 | game:GetService'RunService'.Heartbeat:connect(function() | |
1913 | updateskills() | |
1914 | gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RootPart.CFrame.p).unit * 100) | |
1915 | healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5) | |
1916 | staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5) | |
1917 | bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5) | |
1918 | bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5) | |
1919 | bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5) | |
1920 | bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5) | |
1921 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1922 | velocity = RootPart.Velocity.y | |
1923 | sine = sine + change | |
1924 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1925 | Character.Humanoid.WalkSpeed = 16 * speed.Value | |
1926 | if equipped == true or equipped == false then | |
1927 | if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then | |
1928 | Anim = "Jump" | |
1929 | if attack == false then | |
1930 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .25) | |
1931 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25) | |
1932 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(50)), .25) | |
1933 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-50)), .25) | |
1934 | RH.C0 = clerp(RH.C0, cn(0.4, -1.5, -.5) * angles(math.rad(-20), math.rad(0), math.rad(-5)), .25) | |
1935 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), .25) | |
1936 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
1937 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
1938 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1939 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1940 | end | |
1941 | elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then | |
1942 | Anim = "Fall" | |
1943 | if attack == false then | |
1944 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), .25) | |
1945 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25) | |
1946 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(70)), .25) | |
1947 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-70)), .25) | |
1948 | RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .25) | |
1949 | LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .25) | |
1950 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
1951 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
1952 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1953 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1954 | end | |
1955 | elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then | |
1956 | Anim = "Idle" | |
1957 | if attack == false then | |
1958 | change = 1 | |
1959 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.1+0.1*math.cos(sine/25), -0.1+0.05*math.cos(sine/25)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .25) | |
1960 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10+5*math.cos(sine/25)), math.rad(0), math.rad(30)), .25) | |
1961 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(10)), .25) | |
1962 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(-10)), .25) | |
1963 | RH.C0 = clerp(RH.C0, cn(0.7, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(5))* angles(math.rad(-5+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25) | |
1964 | LH.C0 = clerp(LH.C0, cn(-0.6, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(-3))* angles(math.rad(-3+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25) | |
1965 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
1966 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
1967 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1968 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1969 | end | |
1970 | elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then | |
1971 | Anim = "Walk" | |
1972 | if attack == false then | |
1973 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20+1*math.cos(sine/5)), math.rad(0), math.rad(5*math.cos(sine/4.5))), .25) | |
1974 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-5*math.cos(sine/4.5))), .25) | |
1975 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(20+1*math.cos(sine/5))), .25) | |
1976 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20+1*math.cos(sine/5))), .25) | |
1977 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 1*math.cos(sine/4.5)) * angles(math.rad(-50*math.cos(sine/4.5)), math.rad(0), math.rad(3)), .25) | |
1978 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, -1*math.cos(sine/4.5)) * angles(math.rad(50*math.cos(sine/4.5)), math.rad(0), math.rad(-3)), .25) | |
1979 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
1980 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
1981 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1982 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1983 | end | |
1984 | elseif stun.Value == true then | |
1985 | if attack == false then | |
1986 | Character.Humanoid.WalkSpeed = 0 | |
1987 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
1988 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
1989 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
1990 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
1991 | RH.C0 = clerp(RH.C0, cn(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
1992 | LH.C0 = clerp(LH.C0, cn(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
1993 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1994 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1995 | end | |
1996 | end | |
1997 | end | |
1998 | if #Effects > 0 then | |
1999 | for e = 1, #Effects do | |
2000 | if Effects[e] ~= nil then | |
2001 | local Thing = Effects[e] | |
2002 | if Thing ~= nil then | |
2003 | local Part = Thing[1] | |
2004 | local Mode = Thing[2] | |
2005 | local Delay = Thing[3] | |
2006 | local IncX = Thing[4] | |
2007 | local IncY = Thing[5] | |
2008 | local IncZ = Thing[6] | |
2009 | if Thing[1].Transparency <= 1 then | |
2010 | if Thing[2] == "Block1" then | |
2011 | Thing[1].CFrame = Thing[1].CFrame * CFrame.FromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2012 | local Mesh = Thing[1].Mesh | |
2013 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2014 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2015 | elseif Thing[2] == "Cylinder" then | |
2016 | local Mesh = Thing[1].Mesh | |
2017 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2018 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2019 | elseif Thing[2] == "Blood" then | |
2020 | local Mesh = Thing[7] | |
2021 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0) | |
2022 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2023 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2024 | elseif Thing[2] == "Elec" then | |
2025 | local Mesh = Thing[1].Mesh | |
2026 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2027 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2028 | elseif Thing[2] == "Disappear" then | |
2029 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2030 | end | |
2031 | else | |
2032 | Part.Parent = nil | |
2033 | table.remove(Effects, e) | |
2034 | end | |
2035 | end | |
2036 | end | |
2037 | end | |
2038 | end | |
2039 | for _, lasr in pairs(lasrs) do | |
2040 | for i, v in pairs(lasr[9]) do | |
2041 | if lasr[7][i].Parent then | |
2042 | v.Scale = v.Scale + Vector3.new(-0.1,0,-0.1) | |
2043 | lasr[10][i].Scale = lasr[10][i].Scale + Vector3.new(-0.1,0,-0.1) | |
2044 | if v.Scale.x < 0.1 then | |
2045 | lasr[7][i].Parent = nil | |
2046 | lasr[8][i].Parent = nil | |
2047 | end | |
2048 | end | |
2049 | end | |
2050 | ||
2051 | if lasr[1] then | |
2052 | local hitz, enz = RAY(lasr[3],lasr[2]*lasrspd) | |
2053 | lasr[5] = lasr[5] + (lasr[3] - enz).magnitude | |
2054 | ||
2055 | lasr[7][lasr[6]].Parent = m | |
2056 | lasr[7][lasr[6]].CFrame = CFrame.new((lasr[3] + enz)/2,enz) * CFrame.Angles(math.pi/2,0,0) | |
2057 | lasr[9][lasr[6]].Scale = Vector3.new(0.7,(lasr[3] - enz).magnitude*5,0.7) | |
2058 | ||
2059 | lasr[8][lasr[6]].Parent = m | |
2060 | lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame | |
2061 | lasr[10][lasr[6]].Scale = Vector3.new(1.3,(lasr[3] - enz).magnitude*5 + 0.02,1.3) | |
2062 | ||
2063 | lasr[3] = enz | |
2064 | lasr[6] = lasr[6]%#lasr[7] + 1 | |
2065 | ||
2066 | if hitz then | |
2067 | lasr[4] = lasr[4] + 1 | |
2068 | if lasr[4] == maxRebounds then | |
2069 | lasr[1] = false | |
2070 | so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2) | |
2071 | damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart) | |
2072 | print(ReboundCount) | |
2073 | else | |
2074 | local norm = FindSurface(hitz,enz) | |
2075 | lasr[2] = Reflect(lasr[2],norm) | |
2076 | so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2) | |
2077 | damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart) | |
2078 | print(ReboundCount) | |
2079 | end | |
2080 | end | |
2081 | if lasr[5] > maxTravelDistance then | |
2082 | lasr[1] = false | |
2083 | end | |
2084 | end | |
2085 | end | |
2086 | end) |