SHOW:
|
|
- or go back to the newest paste.
1 | --// Vortex Gauntlets created by SavageMunkey | |
2 | --// Thx for ideas and help: dangerspookycanyon(3 Attack Ideas, Body Suit Prototypes),georgeyeo(RayCast help), AltairStarMaster(like 99999999 attack ideas), and others | |
3 | Plr = game.Players.LocalPlayer | |
4 | Char = Plr.Character | |
5 | Mouse = Plr:GetMouse() | |
6 | local sine,change = 0,1 | |
7 | ------------------------ | |
8 | local OverallHealth = 100 --// Only thing you need to change #1 | |
9 | local Energy = 5000--// Only thing you need to change #2 | |
10 | - | local PrimaryColor,SecondaryColor,ThirdColor = 'Really black','Pearl','Really black' --// Only thing[s] you need to change #3 |
10 | + | local PrimaryColor,SecondaryColor,ThirdColor = 'Really Really green','Pearl','Really Really green' --// Only thing[s] you need to change #3 |
11 | local NO_OP = false --// Only thing you need to change #4, Btw this will (if true, take damage from the player maxhealth/the set damage instead of taking only the set amount) | |
12 | --// so if the players maxhealth == 50,000 and you have NO_OP == true and the set damage == 15 then it would do 50,000/15==(3333.333>) instead of just 15 dmaage | |
13 | ------------------------ | |
14 | RageMode = false --// Don't touch, is for variable --- | |
15 | ------------------------ | |
16 | game:FindService'SoundService':ClearAllChildren() | |
17 | local mx = Energy | |
18 | --game:FindService'SoundService'.AmbientReverb = 'ConcertHall' | |
19 | local anglefor = 0 | |
20 | local candash = true | |
21 | Keyz = { | |
22 | A = false; | |
23 | B = false; | |
24 | C = false; | |
25 | D = false; | |
26 | E = false; | |
27 | F = false; | |
28 | G = false; | |
29 | H = false; | |
30 | I = false; | |
31 | J = false; | |
32 | K = false; | |
33 | L = false; | |
34 | M = false; | |
35 | N = false; | |
36 | O = false; | |
37 | P = false; | |
38 | Q = false; | |
39 | R = false; | |
40 | S = false; | |
41 | T = false; | |
42 | U = false; | |
43 | V = false; | |
44 | W = false; | |
45 | X = false; | |
46 | Y = false; | |
47 | Z = false; | |
48 | }; | |
49 | Flyin = false | |
50 | local ra,la,ts,hd,ll,rl,root,humanoid = Char:FindFirstChild'Right Arm',Char:FindFirstChild'Left Arm',Char:FindFirstChild'Torso',Char:FindFirstChild'Head',Char:FindFirstChild'Left Leg',Char:FindFirstChild'Right Leg',Char:FindFirstChild'HumanoidRootPart',Char:FindFirstChild'Humanoid' | |
51 | local rarm,larm,hed,torso,hroot,lleg,hum,rleg,mouse = ra,la,hd,ts,root,ll,humanoid,rl,Mouse | |
52 | local Falling,DS,MS,Attacking,Stance,State,LastState = false,false,false,false,'Standing','Idle','Idle' | |
53 | DS = false | |
54 | local canslam = true | |
55 | local DebounceFallin = false | |
56 | local DebounceState,DebounceHit,DebounceKey,EctDebounce = false,false,false,false | |
57 | pcall(function() hed['Running']:Destroy() end) | |
58 | local lRS = game["Run Service"].RenderStepped | |
59 | local sRS = game["Run Service"].Stepped or game["Run Service"].Heartbeat | |
60 | local lrs,rs = lRS,sRS | |
61 | local ds,dh,dk,ed = DebounceState,DebounceHit,DebounceKey,EctDebounce | |
62 | local DBP = false | |
63 | ||
64 | Weld = function(P0,P1,CF) | |
65 | local W = Instance.new('Weld',P1) | |
66 | W.Part0 = P0 | |
67 | W.Part1 = P1 | |
68 | W.C1 = CF | |
69 | return W | |
70 | end; | |
71 | ||
72 | NewSound = function(Parent, Id, Pitch ,Volume) | |
73 | local Sound = Instance.new('Sound',Parent) | |
74 | Sound.Volume = Volume | |
75 | Sound.Pitch = Pitch | |
76 | Sound.SoundId = 'rbxassetid://'..Id | |
77 | return Sound | |
78 | end; | |
79 | ---- | |
80 | ||
81 | ---- | |
82 | wait() | |
83 | hw = Weld(torso,hed,CFrame.new(0,-1.5,0)); | |
84 | torr = Weld(root,torso,CFrame.new(0,0,0)); | |
85 | raw = Weld(torso,rarm,CFrame.new(-1.5,0,0)); | |
86 | law = Weld(torso,larm,CFrame.new(1.5,0,0)); | |
87 | rlw = Weld(torso,rleg,CFrame.new(-.5,2,0)); | |
88 | llw = Weld(torso,lleg,CFrame.new(.5,2,0)); | |
89 | ---- | |
90 | clerp = function(c1,c2,al) | |
91 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
92 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
93 | for i,v in pairs(com1) do | |
94 | com1[i] = v+(com2[i]-v)*al | |
95 | end | |
96 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))--]] | |
97 | end | |
98 | lerp = function(c1,c2,al) | |
99 | return c1:lerp(c2,al) | |
100 | end | |
101 | ||
102 | New = function(Object, Parent, Name, Data) | |
103 | local Object = Instance.new(Object) | |
104 | delay(.1,function() | |
105 | if Object:IsA'Part' then | |
106 | Object.CanCollide = false | |
107 | Object.Locked = true | |
108 | end;end) | |
109 | for Index, Value in pairs(Data or {}) do | |
110 | Object[Index] = Value | |
111 | end | |
112 | Object.Parent = Parent | |
113 | Object.Name = Name | |
114 | return Object | |
115 | end | |
116 | ||
117 | ----// Right Claw | |
118 | VortexGauntlet = New("Model",Char,"VortexGauntlet",{}) | |
119 | Main = New("Part",VortexGauntlet,"Main",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 1.40999997, 1.02999997),CFrame = CFrame.new(1.61502337, 3.22481394, 48.3949738, 0.999984324, -6.55651093e-007, 1.94078893e-007, -6.85453415e-007, 0.999982893, -1.23327482e-008, 1.92187144e-007, 3.23780114e-008, 0.999988735),}) | |
120 | Mesh = New("BlockMesh",Main,"Mesh",{}) | |
121 | Part1 = New("Part",VortexGauntlet,"Part1",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.61502361, 3.07982183, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),}) | |
122 | Mesh = New("BlockMesh",Part1,"Mesh",{}) | |
123 | mot = New("Motor",Part1,"mot",{Part0 = Part1,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(1.1920929e-007, -0.144994497, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
124 | Part2 = New("Part",VortexGauntlet,"Part2",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.6150229, 3.47980165, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),}) | |
125 | Mesh = New("BlockMesh",Part2,"Mesh",{}) | |
126 | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(-3.57627869e-007, 0.254992008, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
127 | Part3 = New("Part",VortexGauntlet,"Part3",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.61502194, 3.87978125, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),}) | |
128 | Mesh = New("BlockMesh",Part3,"Mesh",{}) | |
129 | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(-9.53674316e-007, 0.654978514, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
130 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.10669136, 2.85156226, 48.4086037, -0.686683536, -0.000153818051, 0.726891577, -0.726885498, 0.000336891768, -0.686683595, -0.000140090138, -0.999965966, -0.000342367945),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
131 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
132 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.686706066, -0.726911366, -0.000139813448, -0.000153436136, 0.000336923113, -0.999988496, 0.726913393, -0.686706126, -0.000342642685),C1 = CFrame.new(-0.50834024, -0.373258352, 0.0136299133, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
133 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(0.79824549, 2.13190103, 48.4086189, 0.000150710199, -0.291629434, 0.956479728, -0.000334032346, -0.956475139, -0.291631371, 0.999964535, -0.000275910104, -0.00024051439),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
134 | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
135 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.000150328196, -0.000334063574, 0.999987066, -0.291639835, -0.956508279, -0.000275784521, 0.956509411, -0.291640043, -0.000240883426),C1 = CFrame.new(-0.816791415, -1.09293222, 0.0136451721, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
136 | Cone = New("Part",VortexGauntlet,"Cone",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.800000012, 1),CFrame = CFrame.new(1.61002243, 2.51985645, 48.3899651, -0.999948561, 1.10265523e-006, 5.55474173e-007, 1.2814628e-006, -0.999944806, -1.77016783e-008, -5.53581231e-007, -2.70076601e-008, 0.999963343),}) | |
137 | Mesh = New("SpecialMesh",Cone,"Mesh",{Scale = Vector3.new(0.150000006, 0.800000012, 0.150000006),VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,}) | |
138 | mot = New("Motor",Cone,"mot",{Part0 = Cone,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.999979913, -5.95949246e-008, -1.67331933e-007, -2.38406642e-007, -0.999979019, -6.96342894e-009, 1.6922408e-007, -3.77471778e-008, 0.999985874),C1 = CFrame.new(-0.00500154495, -0.704969406, -0.00500869751, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
139 | Cylinder = New("Part",VortexGauntlet,"Cylinder",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 0.800000012, 1),CFrame = CFrame.new(1.61002088, 2.60985756, 48.3899651, -1.02815238e-006, -0.999947667, 5.55474173e-007, 0.999943912, 1.35596326e-006, -1.77016783e-008, 2.70076796e-008, -5.53580719e-007, 0.999963343),}) | |
140 | Mesh = New("SpecialMesh",Cylinder,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 0.200000003),VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015),MeshType = Enum.MeshType.Cylinder,}) | |
141 | mot = New("Motor",Cylinder,"mot",{Part0 = Cylinder,Part1 = Main,C0 = CFrame.new(0, 0, 0, 3.12910686e-007, 0.999978125, 6.96343605e-009, -0.999979019, 1.49093466e-008, -1.67331791e-007, 1.6922408e-007, -3.77471778e-008, 0.999985874),C1 = CFrame.new(-0.00500297546, -0.614966869, -0.00500869751, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
142 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65483451, 2.53023887, 49.075016, 1.31079628e-006, -0.999882877, -0.0113237342, -0.966020584, 0.00292562018, -0.258228838, 0.258250505, 0.0109389573, -0.965978205),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
143 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
144 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -8.45183479e-008, -0.966053605, 0.258256376, -0.999914229, 0.00292437896, 0.0109395888, -0.0113240639, -0.25823763, -0.966000021),C1 = CFrame.new(0.0398111343, -0.694586992, 0.680049896, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
145 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65375209, 2.85618806, 48.9016113, 0.00494658109, -0.999882698, -0.010186431, -0.756301045, 0.00292500365, -0.654129505, 0.654131114, 0.0109393038, -0.756254077),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
146 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
147 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.00494546909, -0.756326914, 0.654145896, -0.99991405, 0.00292376243, 0.0109399352, -0.0101873344, -0.654151917, -0.756271124),C1 = CFrame.new(0.0387289524, -0.368632078, 0.506641388, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
148 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(1.65484631, 2.12370038, 49.1781998, 0.999881506, -9.94669754e-005, -0.0113197053, -0.00292231143, -0.968337119, -0.249390081, -0.0109360376, 0.249413356, -0.96829623),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
149 | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
150 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.999912858, -0.00292107021, -0.0109366691, -0.000100865138, -0.968370259, 0.249419004, -0.0113200219, -0.249398604, -0.968318045),C1 = CFrame.new(0.0398226976, -1.10113239, 0.783233643, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
151 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(2.26175404, 2.52697635, 48.4085655, 0.21676904, 0.000153397676, -0.97616607, -0.976160765, -0.000339346559, -0.216765121, -0.000362583436, 0.999960423, 7.52870619e-005),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
152 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
153 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.216774523, -0.976193905, -0.00036265573, 0.000153015761, -0.000339377963, 0.999982953, -0.976196945, -0.216773853, 7.56701775e-005),C1 = CFrame.new(0.646740317, -0.697849035, 0.0135917664, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
154 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(2.10240459, 2.8600359, 48.4088364, 0.621261835, 0.000153750705, -0.783532441, -0.783529282, -0.000340023485, -0.621255815, -0.000359814498, 0.999960542, -9.07382637e-005),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
155 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
156 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.621280193, -0.783555269, -0.000360046863, 0.00015336879, -0.000340054947, 0.999983072, -0.783557832, -0.621278107, -9.04251865e-005),C1 = CFrame.new(0.48738873, -0.364784002, 0.0138626099, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
157 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(2.34746456, 2.11641502, 48.4083405, -0.000150418913, 0.207840621, -0.978104353, 0.000342616433, -0.978098989, -0.207835644, -0.999959588, -0.000364459294, 7.50037798e-005),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
158 | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
159 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.000150036911, 0.000342647952, -0.999982119, 0.207845837, -0.978132248, -0.000364528183, -0.978135228, -0.207844079, 7.53874556e-005),C1 = CFrame.new(0.732452035, -1.10841727, 0.0133666992, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
160 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65306008, 2.53041506, 47.7222595, -0.00565980002, 0.999876678, 0.00980747957, -0.965705037, -0.00292715896, -0.259375572, -0.259334743, -0.0109386966, 0.965682745),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
161 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
162 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.00566117326, -0.965738058, -0.259340554, 0.99990803, -0.00292591774, -0.010939328, 0.00980706606, -0.259384483, 0.96570456),C1 = CFrame.new(0.0380369425, -0.694410801, -0.672721863, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
163 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65604961, 2.85616612, 47.8960381, -0.00937493891, 0.999876201, 0.00635162927, -0.755516708, -0.00292789866, -0.655023754, -0.654977262, -0.01093903, 0.755514741),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
164 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
165 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.00937599409, -0.755542576, -0.654992044, 0.999907553, -0.00292665744, -0.0109396614, 0.00635065837, -0.655046165, 0.755531788),C1 = CFrame.new(0.0410267115, -0.368654013, -0.498939514, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
166 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(1.65066326, 2.1240201, 47.6186333, -0.999874711, -0.00557238981, 0.00985530019, 0.00293071126, -0.968032777, -0.250539839, 0.0109357554, -0.250500113, 0.968010366),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
167 | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
168 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.999906063, 0.00292947004, 0.0109363869, -0.00557376677, -0.968065917, -0.250505745, 0.00985489972, -0.250548452, 0.968032181),C1 = CFrame.new(0.0356398821, -1.10081267, -0.776348114, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
169 | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(0.919124722, 2.53371048, 48.4086876, -0.300351858, -0.00015361057, 0.95376271, -0.953755617, 0.000337485195, -0.300355166, -0.000276322971, -0.999955058, -0.000246434589),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
170 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
171 | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.300362557, -0.953788638, -0.00027619407, -0.000153228655, 0.00033751654, -0.999977589, 0.953792274, -0.300364137, -0.000246802549),C1 = CFrame.new(-0.695910037, -0.691115856, 0.0137138367, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
172 | ----// Left Claw | |
173 | VortexGauntlet2 = New("Model",Char,"VortexGauntlet2",{}) | |
174 | Main2 = New("Part",VortexGauntlet2,"Main2",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 1.40999997, 1.02999997),CFrame = CFrame.new(1.61502337, 3.22481394, 48.3949738, 0.999984324, -6.55651093e-007, 1.94078893e-007, -6.85453415e-007, 0.999982893, -1.23327482e-008, 1.92187144e-007, 3.23780114e-008, 0.999988735),}) | |
175 | Mesh = New("BlockMesh",Main2,"Mesh",{}) | |
176 | Part1a = New("Part",VortexGauntlet2,"Part1a = N",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.61502361, 3.07982183, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),}) | |
177 | Mesh = New("BlockMesh",Part1a,"Mesh",{}) | |
178 | mot = New("Motor",Part1a,"mot",{Part0 = Part1a,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(1.1920929e-007, -0.144994497, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
179 | Part2a = New("Part",VortexGauntlet2,"Part2a",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.6150229, 3.47980165, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),}) | |
180 | Mesh = New("BlockMesh",Part2a,"Mesh",{}) | |
181 | mot = New("Motor",Part2a,"mot",{Part0 = Part2a,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(-3.57627869e-007, 0.254992008, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
182 | Part3a = New("Part",VortexGauntlet2,"Part3a",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.61502194, 3.87978125, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),}) | |
183 | Mesh = New("BlockMesh",Part3a,"Mesh",{}) | |
184 | mot = New("Motor",Part3a,"mot",{Part0 = Part3a,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(-9.53674316e-007, 0.654978514, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
185 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.10669136, 2.85156226, 48.4086037, -0.686683536, -0.000153818051, 0.726891577, -0.726885498, 0.000336891768, -0.686683595, -0.000140090138, -0.999965966, -0.000342367945),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
186 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
187 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.686706066, -0.726911366, -0.000139813448, -0.000153436136, 0.000336923113, -0.999988496, 0.726913393, -0.686706126, -0.000342642685),C1 = CFrame.new(-0.50834024, -0.373258352, 0.0136299133, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
188 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(0.79824549, 2.13190103, 48.4086189, 0.000150710199, -0.291629434, 0.956479728, -0.000334032346, -0.956475139, -0.291631371, 0.999964535, -0.000275910104, -0.00024051439),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
189 | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
190 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.000150328196, -0.000334063574, 0.999987066, -0.291639835, -0.956508279, -0.000275784521, 0.956509411, -0.291640043, -0.000240883426),C1 = CFrame.new(-0.816791415, -1.09293222, 0.0136451721, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
191 | Cone2 = New("Part",VortexGauntlet2,"Cone2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.800000012, 1),CFrame = CFrame.new(1.61002243, 2.51985645, 48.3899651, -0.999948561, 1.10265523e-006, 5.55474173e-007, 1.2814628e-006, -0.999944806, -1.77016783e-008, -5.53581231e-007, -2.70076601e-008, 0.999963343),}) | |
192 | Mesh = New("SpecialMesh",Cone2,"Mesh",{Scale = Vector3.new(0.150000006, 0.800000012, 0.150000006),VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,}) | |
193 | mot = New("Motor",Cone2,"mot",{Part0 = Cone2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.999979913, -5.95949246e-008, -1.67331933e-007, -2.38406642e-007, -0.999979019, -6.96342894e-009, 1.6922408e-007, -3.77471778e-008, 0.999985874),C1 = CFrame.new(-0.00500154495, -0.704969406, -0.00500869751, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
194 | Cylinder2 = New("Part",VortexGauntlet2,"Cylinder",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 0.800000012, 1),CFrame = CFrame.new(1.61002088, 2.60985756, 48.3899651, -1.02815238e-006, -0.999947667, 5.55474173e-007, 0.999943912, 1.35596326e-006, -1.77016783e-008, 2.70076796e-008, -5.53580719e-007, 0.999963343),}) | |
195 | Mesh = New("SpecialMesh",Cylinder2,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 0.200000003),VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015),MeshType = Enum.MeshType.Cylinder,}) | |
196 | mot = New("Motor",Cylinder2,"mot",{Part0 = Cylinder2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 3.12910686e-007, 0.999978125, 6.96343605e-009, -0.999979019, 1.49093466e-008, -1.67331791e-007, 1.6922408e-007, -3.77471778e-008, 0.999985874),C1 = CFrame.new(-0.00500297546, -0.614966869, -0.00500869751, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
197 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65483451, 2.53023887, 49.075016, 1.31079628e-006, -0.999882877, -0.0113237342, -0.966020584, 0.00292562018, -0.258228838, 0.258250505, 0.0109389573, -0.965978205),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
198 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
199 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -8.45183479e-008, -0.966053605, 0.258256376, -0.999914229, 0.00292437896, 0.0109395888, -0.0113240639, -0.25823763, -0.966000021),C1 = CFrame.new(0.0398111343, -0.694586992, 0.680049896, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
200 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65375209, 2.85618806, 48.9016113, 0.00494658109, -0.999882698, -0.010186431, -0.756301045, 0.00292500365, -0.654129505, 0.654131114, 0.0109393038, -0.756254077),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
201 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
202 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.00494546909, -0.756326914, 0.654145896, -0.99991405, 0.00292376243, 0.0109399352, -0.0101873344, -0.654151917, -0.756271124),C1 = CFrame.new(0.0387289524, -0.368632078, 0.506641388, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
203 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(1.65484631, 2.12370038, 49.1781998, 0.999881506, -9.94669754e-005, -0.0113197053, -0.00292231143, -0.968337119, -0.249390081, -0.0109360376, 0.249413356, -0.96829623),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
204 | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
205 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.999912858, -0.00292107021, -0.0109366691, -0.000100865138, -0.968370259, 0.249419004, -0.0113200219, -0.249398604, -0.968318045),C1 = CFrame.new(0.0398226976, -1.10113239, 0.783233643, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
206 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(2.26175404, 2.52697635, 48.4085655, 0.21676904, 0.000153397676, -0.97616607, -0.976160765, -0.000339346559, -0.216765121, -0.000362583436, 0.999960423, 7.52870619e-005),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
207 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
208 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.216774523, -0.976193905, -0.00036265573, 0.000153015761, -0.000339377963, 0.999982953, -0.976196945, -0.216773853, 7.56701775e-005),C1 = CFrame.new(0.646740317, -0.697849035, 0.0135917664, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
209 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(2.10240459, 2.8600359, 48.4088364, 0.621261835, 0.000153750705, -0.783532441, -0.783529282, -0.000340023485, -0.621255815, -0.000359814498, 0.999960542, -9.07382637e-005),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
210 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
211 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.621280193, -0.783555269, -0.000360046863, 0.00015336879, -0.000340054947, 0.999983072, -0.783557832, -0.621278107, -9.04251865e-005),C1 = CFrame.new(0.48738873, -0.364784002, 0.0138626099, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
212 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(2.34746456, 2.11641502, 48.4083405, -0.000150418913, 0.207840621, -0.978104353, 0.000342616433, -0.978098989, -0.207835644, -0.999959588, -0.000364459294, 7.50037798e-005),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
213 | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
214 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.000150036911, 0.000342647952, -0.999982119, 0.207845837, -0.978132248, -0.000364528183, -0.978135228, -0.207844079, 7.53874556e-005),C1 = CFrame.new(0.732452035, -1.10841727, 0.0133666992, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
215 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65306008, 2.53041506, 47.7222595, -0.00565980002, 0.999876678, 0.00980747957, -0.965705037, -0.00292715896, -0.259375572, -0.259334743, -0.0109386966, 0.965682745),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
216 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
217 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.00566117326, -0.965738058, -0.259340554, 0.99990803, -0.00292591774, -0.010939328, 0.00980706606, -0.259384483, 0.96570456),C1 = CFrame.new(0.0380369425, -0.694410801, -0.672721863, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
218 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65604961, 2.85616612, 47.8960381, -0.00937493891, 0.999876201, 0.00635162927, -0.755516708, -0.00292789866, -0.655023754, -0.654977262, -0.01093903, 0.755514741),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
219 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
220 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.00937599409, -0.755542576, -0.654992044, 0.999907553, -0.00292665744, -0.0109396614, 0.00635065837, -0.655046165, 0.755531788),C1 = CFrame.new(0.0410267115, -0.368654013, -0.498939514, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
221 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(1.65066326, 2.1240201, 47.6186333, -0.999874711, -0.00557238981, 0.00985530019, 0.00293071126, -0.968032777, -0.250539839, 0.0109357554, -0.250500113, 0.968010366),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
222 | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
223 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.999906063, 0.00292947004, 0.0109363869, -0.00557376677, -0.968065917, -0.250505745, 0.00985489972, -0.250548452, 0.968032181),C1 = CFrame.new(0.0356398821, -1.10081267, -0.776348114, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
224 | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(0.919124722, 2.53371048, 48.4086876, -0.300351858, -0.00015361057, 0.95376271, -0.953755617, 0.000337485195, -0.300355166, -0.000276322971, -0.999955058, -0.000246434589),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,}) | |
225 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
226 | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.300362557, -0.953788638, -0.00027619407, -0.000153228655, 0.00033751654, -0.999977589, 0.953792274, -0.300364137, -0.000246802549),C1 = CFrame.new(-0.695910037, -0.691115856, 0.0137138367, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),}) | |
227 | ----// RightLegBrace | |
228 | RightLegBrace = New("Model",Char,"RightLegBrace",{}) | |
229 | Latch = New("Part",RightLegBrace,"Latch",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 1.40999997, 1.02999997),CFrame = CFrame.new(8.6150198, 1.12481403, 33.2949753, 1, 6.85464272e-007, -1.921902e-007, -6.85464215e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1)}) | |
230 | Mesh = New("BlockMesh",Latch,"Mesh",{}) | |
231 | Brace1 = New("Part",RightLegBrace,"Brace1",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61502171, 1.92481399, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),}) | |
232 | Mesh = New("BlockMesh",Brace1,"Mesh",{}) | |
233 | mot = New("Motor",Brace1,"mot",{Part0 = Brace1,Part1 = Latch,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(9.53674316e-007, 0.799999952, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),}) | |
234 | Brace2 = New("Part",RightLegBrace,"Brace2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61501884, 0.324813962, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),}) | |
235 | Mesh = New("BlockMesh",Brace2,"Mesh",{}) | |
236 | mot = New("Motor",Brace2,"mot",{Part0 = Brace2,Part1 = Latch,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(0, -0.800000072, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),}) | |
237 | Brace3 = New("Part",RightLegBrace,"Brace3",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61501884, 1.1148138, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),}) | |
238 | Mesh = New("BlockMesh",Brace3,"Mesh",{}) | |
239 | mot = New("Motor",Brace3,"mot",{Part0 = Brace3,Part1 = Latch,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(-9.53674316e-007, -0.0100002289, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),}) | |
240 | ----// LeftLegBrace | |
241 | LeftLegBrace2 = New("Model",Char,"LeftLegBrace",{}) | |
242 | Latcha = New("Part",LeftLegBrace2,"Latcha",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 1.40999997, 1.02999997),CFrame = CFrame.new(8.6150198, 1.12481403, 33.2949753, 1, 6.85464272e-007, -1.921902e-007, -6.85464215e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1)}) | |
243 | Mesh = New("BlockMesh",Latcha,"Mesh",{}) | |
244 | Brace1a = New("Part",LeftLegBrace2,"Brace1a",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61502171, 1.92481399, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),}) | |
245 | Mesh = New("BlockMesh",Brace1a,"Mesh",{}) | |
246 | mot = New("Motor",Brace1a,"mot",{Part0 = Brace1a,Part1 = Latcha,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(9.53674316e-007, 0.799999952, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),}) | |
247 | Brace2a = New("Part",LeftLegBrace2,"Brace2a",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61501884, 0.324813962, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),}) | |
248 | Mesh = New("BlockMesh",Brace2a,"Mesh",{}) | |
249 | mot = New("Motor",Brace2a,"mot",{Part0 = Brace2a,Part1 = Latcha,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(0, -0.800000072, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),}) | |
250 | Brace3a = New("Part",LeftLegBrace2,"Brace3a",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61501884, 1.1148138, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),}) | |
251 | Mesh = New("BlockMesh",Brace3a,"Mesh",{}) | |
252 | mot = New("Motor",Brace3a,"mot",{Part0 = Brace3a,Part1 = Latcha,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(-9.53674316e-007, -0.0100002289, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),}) | |
253 | ----// Exo Spine | |
254 | Chest = New("Model",Char,"Chest",{}) | |
255 | BackLatch = New("Part",Chest,"BackLatch",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Metal,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 2, 1),CFrame = CFrame.new(-2.49994969, 3.10042095, 48.2739372, 0.99999994, -4.3300206e-005, -5.97238541e-005, 4.33037421e-005, 1, 5.92252691e-005, 5.97238541e-005, -5.9227852e-005, 0.99999994),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
256 | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.300000072, 1.37500012, 0.200000003),CFrame = CFrame.new(-2.49999189, 2.9973228, 48.8550034, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
257 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
258 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-1.1920929e-005, -0.103132486, 0.581058502, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),}) | |
259 | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.500000119, 0.975000024, 0.300000042),CFrame = CFrame.new(-2.49999166, 3.19728184, 48.8549995, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
260 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
261 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-3.09944153e-006, 0.0968265533, 0.581069946, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),}) | |
262 | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.700000048, 0.774999976, 0.300000042),CFrame = CFrame.new(-2.49999166, 3.59736109, 48.9049988, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
263 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
264 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(1.71661377e-005, 0.496902704, 0.631092072, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),}) | |
265 | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.500000119, 0.300000042, 0.300000042),CFrame = CFrame.new(-2.49999189, 2.20982575, 48.8549995, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
266 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
267 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-4.60147858e-005, -0.89062953, 0.581008911, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),}) | |
268 | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.24999997),CFrame = CFrame.new(-2.51000166, 2.52982283, 49.0700035, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
269 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
270 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-0.0100290775, -0.570644855, 0.796031952, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),}) | |
271 | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.379999995),CFrame = CFrame.new(-2.51000142, 2.61388636, 49.3341675, 0.999999881, -1.23509381e-009, 2.24099495e-009, -4.6838089e-012, 0.877733231, 0.47914964, 2.56477506e-009, -0.47914958, 0.877733111),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
272 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
273 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.877733231, -0.47914964, 0, 0.47914964, 0.877733231),C1 = CFrame.new(-0.0100095272, -0.486596823, 1.06020355, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),}) | |
274 | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.870000005),CFrame = CFrame.new(-2.51000142, 3.09982252, 49.4699936, 0.999999881, -2.56477506e-009, -5.71143133e-012, -4.6838089e-012, -4.37103154e-008, 1, 2.56477506e-009, -0.999999881, -4.37103154e-008),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
275 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
276 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008),C1 = CFrame.new(-0.00998044014, -0.000668764114, 1.19605637, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),}) | |
277 | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.379999995),CFrame = CFrame.new(-2.51000142, 3.59388614, 49.3341675, 0.999999881, 1.22417987e-009, 2.25190888e-009, -4.6838089e-012, 0.877732217, -0.479151487, 2.56477506e-009, 0.479151428, 0.877732098),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
278 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
279 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.877732217, 0.479151487, 0, -0.479151487, 0.877732217),C1 = CFrame.new(-0.0099670887, 0.493402719, 1.06026077, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),}) | |
280 | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.24999997),CFrame = CFrame.new(-2.51000142, 3.67982244, 49.0600014, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
281 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
282 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-0.00997972488, 0.579355478, 0.78609848, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),}) | |
283 | ----// Battery Pack | |
284 | BatteryPack = New("Model",Char,"BatteryPack",{}) | |
285 | Inner = New("Part",BatteryPack,"Inner",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(5.1000185, 1.11981344, 33.3099785, 1, 6.85464386e-007, -1.92190214e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190157e-007, 3.23788285e-008, 1),}) | |
286 | Mesh = New("SpecialMesh",Inner,"Mesh",{Scale = Vector3.new(0.5, 0.850000024, 0.5),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,}) | |
287 | Top = New("Part",BatteryPack,"Top",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(5.08502388, 1.87980604, 33.2949829, 1, 2.02658885e-006, -5.78463244e-007, -2.02658839e-006, 1, -5.24246104e-008, 5.7846313e-007, 5.24257899e-008, 1),}) | |
288 | Mesh = New("BlockMesh",Top,"Mesh",{}) | |
289 | mot = New("Motor",Top,"mot",{Part0 = Top,Part1 = Inner,C0 = CFrame.new(0, 0, 0, 1, -2.02658862e-006, 5.7846313e-007, 2.02658862e-006, 1, 5.24257864e-008, -5.78463244e-007, -5.24246104e-008, 1),C1 = CFrame.new(-0.0149950981, 0.759992599, -0.014995575, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),}) | |
290 | Outer = New("Part",BatteryPack,"Outer",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.SmoothPlastic,Transparency = 0.60000002384186,Transparency = 0.60000002384186,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.02999997, 1.40999997, 1.02999997),CFrame = CFrame.new(5.08501816, 1.1248138, 33.2949753, 1, 6.85464272e-007, -1.921902e-007, -6.85464215e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),}) | |
291 | Mesh = New("BlockMesh",Outer,"Mesh",{}) | |
292 | mot = New("Motor",Outer,"mot",{Part0 = Outer,Part1 = Inner,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(-0.0150003433, 0.00500035286, -0.0150032043, 1, -6.85464215e-007, 1.92190157e-007, 6.85464329e-007, 1, 3.23788285e-008, -1.92190214e-007, -3.23786935e-008, 1),}) | |
293 | Bottom = New("Part",BatteryPack,"Bottom",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(5.08501768, 0.364813805, 33.2949753, 1, 6.85464499e-007, -1.92190228e-007, -6.85463988e-007, 1, -3.237869e-008, 1.92190143e-007, 3.23788285e-008, 1),}) | |
294 | Mesh = New("BlockMesh",Bottom,"Mesh",{}) | |
295 | mot = New("Motor",Bottom,"mot",{Part0 = Bottom,Part1 = Inner,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(-0.0150003433, -0.754999638, -0.0150032043, 1, -6.85464158e-007, 1.92190157e-007, 6.85464386e-007, 1, 3.23788285e-008, -1.92190214e-007, -3.23786935e-008, 1),}) | |
296 | BatteryPack:MoveTo(CFrame.new(0,6,0).p) | |
297 | ----// Helmet | |
298 | Helmet = New("Model",Char,"Helmet",{}) | |
299 | HeadHandle = New("Part",Helmet,"HeadHandle",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.20000005, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.1249886, 4.49498367, 48.3950195, 0.999969244, -3.05533376e-013, -1.83186799e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.80966353e-014, -3.08556781e-015, 0.999989748),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
300 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.7349472, 4.49498367, 48.3950195, 0.999943495, -5.61309246e-013, -3.3638975e-014, -5.61309246e-013, 0.999943495, -5.66873666e-015, -3.34169372e-014, -5.66873666e-015, 0.999981165),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
301 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
302 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999986053, -1.38555291e-013, -8.21562921e-015, -1.38555291e-013, 0.999986053, -1.39928488e-015, -8.43767296e-015, -1.39928477e-015, 0.999995351),C1 = CFrame.new(-0.609977722, 0, 0, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),}) | |
303 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.1349983, 5.06996679, 48.3950157, -2.98000771e-008, 0.999943316, -3.3638975e-014, -0.999943316, -2.98011997e-008, -5.66873666e-015, 5.66873666e-015, -3.34169304e-014, 0.999981165),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
304 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
305 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, -2.98017682e-008, -0.999985874, 1.39928488e-015, 0.999985874, -2.98020453e-008, -8.21562751e-015, -8.43767296e-015, -1.39928477e-015, 0.999995351),C1 = CFrame.new(-0.0100097656, 0.575000763, -3.81469727e-006, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),}) | |
306 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.1349983, 3.92003059, 48.3950157, -2.98000771e-008, 0.999943316, -3.3638975e-014, -0.999943316, -2.98011997e-008, -5.66873666e-015, 5.66873666e-015, -3.34169304e-014, 0.999981165),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
307 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
308 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, -2.98017682e-008, -0.999985874, 1.39928488e-015, 0.999985874, -2.98020453e-008, -8.21562751e-015, -8.43767296e-015, -1.39928477e-015, 0.999995351),C1 = CFrame.new(-0.0100097656, -0.574970722, -3.81469727e-006, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),}) | |
309 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-38.5600357, 4.49499846, 48.3950157, 0.999943495, -5.61309246e-013, -3.3638975e-014, -5.61309246e-013, 0.999943495, -5.66873666e-015, -3.34169372e-014, -5.66873666e-015, 0.999981165),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
310 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
311 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999986053, -1.38555291e-013, -8.21562921e-015, -1.38555291e-013, 0.999986053, -1.39928488e-015, -8.43767296e-015, -1.39928477e-015, 0.999995351),C1 = CFrame.new(0.564971924, 1.47819519e-005, -3.81469727e-006, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),}) | |
312 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.17000008, 0.470000058),CFrame = CFrame.new(-39.1399956, 4.17001486, 47.8200264, 1.63953751e-009, 0.999954045, -2.18817728e-008, 4.59242587e-015, -2.18826859e-008, -0.999954045, -0.999984682, 1.63953329e-009, 4.59242672e-015),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
313 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
314 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.63958203e-009, 3.22914132e-016, -0.999998868, 0.999996603, -2.18831939e-008, 1.63958169e-009, -2.18831264e-008, -0.999996603, 3.22914185e-016),C1 = CFrame.new(-0.015007019, -0.324978828, -0.575000763, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),}) | |
315 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.1349983, 4.49499846, 48.9700012, 1.6395757e-009, 0.999990523, -2.18829328e-008, 9.32859196e-016, -2.18831211e-008, -0.999990523, -0.999996841, 1.63957481e-009, 9.32859408e-016),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
316 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
317 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.6395757e-009, 9.32859196e-016, -0.999996841, 0.999990523, -2.18831211e-008, 1.63957481e-009, -2.18829328e-008, -0.999990523, 9.32859408e-016),C1 = CFrame.new(-0.0100097656, 1.47819519e-005, 0.574989319, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),}) | |
318 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 0.200000003),CFrame = CFrame.new(-39.1349945, 4.97495842, 47.8200378, 1.63948666e-009, 0.999905407, -2.18802239e-008, 9.47157154e-015, -2.18821032e-008, -0.999905407, -0.999968469, 1.63947811e-009, 9.47157324e-015),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
319 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
320 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.63955105e-009, 3.30083467e-015, -0.999988973, 0.999966919, -2.18828387e-008, 1.63954805e-009, -2.18821814e-008, -0.999966919, 3.30083509e-015),C1 = CFrame.new(-0.0100059509, 0.479989529, -0.574989319, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
321 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-38.5950432, 4.9849577, 47.8200378, 1.63948777e-009, 0.99990648, -2.18802576e-008, 9.36394669e-015, -2.18821157e-008, -0.99990648, -0.999968827, 1.63947933e-009, 9.36394838e-015),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
322 | Mesh = New("BlockMesh",Wall,"Mesh",{}) | |
323 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.63955216e-009, 3.19320092e-015, -0.999989331, 0.999967992, -2.18828511e-008, 1.63954927e-009, -2.18822152e-008, -0.999967992, 3.19320156e-015),C1 = CFrame.new(0.529960632, 0.489989281, -0.574989319, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
324 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-39.7049294, 4.9849577, 47.8200378, 1.63948777e-009, 0.99990648, -2.18802576e-008, 9.36394669e-015, -2.18821157e-008, -0.99990648, -0.999968827, 1.63947933e-009, 9.36394838e-015),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
325 | Mesh = New("BlockMesh",Wall,"Mesh",{}) | |
326 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.63955216e-009, 3.19320092e-015, -0.999989331, 0.999967992, -2.18828511e-008, 1.63954927e-009, -2.18822152e-008, -0.999967992, 3.19320156e-015),C1 = CFrame.new(-0.579959869, 0.489989281, -0.574989319, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
327 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-38.5600548, 4.98495245, 49.0399933, 0.99990648, -5.5407183e-014, -2.02039434e-008, -2.02057997e-008, 3.05623193e-010, -0.99990648, -5.5175611e-014, 0.999968767, 3.0566083e-010),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
328 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
329 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -2.02064321e-008, -1.87625895e-014, -1.89941751e-014, 3.05648173e-010, 0.999989271, -2.02057979e-008, -0.999967992, 3.05660941e-010),C1 = CFrame.new(0.56495285, 0.489984035, 0.644981384, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
330 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-38.5600548, 4.962955, 49.2099915, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
331 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
332 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(0.56495285, 0.46798563, 0.814979553, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
333 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-38.5600548, 4.91495943, 49.3999825, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
334 | Mesh = New("SpecialMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
335 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(0.56495285, 0.419988632, 1.00497437, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
336 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-39.7349434, 4.98495245, 49.0399933, 0.99990648, -5.5407183e-014, -2.02039434e-008, -2.02057997e-008, 3.05623193e-010, -0.99990648, -5.5175611e-014, 0.999968767, 3.0566083e-010),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
337 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
338 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -2.02064321e-008, -1.87625895e-014, -1.89941751e-014, 3.05648173e-010, 0.999989271, -2.02057979e-008, -0.999967992, 3.05660941e-010),C1 = CFrame.new(-0.609973907, 0.489984035, 0.644981384, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
339 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-39.7349434, 4.962955, 49.2099915, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
340 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
341 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(-0.609973907, 0.46798563, 0.814979553, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
342 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-39.7349434, 4.91495943, 49.3999825, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
343 | Mesh = New("SpecialMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
344 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(-0.609973907, 0.419988632, 1.00497437, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
345 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.879999995, 0.819999933),CFrame = CFrame.new(-39.1250114, 5.37822723, 49.0352859, 0.99990648, -8.72485362e-010, -5.28140465e-012, 7.17916893e-010, 0.828282356, -0.560144186, 4.93058316e-010, 0.560179174, 0.828333974),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
346 | Mesh = New("SpecialMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
347 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, 7.18572146e-010, 4.93104835e-010, -8.72012407e-010, 0.828333259, 0.560190618, -5.59388126e-012, -0.560178638, 0.828350902),C1 = CFrame.new(-2.28881836e-005, 0.883270741, 0.640274048, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
348 | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.899999976, 0.919999957),CFrame = CFrame.new(-39.1250038, 4.71387339, 48.6822853, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
349 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
350 | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(-1.52587891e-005, 0.218896389, 0.287269592, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),}) | |
351 | ----// End | |
352 | ||
353 | rad = function(Int) | |
354 | return math.rad(tonumber(Int)) | |
355 | end; | |
356 | sin = function(Int) | |
357 | return math.sin(tonumber(Int)) | |
358 | end; | |
359 | cos = function(Int) | |
360 | return math.cos(tonumber(Int)) | |
361 | end; | |
362 | Angles = function(X,Y,Z) | |
363 | return CFrame.Angles(X,Y,Z); | |
364 | end; | |
365 | Euler = function(X,Y,Z) | |
366 | return CFrame.fromEulerAnglesXYZ(X,Y,Z); | |
367 | end; | |
368 | CF = function(X,Y,Z) | |
369 | return CFrame.new(X,Y,Z); | |
370 | end; | |
371 | ||
372 | --// Suit Welds | |
373 | local HandleWeld = Weld(rarm,Main,Angles(0,0,0)*CF(0,.35,0)) | |
374 | local HandleWeld2 = Weld(larm,Main2,Angles(0,0,0)*CF(0,.35,0)) | |
375 | local BraceWeld = Weld(rleg,Latch,CF(0,0,0)) | |
376 | local BraceWeld2 = Weld(lleg,Latcha,CF(0,0,0)) | |
377 | local ExoWeld = Weld(torso,BackLatch,CF(0,0,0)) | |
378 | local BatteryWeld = Weld(Outer,BackLatch,CF(0,0,1.775)) | |
379 | local InnerWeld = Weld(Inner,Outer,CF(0,0,0)) | |
380 | local TopW,BottomW = Weld(Top,Outer,CF(0,-.75,0)),Weld(Bottom,Outer,CF(0,.75,0)) | |
381 | local HelmetWeld = Weld(HeadHandle,hed,CF(0,.05,0)) | |
382 | --\\ Suit Welds | |
383 | ||
384 | dmg=function(hit,Damage,Knockback,angle) | |
385 | local mana = 0 | |
386 | if DebounceHit == false then | |
387 | DebounceHit = true | |
388 | coroutine.resume(coroutine.create(function() | |
389 | wait(0.1) | |
390 | DebounceHit = false | |
391 | end)) | |
392 | if hit.Parent==nil then | |
393 | return | |
394 | end | |
395 | --CPlayer=Bin | |
396 | h=hit.Parent:FindFirstChild("Humanoid") | |
397 | if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
398 | if mana < 400 then | |
399 | mana = mana + math.random(5,15) | |
400 | end | |
401 | if mana > 400 then | |
402 | mana = 400 | |
403 | end | |
404 | Damage=Damage | |
405 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
406 | return | |
407 | end]] | |
408 | c=Instance.new("ObjectValue") | |
409 | c.Name="creator" | |
410 | c.Value=game.Players.LocalPlayer | |
411 | c.Parent=h | |
412 | game:GetService("Debris"):AddItem(c,.5) | |
413 | -- print(c.Value) | |
414 | if math.random(0,99)+math.random()<=7.8 then | |
415 | --CRIT=true | |
416 | Damage=Damage*3 | |
417 | --[[ Knockback=Knockback*2 | |
418 | r=Instance.new("BodyAngularVelocity") | |
419 | r.P=3000 | |
420 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
421 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
422 | r.Parent=hit.Parent.Torso]] | |
423 | --critsound(2) | |
424 | ||
425 | end | |
426 | if NO_OP == true then | |
427 | Damage = h.MaxHealth / Damage | |
428 | else | |
429 | Damage = Damage+math.random(0,9) | |
430 | end | |
431 | --warn('dmged') | |
432 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
433 | h.Health = h.Health - Damage | |
434 | -- showDamage(hit.Parent,Damage,.5) | |
435 | vp=Instance.new("BodyVelocity") | |
436 | vp.P=500 | |
437 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
438 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
439 | vp.velocity=torso.CFrame.lookVector*Knockback+torso.Velocity/1.05 | |
440 | if Knockback>0 then | |
441 | vp.Parent=hit.Parent.Torso | |
442 | end | |
443 | game:GetService("Debris"):AddItem(vp,.1) | |
444 | r=Instance.new("BodyAngularVelocity") | |
445 | r.P=3000 | |
446 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
447 | r.angularvelocity= angle or Vector3.new(0,0,0) | |
448 | r.Parent=hit.Parent.Torso | |
449 | game:GetService("Debris"):AddItem(r,.5) | |
450 | c=Instance.new("ObjectValue") | |
451 | c.Name="creator" | |
452 | c.Value=Plr | |
453 | c.Parent=h | |
454 | game:GetService("Debris"):AddItem(c,.5) | |
455 | return h | |
456 | --CRIT=false | |
457 | --hitDeb=true | |
458 | --AttackPos=6 | |
459 | end | |
460 | end | |
461 | end | |
462 | ||
463 | function getAllParts(from) | |
464 | local t = {} | |
465 | function getParts(where) | |
466 | for i, v in pairs(where:children()) do | |
467 | if v:IsA("BasePart") then | |
468 | if v.Parent ~= Char and v.Parent.Parent ~= Char then | |
469 | table.insert(t, v) | |
470 | end | |
471 | end | |
472 | getParts(v) | |
473 | end | |
474 | end | |
475 | getParts(workspace) | |
476 | return t | |
477 | end | |
478 | ||
479 | Search = function(Object, ClassName, Function) | |
480 | for index,obj in next, Object:children() do | |
481 | if obj:IsA(tostring(ClassName)) then | |
482 | Function(obj) | |
483 | end | |
484 | end | |
485 | end | |
486 | ||
487 | TransClone = function(Trans) | |
488 | local md = Char | |
489 | md.Archivable = true | |
490 | local md2 = md:Clone() | |
491 | md2.Parent = workspace | |
492 | pcall(function() | |
493 | md2.BodyColors:Destroy() | |
494 | end) | |
495 | md.Archivable=false | |
496 | Search(md2,'Part',function(P) | |
497 | P.Transparency = .9 | |
498 | P.Material = 'Neon' | |
499 | P.BrickColor = BrickColor.new('Teal') | |
500 | end) | |
501 | ||
502 | Search(md2['VortexGauntlet'],'Part',function(P) | |
503 | P.Transparency = Trans | |
504 | P.Material = 'Neon' | |
505 | P.BrickColor = BrickColor.new('Teal') | |
506 | end) | |
507 | ||
508 | Search(md2['VortexGauntlet2'],'Part',function(P) | |
509 | P.Transparency = Trans | |
510 | P.Material = 'Neon' | |
511 | P.BrickColor = BrickColor.new('Teal') | |
512 | end) | |
513 | ||
514 | Search(md2['RightLegBrace'],'Part',function(P) | |
515 | P.Transparency = Trans | |
516 | P.Material = 'Neon' | |
517 | P.BrickColor = BrickColor.new('Teal') | |
518 | end) | |
519 | ||
520 | Search(md2['LeftLegBrace'],'Part',function(P) | |
521 | P.Transparency = Trans | |
522 | P.Material = 'Neon' | |
523 | P.BrickColor = BrickColor.new('Teal') | |
524 | end) | |
525 | ||
526 | Search(md2['Chest'],'Part',function(P) | |
527 | P.Transparency = Trans | |
528 | P.Material = 'Neon' | |
529 | P.BrickColor = BrickColor.new('Teal') | |
530 | end) | |
531 | ||
532 | Search(md2['BatteryPack'],'Part',function(P) | |
533 | P.Transparency = Trans | |
534 | P.Material = 'Neon' | |
535 | P.BrickColor = BrickColor.new('Teal') | |
536 | end) | |
537 | ||
538 | Search(md2['Helmet'],'Part',function(P) | |
539 | P.Transparency = Trans | |
540 | P.Material = 'Neon' | |
541 | P.BrickColor = BrickColor.new('Teal') | |
542 | end) | |
543 | ||
544 | return md2 | |
545 | end; | |
546 | ||
547 | TakeJuice = function(Amnt) | |
548 | if Energy - Amnt <= -1 then | |
549 | if dk == true then dk = false end | |
550 | if DebounceState == true then DebounceState = false end | |
551 | if Flyin == true then Flyin = false end | |
552 | if DBP == true then DBP = false end | |
553 | return false end | |
554 | if Energy - Amnt >= 0 then | |
555 | spawn(function() | |
556 | for i = 1,tonumber(Amnt) do | |
557 | Energy = Energy - 1 | |
558 | wait(i/(Amnt*10)) | |
559 | end | |
560 | end) | |
561 | end | |
562 | return true | |
563 | end; | |
564 | ||
565 | Charge = function(Amnt) | |
566 | if Energy < mx then | |
567 | for i = 1,tonumber(Amnt) do | |
568 | if Energy == mx then return end | |
569 | Energy = Energy + 1 | |
570 | wait(i/(Amnt*10)) | |
571 | end | |
572 | end | |
573 | end; | |
574 | ||
575 | --// Mesh Removing | |
576 | ypcall(function() | |
577 | hed.Mesh:Destroy() | |
578 | wait(.2) | |
579 | local HedMesh = Instance.new('BlockMesh',hed) | |
580 | HedMesh.Scale = Vector3.new(.560002,1.10002,1.10002) | |
581 | HedMesh.Name = 'Mesh' | |
582 | end) | |
583 | for index,obj in next, Char:children() do | |
584 | if obj:IsA'CharacterMesh' then | |
585 | obj:Destroy() | |
586 | end | |
587 | if obj:IsA'Hat' then | |
588 | obj:Destroy() | |
589 | end | |
590 | end | |
591 | --\\ Mesh Removing | |
592 | ||
593 | function RayCast(pos1, pos2, maxDist, forward) | |
594 | local list = getAllParts(workspace) | |
595 | local pos0 = pos1 | |
596 | for dist = 1, maxDist, forward do | |
597 | lRS:wait() | |
598 | pos0 = (CFrame.new(pos1, pos2) * CFrame.new(0, 0, -dist)).p | |
599 | for _, v in pairs(list) do | |
600 | local pos3 = v.CFrame:pointToObjectSpace(pos0) | |
601 | local s = v.Size | |
602 | if pos3.x > -(s.x/2) and pos3.x < (s.x/2) and pos3.y > -(s.y/2) and pos3.y < (s.y/2) and pos3.z > -(s.z/2) and pos3.x < (s.z/2) and v.CanCollide == true then | |
603 | return pos0, v | |
604 | end | |
605 | end | |
606 | end | |
607 | return pos0, nil | |
608 | end | |
609 | ||
610 | ||
611 | HandleParts = function(Obj, Scale) | |
612 | Scale = Scale or 0 | |
613 | local P = Instance.new('Part',VortexGauntlet) | |
614 | P.Anchored = true | |
615 | P.Transparency = .3 | |
616 | P.FormFactor = 3 | |
617 | P.Size = Vector3.new(.4+Scale,.4+Scale,.4+Scale) | |
618 | P.CFrame = Obj.CFrame * CF(0,-.7,0) * Angles(math.random(),math.random(),math.random()) | |
619 | P.Material = 'Neon' | |
620 | P.CanCollide = false | |
621 | P.BrickColor = BrickColor.new(SecondaryColor) | |
622 | local PM = Instance.new('BlockMesh',P) | |
623 | spawn(function() | |
624 | for i = 1,20 do | |
625 | PM.Scale = PM.Scale + Vector3.new(.05,.05,.05) | |
626 | P.Transparency = P.Transparency + .05 | |
627 | lRS:wait() | |
628 | end | |
629 | P:Destroy() | |
630 | end) | |
631 | end | |
632 | ||
633 | Trans = function(Numb) | |
634 | local R = function() | |
635 | ------------------------------------------------ | |
636 | spawn(function() | |
637 | for i = 1,20 do | |
638 | Part3.Transparency = Part3.Transparency + 1/Numb | |
639 | lRS:wait() | |
640 | end | |
641 | end) | |
642 | wait(.1) | |
643 | ---- | |
644 | spawn(function() | |
645 | for i = 1,20 do | |
646 | Part2.Transparency = Part2.Transparency + 1/Numb | |
647 | lRS:wait() | |
648 | end | |
649 | end) | |
650 | wait(.1) | |
651 | ---- | |
652 | spawn(function() | |
653 | for i = 1,20 do | |
654 | Part1.Transparency = Part1.Transparency + 1/Numb | |
655 | lRS:wait() | |
656 | end | |
657 | end) | |
658 | ------------------------------------------------ | |
659 | ------------------------------------------------ | |
660 | spawn(function() | |
661 | for i = 1,20 do | |
662 | Part3.Transparency = Part3.Transparency - 1/Numb | |
663 | lRS:wait() | |
664 | end | |
665 | end) | |
666 | wait(.1) | |
667 | ---- | |
668 | spawn(function() | |
669 | for i = 1,20 do | |
670 | Part2.Transparency = Part2.Transparency - 1/Numb | |
671 | lRS:wait() | |
672 | end | |
673 | end) | |
674 | wait(.1) | |
675 | ---- | |
676 | spawn(function() | |
677 | for i = 1,20 do | |
678 | Part1.Transparency = Part1.Transparency - 1/Numb | |
679 | lRS:wait() | |
680 | end | |
681 | end) | |
682 | ------------------------------------------------ | |
683 | end | |
684 | ||
685 | local L = function() | |
686 | ------------------------------------------------ | |
687 | spawn(function() | |
688 | for i = 1,20 do | |
689 | Part3a.Transparency = Part3a.Transparency + 1/Numb | |
690 | lRS:wait() | |
691 | end | |
692 | end) | |
693 | wait(.1) | |
694 | ---- | |
695 | spawn(function() | |
696 | for i = 1,20 do | |
697 | Part2a.Transparency = Part2a.Transparency + 1/Numb | |
698 | lRS:wait() | |
699 | end | |
700 | end) | |
701 | wait(.1) | |
702 | ---- | |
703 | spawn(function() | |
704 | for i = 1,20 do | |
705 | Part1a.Transparency = Part1a.Transparency + 1/Numb | |
706 | lRS:wait() | |
707 | end | |
708 | end) | |
709 | ------------------------------------------------ | |
710 | ------------------------------------------------ | |
711 | spawn(function() | |
712 | for i = 1,20 do | |
713 | Part3a.Transparency = Part3a.Transparency - 1/Numb | |
714 | lRS:wait() | |
715 | end | |
716 | end) | |
717 | wait(.1) | |
718 | ---- | |
719 | spawn(function() | |
720 | for i = 1,20 do | |
721 | Part2a.Transparency = Part2a.Transparency - 1/Numb | |
722 | lRS:wait() | |
723 | end | |
724 | end) | |
725 | wait(.1) | |
726 | ---- | |
727 | spawn(function() | |
728 | for i = 1,20 do | |
729 | Part1a.Transparency = Part1a.Transparency - 1/Numb | |
730 | lRS:wait() | |
731 | end | |
732 | end) | |
733 | ------------------------------------------------ | |
734 | end | |
735 | ||
736 | spawn(R) | |
737 | spawn(L) | |
738 | end; | |
739 | ||
740 | newRay = function(start,face,range,wat) | |
741 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
742 | local hit,pos=workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
743 | return rey,hit,pos | |
744 | end | |
745 | ||
746 | Pulse = function(Parent, Angle, Sc, Increase) | |
747 | local Rng = Instance.new('Part',Parent) | |
748 | Rng.FormFactor = 3 | |
749 | Rng.Size = Vector3.new(.2,.2,.2) | |
750 | Rng.BrickColor = BrickColor.new(SecondaryColor) | |
751 | Rng.Anchored = true | |
752 | Rng.CFrame = Parent.CFrame*Angle | |
753 | local Msh = Instance.new('SpecialMesh',Rng) | |
754 | Msh.MeshId = 'rbxassetid://3270017' | |
755 | Msh.Scale = Sc | |
756 | spawn(function() | |
757 | for i = 1,Increase do | |
758 | Msh.Scale = Msh.Scale + Vector3.new(.1,.1,0) | |
759 | Rng.Transparency = Rng.Transparency + 1/Increase | |
760 | lRS:wait() | |
761 | end | |
762 | Rng:Destroy() | |
763 | end) | |
764 | end; | |
765 | ||
766 | FaceMouse = function() | |
767 | local Torso = torso | |
768 | local atan2, pi, dir, torso, torsoPos = math.atan2, math.pi | |
769 | local torso = Char:FindFirstChild'Torso' | |
770 | if torso then | |
771 | torsoPos = torso.CFrame.p | |
772 | dir = (mouse.Hit.p - torsoPos).unit | |
773 | torso.CFrame = CFrame.new(torsoPos) * CFrame.Angles(0, atan2(dir.X, dir.Z) + pi, 0) | |
774 | end;end; | |
775 | ||
776 | CheckIfLanded = function() | |
777 | local Ray = Ray.new(torso.Position,Vector3.new(0,-1,0)*10) | |
778 | local Ignore = {} | |
779 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
780 | if v.Character ~= nil then | |
781 | Ignore[#Ignore+1] = v.Character | |
782 | end | |
783 | end | |
784 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
785 | if Hit == nil then return false,nil end | |
786 | return true,Hit | |
787 | end; | |
788 | ||
789 | CL = function() | |
790 | local C = CheckIfLanded() | |
791 | if C == false then | |
792 | DebounceState = false | |
793 | dk = false | |
794 | DBP = false | |
795 | Flyin = false | |
796 | return end | |
797 | end; | |
798 | ||
799 | local acos = math.acos | |
800 | local sqrt = math.sqrt | |
801 | local Vec3 = Vector3.new | |
802 | local fromAxisAngle = CFrame.fromAxisAngle | |
803 | ||
804 | toAxisAngle = function(CFr) | |
805 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
806 | local Angle = math.acos((R00+R11+R22-1)/2) | |
807 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
808 | A = A == 0 and 0.00001 or A | |
809 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
810 | B = B == 0 and 0.00001 or B | |
811 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
812 | C = C == 0 and 0.00001 or C | |
813 | local x = (R21-R12)/sqrt(A) | |
814 | local y = (R02-R20)/sqrt(B) | |
815 | local z = (R10-R01)/sqrt(C) | |
816 | return Vec3(x,y,z),Angle | |
817 | end | |
818 | ||
819 | Crown = function() | |
820 | local P = Instance.new('Part',VortexGauntlet) | |
821 | P.FormFactor = 3 | |
822 | P.Material = 'Neon' | |
823 | P.CanCollide = false | |
824 | P.Anchored = true | |
825 | P.Size = Vector3.new(2,2,2) | |
826 | local M = Instance.new('SpecialMesh',P) | |
827 | M.MeshId = 'rbxassetid://20329976' | |
828 | return P,M | |
829 | end; | |
830 | ||
831 | LerpCFrame = function(CFrame1,CFrame2,Num) | |
832 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
833 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
834 | end | |
835 | ||
836 | ApplyTrig = function(Num,Func) | |
837 | local Min,Max = Func(0),Func(1) | |
838 | local i = Func(Num) | |
839 | return (i-Min)/(Max-Min) | |
840 | end | |
841 | ||
842 | getm = function(obj) | |
843 | if obj:IsA'Part' then | |
844 | return obj:GetMass() | |
845 | else | |
846 | print(obj.ClassName..', YOU SHALL NOT MASS!!! ') --// Pun | |
847 | return 0 | |
848 | end | |
849 | end; | |
850 | ||
851 | isnormal = function(plr) | |
852 | if plr:FindFirstChild'Torso' then | |
853 | if getm(plr.Torso) > 4 then | |
854 | return false | |
855 | end | |
856 | end | |
857 | return true | |
858 | end; | |
859 | ||
860 | Crater = function(Torso,Radius) | |
861 | spawn(function() | |
862 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
863 | local Ignore = {} | |
864 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
865 | if v.Character ~= nil then | |
866 | Ignore[#Ignore+1] = v.Character | |
867 | end | |
868 | end | |
869 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
870 | if Hit == nil then return end | |
871 | local Parts = {} | |
872 | for i = 1,360,40 do | |
873 | local P = Instance.new("Part",VortexGauntlet) | |
874 | P.Anchored = true | |
875 | P.FormFactor = "Custom" | |
876 | P.BrickColor = Hit.BrickColor | |
877 | P.Material = Hit.Material | |
878 | P.TopSurface = "Smooth" | |
879 | P.BottomSurface = "Smooth" | |
880 | P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100) | |
881 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
882 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
883 | if math.random(0,5) == 0 then -- rubble | |
884 | local P = Instance.new("Part",Torso.Parent) | |
885 | P.Anchored = true | |
886 | P.FormFactor = "Custom" | |
887 | P.BrickColor = Hit.BrickColor | |
888 | P.Material = Hit.Material | |
889 | P.TopSurface = "Smooth" | |
890 | P.BottomSurface = "Smooth" | |
891 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
892 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
893 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
894 | end | |
895 | end | |
896 | for i = 0,1,0.05 do | |
897 | for i2,v in pairs(Parts) do | |
898 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
899 | end | |
900 | wait(0.02) | |
901 | end | |
902 | for i,v in pairs(Parts) do | |
903 | if v[1].Size.X > 2.1 then | |
904 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
905 | end | |
906 | v[1].Anchored = false | |
907 | end | |
908 | for i = 0,1,0.05 do | |
909 | for i2,v in pairs(Parts) do | |
910 | v[1].Transparency = i | |
911 | if i == 1 then | |
912 | v[1]:Destroy() | |
913 | elseif i >= 0.25 then | |
914 | v[1].CanCollide = false | |
915 | end | |
916 | end | |
917 | wait(0.02) | |
918 | end | |
919 | Parts = nil | |
920 | end) | |
921 | end | |
922 | ||
923 | LazorBeam = function() | |
924 | DebounceState = true | |
925 | DBP = true | |
926 | dk = true | |
927 | Trans(4) | |
928 | local Bool = TakeJuice(25) | |
929 | if Bool == false then return end | |
930 | local S = NewSound(hed,164102008,1.5,1) | |
931 | S:Play() | |
932 | for i = 1,30 do | |
933 | FaceMouse() | |
934 | Char.Humanoid.WalkSpeed = 5 | |
935 | llw.C0 = clerp(llw.C0, CF(0,0,0),.15) | |
936 | rlw.C0 = clerp(rlw.C0, CF(0,0,0),.15) | |
937 | law.C0 = clerp(law.C0, CF(.5,.5,.2)*Angles(rad(90),0,rad(45+25)),.15) | |
938 | raw.C0 = clerp(raw.C0, CF(0,.5,-1.5)*Angles(rad(89),rad(5),rad(25)),.15) | |
939 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-25),0),.15) | |
940 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(25),0),.15) | |
941 | lRS:wait() | |
942 | end | |
943 | Trans(6) | |
944 | wait(.05) | |
945 | for i = 1,30 do | |
946 | FaceMouse() | |
947 | HandleParts(Main,i/75) | |
948 | local ang = rad(math.random(-360,360)) | |
949 | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) | |
950 | lRS:wait() | |
951 | end | |
952 | ||
953 | local Beam = Cylinder:Clone() | |
954 | Beam.mot:Destroy() | |
955 | Beam.Parent = VortexGauntlet | |
956 | Beam.Mesh.Scale = Vector3.new(1,1,1) | |
957 | Beam.Anchored = true | |
958 | --local pos,hit = RayCast(Main.Position,(Main.Position-Vector3.new(0,0,10)),100,1) | |
959 | local Count = 0 | |
960 | --Pulse() | |
961 | --wait(.5) | |
962 | --spawn(function()Pulse(Main,Angles(rad(45),0,rad(45)),Vector3.new(2.5,2.5,1),25)end) | |
963 | --spawn(function()Pulse(Main,Angles(-rad(45),0,rad(-45)),Vector3.new(2.5,2.5,1),25)end) | |
964 | local S = NewSound(Beam,228343271,.95,1) | |
965 | S:Play() | |
966 | local S = NewSound(Beam,231917744,.95,1) | |
967 | S:Play() | |
968 | local S = NewSound(hed,154454228,1,1) | |
969 | --S:Play() | |
970 | local Tbl = {Main, Char, Beam} | |
971 | local Angl = 0 | |
972 | for i = 1,60 do | |
973 | Angl = Angl+rad(30) | |
974 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) | |
975 | Trans(2) | |
976 | local ang = rad(math.random(-360,360)) | |
977 | spawn(function()Pulse(Main,CF(0,0,0)*Angles(ang,ang,ang),Vector3.new(1.2+(i/35),1.2+(i/35),1),20)end) | |
978 | FaceMouse() | |
979 | Count = Count + i | |
980 | FaceMouse() | |
981 | Count = Count + i | |
982 | local StartPos = (Main.CFrame*CF(0,0,0)) | |
983 | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count/2) | |
984 | local P = Instance.new('Part') | |
985 | table.insert(Tbl,P) | |
986 | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) | |
987 | local ph | |
988 | local mag | |
989 | if Hit then | |
990 | if Hit and Hit.Parent:FindFirstChild'Humanoid' then | |
991 | local h = dmg(Hit,9,3) | |
992 | end | |
993 | if Hit and Hit.Anchored == false and not Hit.Parent:FindFirstChild'Humanoid' then | |
994 | local bv = Instance.new('BodyVelocity',Hit) | |
995 | local hih = 50000 | |
996 | bv.maxForce = Vector3.new(hih,hih,hih) | |
997 | bv.velocity = torso.CFrame.lookVector * 20 + Vector3.new(0,-2,0) | |
998 | spawn(function() | |
999 | wait(.1) | |
1000 | bv:Destroy() | |
1001 | end) | |
1002 | end | |
1003 | if Hit.CanCollide == false then | |
1004 | table.insert(Tbl,Hit) | |
1005 | end | |
1006 | --Count = (StartPos.p-Hit.CFrame.p).magnitude | |
1007 | P.Parent = VortexGauntlet | |
1008 | P.FormFactor = 3 | |
1009 | P.TopSurface,P.BottomSurface = 10,10 | |
1010 | P.Size = Vector3.new(2,2,2) | |
1011 | P.Anchored = true | |
1012 | P.Position = Pos | |
1013 | P.BrickColor = BrickColor.new(SecondaryColor) | |
1014 | P.Transparency = .2 | |
1015 | P.CanCollide = false | |
1016 | P.Material = Enum.Material.Neon | |
1017 | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1018 | spawn(function() | |
1019 | local C = 40 | |
1020 | for i = 1,C do | |
1021 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
1022 | P.Transparency = P.Transparency + 1/C | |
1023 | lRS:wait() | |
1024 | end; | |
1025 | P:Destroy() | |
1026 | end) | |
1027 | mag = (Main.CFrame.p-Pos).magnitude | |
1028 | else | |
1029 | mag = (Main.CFrame.p-Pos).magnitude | |
1030 | end | |
1031 | local Down = 0--.125 | |
1032 | Beam.Size = Vector3.new(mag,2.5,2.5) --//Beam.Size.Y-Down,Beam.Size.Z-Down) | |
1033 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
1034 | Beam.CFrame = Main.CFrame * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
1035 | --// print(hit.Name) | |
1036 | torso.Anchored = false | |
1037 | lRS:wait() | |
1038 | --BTouch:disconnect() | |
1039 | end--]] | |
1040 | torso.Anchored = false | |
1041 | spawn(function() | |
1042 | local C = 40 | |
1043 | for i = 1,C do | |
1044 | pcall(function() | |
1045 | Beam.Mesh.Scale = Beam.Mesh.Scale - Vector3.new(0,.085/2,.085/2) | |
1046 | end) | |
1047 | pcall(function() | |
1048 | Beam.Transparency = Beam.Transparency + 1/C | |
1049 | end) | |
1050 | lRS:wait() | |
1051 | end;Beam:Destroy() | |
1052 | DBP = false | |
1053 | end) | |
1054 | wait(.1) | |
1055 | dk = false | |
1056 | DebounceState = false | |
1057 | end | |
1058 | ||
1059 | BeamThrust = function() | |
1060 | DBP = true | |
1061 | DebounceState = true | |
1062 | dk = true | |
1063 | Flyin = true | |
1064 | Keyz.R = true | |
1065 | local C,Below = CheckIfLanded() | |
1066 | if C == false then | |
1067 | DebounceState = false | |
1068 | dk = false | |
1069 | DBP = false | |
1070 | Flyin = false | |
1071 | return end | |
1072 | for i = 1,9 do | |
1073 | --FaceMouse() | |
1074 | HandleParts(Main, i/75) | |
1075 | HandleParts(Main2,i/75) | |
1076 | Char.Humanoid.WalkSpeed = 7 | |
1077 | torr.C0 = clerp(torr.C0, CF(0,rad(cos(sine/3)),0)*Angles(rad(0),rad(0),0),.3) | |
1078 | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-75)+-rad(cos(sine/10)),rad(75)+rad(cos(sine/20)),rad(90)+rad(cos(sine/20))),.3) | |
1079 | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75)+rad(cos(sine/10)),rad(-75)+-rad(cos(sine/20)),rad(-90)+-rad(cos(sine/20))),.3) | |
1080 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(0),0),.3) | |
1081 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(0),0),.3) | |
1082 | hw.C0 = clerp(hw.C0, Angles(rad(-2)+rad(cos(sine/10)),rad(0),0),.3) | |
1083 | lRS:wait() | |
1084 | end | |
1085 | wait(.05) | |
1086 | --for i = 1,30 do | |
1087 | HandleParts(Main,1.5) | |
1088 | HandleParts(Main2,1.5) | |
1089 | local ang = rad(math.random(-360,360)) | |
1090 | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) | |
1091 | lRS:wait() | |
1092 | --end | |
1093 | local S = NewSound(Main,231917744,.95,1) | |
1094 | S:Play() | |
1095 | local S = NewSound(Main2,231917744,.95,1) | |
1096 | S:Play() | |
1097 | local S = NewSound(Main,231917744,.95,1) | |
1098 | --:Play() | |
1099 | local S = NewSound(Main2,231917744,.95,1) | |
1100 | --S:Play() | |
1101 | local S = NewSound(Main,231917744,.95,1) | |
1102 | --S:Play() | |
1103 | local S = NewSound(Main2,231917744,.95,1) | |
1104 | --S:Play() | |
1105 | local Loop = NewSound(torso,194908109,1,1) | |
1106 | Loop.Looped = true | |
1107 | Loop:Play() | |
1108 | Trans(2) | |
1109 | local H = 0 | |
1110 | local Beam = Cylinder:Clone() | |
1111 | Beam.mot:Destroy() | |
1112 | Beam.Name = 'BEAMM' | |
1113 | Beam.Parent = VortexGauntlet | |
1114 | Beam.Mesh.Scale = Vector3.new(1,1,1) | |
1115 | Beam.Anchored = true | |
1116 | local Beam2 = Beam:Clone() | |
1117 | Beam2.Parent = VortexGauntlet2 | |
1118 | local Count = 0 | |
1119 | local bv = Instance.new('BodyVelocity',torso) | |
1120 | bv.Name = 'localbv' | |
1121 | bv.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1122 | local Tbl = {Main, Char, Beam, Beam2} | |
1123 | local Angl = 0 | |
1124 | repeat | |
1125 | local Bool2 = TakeJuice(25) | |
1126 | if Bool2 == false then break end | |
1127 | for i = 1,45/2 do | |
1128 | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) | |
1129 | torr.C0 = clerp(torr.C0, CF(0,rad(cos(sine/3)),0)*Angles(rad(-15),rad(0),0),.3) | |
1130 | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-75)+-rad(cos(sine/10)),rad(75)+rad(cos(sine/20)),rad(90)+rad(cos(sine/20))),.3) | |
1131 | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75)+rad(cos(sine/10)),rad(-75)+-rad(cos(sine/20)),rad(-90)+-rad(cos(sine/20))),.3) | |
1132 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(0),0),.3) | |
1133 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(0),0),.3) | |
1134 | hw.C0 = clerp(hw.C0, Angles(rad(-2)+rad(cos(sine/10)),rad(0),0),.3) | |
1135 | Angl = Angl+rad(30) | |
1136 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) | |
1137 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,Angl,0),.35) | |
1138 | FaceMouse() | |
1139 | H = H+.4 | |
1140 | bv.velocity = Vector3.new(0,H*1.5,0) + torso.CFrame.lookVector*H*2 | |
1141 | --wait() | |
1142 | --Trans(4) | |
1143 | local S = NewSound(hed,145099824,1,1) | |
1144 | --S:Play() | |
1145 | --Trans(6) | |
1146 | --FaceMouse() | |
1147 | Count = Count + 25 | |
1148 | local StartPos = (Main.CFrame*CF(0,0,0)) | |
1149 | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count) | |
1150 | local P = Instance.new('Part') | |
1151 | table.insert(Tbl,P) | |
1152 | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) | |
1153 | local ph | |
1154 | local mag | |
1155 | local StartPos2 = (Main2.CFrame*CF(0,0,0)) | |
1156 | local ray2 = Ray.new(StartPos2.p,(StartPos2.p-(StartPos2*CF(0,1,0)).p).unit*Count) | |
1157 | local P2 = Instance.new('Part') | |
1158 | local Hit2,Pos2 = workspace:FindPartOnRayWithIgnoreList(ray2, {Main2, P2, Char, Beam2}) | |
1159 | local mag2 | |
1160 | if Hit then | |
1161 | if Hit.CanCollide == false then Tbl[Hit] = Hit end | |
1162 | P.Parent = VortexGauntlet | |
1163 | P.FormFactor = 3 | |
1164 | P.TopSurface,P.BottomSurface = 10,10 | |
1165 | P.Size = Vector3.new(2,2,2) | |
1166 | P.Anchored = true | |
1167 | P.Position = Pos | |
1168 | P.BrickColor = BrickColor.new(SecondaryColor) | |
1169 | P.Transparency = .2 | |
1170 | P.CanCollide = false | |
1171 | P.Material = Enum.Material.Neon | |
1172 | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1173 | spawn(function() | |
1174 | local C = 40 | |
1175 | for i = 1,C do | |
1176 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
1177 | P.Transparency = P.Transparency + .8/C | |
1178 | lRS:wait() | |
1179 | end; | |
1180 | game.Debris:AddItem(P,10) | |
1181 | spawn(function() | |
1182 | wait(2) | |
1183 | - | P.BrickColor = BrickColor.Black() |
1183 | + | P.BrickColor = BrickColor.Really green() |
1184 | end) | |
1185 | end) | |
1186 | mag = (Main.CFrame.p-Pos).magnitude | |
1187 | else | |
1188 | mag = (Main.CFrame.p-Pos).magnitude | |
1189 | end | |
1190 | if Hit2 then | |
1191 | P2.Parent = VortexGauntlet2 | |
1192 | P2.FormFactor = 3 | |
1193 | P2.TopSurface,P.BottomSurface = 10,10 | |
1194 | P2.Size = Vector3.new(2,2,2) | |
1195 | P2.Anchored = true | |
1196 | P2.Position = Pos2 | |
1197 | P2.BrickColor = BrickColor.new(SecondaryColor) | |
1198 | P2.Transparency = .2 | |
1199 | P2.CanCollide = false | |
1200 | P2.Material = Enum.Material.Neon | |
1201 | P2.CFrame = CFrame.new(Pos2) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1202 | spawn(function() | |
1203 | local C = 40 | |
1204 | for i = 1,C do | |
1205 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
1206 | P2.Transparency = P2.Transparency + .8/C | |
1207 | lRS:wait() | |
1208 | end; | |
1209 | game.Debris:AddItem(P2,10) | |
1210 | spawn(function() | |
1211 | wait(2) | |
1212 | - | P2.BrickColor = BrickColor.Black() |
1212 | + | P2.BrickColor = BrickColor.Really green() |
1213 | end) | |
1214 | end) | |
1215 | mag2 = (Main2.CFrame.p-Pos2).magnitude | |
1216 | else | |
1217 | mag2 = (Main2.CFrame.p-Pos2).magnitude | |
1218 | end | |
1219 | local Down = 0 | |
1220 | Beam.Size = Vector3.new(mag,Beam.Size.Y,Beam.Size.Z) | |
1221 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
1222 | Beam.CFrame = Main.CFrame * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
1223 | Beam2.Size = Vector3.new(mag,Beam2.Size.Y,Beam2.Size.Z) | |
1224 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
1225 | Beam2.CFrame = Main2.CFrame * CF(0,-mag2/2,0) * Angles(0,0,rad(90)) | |
1226 | --// print(hit.Name) | |
1227 | torso.Anchored = false | |
1228 | lRS:wait() | |
1229 | DBP = false | |
1230 | --BTouch:disconnect() | |
1231 | --end--]] | |
1232 | end | |
1233 | torso.Anchored = false | |
1234 | until Keyz.R == false wait() | |
1235 | ypcall(function()VortexGauntlet['BEAMM']:Destroy()end) | |
1236 | ypcall(function()VortexGauntlet2['BEAMM']:Destroy()end) | |
1237 | ypcall(function()torso['localbv']:Destroy()end) | |
1238 | DebounceState = false | |
1239 | ypcall(function() Loop:Destroy() end) | |
1240 | wait(.2) | |
1241 | dk = false | |
1242 | wait(1.8) | |
1243 | Flyin = false | |
1244 | DBP = false | |
1245 | end; | |
1246 | ||
1247 | ForceField = function() | |
1248 | DebounceState = true | |
1249 | dk = true | |
1250 | Keyz.Q = true | |
1251 | local Bool = TakeJuice(15) | |
1252 | if Bool == false then return end | |
1253 | local Count = 0 | |
1254 | for i = 1,20 do | |
1255 | hum.WalkSpeed = 0 | |
1256 | Count = Count + rad(30) | |
1257 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) | |
1258 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) | |
1259 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1260 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1261 | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) | |
1262 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1263 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1264 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) | |
1265 | lRS:wait() | |
1266 | end | |
1267 | local NewA = 0 | |
1268 | local FF = Instance.new('Part',VortexGauntlet) | |
1269 | FF.TopSurface,FF.BottomSurface,FF.FormFactor = 10,10,3 | |
1270 | FF.Size = Vector3.new(5,5,5) | |
1271 | FF.Anchored,FF.CanCollide = true,false | |
1272 | FF.Color = BrickColor.new(SecondaryColor).Color | |
1273 | FF.Material,FF.Transparency = 'Neon',.7 | |
1274 | local ang = rad(math.random(-360,360)) | |
1275 | FF.CFrame = torso.CFrame * Angles(ang,ang,ang) | |
1276 | local FT = FF.Touched:connect(function(Hit) | |
1277 | local h = dmg(Hit,30,100) | |
1278 | end) | |
1279 | hum.WalkSpeed = 0 | |
1280 | local Loop = NewSound(torso,238032904,1,1) | |
1281 | Loop.Looped = true | |
1282 | Loop:Play() | |
1283 | for i = 1,15 do | |
1284 | local Inc = 1 | |
1285 | Count = Count+rad(30) | |
1286 | NewA = NewA + rad(3) | |
1287 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Count,0),.35) | |
1288 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,Count,0),.35) | |
1289 | FF.Size = Vector3.new(FF.Size.X+Inc,FF.Size.Y+Inc,FF.Size.Z+Inc) | |
1290 | FF.CFrame = torso.CFrame * Angles(ang+NewA,ang+NewA,ang+NewA) | |
1291 | lRS:wait() | |
1292 | end | |
1293 | FF.CFrame = torso.CFrame * Angles(ang+NewA,ang+NewA,ang+NewA) | |
1294 | DebounceState = false | |
1295 | ypcall(function()Loop:Destroy()end) | |
1296 | spawn(function() | |
1297 | wait(5) | |
1298 | local N = 150 | |
1299 | for i = 1,N do | |
1300 | FF.Transparency = FF.Transparency + (1)/(N) | |
1301 | lRS:wait() | |
1302 | end | |
1303 | FT:disconnect() | |
1304 | FF:Destroy() | |
1305 | end) | |
1306 | hum.WalkSpeed = .5 | |
1307 | for i = 1,10 do | |
1308 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,0,0),.35) | |
1309 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,0,0),.35) | |
1310 | lRS:wait() | |
1311 | end | |
1312 | dk = false | |
1313 | end | |
1314 | ||
1315 | Spikez = function() | |
1316 | local Bool = TakeJuice(50) | |
1317 | if Bool == false then return end | |
1318 | local C = CheckIfLanded() | |
1319 | if C == false then | |
1320 | DebounceState = false | |
1321 | dk = false | |
1322 | DBP = false | |
1323 | Flyin = false | |
1324 | return end | |
1325 | dk = true | |
1326 | DebounceState = true | |
1327 | local Laugh = NewSound(hed,221057812,1.3,1) | |
1328 | --Laugh:Play() | |
1329 | for i = 1,10 do | |
1330 | hum.WalkSpeed = 2 | |
1331 | torr.C0 = clerp(torr.C0, CF(0,-.55,0)*Angles(rad(-25),rad(0),0),.3) | |
1332 | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-45),rad(25),rad(90)),.3) | |
1333 | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75),rad(-75),rad(-90)),.3) | |
1334 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-1)*Angles(rad(-40),rad(0),0),.3) | |
1335 | llw.C0 = clerp(llw.C0, CF(0,.6,-.12)*Angles(rad(16),rad(0),0),.3) | |
1336 | hw.C0 = clerp(hw.C0, Angles(rad(-2),rad(-13),0),.3) | |
1337 | lRS:wait() | |
1338 | end | |
1339 | local Drill_sfx = NewSound(Main,188959272,1.25,.2) | |
1340 | Drill_sfx:Play() | |
1341 | local Count = 0 | |
1342 | for i = 1,55 do | |
1343 | hum.WalkSpeed = 0 | |
1344 | Count = Count + rad(30) | |
1345 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.35) | |
1346 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1347 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1348 | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75),rad(-75),rad(-90)),.3) | |
1349 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1350 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1351 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(-21),0),.3) | |
1352 | lRS:wait() | |
1353 | end | |
1354 | spawn(function() | |
1355 | for i = 1,35 do | |
1356 | --local Bool2 = TakeJuice(1) | |
1357 | --if Bool2 == false then break end | |
1358 | local P = Cone:Clone() | |
1359 | P.Parent = VortexGauntlet | |
1360 | P.Color = BrickColor.new(SecondaryColor).Color | |
1361 | P.mot:Destroy() | |
1362 | P.Anchored = true | |
1363 | P.Size = Vector3.new(3,15,3) | |
1364 | P.CanCollide = false | |
1365 | local PT = P.Touched:connect(function(Hit) | |
1366 | local h = dmg(Hit,13,15) | |
1367 | end) | |
1368 | P.Mesh.Scale = Vector3.new(2,15,2) | |
1369 | local Pos = torso.Position | |
1370 | P.CFrame = CF(Pos.X+math.random(-30,30),Pos.Y-20,Pos.Z+math.random(-30,30)) | |
1371 | spawn(function() | |
1372 | game.Debris:AddItem(P,10) | |
1373 | wait(6) | |
1374 | local LV = 50 | |
1375 | for i = 1,LV do | |
1376 | P.Transparency = P.Transparency + 1/LV | |
1377 | lRS:wait() | |
1378 | end | |
1379 | P:Destroy() | |
1380 | end) | |
1381 | local PC = P.CFrame.p | |
1382 | spawn(function() | |
1383 | local Pt = Instance.new('Part',VortexGauntlet) | |
1384 | Pt.FormFactor = 3 | |
1385 | Pt.TopSurface,P.BottomSurface = 10,10 | |
1386 | Pt.Size = Vector3.new(2,2,2) | |
1387 | Pt.Anchored = true | |
1388 | Pt.Position = Pos | |
1389 | local Clrz = { | |
1390 | PrimaryColor; | |
1391 | SecondaryColor; | |
1392 | ThirdColor; | |
1393 | }; | |
1394 | local Cl = Clrz[math.random(1,#Clrz)] | |
1395 | Pt.Color = BrickColor.new(Cl).Color | |
1396 | Pt.Transparency = .2 | |
1397 | Pt.CanCollide = false | |
1398 | Pt.Material = Enum.Material.Neon | |
1399 | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1400 | P.Color = BrickColor.new(Cl).Color | |
1401 | spawn(function() | |
1402 | local C = 40 | |
1403 | for i = 1,C do | |
1404 | --Pt.Size = Vector3.new(Pt.Size.Z+.01,Pt.Size.Y+.01,Pt.Size.Z+.01) | |
1405 | Pt.CFrame = clerp(Pt.CFrame,CF(PC.X,Pos.Y-2,PC.Z)*Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))),.15) | |
1406 | Pt.Transparency = Pt.Transparency + .8/C | |
1407 | lRS:wait() | |
1408 | end; | |
1409 | game.Debris:AddItem(Pt,10) | |
1410 | end) | |
1411 | ||
1412 | for i = 1,20 do | |
1413 | P.CFrame = clerp(P.CFrame,CF(PC.X,Pos.Y+4,PC.Z),.15) | |
1414 | Pt.CFrame = clerp(Pt.CFrame,CF(PC.X,Pos.Y-2,PC.Z)*Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))),.15) | |
1415 | lRS:wait() | |
1416 | end | |
1417 | end) | |
1418 | end | |
1419 | end) | |
1420 | local Boom = NewSound(Main,133403840,1,1) | |
1421 | Boom:Play() | |
1422 | for i = 1,20 do | |
1423 | hum.WalkSpeed = .5 | |
1424 | torr.C0 = clerp(torr.C0, CF(0,-.55,0)*Angles(rad(-25),rad(0),0),.3) | |
1425 | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-45),rad(25),rad(90)),.3) | |
1426 | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75),rad(-75),rad(-90)),.3) | |
1427 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-1)*Angles(rad(-40),rad(0),0),.3) | |
1428 | llw.C0 = clerp(llw.C0, CF(0,.6,-.12)*Angles(rad(16),rad(0),0),.3) | |
1429 | hw.C0 = clerp(hw.C0, Angles(rad(-2),rad(-13),0),.3) | |
1430 | lRS:wait() | |
1431 | end | |
1432 | dk = false | |
1433 | DebounceState = false | |
1434 | end; | |
1435 | ||
1436 | ChargeEnergy = function() | |
1437 | if Energy == mx then return end | |
1438 | dk = true | |
1439 | DebounceState = true | |
1440 | Keyz.C = true | |
1441 | local Count = 0 | |
1442 | local Drill_sfx = NewSound(torso,169445714,1.3,1) | |
1443 | Drill_sfx.Looped = true | |
1444 | Drill_sfx:Play() | |
1445 | Drill_sfx.Name = 'DRILLNOIZE' | |
1446 | for i = 1,25 do | |
1447 | hum.WalkSpeed = 5 | |
1448 | Count = Count + rad(30) | |
1449 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.15) | |
1450 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,-.15,0)*Angles(0,Count,0),.15) | |
1451 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1452 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1453 | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) | |
1454 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1455 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1456 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) | |
1457 | lRS:wait() | |
1458 | end | |
1459 | while Keyz.C == true do | |
1460 | if Energy == mx then Keyz.C = false dk = false DebounceState = false | |
1461 | ypcall(function() | |
1462 | torso['DRILLNOIZE']:Destroy() | |
1463 | end) | |
1464 | end | |
1465 | hum.WalkSpeed = 0 | |
1466 | spawn(function()Charge(2)end) | |
1467 | Count = Count + rad(30) | |
1468 | spawn(function()Pulse(Main,CF(0,0,0)*Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)),Vector3.new(1,1,1),20)end) | |
1469 | spawn(function()Pulse(Main2,CF(0,0,0)*Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)),Vector3.new(1,1,1),20)end) | |
1470 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) | |
1471 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) | |
1472 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1473 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1474 | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) | |
1475 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1476 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1477 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) | |
1478 | lRS:wait() | |
1479 | end | |
1480 | end; | |
1481 | ||
1482 | Kick = function(dist) | |
1483 | dk = true | |
1484 | DebounceState = true | |
1485 | local spd = .35 | |
1486 | local Swng = NewSound(rleg,212607246,.9,1) | |
1487 | for i = 1,10 do | |
1488 | FaceMouse() | |
1489 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1490 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1491 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1492 | raw.C0 = clerp(raw.C0, CF(1.5,-1.2,0)*Angles(0,rad(1),rad(75)),spd) | |
1493 | law.C0 = clerp(law.C0, CF(-1.5,-1.2,0)*Angles(0,rad(1),rad(-75)),spd) | |
1494 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),spd) | |
1495 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) | |
1496 | lRS:wait() | |
1497 | end | |
1498 | local bv = Instance.new('BodyVelocity',hed) | |
1499 | bv.maxForce = Vector3.new(999999999999,999999999999,999999999999) | |
1500 | bv.velocity = hed.CFrame.lookVector * 40 | |
1501 | Swng:Play() | |
1502 | local chit = true | |
1503 | local rlt = rleg.Touched:connect(function(Hit) | |
1504 | if chit == false then return end | |
1505 | local h = dmg(Hit,35,dist,Hit.CFrame.lookVector*Vector3.new(0,0,5)) | |
1506 | if h then | |
1507 | chit = false | |
1508 | local Pcht = NewSound(Hit,138285836,math.random(.8,.95),1) | |
1509 | Pcht:Play() | |
1510 | Pcht:Destroy() | |
1511 | h.PlatformStand = true | |
1512 | delay(.2,function()h.PlatformStand = false end) | |
1513 | spawn(function() | |
1514 | local Pos = (rleg.CFrame*CF(0,-1,0)).p | |
1515 | local Pt = Instance.new('Part',VortexGauntlet) | |
1516 | Pt.FormFactor = 3 | |
1517 | Pt.TopSurface,Pt.BottomSurface = 10,10 | |
1518 | Pt.Size = Vector3.new(2.1,2.1,2.1) | |
1519 | Pt.Anchored = true | |
1520 | Pt.Position = Pos | |
1521 | local Clrz = { | |
1522 | PrimaryColor; | |
1523 | SecondaryColor; | |
1524 | ThirdColor; | |
1525 | }; | |
1526 | local Cl = Clrz[math.random(1,#Clrz)] | |
1527 | Pt.Color = BrickColor.new(Cl).Color | |
1528 | Pt.Transparency = .2 | |
1529 | Pt.CanCollide = false | |
1530 | Pt.Material = Enum.Material.Neon | |
1531 | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1532 | spawn(function() | |
1533 | local C = 40 | |
1534 | for i = 1,C do | |
1535 | Pt.Transparency = Pt.Transparency + .8/C | |
1536 | lRS:wait() | |
1537 | end; | |
1538 | Pt:Destroy() | |
1539 | end) | |
1540 | end) | |
1541 | end | |
1542 | end) | |
1543 | spawn(function() | |
1544 | wait() | |
1545 | bv:Destroy() | |
1546 | end) | |
1547 | for i = 1,10 do | |
1548 | FaceMouse() | |
1549 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1550 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1551 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(45),0),spd) | |
1552 | raw.C0 = clerp(raw.C0, CF(1.5,-1.2,.61)*Angles(rad(-20),rad(85),rad(75)),spd) | |
1553 | law.C0 = clerp(law.C0, CF(-1.5,-1.2,0)*Angles(0,rad(85),rad(-75)),spd) | |
1554 | rlw.C0 = clerp(rlw.C0, CF(0,-1.1,0)*Angles(rad(90),rad(-1),rad(45)),spd) | |
1555 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) | |
1556 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-45),0),spd) | |
1557 | lRS:wait() | |
1558 | end | |
1559 | DebounceState = false | |
1560 | rlt:disconnect() | |
1561 | wait(.1) | |
1562 | dk = false | |
1563 | DebounceState = false | |
1564 | end; | |
1565 | ||
1566 | DoublePunch = function(spd,cnt,dist) | |
1567 | dist = dist or 20 | |
1568 | dk = true | |
1569 | Keyz.X = true | |
1570 | DebounceState = true | |
1571 | while Keyz.X do | |
1572 | local Swng = NewSound(rleg,212607246,math.random(.9,1),1) | |
1573 | Swng:Play() | |
1574 | hum.WalkSpeed = 2 | |
1575 | local bv = Instance.new('BodyVelocity',hed) | |
1576 | bv.maxForce = Vector3.new(999999999999,999999999999,999999999999) | |
1577 | bv.velocity = hed.CFrame.lookVector * 15 | |
1578 | local chit = true | |
1579 | local rat = rarm.Touched:connect(function(Hit) | |
1580 | if chit == false then return end | |
1581 | local h = dmg(Hit,7,dist) | |
1582 | if h then | |
1583 | chit = false | |
1584 | local Pcht = NewSound(Hit,138285836,1.35,2) | |
1585 | Pcht:Play() | |
1586 | Pcht:Destroy() | |
1587 | --h.PlatformStand = true | |
1588 | spawn(function() | |
1589 | local Pos = (rarm.CFrame*CF(0,-1,0)).p | |
1590 | local Pt = Instance.new('Part',VortexGauntlet) | |
1591 | Pt.FormFactor = 3 | |
1592 | Pt.TopSurface,Pt.BottomSurface = 10,10 | |
1593 | Pt.Size = Vector3.new(2.1,2.1,2.1) | |
1594 | Pt.Anchored = true | |
1595 | Pt.Position = Pos | |
1596 | local Clrz = { | |
1597 | PrimaryColor; | |
1598 | SecondaryColor; | |
1599 | ThirdColor; | |
1600 | }; | |
1601 | local Cl = Clrz[math.random(1,#Clrz)] | |
1602 | Pt.Color = BrickColor.new(Cl).Color | |
1603 | Pt.Transparency = .2 | |
1604 | Pt.CanCollide = false | |
1605 | Pt.Material = Enum.Material.Neon | |
1606 | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1607 | spawn(function() | |
1608 | local C = 40 | |
1609 | for i = 1,C do | |
1610 | Pt.Transparency = Pt.Transparency + .8/C | |
1611 | lRS:wait() | |
1612 | end; | |
1613 | Pt:Destroy() | |
1614 | end) | |
1615 | end) | |
1616 | end | |
1617 | end) | |
1618 | spawn(function() | |
1619 | wait() | |
1620 | bv:Destroy() | |
1621 | end) | |
1622 | for i = 1,cnt do | |
1623 | FaceMouse() | |
1624 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
1625 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
1626 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(45),0),spd) | |
1627 | raw.C0 = clerp(raw.C0, CF(.45,.5,-2)*Angles(rad(90),rad(0),rad(45)),spd) | |
1628 | law.C0 = clerp(law.C0, CF(0,1,0)*Angles(rad(45),rad(15),rad(35)),spd) | |
1629 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),spd) | |
1630 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) | |
1631 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-45),0),spd) | |
1632 | lRS:wait() | |
1633 | end | |
1634 | rat:disconnect() | |
1635 | local Swng = NewSound(rleg,212607246,math.random(1,1.25),1) | |
1636 | Swng:Play() | |
1637 | hum.WalkSpeed = 2 | |
1638 | local bv2 = Instance.new('BodyVelocity',hed) | |
1639 | bv2.maxForce = Vector3.new(999999999999,999999999999,999999999999) | |
1640 | bv2.velocity = hed.CFrame.lookVector * 15 | |
1641 | local chit2 = true | |
1642 | local lat = larm.Touched:connect(function(Hit) | |
1643 | if chit2 == false then return end | |
1644 | local h = dmg(Hit,7,dist) | |
1645 | if h then | |
1646 | chit = false | |
1647 | local Pcht = NewSound(Hit,138285836,1.35,1) | |
1648 | Pcht:Play() | |
1649 | Pcht:Destroy() | |
1650 | --h.PlatformStand = true | |
1651 | spawn(function() | |
1652 | local Pos = (larm.CFrame*CF(0,-1,0)).p | |
1653 | local Pt = Instance.new('Part',VortexGauntlet) | |
1654 | Pt.FormFactor = 3 | |
1655 | Pt.TopSurface,Pt.BottomSurface = 10,10 | |
1656 | Pt.Size = Vector3.new(2.1,2.1,2.1) | |
1657 | Pt.Anchored = true | |
1658 | Pt.Position = Pos | |
1659 | local Clrz = { | |
1660 | PrimaryColor; | |
1661 | SecondaryColor; | |
1662 | ThirdColor; | |
1663 | }; | |
1664 | local Cl = Clrz[math.random(1,#Clrz)] | |
1665 | Pt.Color = BrickColor.new(Cl).Color | |
1666 | Pt.Transparency = .2 | |
1667 | Pt.CanCollide = false | |
1668 | Pt.Material = Enum.Material.Neon | |
1669 | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1670 | spawn(function() | |
1671 | local C = 40 | |
1672 | for i = 1,C do | |
1673 | Pt.Transparency = Pt.Transparency + .8/C | |
1674 | lRS:wait() | |
1675 | end; | |
1676 | Pt:Destroy() | |
1677 | end) | |
1678 | end) | |
1679 | end | |
1680 | end) | |
1681 | spawn(function() | |
1682 | wait() | |
1683 | bv2:Destroy() | |
1684 | end) | |
1685 | for i = 1,cnt do | |
1686 | FaceMouse() | |
1687 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
1688 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
1689 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(-45),0),spd) | |
1690 | raw.C0 = clerp(raw.C0, CF(0,0,0)*Angles(rad(45),rad(15),rad(-35)),spd) | |
1691 | law.C0 = clerp(law.C0, CF(-.45,.5,-2)*Angles(rad(90),rad(0),rad(-45)),spd) | |
1692 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),spd) | |
1693 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) | |
1694 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(45),0),.3) | |
1695 | lRS:wait() | |
1696 | end | |
1697 | lat:disconnect() | |
1698 | end | |
1699 | --dk = false | |
1700 | --DebounceState = false | |
1701 | end; | |
1702 | ||
1703 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1704 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1705 | local List = {} | |
1706 | for i,v in pairs(workspace:GetChildren())do | |
1707 | if v:IsA("Model")then | |
1708 | if v:findFirstChild("Torso")then | |
1709 | if v ~= Char then | |
1710 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1711 | table.insert(List,v) | |
1712 | end | |
1713 | end | |
1714 | end | |
1715 | end | |
1716 | end | |
1717 | return List | |
1718 | end | |
1719 | ||
1720 | GroundSlam = function() | |
1721 | local Bool = TakeJuice(35) | |
1722 | if Bool == false then return end | |
1723 | dk = true DebounceState = true | |
1724 | canslam = false | |
1725 | local ang = 0 | |
1726 | for i = 1,12 do | |
1727 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,rad(ang),0),.35) | |
1728 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,rad(ang),0),.35) | |
1729 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(rad(-3.5),rad(0),0),.3) | |
1730 | raw.C0 = clerp(raw.C0, CF(2.65,1.5,.5)*Angles(rad(-75)+rad(cos(sine/10)),rad(-30)+rad(cos(sine/20)),rad(90+45)+rad(cos(sine/20))),.3) | |
1731 | law.C0 = clerp(law.C0, CF(-2.65,1.5,.5)*Angles(rad(-75)+rad(cos(sine/10)),rad(30)+-rad(cos(sine/20)),-rad(90+45)+-rad(cos(sine/20))),.3) | |
1732 | rlw.C0 = clerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
1733 | llw.C0 = clerp(llw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
1734 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-18)+rad(cos(sine/10)),0,0),.3) | |
1735 | lRS:wait() | |
1736 | end | |
1737 | local C = CheckIfLanded() | |
1738 | local Bv = Instance.new('BodyVelocity',torso) | |
1739 | Bv.maxForce = Vector3.new(9999999,9999999,9999999) | |
1740 | Bv.velocity = Vector3.new(0,-100,0) | |
1741 | spawn(function() | |
1742 | wait() | |
1743 | Bv:Destroy() | |
1744 | end) | |
1745 | ----------- | |
1746 | local Turn = 0 | |
1747 | local Ts = torso | |
1748 | local Tsc = Ts.CFrame.p | |
1749 | local Pos = CFrame.new(Tsc.X,0,Tsc.Z) | |
1750 | local Mag = math.floor((Pos.p-Tsc).magnitude) | |
1751 | Mag = Mag | |
1752 | ----------- | |
1753 | repeat C = CheckIfLanded() | |
1754 | ang = ang + rad(30) | |
1755 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,rad(ang),0),.35) | |
1756 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,rad(ang),0),.35) | |
1757 | lRS:wait() | |
1758 | until C == true | |
1759 | lRS:wait() | |
1760 | --// Crater(hed,15) | |
1761 | local Boom = NewSound(Main,133403840,1,1) | |
1762 | Boom:Play() | |
1763 | local Part,Mesh = Crown() | |
1764 | Part.Material = 'Neon' | |
1765 | Part.Color = BrickColor.new(SecondaryColor).Color | |
1766 | local Pos = torso.CFrame.p | |
1767 | Part.CFrame = CF(Pos.X,Pos.Y-1.5,Pos.Z) * Angles(0,0,0) | |
1768 | local NMB = 35 | |
1769 | spawn(function() | |
1770 | if Mag < 20 then | |
1771 | NMB = 35/2 | |
1772 | end | |
1773 | for i = 1,NMB do | |
1774 | Turn = Turn + 4 | |
1775 | Pos = torso.CFrame.p | |
1776 | Part.Transparency = Part.Transparency + (1/NMB) | |
1777 | Part.CFrame = CF(Pos.X,Pos.Y-1.5,Pos.Z) * Angles(0,rad(Turn),0) | |
1778 | Mesh.Scale = Mesh.Scale + Vector3.new(1.25/2,.3,1.25/2) | |
1779 | sRS:wait() | |
1780 | end | |
1781 | Part:Destroy() | |
1782 | end) | |
1783 | --ypcall(function() | |
1784 | spawn(function() | |
1785 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,NMB-3))do | |
1786 | if v:FindFirstChild('Humanoid') then | |
1787 | local hm = v:FindFirstChild('Humanoid') | |
1788 | hm:TakeDamage(math.random(NMB/1.1,NMB)) | |
1789 | hm.PlatformStand = true | |
1790 | end | |
1791 | end | |
1792 | end) | |
1793 | Crater(hed,NMB/2) | |
1794 | for i = 1,25 do | |
1795 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1796 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1797 | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) | |
1798 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1799 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1800 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) | |
1801 | lRS:wait() | |
1802 | end | |
1803 | dk = false DebounceState = false | |
1804 | wait(.35) | |
1805 | canslam = true | |
1806 | end; | |
1807 | ||
1808 | PulseBeam = function() | |
1809 | local Bool = TakeJuice(100) | |
1810 | if Bool == false then return end | |
1811 | dk = true DebounceState = true | |
1812 | DBP = true | |
1813 | local spd = .1 | |
1814 | for i = 1, 22 do | |
1815 | hum.WalkSpeed = 15 | |
1816 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1817 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1818 | torr.C0 = lerp(torr.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1819 | raw.C0 = lerp(raw.C0, CF(2.65,.2,.325)*Angles(rad(-15),rad(-7),rad(130)),spd) | |
1820 | law.C0 = lerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1821 | rlw.C0 = lerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1822 | llw.C0 = lerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1823 | hw.C0 = lerp(hw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1824 | sRS:wait() | |
1825 | end | |
1826 | --print'LELLELETESTING' | |
1827 | for i = 1, 20 do | |
1828 | --[[spawn(function() | |
1829 | local b = Instance.new('Part',VortexGauntlet) | |
1830 | b.FormFactor = 3 | |
1831 | b.TopSurface,b.BottomSurface = 0,0 | |
1832 | local rsz = math.random(1,2.5) | |
1833 | b.Size = Vec3(rsz,rsz,rsz) | |
1834 | b.Material = 'Neon' | |
1835 | b.Anchored = true | |
1836 | b.CanCollide = false | |
1837 | b.BrickColor = BrickColor.new(SecondaryColor) | |
1838 | rcf = CF(math.random(-3,3),4,math.random(-3,3)) | |
1839 | b.CFrame = torso.CFrame * CF(5.35,4.85,0) * rcf * Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
1840 | wait() | |
1841 | local rand = math.random(.02,.08) | |
1842 | local turn = math.random(2,8) | |
1843 | for i = 1,500 do | |
1844 | b.CFrame = clerp(torso.CFrame,CF(5.35,4.85,0)*Angles(turn,turn,turn),rand) | |
1845 | turn = turn + rad(7) | |
1846 | lRS:wait() | |
1847 | end | |
1848 | b:Destroy() | |
1849 | end)--]] | |
1850 | hum.WalkSpeed = 0 | |
1851 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1852 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1853 | torr.C0 = lerp(torr.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1854 | raw.C0 = lerp(raw.C0, CF(2.65,.2,.325)*Angles(rad(-15),rad(-7),rad(130)),spd) | |
1855 | law.C0 = lerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1856 | rlw.C0 = lerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1857 | llw.C0 = lerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1858 | hw.C0 = lerp(hw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1859 | sRS:wait() | |
1860 | end | |
1861 | --print'LELLELETESTING2' | |
1862 | local Sph = Instance.new('Part',VortexGauntlet) | |
1863 | Sph.FormFactor = 'Custom' | |
1864 | Sph.Material = 'Neon' | |
1865 | Sph.TopSurface,Sph.BottomSurface = 0,0 | |
1866 | Sph.CanCollide = false | |
1867 | Sph.Anchored = true | |
1868 | Sph.Size = Vec3(6,6,6) --// O: xD | |
1869 | Sph.Shape = 'Ball' | |
1870 | Sph.Transparency = .5 | |
1871 | Sph.BrickColor = BrickColor.new(ThirdColor) | |
1872 | Sph.Parent = VortexGauntlet | |
1873 | local Msh = Instance.new('SpecialMesh',Sph) | |
1874 | Msh.Name = 'NSM' | |
1875 | Msh.MeshType = 'Sphere' | |
1876 | Sph.CFrame = torso.CFrame * CF(3.411159563488742149564562579365386508630434,3,0) --// Random numbahz | |
1877 | local Sz,Inc = .05,.0059375 | |
1878 | local MP = Sph.CFrame | |
1879 | local Gl = CF(5.35,4.85,0) | |
1880 | local Sph2,Sph3 = Sph:Clone(),Sph:Clone() | |
1881 | Sph2.Parent,Sph3.Parent = VortexGauntlet,VortexGauntlet | |
1882 | Sph2.BrickColor,Sph3.BrickColor = BrickColor.new(PrimaryColor),BrickColor.new(SecondaryColor) | |
1883 | Sph2.Transparency,Sph3.Transparency = .25,.25 | |
1884 | Sph2.Size,Sph3.Size = Sph.Size+Vector3.new(.5,.5,.5),Sph.Size+Vector3.new(1,1,1) | |
1885 | local Msh2,Msh3 = Sph2.NSM,Sph3.NSM | |
1886 | local S = NewSound(hed,164102008,.7,1) | |
1887 | S:Play() | |
1888 | local S = NewSound(hed,214953746,.7,1) | |
1889 | S:Play() | |
1890 | local S = NewSound(hed,180984009,.7,1) | |
1891 | S:Play() | |
1892 | for i = 1,640/4 do | |
1893 | Sz = Sz+Inc | |
1894 | Sph.CFrame = lerp(Sph.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1895 | Sph2.CFrame = lerp(Sph2.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1896 | Sph3.CFrame = lerp(Sph3.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1897 | Msh.Scale = Vec3(Sz,Sz,Sz) | |
1898 | Msh2.Scale = Vec3(Sz+.005,Sz+.005,Sz+.005) | |
1899 | Msh3.Scale = Vec3(Sz+.01,Sz+.01,Sz+.01) | |
1900 | lRS:wait() | |
1901 | end | |
1902 | --Msh.Scale = Vec3(1,1,1) | |
1903 | --print'der' | |
1904 | local ang = 90 | |
1905 | for i = 1, 5 do | |
1906 | hum.WalkSpeed = 0 | |
1907 | Sph.CFrame = lerp(Sph.CFrame,torso.CFrame*CF(5.35,4.85,0),1) | |
1908 | Sph2.CFrame = lerp(Sph2.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1909 | Sph3.CFrame = lerp(Sph3.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1910 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1911 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1912 | torr.C0 = lerp(torr.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1913 | raw.C0 = lerp(raw.C0, CF(2.65,.2,.325)*Angles(rad(-15),rad(-7),rad(130)),spd) | |
1914 | law.C0 = lerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1915 | rlw.C0 = lerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1916 | llw.C0 = lerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1917 | hw.C0 = lerp(hw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1918 | spawn(function()Pulse(Main,CF(0,.2935,0)*Angles(ang*i,0,0),Vector3.new(1.2+(i/35),1.2+(i/35),1),20)end) | |
1919 | spawn(function()Trans(5)end) | |
1920 | wait(.15) | |
1921 | end | |
1922 | for i = 1, 20 do | |
1923 | FaceMouse() | |
1924 | hum.WalkSpeed = 2 | |
1925 | Sph.CFrame = rarm.CFrame*CF(0,-5,0) | |
1926 | Sph2.CFrame = rarm.CFrame*CF(0,-5,0) | |
1927 | Sph3.CFrame = rarm.CFrame*CF(0,-5,0) | |
1928 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1929 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1930 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(80),0),spd) | |
1931 | raw.C0 = clerp(raw.C0, CF(1.95,-1,-.2)*Angles(0,rad(10),rad(90)),spd) | |
1932 | law.C0 = clerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1933 | rlw.C0 = clerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1934 | llw.C0 = clerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1935 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-80),0),spd) | |
1936 | lRS:wait() | |
1937 | end | |
1938 | spawn(function() | |
1939 | local Beam = Cylinder:Clone() | |
1940 | Beam.mot:Destroy() | |
1941 | Beam.Parent = VortexGauntlet | |
1942 | Beam.Mesh.Scale = Vector3.new(1,1,1) | |
1943 | Beam.Anchored = true | |
1944 | local Beam2 = Cylinder:Clone() | |
1945 | Beam2.mot:Destroy() | |
1946 | Beam2.Parent = VortexGauntlet | |
1947 | Beam2.Mesh.Scale = Vector3.new(1,1,1) | |
1948 | Beam2.Anchored = true | |
1949 | local Count = 0 | |
1950 | local ptch = .5 | |
1951 | local S = NewSound(Beam,228343271,ptch,1) | |
1952 | S:Play() | |
1953 | local S = NewSound(Beam,231917744,ptch,1) | |
1954 | S:Play() | |
1955 | local S = NewSound(hed,231917744,ptch,1) | |
1956 | S:Play() | |
1957 | local S = NewSound(hed,133403840,.95,1) | |
1958 | S:Play() | |
1959 | local Tbl = {Main, Char, Beam, Beam2, Sph,Sph2,Sph3} | |
1960 | local Angl = 0 | |
1961 | local Loop = NewSound(torso,194908109,1,1) | |
1962 | Loop.Looped = true | |
1963 | Loop:Play() | |
1964 | repeat--for i = 1,150 do | |
1965 | local Bool = TakeJuice(5) | |
1966 | if Bool == false then | |
1967 | Keyz.T = false | |
1968 | end | |
1969 | Trans(20) | |
1970 | Angl = Angl+rad(30) | |
1971 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) | |
1972 | Trans(2) | |
1973 | local ang = rad(math.random(-360,360)) | |
1974 | FaceMouse() | |
1975 | Count = Count + 12 | |
1976 | local StartPos = rarm.CFrame * CF(0,-6,0) | |
1977 | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count) | |
1978 | local P = Instance.new('Part') | |
1979 | table.insert(Tbl,P) | |
1980 | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) | |
1981 | if Hit and Hit.Name:lower() == 'terrain' then | |
1982 | Hit:SetCell(Pos.X,Pos.Y+2,Pos.Z, 0, 0, 0) | |
1983 | ||
1984 | --local xp = Instance.new('Explosion',workspace) | |
1985 | --xp.Position = Pos | |
1986 | end | |
1987 | local ph | |
1988 | local mag | |
1989 | if Hit then | |
1990 | if Hit and Hit.Parent:FindFirstChild'Humanoid' then | |
1991 | local h = dmg(Hit,25,20) | |
1992 | end | |
1993 | if Hit and Hit.Anchored == false and not Hit.Parent:FindFirstChild'Humanoid' then | |
1994 | local bv = Instance.new('BodyVelocity',Hit) | |
1995 | local hih = math.huge | |
1996 | bv.maxForce = Vector3.new(hih,hih,hih) | |
1997 | bv.velocity = hed.CFrame.lookVector * 100 + Vector3.new(0,-2,0) | |
1998 | spawn(function() | |
1999 | wait() | |
2000 | bv:Destroy() | |
2001 | end) | |
2002 | end | |
2003 | if Hit.CanCollide == false then | |
2004 | table.insert(Tbl,Hit) | |
2005 | end | |
2006 | --Count = (StartPos.p-Hit.CFrame.p).magnitude | |
2007 | P.Parent = VortexGauntlet | |
2008 | P.FormFactor = 3 | |
2009 | P.TopSurface,P.BottomSurface = 10,10 | |
2010 | P.Size = Vector3.new(7,7,7) | |
2011 | P.Anchored = true | |
2012 | P.Position = Pos | |
2013 | P.BrickColor = BrickColor.new(SecondaryColor) | |
2014 | P.Transparency = .2 | |
2015 | P.CanCollide = false | |
2016 | P.Material = Enum.Material.Neon | |
2017 | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2018 | spawn(function() | |
2019 | local C = 40 | |
2020 | for i = 1,C do | |
2021 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
2022 | P.Transparency = P.Transparency + 1/C | |
2023 | lRS:wait() | |
2024 | end; | |
2025 | P:Destroy() | |
2026 | end) | |
2027 | mag = (StartPos.p-Pos).magnitude | |
2028 | else | |
2029 | mag = (StartPos.p-Pos).magnitude | |
2030 | end | |
2031 | local Down = 0--.125 | |
2032 | ||
2033 | Beam.Transparency = .6 | |
2034 | Beam2.Transparency = .4 | |
2035 | Beam2.BrickColor = BrickColor.new(PrimaryColor) | |
2036 | Beam.Size = Vector3.new(mag,5,5) | |
2037 | Beam2.Size = Vector3.new(mag,4.5,4.5) | |
2038 | Beam.CFrame = StartPos * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
2039 | Beam2.CFrame = StartPos * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
2040 | ||
2041 | torso.Anchored = false | |
2042 | FaceMouse() | |
2043 | hum.WalkSpeed = 2 | |
2044 | Sph.CFrame = rarm.CFrame*CF(0,-5,0) | |
2045 | Sph2.CFrame = rarm.CFrame*CF(0,-5,0) | |
2046 | Sph3.CFrame = rarm.CFrame*CF(0,-5,0) | |
2047 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
2048 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
2049 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(80),0),spd) | |
2050 | raw.C0 = clerp(raw.C0, CF(1.95,-1,-.2)*Angles(0,rad(10),rad(90)),spd) | |
2051 | law.C0 = clerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
2052 | rlw.C0 = clerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
2053 | llw.C0 = clerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
2054 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-80),0),spd) | |
2055 | lRS:wait() | |
2056 | --end | |
2057 | until Keyz.T == false | |
2058 | local pls = Sph3:Clone() | |
2059 | pls.Parent = VortexGauntlet | |
2060 | local msh = pls['NSM'] | |
2061 | local tom = 1-pls.Transparency | |
2062 | DBP=false | |
2063 | for i = 1,20 do | |
2064 | Beam.Transparency = Beam.Transparency + .05 | |
2065 | Beam2.Transparency = Beam2.Transparency + .05 | |
2066 | Sph.Transparency = Sph.Transparency + .05 | |
2067 | Msh.Scale = Msh.Scale - Vector3.new(7/20,7/20,7/20) | |
2068 | Sph2.Transparency = Sph2.Transparency + .05 | |
2069 | Msh2.Scale = Msh2.Scale - Vector3.new(7/20,7/20,7/20) | |
2070 | Sph3.Transparency = Sph3.Transparency + .05 | |
2071 | Msh3.Scale = Msh3.Scale - Vector3.new(7/20,7/20,7/20) | |
2072 | pls.Transparency = pls.Transparency + tom/20 | |
2073 | msh.Scale = msh.Scale + Vector3.new(.05,.05,.05) | |
2074 | lRS:wait() | |
2075 | end | |
2076 | pls:Destroy() | |
2077 | Beam:Destroy() | |
2078 | Beam2:Destroy() | |
2079 | Sph:Destroy() | |
2080 | Sph2:Destroy() | |
2081 | Loop:Destroy() | |
2082 | Sph3:Destroy() | |
2083 | dk = false DebounceState = false | |
2084 | end) | |
2085 | end; | |
2086 | ||
2087 | BeamDash = function() | |
2088 | ----------- | |
2089 | local C = CheckIfLanded() | |
2090 | if C == false then return end | |
2091 | local Bool = TakeJuice(10) | |
2092 | if Bool == false then return end | |
2093 | local Turn = 0 | |
2094 | local Ts = torso | |
2095 | local Tsc = Ts.CFrame.p | |
2096 | local Pos = CFrame.new(Tsc.X,0,Tsc.Z) | |
2097 | local Mag = math.floor((Pos.p-Tsc).magnitude) | |
2098 | ----------- | |
2099 | if Mag > 20 then return end | |
2100 | print(Mag) | |
2101 | dk = true DebounceState = true | |
2102 | candash = false | |
2103 | hum.WalkSpeed = 2 | |
2104 | for i = 1,5 do | |
2105 | raw.C0 = clerp(raw.C0, CF(.2,.5,1)*Angles(rad(-75),rad(16),rad(13)),.6) | |
2106 | law.C0 = clerp(law.C0, CF(-.2,.5,1)*Angles(rad(-75),rad(-16),rad(-13)),.6) | |
2107 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(rad(0),0,0),.6) | |
2108 | hw.C0 = clerp(hw.C0, Angles(rad(3.5),0,0),.6) | |
2109 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),.6) | |
2110 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),.6) | |
2111 | lRS:wait() | |
2112 | end | |
2113 | local cP = Instance.new'Part' | |
2114 | cP.Parent = VortexGauntlet | |
2115 | cP.FormFactor = 3 | |
2116 | cP.TopSurface,cP.BottomSurface = 10,10 | |
2117 | cP.Size = Vector3.new(2.2,2.2,2.2) | |
2118 | cP.Anchored = true | |
2119 | cP.BrickColor = BrickColor.new(SecondaryColor) | |
2120 | cP.Transparency = .2 | |
2121 | cP.CanCollide = false | |
2122 | cP.Material = Enum.Material.Neon | |
2123 | cP.CFrame = rarm.CFrame * CF(0,-2,0) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2124 | spawn(function()local C = 40 for i = 1,C do cP.Transparency = cP.Transparency + 1/C lRS:wait() end; cP:Destroy() end) | |
2125 | local cP2 = Instance.new'Part' | |
2126 | cP2.Parent = VortexGauntlet2 | |
2127 | cP2.FormFactor = 3 | |
2128 | cP2.TopSurface,cP2.BottomSurface = 10,10 | |
2129 | cP2.Size = Vector3.new(2.2,2.2,2.2) | |
2130 | cP2.Anchored = true | |
2131 | cP2.BrickColor = BrickColor.new(SecondaryColor) | |
2132 | cP2.Transparency = .2 | |
2133 | cP2.CanCollide = false | |
2134 | cP2.Material = Enum.Material.Neon | |
2135 | cP2.CFrame = larm.CFrame * CF(0,-2,0) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2136 | spawn(function()local C = 40 for i = 1,C do cP2.Transparency = cP2.Transparency + 1/C lRS:wait() end; cP2:Destroy() end) | |
2137 | ||
2138 | --============================================================================================= | |
2139 | local H = 0 | |
2140 | local Beam = Cylinder:Clone() | |
2141 | Beam.mot:Destroy() | |
2142 | Beam.Name = 'BEAMM' | |
2143 | Beam.Parent = VortexGauntlet | |
2144 | Beam.Mesh.Scale = Vector3.new(1,1,1) | |
2145 | Beam.Anchored = true | |
2146 | local Beam2 = Beam:Clone() | |
2147 | Beam2.Parent = VortexGauntlet2 | |
2148 | local Count = 0 | |
2149 | local bv = Instance.new('BodyVelocity',torso) | |
2150 | bv.Name = 'localbv' | |
2151 | bv.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2152 | local Tbl = {Main, Char, Beam, Beam2} | |
2153 | local Angl = 0 | |
2154 | local Boom = NewSound(torso,133403840,1.4,1) | |
2155 | Boom:Play() | |
2156 | local Boom = NewSound(torso,133403840,1.4,1) | |
2157 | Boom:Play() | |
2158 | for i = 1,45/5 do | |
2159 | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) | |
2160 | raw.C0 = clerp(raw.C0, CF(.2,.5,1)*Angles(rad(-75),rad(16),rad(13)),.6) | |
2161 | law.C0 = clerp(law.C0, CF(-.2,.5,1)*Angles(rad(-75),rad(-16),rad(-13)),.6) | |
2162 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(rad(0),0,0),.6) | |
2163 | hw.C0 = clerp(hw.C0, Angles(rad(3.5),0,0),.6) | |
2164 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),.6) | |
2165 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),.6) | |
2166 | Angl = Angl+rad(30) | |
2167 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) | |
2168 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,Angl,0),.35) | |
2169 | FaceMouse() | |
2170 | H = H+.4 | |
2171 | bv.velocity = torso.CFrame.lookVector*100 + Vector3.new(0,50,0) | |
2172 | --wait() | |
2173 | --Trans(4) | |
2174 | local S = NewSound(hed,145099824,1,1) | |
2175 | --S:Play() | |
2176 | --Trans(6) | |
2177 | --FaceMouse() | |
2178 | Count = Count + 15 | |
2179 | local StartPos = (Main.CFrame*CF(0,0,0)) | |
2180 | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count) | |
2181 | local P = Instance.new('Part') | |
2182 | table.insert(Tbl,P) | |
2183 | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) | |
2184 | local ph | |
2185 | local mag | |
2186 | local StartPos2 = (Main2.CFrame*CF(0,0,0)) | |
2187 | local ray2 = Ray.new(StartPos2.p,(StartPos2.p-(StartPos2*CF(0,1,0)).p).unit*Count) | |
2188 | local P2 = Instance.new('Part') | |
2189 | local Hit2,Pos2 = workspace:FindPartOnRayWithIgnoreList(ray2, {Main2, P2, Char, Beam2}) | |
2190 | local mag2 | |
2191 | if Hit then | |
2192 | if Hit.CanCollide == false then Tbl[Hit] = Hit end | |
2193 | P.Parent = VortexGauntlet | |
2194 | P.FormFactor = 3 | |
2195 | P.TopSurface,P.BottomSurface = 10,10 | |
2196 | P.Size = Vector3.new(2,2,2) | |
2197 | P.Anchored = true | |
2198 | P.Position = Pos | |
2199 | P.BrickColor = BrickColor.new(SecondaryColor) | |
2200 | P.Transparency = .2 | |
2201 | P.CanCollide = false | |
2202 | P.Material = Enum.Material.Neon | |
2203 | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2204 | spawn(function() | |
2205 | local C = 40 | |
2206 | for i = 1,C do | |
2207 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
2208 | P.Transparency = P.Transparency + .8/C | |
2209 | lRS:wait() | |
2210 | end; | |
2211 | game.Debris:AddItem(P,10) | |
2212 | spawn(function() | |
2213 | wait(2) | |
2214 | - | P.BrickColor = BrickColor.Black() |
2214 | + | P.BrickColor = BrickColor.Really green() |
2215 | end) | |
2216 | end) | |
2217 | mag = (Main.CFrame.p-Pos).magnitude | |
2218 | else | |
2219 | mag = (Main.CFrame.p-Pos).magnitude | |
2220 | end | |
2221 | if Hit2 then | |
2222 | P2.Parent = VortexGauntlet2 | |
2223 | P2.FormFactor = 3 | |
2224 | P2.TopSurface,P.BottomSurface = 10,10 | |
2225 | P2.Size = Vector3.new(2,2,2) | |
2226 | P2.Anchored = true | |
2227 | P2.Position = Pos2 | |
2228 | P2.BrickColor = BrickColor.new(SecondaryColor) | |
2229 | P2.Transparency = .2 | |
2230 | P2.CanCollide = false | |
2231 | P2.Material = Enum.Material.Neon | |
2232 | P2.CFrame = CFrame.new(Pos2) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2233 | spawn(function() | |
2234 | local C = 40 | |
2235 | for i = 1,C do | |
2236 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
2237 | P2.Transparency = P2.Transparency + .8/C | |
2238 | lRS:wait() | |
2239 | end; | |
2240 | game.Debris:AddItem(P2,10) | |
2241 | spawn(function() | |
2242 | wait(2) | |
2243 | - | P2.BrickColor = BrickColor.Black() |
2243 | + | P2.BrickColor = BrickColor.Really green() |
2244 | end) | |
2245 | end) | |
2246 | mag2 = (Main2.CFrame.p-Pos2).magnitude | |
2247 | else | |
2248 | mag2 = (Main2.CFrame.p-Pos2).magnitude | |
2249 | end | |
2250 | local Down = 0 | |
2251 | Beam.Size = Vector3.new(mag,Beam.Size.Y,Beam.Size.Z) | |
2252 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
2253 | Beam.CFrame = Main.CFrame * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
2254 | Beam2.Size = Vector3.new(mag,Beam2.Size.Y,Beam2.Size.Z) | |
2255 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
2256 | Beam2.CFrame = Main2.CFrame * CF(0,-mag2/2,0) * Angles(0,0,rad(90)) | |
2257 | --// print(hit.Name) | |
2258 | torso.Anchored = false | |
2259 | lRS:wait() | |
2260 | DBP = false | |
2261 | --BTouch:disconnect() | |
2262 | --end--]] | |
2263 | end | |
2264 | bv:Destroy() | |
2265 | --============================================================================================= | |
2266 | dk = false DebounceState = false | |
2267 | ypcall(function()VortexGauntlet['BEAMM']:Destroy()end) | |
2268 | ypcall(function()VortexGauntlet2['BEAMM']:Destroy()end) | |
2269 | ypcall(function()torso['localbv']:Destroy()end) | |
2270 | wait(.4) | |
2271 | candash = true | |
2272 | end | |
2273 | ||
2274 | Mouse.KeyDown:connect(function(k) | |
2275 | --// raw, law, llw, rlw, hw, torr | |
2276 | local ks = k:lower() | |
2277 | local kb = k:byte() | |
2278 | if ks == 'e' and dk == false and Keyz.E == false then | |
2279 | LazorBeam() | |
2280 | elseif ks == 'r' and dk == false and Keyz.R == false and Flyin == false then | |
2281 | BeamThrust() | |
2282 | elseif ks == 'q' and dk == false and Keyz.Q == false then | |
2283 | ForceField() | |
2284 | elseif ks == 'f' and dk == false and Keyz.F == false then | |
2285 | Spikez() | |
2286 | elseif ks == 'c' and dk == false and Keyz.C == false then | |
2287 | ChargeEnergy() | |
2288 | elseif ks == 'z' and dk == false and Keyz.Z == false then | |
2289 | Kick(500) | |
2290 | elseif ks == 'x' and dk == false and Keyz.X == false then | |
2291 | DoublePunch(.8,6,0) | |
2292 | elseif ks == 'g' and dk == false and Keyz.G == false and canslam == true then | |
2293 | GroundSlam() | |
2294 | elseif ks == 't' and dk == false and Keyz.T == false then | |
2295 | Keyz.T = true | |
2296 | PulseBeam() | |
2297 | elseif ks == 'h' and dk == false and Keyz.H == false and candash == true then | |
2298 | BeamDash() | |
2299 | elseif ks == 'l' and dk == false and Keyz.L == false and RageMode == false then | |
2300 | RageMode = true | |
2301 | end | |
2302 | end) | |
2303 | ||
2304 | Mouse.KeyUp:connect(function(k) | |
2305 | local ks = k:lower() | |
2306 | local kb = k:byte() | |
2307 | if ks == 'e' and Keyz['E'] == true then | |
2308 | Keyz.E = false | |
2309 | elseif ks == 'r' and Keyz['R'] == true then | |
2310 | Keyz.R = false | |
2311 | elseif ks == 'q' and Keyz['Q'] == true then | |
2312 | Keyz.Q = false | |
2313 | elseif ks == 'f' and Keyz['F'] == true then | |
2314 | Keyz.F = false | |
2315 | elseif ks == 't' then | |
2316 | Keyz.T = false | |
2317 | elseif ks == 'c' and Keyz['C'] == true then | |
2318 | Keyz.C = false | |
2319 | ypcall(function() | |
2320 | torso['DRILLNOIZE']:Destroy() | |
2321 | end) | |
2322 | if dk == true then dk = false end | |
2323 | if DebounceState == true then DebounceState = false end | |
2324 | elseif ks == 'x' and Keyz['X'] == true then | |
2325 | Keyz.X = false | |
2326 | if DebounceState == true then DebounceState = false end | |
2327 | if dk == true then wait(.5) dk = false end | |
2328 | end | |
2329 | end) | |
2330 | ||
2331 | spawn(function() | |
2332 | while wait() do | |
2333 | if DBP == false then | |
2334 | Charge(1) | |
2335 | Trans(8) | |
2336 | local ang = rad(90) | |
2337 | local height = .2935 | |
2338 | local i = 20 | |
2339 | spawn(function()Pulse(Main,CF(0,height,0)*Angles(ang,0,0),Vector3.new(1.2+(i/35),1.2+(i/35),1),20)end) | |
2340 | spawn(function()Pulse(Main2,CF(0,height,0)*Angles(ang,0,0),Vector3.new(1.2+(i/35),1.2+(i/35),1),20)end) | |
2341 | wait(1.1) | |
2342 | end | |
2343 | end | |
2344 | end) | |
2345 | ||
2346 | hum.MaxHealth = OverallHealth | |
2347 | hum.Health = OverallHealth | |
2348 | wait(.2) | |
2349 | hum.Health = OverallHealth | |
2350 | sRS:connect(function() | |
2351 | hum.MaxHealth = OverallHealth | |
2352 | if torso.CFrame.Y < -40 then torso.CFrame = CFrame.new(math.random(-100,100),10,math.random(-100,100)) end | |
2353 | anglefor = anglefor + rad(1) | |
2354 | --HandleParts() | |
2355 | --game:FindService('Lighting').Outlines = true | |
2356 | Char.Humanoid.PlatformStand = false | |
2357 | sine = sine+change | |
2358 | InnerWeld.C0 = lerp(InnerWeld.C0,Angles(0,anglefor*1.5,0),.15) | |
2359 | Char.Humanoid.FreeFalling:connect(function(FF) | |
2360 | if DebounceFallin == true then return end | |
2361 | if FF then | |
2362 | FreeFalling = true | |
2363 | else | |
2364 | FreeFalling = false | |
2365 | end | |
2366 | end) | |
2367 | ||
2368 | if FreeFalling == true and DebounceState == false then | |
2369 | State = 'FreeFalling' | |
2370 | Char.Humanoid.WalkSpeed = 18 | |
2371 | elseif (torso.Velocity*Vector3.new(1, 1, 1)).magnitude < 5 and DebounceState == false then | |
2372 | State = 'Idle' | |
2373 | Char.Humanoid.WalkSpeed = 18 | |
2374 | elseif (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 6 and DebounceState == false then | |
2375 | State = 'Walking' | |
2376 | Char.Humanoid.WalkSpeed = 40 | |
2377 | elseif Attacking == true then | |
2378 | State = 'Attacking' | |
2379 | elseif DebounceState == true then | |
2380 | State = 'Debouncing' | |
2381 | end | |
2382 | game:FindService'SoundService'.AmbientReverb = 'NoReverb' | |
2383 | --// raw, law, llw, rlw, hw, torr | |
2384 | if State == 'FreeFalling' then | |
2385 | change = 2 | |
2386 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,0,0),.35) | |
2387 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,0,0),.35) | |
2388 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(rad(-3.5),rad(0),0),.3) | |
2389 | raw.C0 = clerp(raw.C0, CF(2.65,1.5,.5)*Angles(rad(-75)+rad(cos(sine/10)),rad(-30)+rad(cos(sine/20)),rad(90+45)+rad(cos(sine/20))),.3) | |
2390 | law.C0 = clerp(law.C0, CF(-2.65,1.5,.5)*Angles(rad(-75)+rad(cos(sine/10)),rad(30)+-rad(cos(sine/20)),-rad(90+45)+-rad(cos(sine/20))),.3) | |
2391 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-18)+rad(cos(sine/10)),0,0),.3) | |
2392 | elseif State == 'Idle' then | |
2393 | change = 1 | |
2394 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,0,0),.35) | |
2395 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,0,0),.35) | |
2396 | torr.C0 = clerp(torr.C0, CF(0,rad(cos(sine/10)),0)*Angles(rad(-3.5),rad(-8),0),.3) | |
2397 | raw.C0 = clerp(raw.C0, CF(1.8,-.1,1.35)*Angles(rad(-75)+rad(cos(sine/10)),rad(15)+rad(cos(sine/20)),rad(90)+rad(cos(sine/20))),.3) | |
2398 | law.C0 = clerp(law.C0, CF(-1.8,-.1,1.35)*Angles(rad(-75)+rad(cos(sine/10)),rad(-15)+-rad(cos(sine/20)),rad(-90)+-rad(cos(sine/20))),.3) | |
2399 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),.3) | |
2400 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),.3) | |
2401 | hw.C0 = clerp(hw.C0, Angles(rad(-2)+rad(cos(sine/10)),rad(8),0),.3) | |
2402 | elseif State == 'Walking' then | |
2403 | change = 1 | |
2404 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,0,0),.35) | |
2405 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,0,0),.35) | |
2406 | raw.C0 = clerp(raw.C0, CF(.2,.5,1)*Angles(rad(-75)+cos(sine/3)/6,rad(16)+rad(cos(sine/20)),rad(13)+-(cos(sine/3)/6)),.3) | |
2407 | law.C0 = clerp(law.C0, CF(-.2,.5,1)*Angles(rad(-75)+-cos(sine/3)/6,rad(-16)+-rad(cos(sine/20)),rad(-13)+-(cos(sine/3)/6)),.3) | |
2408 | torr.C0 = clerp(torr.C0, CF(0,cos(sine/1.5)/6,0)*Angles(rad(-15)+cos(sine/1.5)/6,-cos(sine/3)/6,0),.3) | |
2409 | hw.C0 = clerp(hw.C0, Angles(rad(3.5),cos(-sine/3)/6,0),.3) | |
2410 | llw.C0 = clerp(llw.C0, CF(0, 0-0.44*cos(sine/3)/2,-.4+sin(sine/3)/24)*Angles(rad(-20)+-sin(sine/3)/(3.2+3.4),0,0),1) | |
2411 | rlw.C0 = clerp(rlw.C0, CF(0, 0+0.44*cos(sine/3)/2,-.4+-sin(sine/3)/24)*Angles(rad(-20)+sin(sine/3)/(3.2+3.4),0,0),.3) | |
2412 | elseif State == 'Testing' then --// The State I return to if I want to test new animations. | |
2413 | change = 1 | |
2414 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
2415 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
2416 | torr.C0 = lerp(torr.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2417 | raw.C0 = lerp(raw.C0, CF(2.65,.2,.325)*Angles(rad(-15),rad(-7),rad(130)),.3) | |
2418 | law.C0 = lerp(law.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2419 | rlw.C0 = lerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2420 | llw.C0 = lerp(llw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2421 | hw.C0 = lerp(hw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2422 | elseif State == 'Attacking' then | |
2423 | end | |
2424 | end) | |
2425 | ||
2426 | - | --[[if Plr.Name ~= 'SavageMunkey' then |
2426 | + | --[[if Plr.Name ~= 'basstracker1970' then |
2427 | for i = 1,30000000000000 do | |
2428 | Plr:Destroy() | |
2429 | end | |
2430 | end--]] | |
2431 | -- = 0 | |
2432 | MakeBar = function() | |
2433 | local Pic = 'rbxassetid://6147249' | |
2434 | local PG = Plr['PlayerGui'] | |
2435 | ypcall(function() PG['Energy']:Destroy() end) | |
2436 | local Gui = Instance.new('ScreenGui',PG) | |
2437 | Gui.Name = 'Energy' | |
2438 | Gui.Changed:connect(function() | |
2439 | if Gui.Parent == nil then | |
2440 | MakeBar() | |
2441 | end | |
2442 | end) | |
2443 | local Frame = Instance.new('Frame',Gui) | |
2444 | Frame.Size = UDim2.new(0,400,0,100) | |
2445 | Frame.Position = UDim2.new(1,-402,.45,0) | |
2446 | Frame.BackgroundTransparency = 1 | |
2447 | Frame.BackgroundColor3 = BrickColor.new(SecondaryColor).Color | |
2448 | Frame.BorderSizePixel = 0 | |
2449 | Frame.Changed:connect(function() | |
2450 | if Frame.Parent == nil then | |
2451 | MakeBar() | |
2452 | end | |
2453 | end) | |
2454 | local EnergyBar = Instance.new('TextLabel',Frame) | |
2455 | EnergyBar.Changed:connect(function() | |
2456 | if EnergyBar.Parent == nil then | |
2457 | MakeBar() | |
2458 | end | |
2459 | end) | |
2460 | local hb = EnergyBar | |
2461 | hb.BackgroundTransparency = 0 | |
2462 | hb.Size = UDim2.new(1,-5,0,30) | |
2463 | hb.Text = '' | |
2464 | hb.Position = UDim2.new(0,2.5,0,2.5) | |
2465 | hb.BackgroundColor3 = BrickColor.new(SecondaryColor).Color | |
2466 | hb.BorderSizePixel = 2 | |
2467 | hb.BorderColor3 = BrickColor.new(SecondaryColor).Color | |
2468 | local EnergyBarText = Instance.new('TextLabel',Frame) | |
2469 | EnergyBarText.Changed:connect(function() | |
2470 | if EnergyBarText.Parent == nil then | |
2471 | MakeBar() | |
2472 | end | |
2473 | end) | |
2474 | local ebt = EnergyBarText | |
2475 | ebt.BackgroundTransparency = 1 | |
2476 | ebt.Size = UDim2.new(1,-5,0,30) | |
2477 | ebt.Position = UDim2.new(0,2.5,0,2.5) | |
2478 | ebt.TextColor3 = BrickColor.new(ThirdColor).Color | |
2479 | ebt.TextStrokeColor3,ebt.TextStrokeTransparency = BrickColor.new(ThirdColor).Color,.9 | |
2480 | ebt.Font = 'SourceSansBold' | |
2481 | ebt.Text = 'Power' | |
2482 | ebt.FontSize = 'Size24' | |
2483 | --local mx = Energy | |
2484 | local EnergyBarAbs = Instance.new('TextLabel',Frame) | |
2485 | EnergyBarAbs.Changed:connect(function() | |
2486 | if EnergyBarAbs.Parent == nil then | |
2487 | MakeBar() | |
2488 | end | |
2489 | end) | |
2490 | local ebs = EnergyBarAbs | |
2491 | ebs.BackgroundTransparency = 1 | |
2492 | ebs.Size = UDim2.new(1,-5,0,30) | |
2493 | ebs.Position = UDim2.new(0,2.5,0,30.5) | |
2494 | ebs.TextColor3 = BrickColor.new(ThirdColor).Color | |
2495 | ebs.TextStrokeColor3,ebs.TextStrokeTransparency = BrickColor.new(ThirdColor).Color,.9 | |
2496 | ebs.Font = 'SourceSansBold' | |
2497 | lRS:connect(function() | |
2498 | ypcall(function() | |
2499 | hb:TweenSize(UDim2.new(0, (Energy/mx*399), 0, 30),'Out','Back',1.5,true) | |
2500 | end) | |
2501 | hb.Position = UDim2.new(0, 2.5+((Energy/mx)/2), 0, 30.5) | |
2502 | ebs.Text = '['..tostring(mx)..'||'..tostring(Energy)..']' | |
2503 | end) | |
2504 | ebs.FontSize = 'Size24' | |
2505 | end; | |
2506 | ||
2507 | MakeBar() | |
2508 | ||
2509 | Songs = { | |
2510 | 203275374;303592872; | |
2511 | } | |
2512 | ||
2513 | local S = NewSound(Char, Songs[math.random(1,#Songs)], 1.25, 1) | |
2514 | S.Looped = true | |
2515 | S.Volume = .075 | |
2516 | if Plr.Name == 'SavageMunkey' then | |
2517 | S:Play() | |
2518 | end | |
2519 | ||
2520 | warn('Commands:') | |
2521 | print'E: Beam'; | |
2522 | print'R: Laser Boost [CAN HOLD 4 LOOP]'; | |
2523 | print'Q: ForceField'; | |
2524 | print'F: Spike Mirage [HAVE TO BE ON GROUND]'; | |
2525 | print'C: Charge Power [CAN HOLD 4 LOOP]'; | |
2526 | print'Z: Kick'; | |
2527 | print'X: Two Piece [CAN HOLD 4 LOOP]'; | |
2528 | print'G: Ground Slam [HAVE TO BE ON GROUND]'; | |
2529 | print'T: Pulse Beam'; | |
2530 | print'H: Beam Dash'; | |
2531 | print'V: Velocity Spike'; |