SHOW:
|
|
- or go back to the newest paste.
1 | --i used stravants Beautifier so it might look a bit wonky | |
2 | -- This script has been converted to FE by iPxter | |
3 | ||
4 | ||
5 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
6 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
7 | do | |
8 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
9 | script.Parent = Player.Character | |
10 | ||
11 | --RemoteEvent for communicating | |
12 | local Event = Instance.new("RemoteEvent") | |
13 | Event.Name = "UserInput_Event" | |
14 | ||
15 | --Fake event to make stuff like Mouse.KeyDown work | |
16 | local function fakeEvent() | |
17 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
18 | t.connect = t.Connect | |
19 | return t | |
20 | end | |
21 | ||
22 | --Creating fake input objects with fake variables | |
23 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
24 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
25 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
26 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
27 | end} | |
28 | --Merged 2 functions into one by checking amount of arguments | |
29 | CAS.UnbindAction = CAS.BindAction | |
30 | ||
31 | --This function will trigger the events that have been :Connect()'ed | |
32 | local function te(self,ev,...) | |
33 | local t = m[ev] | |
34 | if t and t._fakeEvent and t.Function then | |
35 | t.Function(...) | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | ||
41 | Event.OnServerEvent:Connect(function(plr,io) | |
42 | if plr~=Player then return end | |
43 | if io.isMouse then | |
44 | m.Target = io.Target | |
45 | m.Hit = io.Hit | |
46 | else | |
47 | local b = io.UserInputState == Enum.UserInputState.Begin | |
48 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
49 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
50 | end | |
51 | for _,t in pairs(CAS.Actions) do | |
52 | for _,k in pairs(t.Keys) do | |
53 | if k==io.KeyCode then | |
54 | t.Function(t.Name,io.UserInputState,io) | |
55 | end | |
56 | end | |
57 | end | |
58 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
59 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
60 | end | |
61 | end) | |
62 | Event.Parent = NLS([==[ | |
63 | local Player = game:GetService("Players").LocalPlayer | |
64 | local Event = script:WaitForChild("UserInput_Event") | |
65 | ||
66 | local UIS = game:GetService("UserInputService") | |
67 | local input = function(io,a) | |
68 | if a then return end | |
69 | --Since InputObject is a client-side instance, we create and pass table instead | |
70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
71 | end | |
72 | UIS.InputBegan:Connect(input) | |
73 | UIS.InputEnded:Connect(input) | |
74 | ||
75 | local Mouse = Player:GetMouse() | |
76 | local h,t | |
77 | --Give the server mouse data 30 times every second, but only if the values changed | |
78 | --If player is not moving their mouse, client won't fire events | |
79 | while wait(1/30) do | |
80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
81 | h,t=Mouse.Hit,Mouse.Target | |
82 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
83 | end | |
84 | end]==],Player.Character) | |
85 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
86 | end | |
87 | Meshes = { | |
88 | Blast = '20329976', | |
89 | Crown = '1323306', | |
90 | Ring = '3270017', | |
91 | Claw = '10681506', | |
92 | Crystal = '9756362', | |
93 | Coil = '9753878', | |
94 | Cloud = '1095708', | |
95 | } | |
96 | clangsounds = { | |
97 | '199149119', | |
98 | '199149109', | |
99 | '199149072', | |
100 | '199149025', | |
101 | '199148971' | |
102 | } | |
103 | hitsounds = { | |
104 | '199149137', | |
105 | '199149186', | |
106 | '199149221', | |
107 | '199149235', | |
108 | '199149269', | |
109 | '199149297' | |
110 | } | |
111 | blocksounds = { | |
112 | '199148933', | |
113 | '199148947' | |
114 | } | |
115 | armorsounds = { | |
116 | '199149321', | |
117 | '199149338', | |
118 | '199149367', | |
119 | '199149409', | |
120 | '199149452' | |
121 | } | |
122 | woosh = { | |
123 | Heavy1 = '320557353', | |
124 | Heavy2 = '320557382', | |
125 | Heavy3 = '320557453', | |
126 | Heavy4 = '199144226', | |
127 | Heavy5 = '203691447', | |
128 | Heavy6 = '203691467', | |
129 | Heavy7 = '203691492', | |
130 | Light1 = '320557413', | |
131 | Light2 = '320557487', | |
132 | Light3 = '199145095', | |
133 | Light4 = '199145146', | |
134 | Light5 = '199145887', | |
135 | Light6 = '199145913', | |
136 | Light7 = '199145841', | |
137 | Medium1 = '320557518', | |
138 | Medium2 = '320557537', | |
139 | Medium3 = '320557563', | |
140 | Medium4 = '199145204' | |
141 | } | |
142 | music = {--i like music a lot | |
143 | Breaking = '179281636', | |
144 | FinalReckoning = '357375770', | |
145 | NotDeadYet = '346175829', | |
146 | Intense = '151514610', | |
147 | JumpP1 = '160536628', | |
148 | JumpP2 = '60536666', | |
149 | SonsOfWar = '158929777', | |
150 | WrathOfSea = '165520893', | |
151 | ProtecTorsofEarth = '160542922', | |
152 | SkyTitans = '179282324', | |
153 | ArchAngel = '144043274', | |
154 | Anticipation = '168614529', | |
155 | TheMartyred = '186849544', | |
156 | AwakeP1 = '335631255', | |
157 | AwakeP2 = '335631297', | |
158 | ReadyAimFireP1 = '342455387', | |
159 | ReadyAimFireP2 = '342455399', | |
160 | DarkLordP1 = '209567483', | |
161 | DarkLordP2 = '209567529', | |
162 | BloodDrainP1 = '162914123', | |
163 | BloodDrainP2 = '162914203', | |
164 | DanceOfSwords = '320473062', | |
165 | Opal = '286415112', | |
166 | Calamity = '190454307', | |
167 | Hypnotica = '155968128', | |
168 | Nemisis = '160453802', | |
169 | Breathe = '276963903', | |
170 | GateToTheRift = '270655227', | |
171 | InfernalBeserking = '244143404', | |
172 | Trust = '246184492', | |
173 | AwakeningTheProject = '245121821', | |
174 | BloodPain = '242545577', | |
175 | Chaos = '247241693', | |
176 | NightmareFictionHighStake = '248062278', | |
177 | TheWhiteWeapon = '247236446', | |
178 | Gale = '256851659', | |
179 | ImperialCode = '256848383', | |
180 | Blitzkrieg = '306431437', | |
181 | RhapsodyRage = '348690251', | |
182 | TheGodFist = '348541501', | |
183 | BattleForSoul = '321185592', | |
184 | TheDarkColossus = '305976780', | |
185 | EmpireOfAngels = '302580452', | |
186 | Kronos = '302205297', | |
187 | Exorcist = '299796054', | |
188 | CrimsonFlames = '297799220', | |
189 | UltimatePower = '295753229', | |
190 | DrivingInTheDark = '295753229', | |
191 | AscendToPower = '293860654', | |
192 | GodOfTheSun = '293612495', | |
193 | DarkRider = '293861765', | |
194 | Vengeance = '293375555', | |
195 | SoundOfWar = '293376196', | |
196 | HellsCrusaders = '293012202', | |
197 | Legend = '293011823', | |
198 | RisingSouls = '290524959' | |
199 | } | |
200 | misc = { | |
201 | GroundSlam = '199145477', | |
202 | LaserSlash = '199145497', | |
203 | RailGunFire = '199145534', | |
204 | Charge1 = '199145659', | |
205 | Charge2 = '169380469', | |
206 | Charge3 = '169380479', | |
207 | EmptyGun = '203691822', | |
208 | GunShoot = '203691837', | |
209 | Stomp1 = '200632875', | |
210 | Stomp2 = '200632561', | |
211 | TelsaCannonCharge = '169445572', | |
212 | TelsaCannonShoot = '169445602', | |
213 | AncientHymm = '245313442' | |
214 | } | |
215 | wait() | |
216 | local Player = owner | |
217 | local Character = Player.Character | |
218 | local Humanoid = Character.Humanoid | |
219 | local m = Instance.new('Model', Character) | |
220 | m.Name = "WeaponModel" | |
221 | local Effects = {} | |
222 | local LeftArm = Character["Left Arm"] | |
223 | local RightArm = Character["Right Arm"] | |
224 | local LeftLeg = Character["Left Leg"] | |
225 | local RightLeg = Character["Right Leg"] | |
226 | local Head = Character.Head | |
227 | local Torso = Character.Torso | |
228 | local cam = game.Workspace.CurrentCamera | |
229 | local RootPart = Character.HumanoidRootPart | |
230 | local RootJoint = RootPart.RootJoint | |
231 | --cam.CameraSubject = Head | |
232 | local equipped = false | |
233 | local attack = false | |
234 | local Anim = 'Idle' | |
235 | local idle = 0 | |
236 | local sprint = false | |
237 | local battlestance = false | |
238 | local attacktype = 1 | |
239 | local state = 'none' | |
240 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
241 | local velocity = RootPart.Velocity.y | |
242 | local sine = 0 | |
243 | local change = 1 | |
244 | local on = false | |
245 | local grabbed = false | |
246 | local skill1 = false | |
247 | local skill2 = false | |
248 | local skill3 = false | |
249 | local skill4 = false | |
250 | local cooldown1 = 0 | |
251 | local cooldown2 = 0 | |
252 | local cooldown3 = 0 | |
253 | local cooldown4 = 0 | |
254 | local co1 = 10--how long it will take for skill to cooldown | |
255 | local co2 = 15 | |
256 | local co3 = 15 | |
257 | local co4 = 35 | |
258 | local inputserv = game:GetService('UserInputService') | |
259 | local typing = false | |
260 | local crit = false | |
261 | local critchance = 9999999--critical chance percentage | |
262 | local critdamageaddmin = 9999999--minimum amount of critical damage being added to regular damage | |
263 | local critdamageaddmax = 9999999--maximum amount | |
264 | local maxstamina = 100--max amount of stamina | |
265 | local stamina = 0--stamina you start out with | |
266 | local skill1stam = 0--how much stamina is needed for a skill | |
267 | local skill2stam = 0 | |
268 | local skill3stam = 0 | |
269 | local skill4stam = 0 | |
270 | local recoverEnergy = 9999999--how much Energy per second | |
271 | local defensevalue = 9999999--how much defense this character has | |
272 | local speedvalue = 1--how much speed this character has | |
273 | --speed is 16*speedvalue | |
274 | local mindamage = 9999999--self explanatory | |
275 | local maxdamage = 9999999--self explanatory | |
276 | local damagevalue = 999999--how much damage this character has | |
277 | --damage is math.random(mindamage,maxdamage)*damagevalue | |
278 | --damage(hit, mindamage, maxdamage, 1, 1, RootPart) | |
279 | --asd | |
280 | local cn = CFrame.new-- make things easier :) | |
281 | local mr = math.rad | |
282 | local angles = CFrame.Angles | |
283 | local ud = UDim2.new | |
284 | local c3 = Color3.new | |
285 | local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol | |
286 | --asd | |
287 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
288 | Humanoid.Animator:Destroy() | |
289 | Character.Animate:Destroy() | |
290 | ||
291 | --Angles For RootJoint `~` | |
292 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
293 | --Save Shoulders/Hips | |
294 | RSH, LSH = nil, nil | |
295 | RHS, LHS = nil, nil | |
296 | --Shoulders | |
297 | RW = Instance.new("Weld") | |
298 | LW = Instance.new("Weld") | |
299 | --Hips | |
300 | RH = Instance.new("Weld") | |
301 | LH = Instance.new("Weld") | |
302 | -- | |
303 | Player = Player | |
304 | ch = Character | |
305 | LHS = Torso["Left Hip"] | |
306 | RHS = Torso["Right Hip"] | |
307 | RSH = ch.Torso["Right Shoulder"] | |
308 | LSH = ch.Torso["Left Shoulder"] | |
309 | -- | |
310 | RSH.Parent = nil | |
311 | LSH.Parent = nil | |
312 | -- | |
313 | LHS.Parent = nil | |
314 | RHS.Parent = nil | |
315 | -- | |
316 | RW.Name = "RW" | |
317 | RW.Part0 = ch.Torso | |
318 | RW.C0 = cn(1.5, 0.5, 0) | |
319 | RW.C1 = cn(0, 0.5, 0) | |
320 | RW.Part1 = ch["Right Arm"] | |
321 | RW.Parent = ch.Torso | |
322 | -- | |
323 | LW.Name = "LW" | |
324 | LW.Part0 = ch.Torso | |
325 | LW.C0 = cn(-1.5, 0.5, 0) | |
326 | LW.C1 = cn(0, 0.5, 0) | |
327 | LW.Part1 = ch["Left Arm"] | |
328 | LW.Parent = ch.Torso | |
329 | -- | |
330 | LH.Name = "LH" | |
331 | LH.Part0 = ch.Torso | |
332 | LH.C0 = cn(-0.5, -2, 0) | |
333 | LH.Part1 = ch["Left Leg"] | |
334 | LH.Parent = ch.Torso | |
335 | -- | |
336 | RH.Name = "RH" | |
337 | RH.Part0 = ch.Torso | |
338 | RH.C0 = cn(0.5, -2, 0) | |
339 | RH.Part1 = ch["Right Leg"] | |
340 | RH.Parent = ch.Torso | |
341 | ||
342 | local scrn = Instance.new('ScreenGui', Player.PlayerGui) | |
343 | function makeframe(par, trans, pos, size, color) | |
344 | local frame = Instance.new('Frame', par) | |
345 | frame.BackgroundTransparency = trans | |
346 | frame.BorderSizePixel = 0 | |
347 | frame.Position = pos | |
348 | frame.Size = size | |
349 | frame.BackgroundColor3 = color | |
350 | return frame | |
351 | end | |
352 | function makelabel(par, text) | |
353 | local label = Instance.new('TextLabel', par) | |
354 | label.BackgroundTransparency = 1 | |
355 | label.Size = ud(1, 0, 1, 0) | |
356 | label.Position = ud(0, 0, 0, 0) | |
357 | label.TextColor3 = c3(255, 255, 255) | |
358 | label.TextStrokeTransparency = 0 | |
359 | label.FontSize = Enum.FontSize.Size32 | |
360 | label.Font = Enum.Font.SourceSansBold | |
361 | label.BorderSizePixel = 0 | |
362 | label.TextScaled = true | |
363 | label.Text = text | |
364 | end | |
365 | framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
366 | framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
367 | framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
368 | framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
369 | bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
370 | bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
371 | bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
372 | bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
373 | text1 = makelabel(framesk1, '[t] Reflex') | |
374 | text2 = makelabel(framesk2, '[f] Luxuriance') | |
375 | text3 = makelabel(framesk3, "[r] Lucent Scatter") | |
376 | text4 = makelabel(framesk4, '[q] Echo Barrage') | |
377 | staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), BrickColor.new("Really black").Color) | |
378 | staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Hot pink").Color) | |
379 | staminatext = makelabel(staminabar, 'Photon Energy') | |
380 | healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0)) | |
381 | healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Lime green").Color) | |
382 | healthtext = makelabel(healthbar, 'Health') | |
383 | ||
384 | local stats = Instance.new('Folder', Character) | |
385 | stats.Name = 'Stats' | |
386 | local block = Instance.new('BoolValue', stats) | |
387 | block.Name = 'Block' | |
388 | block.Value = false | |
389 | local stun = Instance.new('BoolValue', stats) | |
390 | stun.Name = 'Stun' | |
391 | stun.Value = false | |
392 | local defense = Instance.new('NumberValue', stats) | |
393 | defense.Name = 'Defence' | |
394 | defense.Value = defensevalue | |
395 | local speed = Instance.new('NumberValue', stats) | |
396 | speed.Name = 'Speed' | |
397 | speed.Value = speedvalue | |
398 | local damagea = Instance.new('NumberValue', stats) | |
399 | damagea.Name = 'Damage' | |
400 | damagea.Value = damagevalue | |
401 | gyro = Instance.new("BodyGyro") | |
402 | gyro.Parent = nil | |
403 | gyro.P = 1e7 | |
404 | gyro.D = 1e3 | |
405 | gyro.MaxTorque = Vector3.new(0,1e7,0) | |
406 | ||
407 | function atktype(s, e) | |
408 | coroutine.resume(coroutine.create(function() | |
409 | attacktype = e | |
410 | wait() | |
411 | attacktype = s | |
412 | end)) | |
413 | end | |
414 | ||
415 | function turncrit() | |
416 | coroutine.resume(coroutine.create(function() | |
417 | print'CRITICAL!' | |
418 | crit = true | |
419 | wait() | |
420 | crit = false | |
421 | end)) | |
422 | end | |
423 | ||
424 | function subtractstamina(k) | |
425 | if stamina >= k then | |
426 | stamina = stamina - k | |
427 | end | |
428 | end | |
429 | ||
430 | function clerp(a, b, t) | |
431 | return a:lerp(b, t) | |
432 | end | |
433 | ||
434 | function randomizer(percent) | |
435 | local randomized = math.random(0, 100) | |
436 | if randomized <= percent then | |
437 | return true | |
438 | elseif randomized >= percent then | |
439 | return false | |
440 | end | |
441 | end | |
442 | ||
443 | local RbxUtility = LoadLibrary("RbxUtility") | |
444 | local Create = RbxUtility.Create | |
445 | ||
446 | function RemoveOutlines(part) | |
447 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
448 | end | |
449 | ||
450 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
451 | local Part = Create("Part"){ | |
452 | formFactor = FormFactor, | |
453 | Parent = Parent, | |
454 | Reflectance = Reflectance, | |
455 | Transparency = Transparency, | |
456 | CanCollide = false, | |
457 | Locked = true, | |
458 | BrickColor = BrickColor.new(tostring(BColor)), | |
459 | Name = Name, | |
460 | Size = Size, | |
461 | Material = Material, | |
462 | } | |
463 | RemoveOutlines(Part) | |
464 | return Part | |
465 | end | |
466 | ||
467 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
468 | local Msh = Create(Mesh){ | |
469 | Parent = Part, | |
470 | Offset = OffSet, | |
471 | Scale = Scale, | |
472 | } | |
473 | if Mesh == "SpecialMesh" then | |
474 | Msh.MeshType = MeshType | |
475 | Msh.MeshId = MeshId | |
476 | end | |
477 | return Msh | |
478 | end | |
479 | ||
480 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
481 | local Weld = Create("Weld"){ | |
482 | Parent = Parent, | |
483 | Part0 = Part0, | |
484 | Part1 = Part1, | |
485 | C0 = C0, | |
486 | C1 = C1, | |
487 | } | |
488 | return Weld | |
489 | end | |
490 | ||
491 | function rayCast(pos, dir, maxl, ignore) | |
492 | return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore) | |
493 | end | |
494 | --Effects | |
495 | function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type) | |
496 | local p = Instance.new('Part', par or workspace) | |
497 | p.CFrame = pos1 | |
498 | p.Anchored = true | |
499 | p.Material = 'SmoothPlastic' | |
500 | p.CanCollide = false | |
501 | p.TopSurface = 0 | |
502 | p.Size = Vector3.new(1, 1, 1) | |
503 | p.BottomSurface = 0 | |
504 | p.Transparency = trans | |
505 | p.FormFactor = 'Custom' | |
506 | RemoveOutlines(p) | |
507 | local mesh = Instance.new('SpecialMesh', p) | |
508 | mesh.Scale = size | |
509 | if id ~= nil and type == nil then | |
510 | mesh.MeshId = 'rbxassetid://'..id | |
511 | elseif id == nil and type ~= nil then | |
512 | mesh.MeshType = type | |
513 | elseif id == nil and type == nil then | |
514 | mesh.MeshType = 'Brick' | |
515 | end | |
516 | coroutine.wrap(function() | |
517 | for i = 0, delay1, .1 do | |
518 | wait() | |
519 | p.CFrame = p.CFrame | |
520 | mesh.Scale = mesh.Scale + howmuch | |
521 | p.Transparency = p.Transparency + trans1 | |
522 | end | |
523 | p:Destroy() | |
524 | end)() | |
525 | return p | |
526 | end | |
527 | function clangy(cframe) | |
528 | wait() | |
529 | local clang = {} | |
530 | local dis = 0 | |
531 | local part = Instance.new('Part', nil) | |
532 | part.CFrame = cframe | |
533 | part.Anchored = true | |
534 | part.CanCollide = false | |
535 | part.BrickColor = BrickColor.new('New Yeller') | |
536 | part.FormFactor = 'Custom' | |
537 | part.Name = 'clanger' | |
538 | part.Size = Vector3.new(.2, .2, .2) | |
539 | part.TopSurface = 10 | |
540 | part.BottomSurface = 10 | |
541 | part.RightSurface = 10 | |
542 | part.LeftSurface = 10 | |
543 | part.BackSurface = 10 | |
544 | part.FrontSurface = 10 | |
545 | --part.Material='Neon' | |
546 | part:BreakJoints() | |
547 | local mesh = Instance.new('BlockMesh', part) | |
548 | coroutine.wrap(function() | |
549 | for i = 1, 7 do | |
550 | wait() | |
551 | dis = dis + .2 | |
552 | local partc = part:clone() | |
553 | partc.Parent = workspace | |
554 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
555 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
556 | table.insert(clang, partc) | |
557 | end | |
558 | for i, v in pairs(clang) do | |
559 | coroutine.wrap(function() | |
560 | for i = 1, 10 do | |
561 | wait() | |
562 | v.Transparency = v.Transparency + .1 | |
563 | end | |
564 | v:destroy() | |
565 | end)() | |
566 | end | |
567 | end)() | |
568 | end | |
569 | --damage effects | |
570 | function circle(color, pos1) | |
571 | local p = Instance.new('Part', m) | |
572 | p.BrickColor = BrickColor.new(color) | |
573 | p.CFrame = pos1 | |
574 | p.Anchored = true | |
575 | p.Material = 'Plastic' | |
576 | p.CanCollide = false | |
577 | p.TopSurface = 0 | |
578 | p.Size = Vector3.new(1, 1, 1) | |
579 | p.BottomSurface = 0 | |
580 | p.Transparency = 0.35 | |
581 | p.FormFactor = 'Custom' | |
582 | local mesh = Instance.new('CylinderMesh', p) | |
583 | mesh.Scale = Vector3.new(0, 0, 0) | |
584 | coroutine.wrap(function() | |
585 | for i = 0, 5, .1 do | |
586 | wait() | |
587 | p.CFrame = p.CFrame | |
588 | mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5) | |
589 | p.Transparency = p.Transparency + .025 | |
590 | end | |
591 | p:Destroy() | |
592 | end)() | |
593 | end | |
594 | function firespaz1(color, pos1) | |
595 | local p = Instance.new('Part', m) | |
596 | p.BrickColor = BrickColor.new(color) | |
597 | p.CFrame = pos1 | |
598 | p.Anchored = true | |
599 | p.Material = 'Plastic' | |
600 | p.CanCollide = false | |
601 | p.TopSurface = 0 | |
602 | p.Size = Vector3.new(1, 1, 1) | |
603 | p.BottomSurface = 0 | |
604 | p.Transparency = 0.5 | |
605 | p.FormFactor = 'Custom' | |
606 | local mesh = Instance.new('BlockMesh', p) | |
607 | mesh.Scale = Vector3.new(1, 1, 1) | |
608 | coroutine.wrap(function() | |
609 | for i = 0, 15, .1 do | |
610 | wait() | |
611 | p.CFrame = p.CFrame * CFrame.new(0, .1, 0) | |
612 | mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1) | |
613 | p.Transparency = p.Transparency + .025 | |
614 | end | |
615 | p:Destroy() | |
616 | end)() | |
617 | end | |
618 | ||
619 | function pickrandom(tablesa) | |
620 | local randomized = tablesa[math.random(1, #tablesa)] | |
621 | return randomized | |
622 | end | |
623 | function sound(id, pitch, volume, par, last) | |
624 | local s = Instance.new('Sound', par or Torso) | |
625 | s.SoundId = 'rbxassetid://'..id | |
626 | s.Pitch = pitch or 1 | |
627 | s.Volume = volume or 1 | |
628 | wait() | |
629 | s:play() | |
630 | game.Debris:AddItem(s, last or 120) | |
631 | end | |
632 | function clangy(cframe) | |
633 | wait() | |
634 | local clang = {} | |
635 | local dis = 0 | |
636 | local part = Instance.new('Part', nil) | |
637 | part.CFrame = cframe | |
638 | part.Anchored = true | |
639 | part.CanCollide = false | |
640 | part.BrickColor = BrickColor.new('New Yeller') | |
641 | part.FormFactor = 'Custom' | |
642 | part.Name = 'clanger' | |
643 | part.Size = Vector3.new(.2, .2, .2) | |
644 | part.TopSurface = 10 | |
645 | part.BottomSurface = 10 | |
646 | part.RightSurface = 10 | |
647 | part.LeftSurface = 10 | |
648 | part.BackSurface = 10 | |
649 | part.FrontSurface = 10 | |
650 | --part.Material='Neon' | |
651 | part:BreakJoints() | |
652 | local mesh = Instance.new('BlockMesh', part) | |
653 | coroutine.wrap(function() | |
654 | for i = 1, 7 do | |
655 | wait() | |
656 | dis = dis + .2 | |
657 | local partc = part:clone() | |
658 | partc.Parent = workspace | |
659 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
660 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
661 | table.insert(clang, partc) | |
662 | end | |
663 | for i, v in pairs(clang) do | |
664 | coroutine.wrap(function() | |
665 | for i = 1, 10 do | |
666 | wait() | |
667 | v.Transparency = v.Transparency + .1 | |
668 | end | |
669 | v:destroy() | |
670 | end)() | |
671 | end | |
672 | end)() | |
673 | end | |
674 | --damage effects | |
675 | --Effects | |
676 | so = function(id, par, vol, pit) | |
677 | coroutine.resume(coroutine.create(function() | |
678 | local sou = Instance.new("Sound", par or workspace) | |
679 | sou.Volume = vol | |
680 | sou.Pitch = pit or 1 | |
681 | sou.SoundId = id | |
682 | wait() | |
683 | sou:play() | |
684 | game:GetService("Debris"):AddItem(sou, 6) | |
685 | end)) | |
686 | end | |
687 | ||
688 | local function getclosest(obj, distance) | |
689 | local last, lastx = distance + 1 | |
690 | for i, v in pairs(workspace:GetChildren()) do | |
691 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then | |
692 | local t = v.Torso | |
693 | local dist = (t.Position - obj.Position).magnitude | |
694 | if dist <= distance then | |
695 | if dist < last then | |
696 | last = dist | |
697 | lastx = v | |
698 | end | |
699 | end | |
700 | end | |
701 | end | |
702 | return lastx | |
703 | end | |
704 | ||
705 | function makegui(cframe, text) | |
706 | local a = math.random(-10, 10) / 100 | |
707 | local c = Instance.new("Part") | |
708 | c.Transparency = 1 | |
709 | Instance.new("BodyGyro").Parent = c | |
710 | c.Parent = m | |
711 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
712 | local f = Instance.new("BodyPosition") | |
713 | f.P = 2000 | |
714 | f.D = 100 | |
715 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
716 | f.position = c.Position + Vector3.new(0, 3, 0) | |
717 | f.Parent = c | |
718 | game:GetService("Debris"):AddItem(c, .5 + 6) | |
719 | c.CanCollide = false | |
720 | c.CanCollide = false | |
721 | local bg = Instance.new('BillboardGui', m) | |
722 | bg.Adornee = c | |
723 | bg.Size = UDim2.new(1, 0, 1, 0) | |
724 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
725 | bg.AlwaysOnTop = false | |
726 | local tl = Instance.new('TextLabel', bg) | |
727 | tl.BackgroundTransparency = 1 | |
728 | tl.Size = UDim2.new(1, 0, 1, 0) | |
729 | tl.Text = text | |
730 | tl.Font = 'SourceSansBold' | |
731 | tl.FontSize = 'Size42' | |
732 | if crit == true then | |
733 | tl.TextColor3 = Color3.new(180 / 255, 0, 0) | |
734 | else | |
735 | tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255) | |
736 | end | |
737 | tl.TextStrokeTransparency = 0 | |
738 | tl.TextScaled = true | |
739 | tl.TextWrapped = true | |
740 | coroutine.wrap(function() | |
741 | wait() | |
742 | for i = 1, 10 do | |
743 | wait() | |
744 | tl.TextTransparency = tl.TextTransparency + .1 | |
745 | end | |
746 | end)() | |
747 | end | |
748 | ||
749 | function tag(hum, Player) | |
750 | local creator = Instance.new('ObjectValue', hum) | |
751 | creator.Value = Player | |
752 | creator.Name = 'creator' | |
753 | end | |
754 | function untag(hum) | |
755 | if hum ~= nil then | |
756 | local tag = hum:findFirstChild("creator") | |
757 | if tag ~= nil then | |
758 | tag.Parent = nil | |
759 | end | |
760 | end | |
761 | end | |
762 | ||
763 | function tagPlayer(h) | |
764 | coroutine.wrap(function() | |
765 | tag(h, Player) | |
766 | wait() | |
767 | untag(h) | |
768 | end)() | |
769 | end | |
770 | ||
771 | function CheckClose(Obj,Dist) | |
772 | for _,v in pairs(workspace:GetChildren()) do | |
773 | if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Character then | |
774 | local DistFromTorso = (v.Torso.Position - Obj.Position).magnitude | |
775 | if DistFromTorso < Dist then | |
776 | return v | |
777 | end | |
778 | end | |
779 | end | |
780 | end | |
781 | ||
782 | function damage(hit, mind, maxd, knock, type, prop) | |
783 | --[[ | |
784 | to apply it to a Player directly, make the first arg go to the Players Torso | |
785 | 1 - normal type(damage and knockback) | |
786 | 2 - drain type(damage no knockback) | |
787 | 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed | |
788 | 4 - heal(heals target) | |
789 | 5 - subtracts enemies defense | |
790 | 6 - subtracts enemies speed | |
791 | 7 - | |
792 | ]] | |
793 | if hit.Name:lower() == 'Hitbox' then | |
794 | local pos = CFrame.new(0, 1, -1) | |
795 | sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6) | |
796 | coroutine.wrap(function() | |
797 | for i = 1, 4 do | |
798 | clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)) | |
799 | end | |
800 | end)() | |
801 | end | |
802 | if hit.Parent == nil then | |
803 | return | |
804 | end | |
805 | local h = hit.Parent:FindFirstChild("Humanoid") | |
806 | for i, v in pairs(hit.Parent:children()) do | |
807 | if v:IsA("Humanoid") then | |
808 | h = v | |
809 | end | |
810 | end | |
811 | if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then | |
812 | h = hit.Parent.Parent:FindFirstChild('Humanoid') | |
813 | end | |
814 | if hit.Parent:IsA('Hat') then | |
815 | hit = hit.Parent.Parent:findFirstChild('Head') | |
816 | end | |
817 | local D = math.random(mind, maxd) * damagea.Value | |
818 | if h then | |
819 | if h.Parent:FindFirstChild('Stats') then | |
820 | D=D/h.Parent:FindFirstChild('Stats').Defence.Value | |
821 | elseif not h.Parent:FindFirstChild('Stats') then | |
822 | D=D | |
823 | end | |
824 | end | |
825 | if h then | |
826 | makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5))) | |
827 | end | |
828 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
829 | if type == 1 then | |
830 | tagPlayer(h) | |
831 | local asd = randomizer(critchance) | |
832 | if asd == true then | |
833 | turncrit() | |
834 | end | |
835 | if crit == false then | |
836 | h.Health = h.Health - D | |
837 | else | |
838 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
839 | end | |
840 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100) | |
841 | local vp = Instance.new('BodyVelocity') | |
842 | vp.P = 500 | |
843 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
844 | vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05 | |
845 | if knock > 0 then | |
846 | vp.Parent = hit.Parent.Torso | |
847 | end | |
848 | game:GetService("Debris"):AddItem(vp, .5) | |
849 | elseif type == 2 then | |
850 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100) | |
851 | local asd = randomizer(critchance) | |
852 | if asd == true then | |
853 | turncrit() | |
854 | end | |
855 | if crit == false then | |
856 | h.Health = h.Health - D | |
857 | else | |
858 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
859 | end | |
860 | tagPlayer(h) | |
861 | elseif type == 3 then | |
862 | tagPlayer(h) | |
863 | local asd = randomizer(critchance) | |
864 | if asd == true then | |
865 | turncrit() | |
866 | end | |
867 | if crit == false then | |
868 | h.Health = h.Health - D | |
869 | else | |
870 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
871 | end | |
872 | Character.Humanoid.Health = Character.Humanoid.Health + D / 2 | |
873 | so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5) | |
874 | for i = 1, 10 do | |
875 | firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3))) | |
876 | end | |
877 | elseif type == 4 then | |
878 | h.Health = h.Health + D | |
879 | so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1) | |
880 | circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0)) | |
881 | end | |
882 | end | |
883 | end | |
884 | ||
885 | function subtrackstamina(k) | |
886 | if stamina >= k then | |
887 | stamina = stamina - k | |
888 | end | |
889 | end | |
890 | ||
891 | HandleA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleA",Vector3.new(0.200000003, 0.256000012, 0.896000028)) | |
892 | 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)) | |
893 | CreateMesh("BlockMesh",HandleA,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1)) | |
894 | HandleB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleB",Vector3.new(0.200000003, 0.256000012, 0.896000028)) | |
895 | 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)) | |
896 | CreateMesh("BlockMesh",HandleB,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1)) | |
897 | FakeHandleA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","FakeHandleA",Vector3.new(0.200000003, 0.256000012, 0.496000051)) | |
898 | 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)) | |
899 | CreateMesh("BlockMesh",FakeHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1)) | |
900 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
901 | 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)) | |
902 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
903 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
904 | 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)) | |
905 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
906 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
907 | 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)) | |
908 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
909 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
910 | 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)) | |
911 | 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)) | |
912 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
913 | 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)) | |
914 | 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)) | |
915 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
916 | 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)) | |
917 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
918 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
919 | 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)) | |
920 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
921 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
922 | 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)) | |
923 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
924 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
925 | 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)) | |
926 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
927 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
928 | 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)) | |
929 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
930 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
931 | 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)) | |
932 | 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)) | |
933 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
934 | 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)) | |
935 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
936 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.393659979, 0.524879932)) | |
937 | 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)) | |
938 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.524879932)) | |
939 | 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)) | |
940 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656100452, 0.656099916, 1)) | |
941 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.787320077, 0.262439996, 0.524879932)) | |
942 | 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)) | |
943 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
944 | 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)) | |
945 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
946 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
947 | 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)) | |
948 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
949 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
950 | 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)) | |
951 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
952 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
953 | 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)) | |
954 | 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)) | |
955 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.249317944, 0.262439966)) | |
956 | 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)) | |
957 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1)) | |
958 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.262439966)) | |
959 | 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)) | |
960 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
961 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
962 | 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)) | |
963 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
964 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.524879932, 0.262439966)) | |
965 | 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)) | |
966 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
967 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
968 | 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)) | |
969 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
970 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
971 | 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)) | |
972 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
973 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439966, 0.262439966)) | |
974 | 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)) | |
975 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1)) | |
976 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439996, 0.262439966)) | |
977 | 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)) | |
978 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1)) | |
979 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.200000003)) | |
980 | 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)) | |
981 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
982 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
983 | 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)) | |
984 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
985 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
986 | 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)) | |
987 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
988 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.200000003)) | |
989 | 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)) | |
990 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
991 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
992 | 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)) | |
993 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
994 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.262439966)) | |
995 | 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)) | |
996 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
997 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.465830922, 0.200000003, 0.262439966)) | |
998 | 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)) | |
999 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1000 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.656099856, 0.393659979, 0.262439966)) | |
1001 | 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)) | |
1002 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1003 | 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)) | |
1004 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1005 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.656099916, 0.262439966)) | |
1006 | 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)) | |
1007 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1)) | |
1008 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
1009 | 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)) | |
1010 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1011 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1012 | 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)) | |
1013 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1014 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1015 | 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)) | |
1016 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1017 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1018 | 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)) | |
1019 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1020 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1021 | 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)) | |
1022 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1023 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
1024 | 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)) | |
1025 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1026 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
1027 | 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)) | |
1028 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1029 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
1030 | 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)) | |
1031 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1032 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1033 | 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)) | |
1034 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1035 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
1036 | 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)) | |
1037 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1038 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1039 | 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)) | |
1040 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1041 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1042 | 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)) | |
1043 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1044 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
1045 | 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)) | |
1046 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1047 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1048 | 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)) | |
1049 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1050 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
1051 | 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)) | |
1052 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1053 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1054 | 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)) | |
1055 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1056 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439996)) | |
1057 | 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)) | |
1058 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1059 | BarrelA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Hot pink","BarrelA",Vector3.new(0.200000003, 0.200000003, 0.512000024)) | |
1060 | 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)) | |
1061 | 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)) | |
1062 | FakeHandleB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","FakeHandleB",Vector3.new(0.200000003, 0.256000012, 0.496000051)) | |
1063 | 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)) | |
1064 | CreateMesh("BlockMesh",FakeHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1)) | |
1065 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1066 | 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)) | |
1067 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1068 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1069 | 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)) | |
1070 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1071 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
1072 | 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)) | |
1073 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1074 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1075 | 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)) | |
1076 | 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)) | |
1077 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1078 | 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)) | |
1079 | 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)) | |
1080 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1081 | 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)) | |
1082 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1083 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1084 | 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)) | |
1085 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1086 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1087 | 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)) | |
1088 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1089 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1090 | 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)) | |
1091 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1092 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134)) | |
1093 | 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)) | |
1094 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1095 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1096 | 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)) | |
1097 | 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)) | |
1098 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1099 | 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)) | |
1100 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1101 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.393659979, 0.524879932)) | |
1102 | 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)) | |
1103 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.524879932)) | |
1104 | 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)) | |
1105 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656100452, 0.656099916, 1)) | |
1106 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.787320077, 0.262439996, 0.524879932)) | |
1107 | 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)) | |
1108 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1109 | 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)) | |
1110 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1111 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1112 | 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)) | |
1113 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1114 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1115 | 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)) | |
1116 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1117 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1118 | 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)) | |
1119 | 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)) | |
1120 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.249317944, 0.262439966)) | |
1121 | 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)) | |
1122 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1)) | |
1123 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.262439966)) | |
1124 | 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)) | |
1125 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1126 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1127 | 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)) | |
1128 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1129 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.524879932, 0.262439966)) | |
1130 | 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)) | |
1131 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1132 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1133 | 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)) | |
1134 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1135 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1136 | 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)) | |
1137 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1138 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439966, 0.262439966)) | |
1139 | 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)) | |
1140 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1)) | |
1141 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439996, 0.262439966)) | |
1142 | 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)) | |
1143 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1)) | |
1144 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.200000003)) | |
1145 | 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)) | |
1146 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1147 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
1148 | 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)) | |
1149 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1150 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1151 | 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)) | |
1152 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1153 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.200000003)) | |
1154 | 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)) | |
1155 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1156 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1157 | 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)) | |
1158 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1159 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.262439966)) | |
1160 | 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)) | |
1161 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1162 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.465830922, 0.200000003, 0.262439966)) | |
1163 | 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)) | |
1164 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1165 | Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.656099856, 0.393659979, 0.262439966)) | |
1166 | 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)) | |
1167 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1168 | 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)) | |
1169 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1170 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.656099916, 0.262439966)) | |
1171 | 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)) | |
1172 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1)) | |
1173 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
1174 | 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)) | |
1175 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1176 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1177 | 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)) | |
1178 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1179 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1180 | 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)) | |
1181 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1182 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1183 | 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)) | |
1184 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1185 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1186 | 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)) | |
1187 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1188 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
1189 | 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)) | |
1190 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1191 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966)) | |
1192 | 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)) | |
1193 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1194 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
1195 | 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)) | |
1196 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1197 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1198 | 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)) | |
1199 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1200 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003)) | |
1201 | 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)) | |
1202 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1203 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1204 | 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)) | |
1205 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1206 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003)) | |
1207 | 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)) | |
1208 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1209 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996)) | |
1210 | 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)) | |
1211 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1212 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966)) | |
1213 | 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)) | |
1214 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1)) | |
1215 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003)) | |
1216 | 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)) | |
1217 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916)) | |
1218 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1219 | 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)) | |
1220 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916)) | |
1221 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439996)) | |
1222 | 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)) | |
1223 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1)) | |
1224 | BarrelB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Hot pink","BarrelB",Vector3.new(0.200000003, 0.200000003, 0.512000024)) | |
1225 | 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)) | |
1226 | 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)) | |
1227 | ||
1228 | local lasrs = {} | |
1229 | local lasrspd = 5 | |
1230 | local maxTravelDistance = 300 | |
1231 | local maxRebounds = 2 | |
1232 | ||
1233 | function RAY(pos, dir, collidedlist, startpos, endpos, distleft) | |
1234 | collidedlist = collidedlist or {Character} | |
1235 | startpos = startpos or pos | |
1236 | distleft = distleft or dir.unit * dir.magnitude | |
1237 | endpos = endpos or pos + distleft | |
1238 | local ray = Ray.new(pos, distleft) | |
1239 | local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist) | |
1240 | if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then | |
1241 | if hitz.CanCollide == false then | |
1242 | table.insert(collidedlist, hitz) | |
1243 | local newpos = enz | |
1244 | local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude) | |
1245 | if newdistleft then | |
1246 | return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01)) | |
1247 | end | |
1248 | end | |
1249 | end | |
1250 | return hitz, enz, ray | |
1251 | end | |
1252 | ||
1253 | function FindSurface(part, position) | |
1254 | local obj = part.CFrame:pointToObjectSpace(position) | |
1255 | local siz = part.Size/2 | |
1256 | for i,v in pairs(Enum.NormalId:GetEnumItems()) do | |
1257 | local vec = Vector3.FromNormalId(v) | |
1258 | local wvec = part.CFrame:vectorToWorldSpace(vec) | |
1259 | local vz = (obj)/(siz*vec) | |
1260 | 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 | |
1261 | return wvec,vec | |
1262 | end | |
1263 | end | |
1264 | if part.className == "WedgePart" then | |
1265 | local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p | |
1266 | 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 | |
1267 | local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos) | |
1268 | return wvec,vec | |
1269 | elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then | |
1270 | return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit) | |
1271 | end | |
1272 | end | |
1273 | ||
1274 | function Reflect(direction, normal) | |
1275 | return direction - 2 * normal:Dot(direction) * normal | |
1276 | end | |
1277 | ||
1278 | function ReflectShot(mouse,asd) | |
1279 | local dir = (mouse.Hit.p - Torso.Position).unit | |
1280 | local tabl | |
1281 | local tablnum = 0 | |
1282 | for i, v in pairs(lasrs) do | |
1283 | if not v[1] then | |
1284 | tabl = v | |
1285 | tablnum = i | |
1286 | break | |
1287 | end | |
1288 | end | |
1289 | if not tabl then | |
1290 | tablnum = #lasrs + 1 | |
1291 | tabl = {false,nil,nil,0,0,1,{},{},{},{}} | |
1292 | for i = 1, 2 do | |
1293 | for j = 1, 6 do | |
1294 | local p = Instance.new("Part") | |
1295 | p.FormFactor = "Custom" | |
1296 | p.CanCollide = false | |
1297 | p.Anchored = true | |
1298 | p.Locked = true | |
1299 | p.BrickColor = BarrelA.BrickColor | |
1300 | p.TopSurface = 10 | |
1301 | p.BottomSurface = 10 | |
1302 | p.RightSurface = 10 | |
1303 | p.LeftSurface = 10 | |
1304 | p.FrontSurface = 10 | |
1305 | p.BackSurface = 10 | |
1306 | p.Size = Vector3.new(.5,.5,.5) | |
1307 | p.Material = "Neon" | |
1308 | p.Transparency = i == 1 and 0 or 0.6 | |
1309 | local mesh = Instance.new("CylinderMesh",p) | |
1310 | table.insert(tabl[6+i],p) | |
1311 | table.insert(tabl[8+i],mesh) | |
1312 | end | |
1313 | end | |
1314 | table.insert(lasrs,tabl) | |
1315 | end | |
1316 | -- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer | |
1317 | tabl[4],tabl[5] = 0,0 | |
1318 | tabl[3] = asd.Position | |
1319 | tabl[2] = dir | |
1320 | tabl[1] = true | |
1321 | ||
1322 | end | |
1323 | ||
1324 | gun = false | |
1325 | ||
1326 | shoot = false | |
1327 | ||
1328 | gunidle = false | |
1329 | ||
1330 | local GunA = true | |
1331 | local GunB = false | |
1332 | ||
1333 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1334 | local prt = CreatePart(3, Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.1, 0.1, 0.1)) | |
1335 | prt.Anchored = true | |
1336 | prt.CFrame = cframe | |
1337 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1338 | game:GetService("Debris"):AddItem(prt, 5) | |
1339 | Effects[#Effects + 1] = { | |
1340 | prt, | |
1341 | "Cylinder", | |
1342 | delay, | |
1343 | x3, | |
1344 | y3, | |
1345 | z3 | |
1346 | } --part, type, delay | |
1347 | end | |
1348 | ||
1349 | function Shoot(asd, spread1, spread2) | |
1350 | local MainPos = asd.Position | |
1351 | local MainPos2 = mouse.Hit.p | |
1352 | 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 | |
1353 | local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread) | |
1354 | num = 30 | |
1355 | coroutine.resume(coroutine.create(function(Spreaded) | |
1356 | repeat | |
1357 | wait() | |
1358 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RootPart.Parent) | |
1359 | local TheHit = mouse.Hit.p | |
1360 | local mag = (MainPos - pos).magnitude | |
1361 | 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) | |
1362 | MainPos = MainPos + (MouseLook.lookVector * 10) | |
1363 | num = num - 1 | |
1364 | if hit ~= nil then | |
1365 | num = 0 | |
1366 | damage(hit.Parent:WaitForChild("Torso"), math.random(5,8), math.random(8,10), 5, 1, RootPart) | |
1367 | end | |
1368 | until num <= 0 | |
1369 | end)) | |
1370 | end | |
1371 | ||
1372 | function Attackone() | |
1373 | attack = true | |
1374 | Con1 = LeftLeg.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end) | |
1375 | for i = 0,1,0.2 do | |
1376 | wait() | |
1377 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .3) | |
1378 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
1379 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), .3) | |
1380 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)), .3) | |
1381 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(5)), .3) | |
1382 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(-5)), .3) | |
1383 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1384 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1385 | end | |
1386 | so("http://roblox.com/asset/?id=320557413",LeftLeg,1,1) | |
1387 | for i = 0,1,0.15 do | |
1388 | wait() | |
1389 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .5) | |
1390 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(30)), .5) | |
1391 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .5) | |
1392 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-20)), .5) | |
1393 | RH.C0 = clerp(RH.C0, cn(0.55, -2, .5) * angles(math.rad(-30), math.rad(30), math.rad(10)), .5) | |
1394 | LH.C0 = clerp(LH.C0, cn(-1.3, -1, -1.3) * angles(math.rad(80), math.rad(-10), math.rad(-30)), .5) | |
1395 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1396 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1397 | end | |
1398 | attack = false | |
1399 | Con1:disconnect() | |
1400 | end | |
1401 | ||
1402 | function Attacktwo() | |
1403 | attack = true | |
1404 | Con1 = LeftArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end) | |
1405 | for i = 0,1,0.2 do | |
1406 | wait() | |
1407 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
1408 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(10), math.rad(50)), .3) | |
1409 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .3) | |
1410 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3) | |
1411 | RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(30), math.rad(10)), .3) | |
1412 | LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(0), math.rad(30), math.rad(-10)), .3) | |
1413 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1414 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(70), math.rad(0)), .4) | |
1415 | end | |
1416 | so("http://roblox.com/asset/?id=320557413",LeftArm,1,1.2) | |
1417 | for i = 0,1,0.15 do | |
1418 | wait() | |
1419 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .35) | |
1420 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-5), math.rad(-80)), .35) | |
1421 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(50), math.rad(20), math.rad(30)), .35) | |
1422 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(-90)), .35) | |
1423 | RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(10)), .35) | |
1424 | LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(-10)), .35) | |
1425 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1426 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-90), math.rad(0)), .3) | |
1427 | end | |
1428 | attack = false | |
1429 | Con1:disconnect() | |
1430 | end | |
1431 | ||
1432 | function Attackthree() | |
1433 | attack = true | |
1434 | Con1 = RightArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end) | |
1435 | for i = 0,1,0.2 do | |
1436 | wait() | |
1437 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), .3) | |
1438 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), .3) | |
1439 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(20)), .3) | |
1440 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3) | |
1441 | RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(7)), .3) | |
1442 | LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(-7)), .3) | |
1443 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, -.1) * angles(math.rad(0), math.rad(150), math.rad(0)), .4) | |
1444 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1445 | end | |
1446 | so("http://roblox.com/asset/?id=320557413",RightArm,1,1.3) | |
1447 | for i = 0,1,0.13 do | |
1448 | wait() | |
1449 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .35) | |
1450 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-70)), .35) | |
1451 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.3) * angles(math.rad(30), math.rad(-50), math.rad(-20)), .35) | |
1452 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .35) | |
1453 | RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(7)), .35) | |
1454 | LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-7)), .35) | |
1455 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .4) | |
1456 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4) | |
1457 | end | |
1458 | attack = false | |
1459 | Con1:disconnect() | |
1460 | end | |
1461 | ||
1462 | function Attackfour() | |
1463 | attack = true | |
1464 | for i = 0,1,0.2 do | |
1465 | wait() | |
1466 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3) | |
1467 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(3), math.rad(70)), .3) | |
1468 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3) | |
1469 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3) | |
1470 | RH.C0 = clerp(RH.C0, cn(0.7, -2, .3) * angles(math.rad(3), math.rad(70), math.rad(5)), .3) | |
1471 | LH.C0 = clerp(LH.C0, cn(-0.7, -2, -.3) * angles(math.rad(3), math.rad(70), math.rad(-5)), .3) | |
1472 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7) | |
1473 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1474 | end | |
1475 | so("http://roblox.com/asset/?id=320557413",LeftArm,1,0.9) | |
1476 | for i = 0,1,0.15 do | |
1477 | wait() | |
1478 | so("http://roblox.com/asset/?id=199145534",BarrelA,.5,math.random(150,200)/100) | |
1479 | OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1) | |
1480 | Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1) | |
1481 | local target=CheckClose(BarrelA,5) | |
1482 | if target then | |
1483 | damage(target.Torso, math.random(1,2), math.random(2,3), 1, 1, RootPart) | |
1484 | end | |
1485 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .35) | |
1486 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(-3), math.rad(-100)), .35) | |
1487 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(60), math.rad(70)), .35) | |
1488 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .35) | |
1489 | RH.C0 = clerp(RH.C0, cn(0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(8)), .35) | |
1490 | LH.C0 = clerp(LH.C0, cn(-0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-8)), .35) | |
1491 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1492 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1493 | end | |
1494 | attack = false | |
1495 | end | |
1496 | ||
1497 | function GunStance() | |
1498 | attack=true | |
1499 | gun=true | |
1500 | speedvalue = 1 | |
1501 | gyro.Parent = RootPart | |
1502 | if GunA == true then | |
1503 | for i=0,1,0.2 do | |
1504 | wait() | |
1505 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
1506 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-90)), .25) | |
1507 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(30), math.rad(90)), .25) | |
1508 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), .25) | |
1509 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1510 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1511 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75) | |
1512 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1513 | end | |
1514 | for i=0,1,0.1 do | |
1515 | wait() | |
1516 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
1517 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
1518 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), .25) | |
1519 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-10)), .25) | |
1520 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1521 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1522 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1523 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1524 | end | |
1525 | elseif GunB == true then | |
1526 | for i=0,1,0.2 do | |
1527 | wait() | |
1528 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
1529 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(90)), .25) | |
1530 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(10)), .25) | |
1531 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(-30), math.rad(-90)), .25) | |
1532 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1533 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1534 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1535 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75) | |
1536 | end | |
1537 | for i=0,1,0.1 do | |
1538 | wait() | |
1539 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
1540 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
1541 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25) | |
1542 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25) | |
1543 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1544 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1545 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1546 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1547 | end | |
1548 | end | |
1549 | local offset = nil | |
1550 | gunidle=true | |
1551 | while gun==true do | |
1552 | wait() | |
1553 | local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z) | |
1554 | offset = (Torso.Position.y - mouse.Hit.p.y) / 60 | |
1555 | local mag = (Torso.Position - mouse.Hit.p).magnitude / 80 | |
1556 | offset = offset / mag | |
1557 | if GunA == true and GunB == false then | |
1558 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5) | |
1559 | elseif GunB == true and GunA == false then | |
1560 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5) | |
1561 | end | |
1562 | end | |
1563 | if shoot==true then | |
1564 | gunidle=false | |
1565 | if GunA == true then | |
1566 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1567 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1568 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1569 | GunA = false | |
1570 | Shoot(BarrelA, 0, 0) | |
1571 | for i=0,1,0.15 do | |
1572 | wait() | |
1573 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3) | |
1574 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-80)), .3) | |
1575 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(90), math.rad(60), math.rad(80)), .55) | |
1576 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-15)), .3) | |
1577 | RH.C0 = clerp(RH.C0, cn(0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(3)), .25) | |
1578 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .25) | |
1579 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75) | |
1580 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3) | |
1581 | end | |
1582 | GunB = true | |
1583 | elseif GunB == true then | |
1584 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1585 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1586 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1587 | GunB = false | |
1588 | Shoot(BarrelB, 0, 0) | |
1589 | for i=0,1,0.15 do | |
1590 | wait() | |
1591 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
1592 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .3) | |
1593 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .3) | |
1594 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55) | |
1595 | RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .25) | |
1596 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .25) | |
1597 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3) | |
1598 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75) | |
1599 | end | |
1600 | GunA = true | |
1601 | end | |
1602 | end | |
1603 | gyro.Parent = nil | |
1604 | speedvalue = 2.5 | |
1605 | gun=false | |
1606 | gunidle=false | |
1607 | shoot=false | |
1608 | attack=false | |
1609 | end | |
1610 | ||
1611 | function EchoBarrage() | |
1612 | attack = true | |
1613 | gyro.Parent = RootPart | |
1614 | speedvalue = 1 | |
1615 | for i = 0,1,0.1 do | |
1616 | wait() | |
1617 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3) | |
1618 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1619 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3) | |
1620 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3) | |
1621 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3) | |
1622 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3) | |
1623 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
1624 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1625 | end | |
1626 | for i = 1,2 do | |
1627 | for i = 0,1,0.3 do | |
1628 | wait() | |
1629 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1630 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1631 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
1632 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
1633 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3) | |
1634 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3) | |
1635 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1636 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1637 | end | |
1638 | ReflectShot(mouse,BarrelA) | |
1639 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1640 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1641 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1642 | --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1) | |
1643 | for i = 0,1,0.35 do | |
1644 | wait() | |
1645 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4) | |
1646 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4) | |
1647 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4) | |
1648 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
1649 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4) | |
1650 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4) | |
1651 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1652 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1653 | end | |
1654 | for i = 0,1,0.3 do | |
1655 | wait() | |
1656 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1657 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1658 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
1659 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
1660 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3) | |
1661 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3) | |
1662 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1663 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1664 | end | |
1665 | ReflectShot(mouse,BarrelB) | |
1666 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1667 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1668 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1669 | --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1) | |
1670 | for i = 0,1,0.35 do | |
1671 | wait() | |
1672 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4) | |
1673 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4) | |
1674 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
1675 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4) | |
1676 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4) | |
1677 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4) | |
1678 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1679 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1680 | end | |
1681 | end | |
1682 | gyro.Parent = nil | |
1683 | attack = false | |
1684 | speedvalue = 2.5 | |
1685 | end | |
1686 | ||
1687 | function LucentScatter() | |
1688 | attack = true | |
1689 | gyro.Parent = RootPart | |
1690 | speedvalue = 1 | |
1691 | for i = 0,1,0.1 do | |
1692 | wait() | |
1693 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3) | |
1694 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(70)), .3) | |
1695 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3) | |
1696 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3) | |
1697 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3) | |
1698 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3) | |
1699 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1700 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1701 | end | |
1702 | for i = 0,1,0.2 do | |
1703 | wait() | |
1704 | Shoot(BarrelA, 0, 0) | |
1705 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1706 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1707 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1708 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3) | |
1709 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3) | |
1710 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2) | |
1711 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3) | |
1712 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3) | |
1713 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3) | |
1714 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1715 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1716 | end | |
1717 | for i=0,1,0.3 do | |
1718 | wait() | |
1719 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25) | |
1720 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25) | |
1721 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25) | |
1722 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25) | |
1723 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25) | |
1724 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25) | |
1725 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1726 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1727 | end | |
1728 | for i = 1,5 do | |
1729 | Shoot(BarrelB, 0, 0) | |
1730 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1731 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1732 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1733 | for i=0,1,0.3 do | |
1734 | wait() | |
1735 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .5) | |
1736 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .5) | |
1737 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .5) | |
1738 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55) | |
1739 | RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .5) | |
1740 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .5) | |
1741 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3) | |
1742 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75) | |
1743 | end | |
1744 | for i=0,1,0.3 do | |
1745 | wait() | |
1746 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .8) | |
1747 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .5) | |
1748 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .8) | |
1749 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .8) | |
1750 | RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .5) | |
1751 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .5) | |
1752 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5) | |
1753 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5) | |
1754 | end | |
1755 | end | |
1756 | gyro.Parent = nil | |
1757 | attack = false | |
1758 | speedvalue = 2.5 | |
1759 | end | |
1760 | ||
1761 | function OrbEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
1762 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1763 | prt.Anchored = true | |
1764 | prt.CanCollide=false | |
1765 | 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))) | |
1766 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1767 | game:GetService("Debris"):AddItem(prt, 10) | |
1768 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1769 | for i = 0, 1, delay do | |
1770 | wait(0) | |
1771 | Part.CFrame = Part.CFrame | |
1772 | Part.Transparency = i | |
1773 | Mesh.Scale = Mesh.Scale + Vector3.new(x2, y2, z2) | |
1774 | end | |
1775 | Part.Parent = nil | |
1776 | end), prt, msh) | |
1777 | end | |
1778 | ||
1779 | function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1780 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1781 | prt.Anchored = true | |
1782 | prt.CFrame = cframe*cn(0,-1,0) | |
1783 | --prt.Material = "Neon" | |
1784 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1785 | game:GetService("Debris"):AddItem(prt, 10) | |
1786 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1787 | for i = 0, 1, delay do | |
1788 | wait(0) | |
1789 | Part.CFrame = Part.CFrame | |
1790 | Part.Transparency = i | |
1791 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1792 | end | |
1793 | Part.Parent = nil | |
1794 | end), prt, msh) | |
1795 | end | |
1796 | ||
1797 | function Reflex() | |
1798 | attack = true | |
1799 | gyro.Parent = RootPart | |
1800 | speedvalue = 1 | |
1801 | for i = 0,1,0.1 do | |
1802 | wait() | |
1803 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.55) * angles(math.rad(5), math.rad(0), math.rad(0)), .3) | |
1804 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
1805 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.2) * angles(math.rad(0), math.rad(100), math.rad(50)), .3) | |
1806 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.2) * angles(math.rad(0), math.rad(-100), math.rad(-50)), .3) | |
1807 | RH.C0 = clerp(RH.C0, cn(0.55, -1.5, .5) * angles(math.rad(-60), math.rad(0), math.rad(3)), .3) | |
1808 | LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .3) | |
1809 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1810 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1811 | end | |
1812 | so("http://roblox.com/asset/?id=199145534",BarrelA,1,math.random(150,200)/100) | |
1813 | for i=1,math.random(3,6) do | |
1814 | OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025) | |
1815 | Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025) | |
1816 | end | |
1817 | local target=CheckClose(BarrelA,30) | |
1818 | if target then | |
1819 | damage(target.Torso, 5, math.random(15,20), math.random(15,16), 1, RootPart) | |
1820 | end | |
1821 | Humanoid.Jump=true | |
1822 | Torso.Velocity=Vector3.new(0,7.5,0) | |
1823 | Torso.Velocity=RootPart.CFrame.lookVector*-100 | |
1824 | Humanoid.WalkSpeed = 16*speed.Value | |
1825 | for i = 0,1,0.1 do | |
1826 | wait() | |
1827 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(-6*i, math.rad(0), math.rad(0)), .4) | |
1828 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .4) | |
1829 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(130)), .4) | |
1830 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(-130)), .4) | |
1831 | RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .4) | |
1832 | LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .4) | |
1833 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25) | |
1834 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25) | |
1835 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1836 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
1837 | end | |
1838 | gyro.Parent = nil | |
1839 | attack = false | |
1840 | speedvalue = 2.5 | |
1841 | end | |
1842 | ||
1843 | function Luxuriance() | |
1844 | attack = true | |
1845 | gyro.Parent = RootPart | |
1846 | for i = 0,1,0.1 do | |
1847 | wait() | |
1848 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
1849 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
1850 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3) | |
1851 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3) | |
1852 | RH.C0 = clerp(RH.C0, cn(0.55, -1.7, .4) * angles(math.rad(-20), math.rad(0), math.rad(3)), .3) | |
1853 | LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(5), math.rad(0), math.rad(-3)), .3) | |
1854 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
1855 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1856 | end | |
1857 | for i = 0,1,0.3 do | |
1858 | wait() | |
1859 | ReflectShot(mouse,BarrelA) | |
1860 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1861 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1862 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1863 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3) | |
1864 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3) | |
1865 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2) | |
1866 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3) | |
1867 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3) | |
1868 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3) | |
1869 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1870 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1871 | end | |
1872 | for i = 0,1,0.2 do | |
1873 | wait() | |
1874 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1875 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
1876 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3) | |
1877 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3) | |
1878 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3) | |
1879 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3) | |
1880 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
1881 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1882 | end | |
1883 | for i = 0,1,0.3 do | |
1884 | wait() | |
1885 | ReflectShot(mouse,BarrelB) | |
1886 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1887 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1888 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1889 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-100)), .3) | |
1890 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(100)), .3) | |
1891 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .2) | |
1892 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(130), math.rad(-50), math.rad(-30)), .3) | |
1893 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3) | |
1894 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3) | |
1895 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7) | |
1896 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7) | |
1897 | end | |
1898 | for i = 0,1,0.1 do | |
1899 | wait() | |
1900 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3) | |
1901 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1902 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3) | |
1903 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3) | |
1904 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3) | |
1905 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3) | |
1906 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7) | |
1907 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7) | |
1908 | end | |
1909 | for i = 1,5 do | |
1910 | Shoot(BarrelA, 0, 0) | |
1911 | so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9) | |
1912 | so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2) | |
1913 | so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5) | |
1914 | for i = 0,1,0.35 do | |
1915 | wait() | |
1916 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4) | |
1917 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4) | |
1918 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4) | |
1919 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
1920 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4) | |
1921 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4) | |
1922 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1923 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1924 | end | |
1925 | Shoot(BarrelB, 0, 0) | |
1926 | so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9) | |
1927 | so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2) | |
1928 | so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5) | |
1929 | for i = 0,1,0.35 do | |
1930 | wait() | |
1931 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4) | |
1932 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4) | |
1933 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4) | |
1934 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4) | |
1935 | RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4) | |
1936 | LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4) | |
1937 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1938 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7) | |
1939 | end | |
1940 | end | |
1941 | gyro.Parent = nil | |
1942 | attack = false | |
1943 | end | |
1944 | ||
1945 | mouse.Button1Down:connect(function() | |
1946 | if gun==true and shoot==false then | |
1947 | shoot=true | |
1948 | gun=false | |
1949 | end | |
1950 | if attack == false and attacktype == 1 then | |
1951 | Attackone() | |
1952 | attacktype = 2 | |
1953 | elseif attack == false and attacktype == 2 then | |
1954 | Attacktwo() | |
1955 | attacktype = 3 | |
1956 | elseif attack == false and attacktype == 3 then | |
1957 | Attackthree() | |
1958 | attacktype = 4 | |
1959 | elseif attack == false and attacktype == 4 then | |
1960 | Attackfour() | |
1961 | attacktype = 1 | |
1962 | end | |
1963 | end) | |
1964 | ||
1965 | mouse.KeyDown:connect(function(k) | |
1966 | k = k:lower() | |
1967 | if k=='e' and gun==false and shoot==false and attack==false then | |
1968 | GunStance() | |
1969 | end | |
1970 | if k=='e'and shoot==false then | |
1971 | if gun==true then | |
1972 | gun=false | |
1973 | end | |
1974 | end | |
1975 | if k=='q' and gun==false and shoot==false and attack==false and cooldown1 >= co1 and stamina>=skill1stam then | |
1976 | cooldown1=0 | |
1977 | subtractstamina(skill1stam) | |
1978 | EchoBarrage() | |
1979 | end | |
1980 | if k=='r' and gun==false and shoot==false and attack==false and cooldown2 >= co2 and stamina>=skill2stam then | |
1981 | cooldown2=0 | |
1982 | subtractstamina(skill2stam) | |
1983 | LucentScatter() | |
1984 | end | |
1985 | if k=='t' and gun==false and shoot==false and attack==false and cooldown3 >= co3 and stamina>=skill3stam then | |
1986 | cooldown3=0 | |
1987 | subtractstamina(skill3stam) | |
1988 | Reflex() | |
1989 | end | |
1990 | if k=='f' and gun==false and shoot==false and attack==false and cooldown4 >= co4 and stamina>=skill4stam then | |
1991 | cooldown4=0 | |
1992 | subtractstamina(skill4stam) | |
1993 | Luxuriance() | |
1994 | end | |
1995 | end) | |
1996 | ||
1997 | ||
1998 | inputserv.InputBegan:connect(function(k) | |
1999 | if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then | |
2000 | elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then | |
2001 | elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then | |
2002 | elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then | |
2003 | end | |
2004 | end) | |
2005 | ||
2006 | inputserv.InputBegan:connect(function(k) | |
2007 | if k.KeyCode == Enum.KeyCode.Slash then | |
2008 | local fin = nil | |
2009 | typing = true | |
2010 | fin = inputserv.InputBegan:connect(function(k) | |
2011 | if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then | |
2012 | typing = false | |
2013 | fin:disconnect() | |
2014 | end | |
2015 | end) | |
2016 | end | |
2017 | end) | |
2018 | ||
2019 | local ReboundCount = 0 | |
2020 | ||
2021 | function updateskills() | |
2022 | if cooldown1 <= co1 then | |
2023 | cooldown1 = cooldown1 + 1 | |
2024 | end | |
2025 | if cooldown2 <= co2 then | |
2026 | cooldown2 = cooldown2 + 1 | |
2027 | end | |
2028 | if cooldown3 <= co3 then | |
2029 | cooldown3 = cooldown3 + 1 | |
2030 | end | |
2031 | if cooldown4 <= co4 then | |
2032 | cooldown4 = cooldown4 + 1 | |
2033 | end | |
2034 | if stamina <= maxstamina then | |
2035 | stamina = stamina + recoverEnergy | |
2036 | end | |
2037 | end | |
2038 | ||
2039 | game:GetService'RunService'.Heartbeat:connect(function() | |
2040 | updateskills() | |
2041 | gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RootPart.CFrame.p).unit * 100) | |
2042 | healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5) | |
2043 | staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5) | |
2044 | bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5) | |
2045 | bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5) | |
2046 | bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5) | |
2047 | bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5) | |
2048 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2049 | velocity = RootPart.Velocity.y | |
2050 | sine = sine + change | |
2051 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
2052 | Character.Humanoid.WalkSpeed = 16 * speed.Value | |
2053 | if equipped == true or equipped == false then | |
2054 | if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then | |
2055 | Anim = "Jump" | |
2056 | if attack == false then | |
2057 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .25) | |
2058 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25) | |
2059 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(50)), .25) | |
2060 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-50)), .25) | |
2061 | RH.C0 = clerp(RH.C0, cn(0.4, -1.5, -.5) * angles(math.rad(-20), math.rad(0), math.rad(-5)), .25) | |
2062 | LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), .25) | |
2063 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
2064 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
2065 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2066 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2067 | end | |
2068 | elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then | |
2069 | Anim = "Fall" | |
2070 | if attack == false then | |
2071 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), .25) | |
2072 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25) | |
2073 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(70)), .25) | |
2074 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-70)), .25) | |
2075 | RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .25) | |
2076 | LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .25) | |
2077 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
2078 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
2079 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2080 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2081 | end | |
2082 | elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then | |
2083 | Anim = "Idle" | |
2084 | if attack == false then | |
2085 | change = 1 | |
2086 | 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) | |
2087 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10+5*math.cos(sine/25)), math.rad(0), math.rad(30)), .25) | |
2088 | 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) | |
2089 | 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) | |
2090 | 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) | |
2091 | 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) | |
2092 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
2093 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
2094 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2095 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2096 | end | |
2097 | elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then | |
2098 | Anim = "Walk" | |
2099 | if attack == false then | |
2100 | 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) | |
2101 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-5*math.cos(sine/4.5))), .25) | |
2102 | 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) | |
2103 | 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) | |
2104 | 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) | |
2105 | 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) | |
2106 | FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
2107 | FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25) | |
2108 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2109 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2110 | end | |
2111 | elseif stun.Value == true then | |
2112 | if attack == false then | |
2113 | Character.Humanoid.WalkSpeed = 0 | |
2114 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
2115 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
2116 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
2117 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
2118 | RH.C0 = clerp(RH.C0, cn(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
2119 | LH.C0 = clerp(LH.C0, cn(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25) | |
2120 | RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2121 | LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3) | |
2122 | end | |
2123 | end | |
2124 | end | |
2125 | if #Effects > 0 then | |
2126 | for e = 1, #Effects do | |
2127 | if Effects[e] ~= nil then | |
2128 | local Thing = Effects[e] | |
2129 | if Thing ~= nil then | |
2130 | local Part = Thing[1] | |
2131 | local Mode = Thing[2] | |
2132 | local Delay = Thing[3] | |
2133 | local IncX = Thing[4] | |
2134 | local IncY = Thing[5] | |
2135 | local IncZ = Thing[6] | |
2136 | if Thing[1].Transparency <= 1 then | |
2137 | if Thing[2] == "Block1" then | |
2138 | Thing[1].CFrame = Thing[1].CFrame * CFrame.FromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2139 | local Mesh = Thing[1].Mesh | |
2140 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2141 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2142 | elseif Thing[2] == "Cylinder" then | |
2143 | local Mesh = Thing[1].Mesh | |
2144 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2145 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2146 | elseif Thing[2] == "Blood" then | |
2147 | local Mesh = Thing[7] | |
2148 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0) | |
2149 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2150 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2151 | elseif Thing[2] == "Elec" then | |
2152 | local Mesh = Thing[1].Mesh | |
2153 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2154 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2155 | elseif Thing[2] == "Disappear" then | |
2156 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2157 | end | |
2158 | else | |
2159 | Part.Parent = nil | |
2160 | table.remove(Effects, e) | |
2161 | end | |
2162 | end | |
2163 | end | |
2164 | end | |
2165 | end | |
2166 | for _, lasr in pairs(lasrs) do | |
2167 | for i, v in pairs(lasr[9]) do | |
2168 | if lasr[7][i].Parent then | |
2169 | v.Scale = v.Scale + Vector3.new(-0.1,0,-0.1) | |
2170 | lasr[10][i].Scale = lasr[10][i].Scale + Vector3.new(-0.1,0,-0.1) | |
2171 | if v.Scale.x < 0.1 then | |
2172 | lasr[7][i].Parent = nil | |
2173 | lasr[8][i].Parent = nil | |
2174 | end | |
2175 | end | |
2176 | end | |
2177 | ||
2178 | if lasr[1] then | |
2179 | local hitz, enz = RAY(lasr[3],lasr[2]*lasrspd) | |
2180 | lasr[5] = lasr[5] + (lasr[3] - enz).magnitude | |
2181 | ||
2182 | lasr[7][lasr[6]].Parent = m | |
2183 | lasr[7][lasr[6]].CFrame = CFrame.new((lasr[3] + enz)/2,enz) * CFrame.Angles(math.pi/2,0,0) | |
2184 | lasr[9][lasr[6]].Scale = Vector3.new(0.7,(lasr[3] - enz).magnitude*5,0.7) | |
2185 | ||
2186 | lasr[8][lasr[6]].Parent = m | |
2187 | lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame | |
2188 | lasr[10][lasr[6]].Scale = Vector3.new(1.3,(lasr[3] - enz).magnitude*5 + 0.02,1.3) | |
2189 | ||
2190 | lasr[3] = enz | |
2191 | lasr[6] = lasr[6]%#lasr[7] + 1 | |
2192 | ||
2193 | if hitz then | |
2194 | lasr[4] = lasr[4] + 1 | |
2195 | if lasr[4] == maxRebounds then | |
2196 | lasr[1] = false | |
2197 | so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2) | |
2198 | damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart) | |
2199 | print(ReboundCount) | |
2200 | else | |
2201 | local norm = FindSurface(hitz,enz) | |
2202 | lasr[2] = Reflect(lasr[2],norm) | |
2203 | so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2) | |
2204 | damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart) | |
2205 | print(ReboundCount) | |
2206 | end | |
2207 | end | |
2208 | if lasr[5] > maxTravelDistance then | |
2209 | lasr[1] = false | |
2210 | end | |
2211 | end | |
2212 | end | |
2213 | end) |