SHOW:
|
|
- or go back to the newest paste.
1 | Effects = {} --sound effects, for advanced players. | |
2 | local Player = game.Players.localPlayer | |
3 | local Character = Player.Character | |
4 | local Humanoid = Character.Humanoid | |
5 | z = Instance.new("Sound", Character) ----------Press E to use fire mah lazor | |
6 | - | z.SoundId = "rbxassetid://569556642"-- |
6 | + | z.SoundId = "rbxassetid://"-- |
7 | z.Looped = true --False for a one-time song. | |
8 | z.Pitch = 1.0 | |
9 | z.Volume = 1.0 | |
10 | wait(.1) | |
11 | z:Play() | |
12 | ------------------------ | |
13 | ||
14 | ||
15 | ||
16 | ||
17 | --// Vortex Gauntlets created by SavageMunkey | |
18 | --// Thx for ideas and help: dangerspookycanyon(3 Attack Ideas, Body Suit Prototypes),georgeyeo(RayCast help), AltairStarMaster(like 99999999 attack ideas), and others | |
19 | Plr = game.Players.LocalPlayer | |
20 | Char = Plr.Character | |
21 | Mouse = Plr:GetMouse() | |
22 | local sine,change = 0,1 | |
23 | ------------------------ | |
24 | local OverallHealth = 100000000000000000000000000000000 --// Only thing you need to change #1 | |
25 | local Energy = 1000000--// Only thing you need to change #2 | |
26 | local PrimaryColor,SecondaryColor,ThirdColor = 'Institutional White','Pearl','Really Red' --// Only thing[s] you need to change #3 | |
27 | 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) | |
28 | --// 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 | |
29 | ------------------------ | |
30 | RageMode = false --// Don't touch, is for variable --- | |
31 | ------------------------ | |
32 | game:FindService'SoundService':ClearAllChildren() | |
33 | local mx = Energy | |
34 | --game:FindService'SoundService'.AmbientReverb = 'ConcertHall' | |
35 | local anglefor = 0 | |
36 | local candash = true | |
37 | Keyz = { | |
38 | A = false; | |
39 | B = false; | |
40 | C = false; | |
41 | D = false; | |
42 | E = false; | |
43 | F = false; | |
44 | G = false; | |
45 | H = false; | |
46 | I = false; | |
47 | J = false; | |
48 | K = false; | |
49 | L = false; | |
50 | M = false; | |
51 | N = false; | |
52 | O = false; | |
53 | P = false; | |
54 | Q = false; | |
55 | R = false; | |
56 | S = false; | |
57 | T = false; | |
58 | U = false; | |
59 | V = false; | |
60 | W = false; | |
61 | X = false; | |
62 | Y = false; | |
63 | Z = false; | |
64 | }; | |
65 | Flyin = false | |
66 | 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' | |
67 | local rarm,larm,hed,torso,hroot,lleg,hum,rleg,mouse = ra,la,hd,ts,root,ll,humanoid,rl,Mouse | |
68 | local Falling,DS,MS,Attacking,Stance,State,LastState = false,false,false,false,'Standing','Idle','Idle' | |
69 | DS = false | |
70 | local canslam = true | |
71 | local DebounceFallin = false | |
72 | local DebounceState,DebounceHit,DebounceKey,EctDebounce = false,false,false,false | |
73 | pcall(function() hed['Running']:Destroy() end) | |
74 | local lRS = game["Run Service"].RenderStepped | |
75 | local sRS = game["Run Service"].Stepped or game["Run Service"].Heartbeat | |
76 | local lrs,rs = lRS,sRS | |
77 | local ds,dh,dk,ed = DebounceState,DebounceHit,DebounceKey,EctDebounce | |
78 | local DBP = false | |
79 | ||
80 | Weld = function(P0,P1,CF) | |
81 | local W = Instance.new('Weld',P1) | |
82 | W.Part0 = P0 | |
83 | W.Part1 = P1 | |
84 | W.C1 = CF | |
85 | return W | |
86 | end; | |
87 | ||
88 | NewSound = function(Parent, Id, Pitch ,Volume) | |
89 | local Sound = Instance.new('Sound',Parent) | |
90 | Sound.Volume = Volume | |
91 | Sound.Pitch = Pitch | |
92 | Sound.SoundId = 'rbxassetid://'..Id | |
93 | return Sound | |
94 | end; | |
95 | ---- | |
96 | ||
97 | ---- | |
98 | wait() | |
99 | hw = Weld(torso,hed,CFrame.new(0,-1.5,0)); | |
100 | torr = Weld(root,torso,CFrame.new(0,0,0)); | |
101 | raw = Weld(torso,rarm,CFrame.new(-1.5,0,0)); | |
102 | law = Weld(torso,larm,CFrame.new(1.5,0,0)); | |
103 | rlw = Weld(torso,rleg,CFrame.new(-.5,2,0)); | |
104 | llw = Weld(torso,lleg,CFrame.new(.5,2,0)); | |
105 | ---- | |
106 | clerp = function(c1,c2,al) | |
107 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
108 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
109 | for i,v in pairs(com1) do | |
110 | com1[i] = v+(com2[i]-v)*al | |
111 | end | |
112 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))--]] | |
113 | end | |
114 | lerp = function(c1,c2,al) | |
115 | return c1:lerp(c2,al) | |
116 | end | |
117 | ||
118 | New = function(Object, Parent, Name, Data) | |
119 | local Object = Instance.new(Object) | |
120 | delay(.1,function() | |
121 | if Object:IsA'Part' then | |
122 | Object.CanCollide = false | |
123 | Object.Locked = true | |
124 | end;end) | |
125 | for Index, Value in pairs(Data or {}) do | |
126 | Object[Index] = Value | |
127 | end | |
128 | Object.Parent = Parent | |
129 | Object.Name = Name | |
130 | return Object | |
131 | end | |
132 | ||
133 | ----// Right Claw | |
134 | VortexGauntlet = New("Model",Char,"VortexGauntlet",{}) | |
135 | 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),}) | |
136 | Mesh = New("BlockMesh",Main,"Mesh",{}) | |
137 | 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),}) | |
138 | Mesh = New("BlockMesh",Part1,"Mesh",{}) | |
139 | 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),}) | |
140 | 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),}) | |
141 | Mesh = New("BlockMesh",Part2,"Mesh",{}) | |
142 | 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),}) | |
143 | 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),}) | |
144 | Mesh = New("BlockMesh",Part3,"Mesh",{}) | |
145 | 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),}) | |
146 | 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,}) | |
147 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
148 | 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),}) | |
149 | 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,}) | |
150 | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
151 | 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),}) | |
152 | 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),}) | |
153 | 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,}) | |
154 | 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),}) | |
155 | 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),}) | |
156 | 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,}) | |
157 | 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),}) | |
158 | 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,}) | |
159 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
160 | 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),}) | |
161 | 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,}) | |
162 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
163 | 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),}) | |
164 | 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,}) | |
165 | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
166 | 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),}) | |
167 | 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,}) | |
168 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
169 | 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),}) | |
170 | 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,}) | |
171 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
172 | 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),}) | |
173 | 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,}) | |
174 | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
175 | 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),}) | |
176 | 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,}) | |
177 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
178 | 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),}) | |
179 | 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,}) | |
180 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
181 | 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),}) | |
182 | 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,}) | |
183 | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
184 | 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),}) | |
185 | 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,}) | |
186 | Mesh = New("BlockMesh",ClawPart,"Mesh",{}) | |
187 | 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),}) | |
188 | ----// Left Claw | |
189 | VortexGauntlet2 = New("Model",Char,"VortexGauntlet2",{}) | |
190 | 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),}) | |
191 | Mesh = New("BlockMesh",Main2,"Mesh",{}) | |
192 | 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),}) | |
193 | Mesh = New("BlockMesh",Part1a,"Mesh",{}) | |
194 | 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),}) | |
195 | 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),}) | |
196 | Mesh = New("BlockMesh",Part2a,"Mesh",{}) | |
197 | 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),}) | |
198 | 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),}) | |
199 | Mesh = New("BlockMesh",Part3a,"Mesh",{}) | |
200 | 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),}) | |
201 | 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,}) | |
202 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
203 | 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),}) | |
204 | 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,}) | |
205 | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
206 | 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),}) | |
207 | 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),}) | |
208 | 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,}) | |
209 | 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),}) | |
210 | 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),}) | |
211 | 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,}) | |
212 | 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),}) | |
213 | 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,}) | |
214 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
215 | 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),}) | |
216 | 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,}) | |
217 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
218 | 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),}) | |
219 | 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,}) | |
220 | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
221 | 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),}) | |
222 | 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,}) | |
223 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
224 | 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),}) | |
225 | 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,}) | |
226 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
227 | 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),}) | |
228 | 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,}) | |
229 | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
230 | 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),}) | |
231 | 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,}) | |
232 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
233 | 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),}) | |
234 | 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,}) | |
235 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
236 | 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),}) | |
237 | 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,}) | |
238 | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
239 | 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),}) | |
240 | 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,}) | |
241 | Mesh = New("BlockMesh",ClawPart2,"Mesh",{}) | |
242 | 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),}) | |
243 | ----// RightLegBrace | |
244 | RightLegBrace = New("Model",Char,"RightLegBrace",{}) | |
245 | 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)}) | |
246 | Mesh = New("BlockMesh",Latch,"Mesh",{}) | |
247 | 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),}) | |
248 | Mesh = New("BlockMesh",Brace1,"Mesh",{}) | |
249 | 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),}) | |
250 | 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),}) | |
251 | Mesh = New("BlockMesh",Brace2,"Mesh",{}) | |
252 | 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),}) | |
253 | 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),}) | |
254 | Mesh = New("BlockMesh",Brace3,"Mesh",{}) | |
255 | 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),}) | |
256 | ----// LeftLegBrace | |
257 | LeftLegBrace2 = New("Model",Char,"LeftLegBrace",{}) | |
258 | 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)}) | |
259 | Mesh = New("BlockMesh",Latcha,"Mesh",{}) | |
260 | 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),}) | |
261 | Mesh = New("BlockMesh",Brace1a,"Mesh",{}) | |
262 | 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),}) | |
263 | 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),}) | |
264 | Mesh = New("BlockMesh",Brace2a,"Mesh",{}) | |
265 | 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),}) | |
266 | 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),}) | |
267 | Mesh = New("BlockMesh",Brace3a,"Mesh",{}) | |
268 | 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),}) | |
269 | ----// Exo Spine | |
270 | Chest = New("Model",Char,"Chest",{}) | |
271 | 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,}) | |
272 | 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,}) | |
273 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
274 | 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),}) | |
275 | 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,}) | |
276 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
277 | 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),}) | |
278 | 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,}) | |
279 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
280 | 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),}) | |
281 | 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,}) | |
282 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
283 | 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),}) | |
284 | 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,}) | |
285 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
286 | 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),}) | |
287 | 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,}) | |
288 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
289 | 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),}) | |
290 | 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,}) | |
291 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
292 | 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),}) | |
293 | 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,}) | |
294 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
295 | 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),}) | |
296 | 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,}) | |
297 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,}) | |
298 | 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),}) | |
299 | ----// Battery Pack | |
300 | BatteryPack = New("Model",Char,"BatteryPack",{}) | |
301 | 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),}) | |
302 | Mesh = New("SpecialMesh",Inner,"Mesh",{Scale = Vector3.new(0.5, 0.850000024, 0.5),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,}) | |
303 | 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),}) | |
304 | Mesh = New("BlockMesh",Top,"Mesh",{}) | |
305 | 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),}) | |
306 | 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),}) | |
307 | Mesh = New("BlockMesh",Outer,"Mesh",{}) | |
308 | 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),}) | |
309 | 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),}) | |
310 | Mesh = New("BlockMesh",Bottom,"Mesh",{}) | |
311 | 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),}) | |
312 | BatteryPack:MoveTo(CFrame.new(0,6,0).p) | |
313 | ----// Helmet | |
314 | Helmet = New("Model",Char,"Helmet",{}) | |
315 | 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,}) | |
316 | 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,}) | |
317 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
318 | 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),}) | |
319 | 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,}) | |
320 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
321 | 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),}) | |
322 | 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,}) | |
323 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
324 | 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),}) | |
325 | 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,}) | |
326 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
327 | 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),}) | |
328 | 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,}) | |
329 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
330 | 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),}) | |
331 | 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,}) | |
332 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
333 | 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),}) | |
334 | 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,}) | |
335 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
336 | 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),}) | |
337 | 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,}) | |
338 | Mesh = New("BlockMesh",Wall,"Mesh",{}) | |
339 | 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),}) | |
340 | 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,}) | |
341 | Mesh = New("BlockMesh",Wall,"Mesh",{}) | |
342 | 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),}) | |
343 | 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,}) | |
344 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
345 | 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),}) | |
346 | 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,}) | |
347 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
348 | 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),}) | |
349 | 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,}) | |
350 | Mesh = New("SpecialMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
351 | 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),}) | |
352 | 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,}) | |
353 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
354 | 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),}) | |
355 | 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,}) | |
356 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
357 | 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),}) | |
358 | 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,}) | |
359 | Mesh = New("SpecialMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
360 | 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),}) | |
361 | 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,}) | |
362 | Mesh = New("SpecialMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
363 | 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),}) | |
364 | 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,}) | |
365 | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),}) | |
366 | 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),}) | |
367 | ----// End | |
368 | ||
369 | rad = function(Int) | |
370 | return math.rad(tonumber(Int)) | |
371 | end; | |
372 | sin = function(Int) | |
373 | return math.sin(tonumber(Int)) | |
374 | end; | |
375 | cos = function(Int) | |
376 | return math.cos(tonumber(Int)) | |
377 | end; | |
378 | Angles = function(X,Y,Z) | |
379 | return CFrame.Angles(X,Y,Z); | |
380 | end; | |
381 | Euler = function(X,Y,Z) | |
382 | return CFrame.fromEulerAnglesXYZ(X,Y,Z); | |
383 | end; | |
384 | CF = function(X,Y,Z) | |
385 | return CFrame.new(X,Y,Z); | |
386 | end; | |
387 | ||
388 | --// Suit Welds | |
389 | local HandleWeld = Weld(rarm,Main,Angles(0,0,0)*CF(0,.35,0)) | |
390 | local HandleWeld2 = Weld(larm,Main2,Angles(0,0,0)*CF(0,.35,0)) | |
391 | local BraceWeld = Weld(rleg,Latch,CF(0,0,0)) | |
392 | local BraceWeld2 = Weld(lleg,Latcha,CF(0,0,0)) | |
393 | local ExoWeld = Weld(torso,BackLatch,CF(0,0,0)) | |
394 | local BatteryWeld = Weld(Outer,BackLatch,CF(0,0,1.775)) | |
395 | local InnerWeld = Weld(Inner,Outer,CF(0,0,0)) | |
396 | local TopW,BottomW = Weld(Top,Outer,CF(0,-.75,0)),Weld(Bottom,Outer,CF(0,.75,0)) | |
397 | local HelmetWeld = Weld(HeadHandle,hed,CF(0,.05,0)) | |
398 | --\\ Suit Welds | |
399 | ||
400 | dmg=function(hit,Damage,Knockback,angle) | |
401 | local mana = 0 | |
402 | if DebounceHit == false then | |
403 | DebounceHit = true | |
404 | coroutine.resume(coroutine.create(function() | |
405 | wait(0.1) | |
406 | DebounceHit = false | |
407 | end)) | |
408 | if hit.Parent==nil then | |
409 | return | |
410 | end | |
411 | --CPlayer=Bin | |
412 | h=hit.Parent:FindFirstChild("Humanoid") | |
413 | if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
414 | if mana < 400 then | |
415 | mana = mana + math.random(5,15) | |
416 | end | |
417 | if mana > 400 then | |
418 | mana = 400 | |
419 | end | |
420 | Damage=Damage | |
421 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
422 | return | |
423 | end]] | |
424 | c=Instance.new("ObjectValue") | |
425 | c.Name="creator" | |
426 | c.Value=game.Players.LocalPlayer | |
427 | c.Parent=h | |
428 | game:GetService("Debris"):AddItem(c,.5) | |
429 | -- print(c.Value) | |
430 | if math.random(0,99)+math.random()<=7.8 then | |
431 | --CRIT=true | |
432 | Damage=Damage*3 | |
433 | --[[ Knockback=Knockback*2 | |
434 | r=Instance.new("BodyAngularVelocity") | |
435 | r.P=3000 | |
436 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
437 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
438 | r.Parent=hit.Parent.Torso]] | |
439 | --critsound(2) | |
440 | ||
441 | end | |
442 | if NO_OP == true then | |
443 | Damage = h.MaxHealth / Damage | |
444 | else | |
445 | Damage = Damage+math.random(0,9) | |
446 | end | |
447 | --warn('dmged') | |
448 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
449 | h.Health = h.Health - Damage | |
450 | -- showDamage(hit.Parent,Damage,.5) | |
451 | vp=Instance.new("BodyVelocity") | |
452 | vp.P=500 | |
453 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
454 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
455 | vp.velocity=torso.CFrame.lookVector*Knockback+torso.Velocity/1.05 | |
456 | if Knockback>0 then | |
457 | vp.Parent=hit.Parent.Torso | |
458 | end | |
459 | game:GetService("Debris"):AddItem(vp,.1) | |
460 | r=Instance.new("BodyAngularVelocity") | |
461 | r.P=3000 | |
462 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
463 | r.angularvelocity= angle or Vector3.new(0,0,0) | |
464 | r.Parent=hit.Parent.Torso | |
465 | game:GetService("Debris"):AddItem(r,.5) | |
466 | c=Instance.new("ObjectValue") | |
467 | c.Name="creator" | |
468 | c.Value=Plr | |
469 | c.Parent=h | |
470 | game:GetService("Debris"):AddItem(c,.5) | |
471 | return h | |
472 | --CRIT=false | |
473 | --hitDeb=true | |
474 | --AttackPos=6 | |
475 | end | |
476 | end | |
477 | end | |
478 | ||
479 | function getAllParts(from) | |
480 | local t = {} | |
481 | function getParts(where) | |
482 | for i, v in pairs(where:children()) do | |
483 | if v:IsA("BasePart") then | |
484 | if v.Parent ~= Char and v.Parent.Parent ~= Char then | |
485 | table.insert(t, v) | |
486 | end | |
487 | end | |
488 | getParts(v) | |
489 | end | |
490 | end | |
491 | getParts(workspace) | |
492 | return t | |
493 | end | |
494 | ||
495 | Search = function(Object, ClassName, Function) | |
496 | for index,obj in next, Object:children() do | |
497 | if obj:IsA(tostring(ClassName)) then | |
498 | Function(obj) | |
499 | end | |
500 | end | |
501 | end | |
502 | ||
503 | TransClone = function(Trans) | |
504 | local md = Char | |
505 | md.Archivable = true | |
506 | local md2 = md:Clone() | |
507 | md2.Parent = workspace | |
508 | pcall(function() | |
509 | md2.BodyColors:Destroy() | |
510 | end) | |
511 | md.Archivable=false | |
512 | Search(md2,'Part',function(P) | |
513 | P.Transparency = .9 | |
514 | P.Material = 'Neon' | |
515 | P.BrickColor = BrickColor.new('Teal') | |
516 | end) | |
517 | ||
518 | Search(md2['VortexGauntlet'],'Part',function(P) | |
519 | P.Transparency = Trans | |
520 | P.Material = 'Neon' | |
521 | P.BrickColor = BrickColor.new('Teal') | |
522 | end) | |
523 | ||
524 | Search(md2['VortexGauntlet2'],'Part',function(P) | |
525 | P.Transparency = Trans | |
526 | P.Material = 'Neon' | |
527 | P.BrickColor = BrickColor.new('Teal') | |
528 | end) | |
529 | ||
530 | Search(md2['RightLegBrace'],'Part',function(P) | |
531 | P.Transparency = Trans | |
532 | P.Material = 'Neon' | |
533 | P.BrickColor = BrickColor.new('Teal') | |
534 | end) | |
535 | ||
536 | Search(md2['LeftLegBrace'],'Part',function(P) | |
537 | P.Transparency = Trans | |
538 | P.Material = 'Neon' | |
539 | P.BrickColor = BrickColor.new('Teal') | |
540 | end) | |
541 | ||
542 | Search(md2['Chest'],'Part',function(P) | |
543 | P.Transparency = Trans | |
544 | P.Material = 'Neon' | |
545 | P.BrickColor = BrickColor.new('Teal') | |
546 | end) | |
547 | ||
548 | Search(md2['BatteryPack'],'Part',function(P) | |
549 | P.Transparency = Trans | |
550 | P.Material = 'Neon' | |
551 | P.BrickColor = BrickColor.new('Teal') | |
552 | end) | |
553 | ||
554 | Search(md2['Helmet'],'Part',function(P) | |
555 | P.Transparency = Trans | |
556 | P.Material = 'Neon' | |
557 | P.BrickColor = BrickColor.new('Teal') | |
558 | end) | |
559 | ||
560 | return md2 | |
561 | end; | |
562 | ||
563 | TakeJuice = function(Amnt) | |
564 | if Energy - Amnt <= -1 then | |
565 | if dk == true then dk = false end | |
566 | if DebounceState == true then DebounceState = false end | |
567 | if Flyin == true then Flyin = false end | |
568 | if DBP == true then DBP = false end | |
569 | return false end | |
570 | if Energy - Amnt >= 0 then | |
571 | spawn(function() | |
572 | for i = 1,tonumber(Amnt) do | |
573 | Energy = Energy - 1 | |
574 | wait(i/(Amnt*10)) | |
575 | end | |
576 | end) | |
577 | end | |
578 | return true | |
579 | end; | |
580 | ||
581 | Charge = function(Amnt) | |
582 | if Energy < mx then | |
583 | for i = 1,tonumber(Amnt) do | |
584 | if Energy == mx then return end | |
585 | Energy = Energy + 1 | |
586 | wait(i/(Amnt*10)) | |
587 | end | |
588 | end | |
589 | end; | |
590 | ||
591 | --// Mesh Removing | |
592 | ypcall(function() | |
593 | hed.Mesh:Destroy() | |
594 | wait(.2) | |
595 | local HedMesh = Instance.new('BlockMesh',hed) | |
596 | HedMesh.Scale = Vector3.new(.560002,1.10002,1.10002) | |
597 | HedMesh.Name = 'Mesh' | |
598 | end) | |
599 | for index,obj in next, Char:children() do | |
600 | if obj:IsA'CharacterMesh' then | |
601 | obj:Destroy() | |
602 | end | |
603 | if obj:IsA'Hat' then | |
604 | obj:Destroy() | |
605 | end | |
606 | end | |
607 | --\\ Mesh Removing | |
608 | ||
609 | function RayCast(pos1, pos2, maxDist, forward) | |
610 | local list = getAllParts(workspace) | |
611 | local pos0 = pos1 | |
612 | for dist = 1, maxDist, forward do | |
613 | lRS:wait() | |
614 | pos0 = (CFrame.new(pos1, pos2) * CFrame.new(0, 0, -dist)).p | |
615 | for _, v in pairs(list) do | |
616 | local pos3 = v.CFrame:pointToObjectSpace(pos0) | |
617 | local s = v.Size | |
618 | 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 | |
619 | return pos0, v | |
620 | end | |
621 | end | |
622 | end | |
623 | return pos0, nil | |
624 | end | |
625 | ||
626 | ||
627 | HandleParts = function(Obj, Scale) | |
628 | Scale = Scale or 0 | |
629 | local P = Instance.new('Part',VortexGauntlet) | |
630 | P.Anchored = true | |
631 | P.Transparency = .3 | |
632 | P.FormFactor = 3 | |
633 | P.Size = Vector3.new(.4+Scale,.4+Scale,.4+Scale) | |
634 | P.CFrame = Obj.CFrame * CF(0,-.7,0) * Angles(math.random(),math.random(),math.random()) | |
635 | P.Material = 'Neon' | |
636 | P.CanCollide = false | |
637 | P.BrickColor = BrickColor.new(SecondaryColor) | |
638 | local PM = Instance.new('BlockMesh',P) | |
639 | spawn(function() | |
640 | for i = 1,20 do | |
641 | PM.Scale = PM.Scale + Vector3.new(.05,.05,.05) | |
642 | P.Transparency = P.Transparency + .05 | |
643 | lRS:wait() | |
644 | end | |
645 | P:Destroy() | |
646 | end) | |
647 | end | |
648 | ||
649 | Trans = function(Numb) | |
650 | local R = function() | |
651 | ------------------------------------------------ | |
652 | spawn(function() | |
653 | for i = 1,20 do | |
654 | Part3.Transparency = Part3.Transparency + 1/Numb | |
655 | lRS:wait() | |
656 | end | |
657 | end) | |
658 | wait(.1) | |
659 | ---- | |
660 | spawn(function() | |
661 | for i = 1,20 do | |
662 | Part2.Transparency = Part2.Transparency + 1/Numb | |
663 | lRS:wait() | |
664 | end | |
665 | end) | |
666 | wait(.1) | |
667 | ---- | |
668 | spawn(function() | |
669 | for i = 1,20 do | |
670 | Part1.Transparency = Part1.Transparency + 1/Numb | |
671 | lRS:wait() | |
672 | end | |
673 | end) | |
674 | ------------------------------------------------ | |
675 | ------------------------------------------------ | |
676 | spawn(function() | |
677 | for i = 1,20 do | |
678 | Part3.Transparency = Part3.Transparency - 1/Numb | |
679 | lRS:wait() | |
680 | end | |
681 | end) | |
682 | wait(.1) | |
683 | ---- | |
684 | spawn(function() | |
685 | for i = 1,20 do | |
686 | Part2.Transparency = Part2.Transparency - 1/Numb | |
687 | lRS:wait() | |
688 | end | |
689 | end) | |
690 | wait(.1) | |
691 | ---- | |
692 | spawn(function() | |
693 | for i = 1,20 do | |
694 | Part1.Transparency = Part1.Transparency - 1/Numb | |
695 | lRS:wait() | |
696 | end | |
697 | end) | |
698 | ------------------------------------------------ | |
699 | end | |
700 | ||
701 | local L = function() | |
702 | ------------------------------------------------ | |
703 | spawn(function() | |
704 | for i = 1,20 do | |
705 | Part3a.Transparency = Part3a.Transparency + 1/Numb | |
706 | lRS:wait() | |
707 | end | |
708 | end) | |
709 | wait(.1) | |
710 | ---- | |
711 | spawn(function() | |
712 | for i = 1,20 do | |
713 | Part2a.Transparency = Part2a.Transparency + 1/Numb | |
714 | lRS:wait() | |
715 | end | |
716 | end) | |
717 | wait(.1) | |
718 | ---- | |
719 | spawn(function() | |
720 | for i = 1,20 do | |
721 | Part1a.Transparency = Part1a.Transparency + 1/Numb | |
722 | lRS:wait() | |
723 | end | |
724 | end) | |
725 | ------------------------------------------------ | |
726 | ------------------------------------------------ | |
727 | spawn(function() | |
728 | for i = 1,20 do | |
729 | Part3a.Transparency = Part3a.Transparency - 1/Numb | |
730 | lRS:wait() | |
731 | end | |
732 | end) | |
733 | wait(.1) | |
734 | ---- | |
735 | spawn(function() | |
736 | for i = 1,20 do | |
737 | Part2a.Transparency = Part2a.Transparency - 1/Numb | |
738 | lRS:wait() | |
739 | end | |
740 | end) | |
741 | wait(.1) | |
742 | ---- | |
743 | spawn(function() | |
744 | for i = 1,20 do | |
745 | Part1a.Transparency = Part1a.Transparency - 1/Numb | |
746 | lRS:wait() | |
747 | end | |
748 | end) | |
749 | ------------------------------------------------ | |
750 | end | |
751 | ||
752 | spawn(R) | |
753 | spawn(L) | |
754 | end; | |
755 | ||
756 | newRay = function(start,face,range,wat) | |
757 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
758 | local hit,pos=workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
759 | return rey,hit,pos | |
760 | end | |
761 | ||
762 | Pulse = function(Parent, Angle, Sc, Increase) | |
763 | local Rng = Instance.new('Part',Parent) | |
764 | Rng.FormFactor = 3 | |
765 | Rng.Size = Vector3.new(.2,.2,.2) | |
766 | Rng.BrickColor = BrickColor.new(SecondaryColor) | |
767 | Rng.Anchored = true | |
768 | Rng.CFrame = Parent.CFrame*Angle | |
769 | local Msh = Instance.new('SpecialMesh',Rng) | |
770 | Msh.MeshId = 'rbxassetid://3270017' | |
771 | Msh.Scale = Sc | |
772 | spawn(function() | |
773 | for i = 1,Increase do | |
774 | Msh.Scale = Msh.Scale + Vector3.new(.1,.1,0) | |
775 | Rng.Transparency = Rng.Transparency + 1/Increase | |
776 | lRS:wait() | |
777 | end | |
778 | Rng:Destroy() | |
779 | end) | |
780 | end; | |
781 | ||
782 | FaceMouse = function() | |
783 | local Torso = torso | |
784 | local atan2, pi, dir, torso, torsoPos = math.atan2, math.pi | |
785 | local torso = Char:FindFirstChild'Torso' | |
786 | if torso then | |
787 | torsoPos = torso.CFrame.p | |
788 | dir = (mouse.Hit.p - torsoPos).unit | |
789 | torso.CFrame = CFrame.new(torsoPos) * CFrame.Angles(0, atan2(dir.X, dir.Z) + pi, 0) | |
790 | end;end; | |
791 | ||
792 | CheckIfLanded = function() | |
793 | local Ray = Ray.new(torso.Position,Vector3.new(0,-1,0)*10) | |
794 | local Ignore = {} | |
795 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
796 | if v.Character ~= nil then | |
797 | Ignore[#Ignore+1] = v.Character | |
798 | end | |
799 | end | |
800 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
801 | if Hit == nil then return false,nil end | |
802 | return true,Hit | |
803 | end; | |
804 | ||
805 | CL = function() | |
806 | local C = CheckIfLanded() | |
807 | if C == false then | |
808 | DebounceState = false | |
809 | dk = false | |
810 | DBP = false | |
811 | Flyin = false | |
812 | return end | |
813 | end; | |
814 | ||
815 | local acos = math.acos | |
816 | local sqrt = math.sqrt | |
817 | local Vec3 = Vector3.new | |
818 | local fromAxisAngle = CFrame.fromAxisAngle | |
819 | ||
820 | toAxisAngle = function(CFr) | |
821 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
822 | local Angle = math.acos((R00+R11+R22-1)/2) | |
823 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
824 | A = A == 0 and 0.00001 or A | |
825 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
826 | B = B == 0 and 0.00001 or B | |
827 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
828 | C = C == 0 and 0.00001 or C | |
829 | local x = (R21-R12)/sqrt(A) | |
830 | local y = (R02-R20)/sqrt(B) | |
831 | local z = (R10-R01)/sqrt(C) | |
832 | return Vec3(x,y,z),Angle | |
833 | end | |
834 | ||
835 | Crown = function() | |
836 | local P = Instance.new('Part',VortexGauntlet) | |
837 | P.FormFactor = 3 | |
838 | P.Material = 'Neon' | |
839 | P.CanCollide = false | |
840 | P.Anchored = true | |
841 | P.Size = Vector3.new(2,2,2) | |
842 | local M = Instance.new('SpecialMesh',P) | |
843 | M.MeshId = 'rbxassetid://20329976' | |
844 | return P,M | |
845 | end; | |
846 | ||
847 | LerpCFrame = function(CFrame1,CFrame2,Num) | |
848 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
849 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
850 | end | |
851 | ||
852 | ApplyTrig = function(Num,Func) | |
853 | local Min,Max = Func(0),Func(1) | |
854 | local i = Func(Num) | |
855 | return (i-Min)/(Max-Min) | |
856 | end | |
857 | ||
858 | getm = function(obj) | |
859 | if obj:IsA'Part' then | |
860 | return obj:GetMass() | |
861 | else | |
862 | print(obj.ClassName..', YOU SHALL NOT MASS!!! ') --// Pun | |
863 | return 0 | |
864 | end | |
865 | end; | |
866 | ||
867 | isnormal = function(plr) | |
868 | if plr:FindFirstChild'Torso' then | |
869 | if getm(plr.Torso) > 4 then | |
870 | return false | |
871 | end | |
872 | end | |
873 | return true | |
874 | end; | |
875 | ||
876 | Crater = function(Torso,Radius) | |
877 | spawn(function() | |
878 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
879 | local Ignore = {} | |
880 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
881 | if v.Character ~= nil then | |
882 | Ignore[#Ignore+1] = v.Character | |
883 | end | |
884 | end | |
885 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
886 | if Hit == nil then return end | |
887 | local Parts = {} | |
888 | for i = 1,360,40 do | |
889 | local P = Instance.new("Part",VortexGauntlet) | |
890 | P.Anchored = true | |
891 | P.FormFactor = "Custom" | |
892 | P.BrickColor = Hit.BrickColor | |
893 | P.Material = Hit.Material | |
894 | P.TopSurface = "Smooth" | |
895 | P.BottomSurface = "Smooth" | |
896 | P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100) | |
897 | 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))) | |
898 | 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} | |
899 | if math.random(0,5) == 0 then -- rubble | |
900 | local P = Instance.new("Part",Torso.Parent) | |
901 | P.Anchored = true | |
902 | P.FormFactor = "Custom" | |
903 | P.BrickColor = Hit.BrickColor | |
904 | P.Material = Hit.Material | |
905 | P.TopSurface = "Smooth" | |
906 | P.BottomSurface = "Smooth" | |
907 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
908 | 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))) | |
909 | 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} | |
910 | end | |
911 | end | |
912 | for i = 0,1,0.05 do | |
913 | for i2,v in pairs(Parts) do | |
914 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
915 | end | |
916 | wait(0.02) | |
917 | end | |
918 | for i,v in pairs(Parts) do | |
919 | if v[1].Size.X > 2.1 then | |
920 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
921 | end | |
922 | v[1].Anchored = false | |
923 | end | |
924 | for i = 0,1,0.05 do | |
925 | for i2,v in pairs(Parts) do | |
926 | v[1].Transparency = i | |
927 | if i == 1 then | |
928 | v[1]:Destroy() | |
929 | elseif i >= 0.25 then | |
930 | v[1].CanCollide = false | |
931 | end | |
932 | end | |
933 | wait(0.02) | |
934 | end | |
935 | Parts = nil | |
936 | end) | |
937 | end | |
938 | ||
939 | LazorBeam = function() | |
940 | DebounceState = true | |
941 | DBP = true | |
942 | dk = true | |
943 | Trans(4) | |
944 | local Bool = TakeJuice(25) | |
945 | if Bool == false then return end | |
946 | local S = NewSound(hed,138148333,1.5,1) | |
947 | S:Play() | |
948 | for i = 1,30 do | |
949 | FaceMouse() | |
950 | Char.Humanoid.WalkSpeed = 5 | |
951 | llw.C0 = clerp(llw.C0, CF(0,0,0),.15) | |
952 | rlw.C0 = clerp(rlw.C0, CF(0,0,0),.15) | |
953 | law.C0 = clerp(law.C0, CF(.5,.5,.2)*Angles(rad(90),0,rad(45+25)),.15) | |
954 | raw.C0 = clerp(raw.C0, CF(0,.5,-1.5)*Angles(rad(89),rad(5),rad(25)),.15) | |
955 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-25),0),.15) | |
956 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(25),0),.15) | |
957 | lRS:wait() | |
958 | end | |
959 | Trans(6) | |
960 | wait(.05) | |
961 | for i = 1,30 do | |
962 | FaceMouse() | |
963 | HandleParts(Main,i/75) | |
964 | local ang = rad(math.random(-360,360)) | |
965 | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) | |
966 | lRS:wait() | |
967 | end | |
968 | ||
969 | local Beam = Cylinder:Clone() | |
970 | Beam.mot:Destroy() | |
971 | Beam.Parent = VortexGauntlet | |
972 | Beam.Mesh.Scale = Vector3.new(1,1,1) | |
973 | Beam.Anchored = true | |
974 | --local pos,hit = RayCast(Main.Position,(Main.Position-Vector3.new(0,0,10)),100,1) | |
975 | local Count = 0 | |
976 | --Pulse() | |
977 | --wait(.5) | |
978 | --spawn(function()Pulse(Main,Angles(rad(45),0,rad(45)),Vector3.new(2.5,2.5,1),25)end) | |
979 | --spawn(function()Pulse(Main,Angles(-rad(45),0,rad(-45)),Vector3.new(2.5,2.5,1),25)end) | |
980 | - | local S = NewSound(Beam,130783686,.95,1) |
980 | + | local S = NewSound(Beam,228343271,.95,1) |
981 | S:Play() | |
982 | - | local S = NewSound(Beam,130783686,.95,1) |
982 | + | local S = NewSound(Beam,231917744,.95,1) |
983 | S:Play() | |
984 | - | local S = NewSound(hed,130783686,1,1) |
984 | + | local S = NewSound(hed,154454228,1,1) |
985 | --S:Play() | |
986 | local Tbl = {Main, Char, Beam} | |
987 | local Angl = 0 | |
988 | for i = 1,60 do | |
989 | Angl = Angl+rad(30) | |
990 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) | |
991 | Trans(2) | |
992 | local ang = rad(math.random(-360,360)) | |
993 | 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) | |
994 | FaceMouse() | |
995 | Count = Count + i | |
996 | FaceMouse() | |
997 | Count = Count + i | |
998 | local StartPos = (Main.CFrame*CF(0,0,0)) | |
999 | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count/2) | |
1000 | local P = Instance.new('Part') | |
1001 | table.insert(Tbl,P) | |
1002 | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) | |
1003 | local ph | |
1004 | local mag | |
1005 | if Hit then | |
1006 | if Hit and Hit.Parent:FindFirstChild'Humanoid' then | |
1007 | local h = dmg(Hit,9,3) | |
1008 | end | |
1009 | if Hit and Hit.Anchored == false and not Hit.Parent:FindFirstChild'Humanoid' then | |
1010 | local bv = Instance.new('BodyVelocity',Hit) | |
1011 | local hih = 50000 | |
1012 | bv.maxForce = Vector3.new(hih,hih,hih) | |
1013 | bv.velocity = torso.CFrame.lookVector * 20 + Vector3.new(0,-2,0) | |
1014 | spawn(function() | |
1015 | wait(.1) | |
1016 | bv:Destroy() | |
1017 | end) | |
1018 | end | |
1019 | if Hit.CanCollide == false then | |
1020 | table.insert(Tbl,Hit) | |
1021 | end | |
1022 | --Count = (StartPos.p-Hit.CFrame.p).magnitude | |
1023 | P.Parent = VortexGauntlet | |
1024 | P.FormFactor = 3 | |
1025 | P.TopSurface,P.BottomSurface = 10,10 | |
1026 | P.Size = Vector3.new(2,2,2) | |
1027 | P.Anchored = true | |
1028 | P.Position = Pos | |
1029 | P.BrickColor = BrickColor.new(SecondaryColor) | |
1030 | P.Transparency = .2 | |
1031 | P.CanCollide = false | |
1032 | P.Material = Enum.Material.Neon | |
1033 | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1034 | spawn(function() | |
1035 | local C = 40 | |
1036 | for i = 1,C do | |
1037 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
1038 | P.Transparency = P.Transparency + 1/C | |
1039 | lRS:wait() | |
1040 | end; | |
1041 | P:Destroy() | |
1042 | end) | |
1043 | mag = (Main.CFrame.p-Pos).magnitude | |
1044 | else | |
1045 | mag = (Main.CFrame.p-Pos).magnitude | |
1046 | end | |
1047 | local Down = 0--.125 | |
1048 | Beam.Size = Vector3.new(mag,2.5,2.5) --//Beam.Size.Y-Down,Beam.Size.Z-Down) | |
1049 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
1050 | Beam.CFrame = Main.CFrame * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
1051 | --// print(hit.Name) | |
1052 | torso.Anchored = false | |
1053 | lRS:wait() | |
1054 | --BTouch:disconnect() | |
1055 | end--]] | |
1056 | torso.Anchored = false | |
1057 | spawn(function() | |
1058 | local C = 40 | |
1059 | for i = 1,C do | |
1060 | pcall(function() | |
1061 | Beam.Mesh.Scale = Beam.Mesh.Scale - Vector3.new(0,.085/2,.085/2) | |
1062 | end) | |
1063 | pcall(function() | |
1064 | Beam.Transparency = Beam.Transparency + 1/C | |
1065 | end) | |
1066 | lRS:wait() | |
1067 | end;Beam:Destroy() | |
1068 | DBP = false | |
1069 | end) | |
1070 | wait(.1) | |
1071 | dk = false | |
1072 | DebounceState = false | |
1073 | end | |
1074 | ||
1075 | BeamThrust = function() | |
1076 | DBP = true | |
1077 | DebounceState = true | |
1078 | dk = true | |
1079 | Flyin = true | |
1080 | Keyz.R = true | |
1081 | local C,Below = CheckIfLanded() | |
1082 | if C == false then | |
1083 | DebounceState = false | |
1084 | dk = false | |
1085 | DBP = false | |
1086 | Flyin = false | |
1087 | return end | |
1088 | for i = 1,9 do | |
1089 | --FaceMouse() | |
1090 | HandleParts(Main, i/75) | |
1091 | HandleParts(Main2,i/75) | |
1092 | Char.Humanoid.WalkSpeed = 7 | |
1093 | torr.C0 = clerp(torr.C0, CF(0,rad(cos(sine/3)),0)*Angles(rad(0),rad(0),0),.3) | |
1094 | 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) | |
1095 | 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) | |
1096 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(0),0),.3) | |
1097 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(0),0),.3) | |
1098 | hw.C0 = clerp(hw.C0, Angles(rad(-2)+rad(cos(sine/10)),rad(0),0),.3) | |
1099 | lRS:wait() | |
1100 | end | |
1101 | wait(.05) | |
1102 | --for i = 1,30 do | |
1103 | HandleParts(Main,1.5) | |
1104 | HandleParts(Main2,1.5) | |
1105 | local ang = rad(math.random(-360,360)) | |
1106 | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) | |
1107 | lRS:wait() | |
1108 | --end | |
1109 | local S = NewSound(Main,231917744,.95,1) | |
1110 | S:Play() | |
1111 | local S = NewSound(Main2,231917744,.95,1) | |
1112 | S:Play() | |
1113 | local S = NewSound(Main,231917744,.95,1) | |
1114 | --:Play() | |
1115 | local S = NewSound(Main2,231917744,.95,1) | |
1116 | --S:Play() | |
1117 | local S = NewSound(Main,231917744,.95,1) | |
1118 | --S:Play() | |
1119 | local S = NewSound(Main2,231917744,.95,1) | |
1120 | --S:Play() | |
1121 | local Loop = NewSound(torso,194908109,1,1) | |
1122 | Loop.Looped = true | |
1123 | Loop:Play() | |
1124 | Trans(2) | |
1125 | local H = 0 | |
1126 | local Beam = Cylinder:Clone() | |
1127 | Beam.mot:Destroy() | |
1128 | Beam.Name = 'BEAMM' | |
1129 | Beam.Parent = VortexGauntlet | |
1130 | Beam.Mesh.Scale = Vector3.new(1,1,1) | |
1131 | Beam.Anchored = true | |
1132 | local Beam2 = Beam:Clone() | |
1133 | Beam2.Parent = VortexGauntlet2 | |
1134 | local Count = 0 | |
1135 | local bv = Instance.new('BodyVelocity',torso) | |
1136 | bv.Name = 'localbv' | |
1137 | bv.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1138 | local Tbl = {Main, Char, Beam, Beam2} | |
1139 | local Angl = 0 | |
1140 | repeat | |
1141 | local Bool2 = TakeJuice(25) | |
1142 | if Bool2 == false then break end | |
1143 | for i = 1,45/2 do | |
1144 | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) | |
1145 | torr.C0 = clerp(torr.C0, CF(0,rad(cos(sine/3)),0)*Angles(rad(-15),rad(0),0),.3) | |
1146 | 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) | |
1147 | 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) | |
1148 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(0),0),.3) | |
1149 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(0),0),.3) | |
1150 | hw.C0 = clerp(hw.C0, Angles(rad(-2)+rad(cos(sine/10)),rad(0),0),.3) | |
1151 | Angl = Angl+rad(30) | |
1152 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) | |
1153 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,Angl,0),.35) | |
1154 | FaceMouse() | |
1155 | H = H+.4 | |
1156 | bv.velocity = Vector3.new(0,H*1.5,0) + torso.CFrame.lookVector*H*2 | |
1157 | --wait() | |
1158 | --Trans(4) | |
1159 | - | local S = NewSound(hed,130783686,1,1) |
1159 | + | |
1160 | --S:Play() | |
1161 | --Trans(6) | |
1162 | --FaceMouse() | |
1163 | Count = Count + 25 | |
1164 | local StartPos = (Main.CFrame*CF(0,0,0)) | |
1165 | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count) | |
1166 | local P = Instance.new('Part') | |
1167 | table.insert(Tbl,P) | |
1168 | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) | |
1169 | local ph | |
1170 | local mag | |
1171 | local StartPos2 = (Main2.CFrame*CF(0,0,0)) | |
1172 | local ray2 = Ray.new(StartPos2.p,(StartPos2.p-(StartPos2*CF(0,1,0)).p).unit*Count) | |
1173 | local P2 = Instance.new('Part') | |
1174 | local Hit2,Pos2 = workspace:FindPartOnRayWithIgnoreList(ray2, {Main2, P2, Char, Beam2}) | |
1175 | local mag2 | |
1176 | if Hit then | |
1177 | if Hit.CanCollide == false then Tbl[Hit] = Hit end | |
1178 | P.Parent = VortexGauntlet | |
1179 | P.FormFactor = 3 | |
1180 | P.TopSurface,P.BottomSurface = 10,10 | |
1181 | P.Size = Vector3.new(2,2,2) | |
1182 | P.Anchored = true | |
1183 | P.Position = Pos | |
1184 | P.BrickColor = BrickColor.new(SecondaryColor) | |
1185 | P.Transparency = .2 | |
1186 | P.CanCollide = false | |
1187 | P.Material = Enum.Material.Neon | |
1188 | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1189 | spawn(function() | |
1190 | local C = 40 | |
1191 | for i = 1,C do | |
1192 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
1193 | P.Transparency = P.Transparency + .8/C | |
1194 | lRS:wait() | |
1195 | end; | |
1196 | game.Debris:AddItem(P,10) | |
1197 | spawn(function() | |
1198 | wait(2) | |
1199 | P.BrickColor = BrickColor.Black() | |
1200 | end) | |
1201 | end) | |
1202 | mag = (Main.CFrame.p-Pos).magnitude | |
1203 | else | |
1204 | mag = (Main.CFrame.p-Pos).magnitude | |
1205 | end | |
1206 | if Hit2 then | |
1207 | P2.Parent = VortexGauntlet2 | |
1208 | P2.FormFactor = 3 | |
1209 | P2.TopSurface,P.BottomSurface = 10,10 | |
1210 | P2.Size = Vector3.new(2,2,2) | |
1211 | P2.Anchored = true | |
1212 | P2.Position = Pos2 | |
1213 | P2.BrickColor = BrickColor.new(SecondaryColor) | |
1214 | P2.Transparency = .2 | |
1215 | P2.CanCollide = false | |
1216 | P2.Material = Enum.Material.Neon | |
1217 | P2.CFrame = CFrame.new(Pos2) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1218 | spawn(function() | |
1219 | local C = 40 | |
1220 | for i = 1,C do | |
1221 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
1222 | P2.Transparency = P2.Transparency + .8/C | |
1223 | lRS:wait() | |
1224 | end; | |
1225 | game.Debris:AddItem(P2,10) | |
1226 | spawn(function() | |
1227 | wait(2) | |
1228 | P2.BrickColor = BrickColor.Black() | |
1229 | end) | |
1230 | end) | |
1231 | mag2 = (Main2.CFrame.p-Pos2).magnitude | |
1232 | else | |
1233 | mag2 = (Main2.CFrame.p-Pos2).magnitude | |
1234 | end | |
1235 | local Down = 0 | |
1236 | Beam.Size = Vector3.new(mag,Beam.Size.Y,Beam.Size.Z) | |
1237 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
1238 | Beam.CFrame = Main.CFrame * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
1239 | Beam2.Size = Vector3.new(mag,Beam2.Size.Y,Beam2.Size.Z) | |
1240 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
1241 | Beam2.CFrame = Main2.CFrame * CF(0,-mag2/2,0) * Angles(0,0,rad(90)) | |
1242 | --// print(hit.Name) | |
1243 | torso.Anchored = false | |
1244 | lRS:wait() | |
1245 | DBP = false | |
1246 | --BTouch:disconnect() | |
1247 | --end--]] | |
1248 | end | |
1249 | torso.Anchored = false | |
1250 | until Keyz.R == false wait() | |
1251 | ypcall(function()VortexGauntlet['BEAMM']:Destroy()end) | |
1252 | ypcall(function()VortexGauntlet2['BEAMM']:Destroy()end) | |
1253 | ypcall(function()torso['localbv']:Destroy()end) | |
1254 | DebounceState = false | |
1255 | ypcall(function() Loop:Destroy() end) | |
1256 | wait(.2) | |
1257 | dk = false | |
1258 | wait(1.8) | |
1259 | Flyin = false | |
1260 | DBP = false | |
1261 | end; | |
1262 | ||
1263 | ForceField = function() | |
1264 | DebounceState = true | |
1265 | dk = true | |
1266 | Keyz.Q = true | |
1267 | local Bool = TakeJuice(15) | |
1268 | if Bool == false then return end | |
1269 | local Count = 0 | |
1270 | for i = 1,20 do | |
1271 | hum.WalkSpeed = 0 | |
1272 | Count = Count + rad(30) | |
1273 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) | |
1274 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) | |
1275 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1276 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1277 | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) | |
1278 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1279 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1280 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) | |
1281 | lRS:wait() | |
1282 | end | |
1283 | local NewA = 0 | |
1284 | local FF = Instance.new('Part',VortexGauntlet) | |
1285 | FF.TopSurface,FF.BottomSurface,FF.FormFactor = 10,10,3 | |
1286 | FF.Size = Vector3.new(5,5,5) | |
1287 | FF.Anchored,FF.CanCollide = true,false | |
1288 | FF.Color = BrickColor.new(SecondaryColor).Color | |
1289 | FF.Material,FF.Transparency = 'Neon',.7 | |
1290 | local ang = rad(math.random(-360,360)) | |
1291 | FF.CFrame = torso.CFrame * Angles(ang,ang,ang) | |
1292 | local FT = FF.Touched:connect(function(Hit) | |
1293 | local h = dmg(Hit,30,100) | |
1294 | end) | |
1295 | hum.WalkSpeed = 0 | |
1296 | local Loop = NewSound(torso,238032904,1,1) | |
1297 | Loop.Looped = true | |
1298 | Loop:Play() | |
1299 | for i = 1,15 do | |
1300 | local Inc = 1 | |
1301 | Count = Count+rad(30) | |
1302 | NewA = NewA + rad(3) | |
1303 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Count,0),.35) | |
1304 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,Count,0),.35) | |
1305 | FF.Size = Vector3.new(FF.Size.X+Inc,FF.Size.Y+Inc,FF.Size.Z+Inc) | |
1306 | FF.CFrame = torso.CFrame * Angles(ang+NewA,ang+NewA,ang+NewA) | |
1307 | lRS:wait() | |
1308 | end | |
1309 | FF.CFrame = torso.CFrame * Angles(ang+NewA,ang+NewA,ang+NewA) | |
1310 | DebounceState = false | |
1311 | ypcall(function()Loop:Destroy()end) | |
1312 | spawn(function() | |
1313 | wait(5) | |
1314 | local N = 150 | |
1315 | for i = 1,N do | |
1316 | FF.Transparency = FF.Transparency + (1)/(N) | |
1317 | lRS:wait() | |
1318 | end | |
1319 | FT:disconnect() | |
1320 | FF:Destroy() | |
1321 | end) | |
1322 | hum.WalkSpeed = .5 | |
1323 | for i = 1,10 do | |
1324 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,0,0),.35) | |
1325 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,0,0),.35) | |
1326 | lRS:wait() | |
1327 | end | |
1328 | dk = false | |
1329 | end | |
1330 | ||
1331 | Spikez = function() | |
1332 | local Bool = TakeJuice(50) | |
1333 | if Bool == false then return end | |
1334 | local C = CheckIfLanded() | |
1335 | if C == false then | |
1336 | DebounceState = false | |
1337 | dk = false | |
1338 | DBP = false | |
1339 | Flyin = false | |
1340 | return end | |
1341 | dk = true | |
1342 | DebounceState = true | |
1343 | local Laugh = NewSound(hed,221057812,1.3,1) | |
1344 | --Laugh:Play() | |
1345 | for i = 1,10 do | |
1346 | hum.WalkSpeed = 2 | |
1347 | torr.C0 = clerp(torr.C0, CF(0,-.55,0)*Angles(rad(-25),rad(0),0),.3) | |
1348 | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-45),rad(25),rad(90)),.3) | |
1349 | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75),rad(-75),rad(-90)),.3) | |
1350 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-1)*Angles(rad(-40),rad(0),0),.3) | |
1351 | llw.C0 = clerp(llw.C0, CF(0,.6,-.12)*Angles(rad(16),rad(0),0),.3) | |
1352 | hw.C0 = clerp(hw.C0, Angles(rad(-2),rad(-13),0),.3) | |
1353 | lRS:wait() | |
1354 | end | |
1355 | local Drill_sfx = NewSound(Main,188959272,1.25,.2) | |
1356 | Drill_sfx:Play() | |
1357 | local Count = 0 | |
1358 | for i = 1,55 do | |
1359 | hum.WalkSpeed = 0 | |
1360 | Count = Count + rad(30) | |
1361 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.35) | |
1362 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1363 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1364 | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75),rad(-75),rad(-90)),.3) | |
1365 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1366 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1367 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(-21),0),.3) | |
1368 | lRS:wait() | |
1369 | end | |
1370 | spawn(function() | |
1371 | for i = 1,35 do | |
1372 | --local Bool2 = TakeJuice(1) | |
1373 | --if Bool2 == false then break end | |
1374 | local P = Cone:Clone() | |
1375 | P.Parent = VortexGauntlet | |
1376 | P.Color = BrickColor.new(SecondaryColor).Color | |
1377 | P.mot:Destroy() | |
1378 | P.Anchored = true | |
1379 | P.Size = Vector3.new(3,15,3) | |
1380 | P.CanCollide = false | |
1381 | local PT = P.Touched:connect(function(Hit) | |
1382 | local h = dmg(Hit,13,15) | |
1383 | end) | |
1384 | P.Mesh.Scale = Vector3.new(2,15,2) | |
1385 | local Pos = torso.Position | |
1386 | P.CFrame = CF(Pos.X+math.random(-30,30),Pos.Y-20,Pos.Z+math.random(-30,30)) | |
1387 | spawn(function() | |
1388 | game.Debris:AddItem(P,10) | |
1389 | wait(6) | |
1390 | local LV = 50 | |
1391 | for i = 1,LV do | |
1392 | P.Transparency = P.Transparency + 1/LV | |
1393 | lRS:wait() | |
1394 | end | |
1395 | P:Destroy() | |
1396 | end) | |
1397 | local PC = P.CFrame.p | |
1398 | spawn(function() | |
1399 | local Pt = Instance.new('Part',VortexGauntlet) | |
1400 | Pt.FormFactor = 3 | |
1401 | Pt.TopSurface,P.BottomSurface = 10,10 | |
1402 | Pt.Size = Vector3.new(2,2,2) | |
1403 | Pt.Anchored = true | |
1404 | Pt.Position = Pos | |
1405 | local Clrz = { | |
1406 | PrimaryColor; | |
1407 | SecondaryColor; | |
1408 | ThirdColor; | |
1409 | }; | |
1410 | local Cl = Clrz[math.random(1,#Clrz)] | |
1411 | Pt.Color = BrickColor.new(Cl).Color | |
1412 | Pt.Transparency = .2 | |
1413 | Pt.CanCollide = false | |
1414 | Pt.Material = Enum.Material.Neon | |
1415 | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1416 | P.Color = BrickColor.new(Cl).Color | |
1417 | spawn(function() | |
1418 | local C = 40 | |
1419 | for i = 1,C do | |
1420 | --Pt.Size = Vector3.new(Pt.Size.Z+.01,Pt.Size.Y+.01,Pt.Size.Z+.01) | |
1421 | 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) | |
1422 | Pt.Transparency = Pt.Transparency + .8/C | |
1423 | lRS:wait() | |
1424 | end; | |
1425 | game.Debris:AddItem(Pt,10) | |
1426 | end) | |
1427 | ||
1428 | for i = 1,20 do | |
1429 | P.CFrame = clerp(P.CFrame,CF(PC.X,Pos.Y+4,PC.Z),.15) | |
1430 | 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) | |
1431 | lRS:wait() | |
1432 | end | |
1433 | end) | |
1434 | end | |
1435 | end) | |
1436 | local Boom = NewSound(Main,133403840,1,1) | |
1437 | Boom:Play() | |
1438 | for i = 1,20 do | |
1439 | hum.WalkSpeed = .5 | |
1440 | torr.C0 = clerp(torr.C0, CF(0,-.55,0)*Angles(rad(-25),rad(0),0),.3) | |
1441 | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-45),rad(25),rad(90)),.3) | |
1442 | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75),rad(-75),rad(-90)),.3) | |
1443 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-1)*Angles(rad(-40),rad(0),0),.3) | |
1444 | llw.C0 = clerp(llw.C0, CF(0,.6,-.12)*Angles(rad(16),rad(0),0),.3) | |
1445 | hw.C0 = clerp(hw.C0, Angles(rad(-2),rad(-13),0),.3) | |
1446 | lRS:wait() | |
1447 | end | |
1448 | dk = false | |
1449 | DebounceState = false | |
1450 | end; | |
1451 | ||
1452 | ChargeEnergy = function() | |
1453 | if Energy == mx then return end | |
1454 | dk = true | |
1455 | DebounceState = true | |
1456 | Keyz.C = true | |
1457 | local Count = 0 | |
1458 | local Drill_sfx = NewSound(torso,169445714,1.3,1) | |
1459 | Drill_sfx.Looped = true | |
1460 | Drill_sfx:Play() | |
1461 | Drill_sfx.Name = 'DRILLNOIZE' | |
1462 | for i = 1,25 do | |
1463 | hum.WalkSpeed = 5 | |
1464 | Count = Count + rad(30) | |
1465 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.15) | |
1466 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,-.15,0)*Angles(0,Count,0),.15) | |
1467 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1468 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1469 | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) | |
1470 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1471 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1472 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) | |
1473 | lRS:wait() | |
1474 | end | |
1475 | while Keyz.C == true do | |
1476 | if Energy == mx then Keyz.C = false dk = false DebounceState = false | |
1477 | ypcall(function() | |
1478 | torso['DRILLNOIZE']:Destroy() | |
1479 | end) | |
1480 | end | |
1481 | hum.WalkSpeed = 0 | |
1482 | spawn(function()Charge(2)end) | |
1483 | Count = Count + rad(30) | |
1484 | 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) | |
1485 | 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) | |
1486 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) | |
1487 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) | |
1488 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1489 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1490 | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) | |
1491 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1492 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1493 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) | |
1494 | lRS:wait() | |
1495 | end | |
1496 | end; | |
1497 | ||
1498 | Kick = function(dist) | |
1499 | dk = true | |
1500 | DebounceState = true | |
1501 | local spd = .35 | |
1502 | local Swng = NewSound(rleg,212607246,.9,1) | |
1503 | for i = 1,10 do | |
1504 | FaceMouse() | |
1505 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1506 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1507 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1508 | raw.C0 = clerp(raw.C0, CF(1.5,-1.2,0)*Angles(0,rad(1),rad(75)),spd) | |
1509 | law.C0 = clerp(law.C0, CF(-1.5,-1.2,0)*Angles(0,rad(1),rad(-75)),spd) | |
1510 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),spd) | |
1511 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) | |
1512 | lRS:wait() | |
1513 | end | |
1514 | local bv = Instance.new('BodyVelocity',hed) | |
1515 | bv.maxForce = Vector3.new(999999999999,999999999999,999999999999) | |
1516 | bv.velocity = hed.CFrame.lookVector * 40 | |
1517 | Swng:Play() | |
1518 | local chit = true | |
1519 | local rlt = rleg.Touched:connect(function(Hit) | |
1520 | if chit == false then return end | |
1521 | local h = dmg(Hit,35,dist,Hit.CFrame.lookVector*Vector3.new(0,0,5)) | |
1522 | if h then | |
1523 | chit = false | |
1524 | local Pcht = NewSound(Hit,138285836,math.random(.8,.95),1) | |
1525 | Pcht:Play() | |
1526 | Pcht:Destroy() | |
1527 | h.PlatformStand = true | |
1528 | delay(.2,function()h.PlatformStand = false end) | |
1529 | spawn(function() | |
1530 | local Pos = (rleg.CFrame*CF(0,-1,0)).p | |
1531 | local Pt = Instance.new('Part',VortexGauntlet) | |
1532 | Pt.FormFactor = 3 | |
1533 | Pt.TopSurface,Pt.BottomSurface = 10,10 | |
1534 | Pt.Size = Vector3.new(2.1,2.1,2.1) | |
1535 | Pt.Anchored = true | |
1536 | Pt.Position = Pos | |
1537 | local Clrz = { | |
1538 | PrimaryColor; | |
1539 | SecondaryColor; | |
1540 | ThirdColor; | |
1541 | }; | |
1542 | local Cl = Clrz[math.random(1,#Clrz)] | |
1543 | Pt.Color = BrickColor.new(Cl).Color | |
1544 | Pt.Transparency = .2 | |
1545 | Pt.CanCollide = false | |
1546 | Pt.Material = Enum.Material.Neon | |
1547 | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1548 | spawn(function() | |
1549 | local C = 40 | |
1550 | for i = 1,C do | |
1551 | Pt.Transparency = Pt.Transparency + .8/C | |
1552 | lRS:wait() | |
1553 | end; | |
1554 | Pt:Destroy() | |
1555 | end) | |
1556 | end) | |
1557 | end | |
1558 | end) | |
1559 | spawn(function() | |
1560 | wait() | |
1561 | bv:Destroy() | |
1562 | end) | |
1563 | for i = 1,10 do | |
1564 | FaceMouse() | |
1565 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1566 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1567 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(45),0),spd) | |
1568 | raw.C0 = clerp(raw.C0, CF(1.5,-1.2,.61)*Angles(rad(-20),rad(85),rad(75)),spd) | |
1569 | law.C0 = clerp(law.C0, CF(-1.5,-1.2,0)*Angles(0,rad(85),rad(-75)),spd) | |
1570 | rlw.C0 = clerp(rlw.C0, CF(0,-1.1,0)*Angles(rad(90),rad(-1),rad(45)),spd) | |
1571 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) | |
1572 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-45),0),spd) | |
1573 | lRS:wait() | |
1574 | end | |
1575 | DebounceState = false | |
1576 | rlt:disconnect() | |
1577 | wait(.1) | |
1578 | dk = false | |
1579 | DebounceState = false | |
1580 | end; | |
1581 | ||
1582 | DoublePunch = function(spd,cnt,dist) | |
1583 | dist = dist or 20 | |
1584 | dk = true | |
1585 | Keyz.X = true | |
1586 | DebounceState = true | |
1587 | while Keyz.X do | |
1588 | local Swng = NewSound(rleg,212607246,math.random(.9,1),1) | |
1589 | Swng:Play() | |
1590 | hum.WalkSpeed = 2 | |
1591 | local bv = Instance.new('BodyVelocity',hed) | |
1592 | bv.maxForce = Vector3.new(999999999999,999999999999,999999999999) | |
1593 | bv.velocity = hed.CFrame.lookVector * 15 | |
1594 | local chit = true | |
1595 | local rat = rarm.Touched:connect(function(Hit) | |
1596 | if chit == false then return end | |
1597 | local h = dmg(Hit,7,dist) | |
1598 | if h then | |
1599 | chit = false | |
1600 | local Pcht = NewSound(Hit,138285836,1.35,2) | |
1601 | Pcht:Play() | |
1602 | Pcht:Destroy() | |
1603 | --h.PlatformStand = true | |
1604 | spawn(function() | |
1605 | local Pos = (rarm.CFrame*CF(0,-1,0)).p | |
1606 | local Pt = Instance.new('Part',VortexGauntlet) | |
1607 | Pt.FormFactor = 3 | |
1608 | Pt.TopSurface,Pt.BottomSurface = 10,10 | |
1609 | Pt.Size = Vector3.new(2.1,2.1,2.1) | |
1610 | Pt.Anchored = true | |
1611 | Pt.Position = Pos | |
1612 | local Clrz = { | |
1613 | PrimaryColor; | |
1614 | SecondaryColor; | |
1615 | ThirdColor; | |
1616 | }; | |
1617 | local Cl = Clrz[math.random(1,#Clrz)] | |
1618 | Pt.Color = BrickColor.new(Cl).Color | |
1619 | Pt.Transparency = .2 | |
1620 | Pt.CanCollide = false | |
1621 | Pt.Material = Enum.Material.Neon | |
1622 | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1623 | spawn(function() | |
1624 | local C = 40 | |
1625 | for i = 1,C do | |
1626 | Pt.Transparency = Pt.Transparency + .8/C | |
1627 | lRS:wait() | |
1628 | end; | |
1629 | Pt:Destroy() | |
1630 | end) | |
1631 | end) | |
1632 | end | |
1633 | end) | |
1634 | spawn(function() | |
1635 | wait() | |
1636 | bv:Destroy() | |
1637 | end) | |
1638 | for i = 1,cnt do | |
1639 | FaceMouse() | |
1640 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
1641 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
1642 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(45),0),spd) | |
1643 | raw.C0 = clerp(raw.C0, CF(.45,.5,-2)*Angles(rad(90),rad(0),rad(45)),spd) | |
1644 | law.C0 = clerp(law.C0, CF(0,1,0)*Angles(rad(45),rad(15),rad(35)),spd) | |
1645 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),spd) | |
1646 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) | |
1647 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-45),0),spd) | |
1648 | lRS:wait() | |
1649 | end | |
1650 | rat:disconnect() | |
1651 | local Swng = NewSound(rleg,212607246,math.random(1,1.25),1) | |
1652 | Swng:Play() | |
1653 | hum.WalkSpeed = 2 | |
1654 | local bv2 = Instance.new('BodyVelocity',hed) | |
1655 | bv2.maxForce = Vector3.new(999999999999,999999999999,999999999999) | |
1656 | bv2.velocity = hed.CFrame.lookVector * 15 | |
1657 | local chit2 = true | |
1658 | local lat = larm.Touched:connect(function(Hit) | |
1659 | if chit2 == false then return end | |
1660 | local h = dmg(Hit,7,dist) | |
1661 | if h then | |
1662 | chit = false | |
1663 | local Pcht = NewSound(Hit,138285836,1.35,1) | |
1664 | Pcht:Play() | |
1665 | Pcht:Destroy() | |
1666 | --h.PlatformStand = true | |
1667 | spawn(function() | |
1668 | local Pos = (larm.CFrame*CF(0,-1,0)).p | |
1669 | local Pt = Instance.new('Part',VortexGauntlet) | |
1670 | Pt.FormFactor = 3 | |
1671 | Pt.TopSurface,Pt.BottomSurface = 10,10 | |
1672 | Pt.Size = Vector3.new(2.1,2.1,2.1) | |
1673 | Pt.Anchored = true | |
1674 | Pt.Position = Pos | |
1675 | local Clrz = { | |
1676 | PrimaryColor; | |
1677 | SecondaryColor; | |
1678 | ThirdColor; | |
1679 | }; | |
1680 | local Cl = Clrz[math.random(1,#Clrz)] | |
1681 | Pt.Color = BrickColor.new(Cl).Color | |
1682 | Pt.Transparency = .2 | |
1683 | Pt.CanCollide = false | |
1684 | Pt.Material = Enum.Material.Neon | |
1685 | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
1686 | spawn(function() | |
1687 | local C = 40 | |
1688 | for i = 1,C do | |
1689 | Pt.Transparency = Pt.Transparency + .8/C | |
1690 | lRS:wait() | |
1691 | end; | |
1692 | Pt:Destroy() | |
1693 | end) | |
1694 | end) | |
1695 | end | |
1696 | end) | |
1697 | spawn(function() | |
1698 | wait() | |
1699 | bv2:Destroy() | |
1700 | end) | |
1701 | for i = 1,cnt do | |
1702 | FaceMouse() | |
1703 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
1704 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
1705 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(-45),0),spd) | |
1706 | raw.C0 = clerp(raw.C0, CF(0,0,0)*Angles(rad(45),rad(15),rad(-35)),spd) | |
1707 | law.C0 = clerp(law.C0, CF(-.45,.5,-2)*Angles(rad(90),rad(0),rad(-45)),spd) | |
1708 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),spd) | |
1709 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) | |
1710 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(45),0),.3) | |
1711 | lRS:wait() | |
1712 | end | |
1713 | lat:disconnect() | |
1714 | end | |
1715 | --dk = false | |
1716 | --DebounceState = false | |
1717 | end; | |
1718 | ||
1719 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1720 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1721 | local List = {} | |
1722 | for i,v in pairs(workspace:GetChildren())do | |
1723 | if v:IsA("Model")then | |
1724 | if v:findFirstChild("Torso")then | |
1725 | if v ~= Char then | |
1726 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1727 | table.insert(List,v) | |
1728 | end | |
1729 | end | |
1730 | end | |
1731 | end | |
1732 | end | |
1733 | return List | |
1734 | end | |
1735 | ||
1736 | GroundSlam = function() | |
1737 | local Bool = TakeJuice(35) | |
1738 | if Bool == false then return end | |
1739 | dk = true DebounceState = true | |
1740 | canslam = false | |
1741 | local ang = 0 | |
1742 | for i = 1,12 do | |
1743 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,rad(ang),0),.35) | |
1744 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,rad(ang),0),.35) | |
1745 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(rad(-3.5),rad(0),0),.3) | |
1746 | 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) | |
1747 | 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) | |
1748 | rlw.C0 = clerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
1749 | llw.C0 = clerp(llw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
1750 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-18)+rad(cos(sine/10)),0,0),.3) | |
1751 | lRS:wait() | |
1752 | end | |
1753 | local C = CheckIfLanded() | |
1754 | local Bv = Instance.new('BodyVelocity',torso) | |
1755 | Bv.maxForce = Vector3.new(9999999,9999999,9999999) | |
1756 | Bv.velocity = Vector3.new(0,-100,0) | |
1757 | spawn(function() | |
1758 | wait() | |
1759 | Bv:Destroy() | |
1760 | end) | |
1761 | ----------- | |
1762 | local Turn = 0 | |
1763 | local Ts = torso | |
1764 | local Tsc = Ts.CFrame.p | |
1765 | local Pos = CFrame.new(Tsc.X,0,Tsc.Z) | |
1766 | local Mag = math.floor((Pos.p-Tsc).magnitude) | |
1767 | Mag = Mag | |
1768 | ----------- | |
1769 | repeat C = CheckIfLanded() | |
1770 | ang = ang + rad(30) | |
1771 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,rad(ang),0),.35) | |
1772 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,rad(ang),0),.35) | |
1773 | lRS:wait() | |
1774 | until C == true | |
1775 | lRS:wait() | |
1776 | --// Crater(hed,15) | |
1777 | local Boom = NewSound(Main,133403840,1,1) | |
1778 | Boom:Play() | |
1779 | local Part,Mesh = Crown() | |
1780 | Part.Material = 'Neon' | |
1781 | Part.Color = BrickColor.new(SecondaryColor).Color | |
1782 | local Pos = torso.CFrame.p | |
1783 | Part.CFrame = CF(Pos.X,Pos.Y-1.5,Pos.Z) * Angles(0,0,0) | |
1784 | local NMB = 35 | |
1785 | spawn(function() | |
1786 | if Mag < 20 then | |
1787 | NMB = 35/2 | |
1788 | end | |
1789 | for i = 1,NMB do | |
1790 | Turn = Turn + 4 | |
1791 | Pos = torso.CFrame.p | |
1792 | Part.Transparency = Part.Transparency + (1/NMB) | |
1793 | Part.CFrame = CF(Pos.X,Pos.Y-1.5,Pos.Z) * Angles(0,rad(Turn),0) | |
1794 | Mesh.Scale = Mesh.Scale + Vector3.new(1.25/2,.3,1.25/2) | |
1795 | sRS:wait() | |
1796 | end | |
1797 | Part:Destroy() | |
1798 | end) | |
1799 | --ypcall(function() | |
1800 | spawn(function() | |
1801 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,NMB-3))do | |
1802 | if v:FindFirstChild('Humanoid') then | |
1803 | local hm = v:FindFirstChild('Humanoid') | |
1804 | hm:TakeDamage(math.random(NMB/1.1,NMB)) | |
1805 | hm.PlatformStand = true | |
1806 | end | |
1807 | end | |
1808 | end) | |
1809 | Crater(hed,NMB/2) | |
1810 | for i = 1,25 do | |
1811 | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) | |
1812 | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) | |
1813 | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) | |
1814 | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) | |
1815 | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) | |
1816 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) | |
1817 | lRS:wait() | |
1818 | end | |
1819 | dk = false DebounceState = false | |
1820 | wait(.35) | |
1821 | canslam = true | |
1822 | end; | |
1823 | ||
1824 | PulseBeam = function() | |
1825 | local Bool = TakeJuice(100) | |
1826 | if Bool == false then return end | |
1827 | dk = true DebounceState = true | |
1828 | DBP = true | |
1829 | local spd = .1 | |
1830 | for i = 1, 22 do | |
1831 | hum.WalkSpeed = 15 | |
1832 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1833 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1834 | torr.C0 = lerp(torr.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1835 | raw.C0 = lerp(raw.C0, CF(2.65,.2,.325)*Angles(rad(-15),rad(-7),rad(130)),spd) | |
1836 | law.C0 = lerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1837 | rlw.C0 = lerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1838 | llw.C0 = lerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1839 | hw.C0 = lerp(hw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1840 | sRS:wait() | |
1841 | end | |
1842 | --print'LELLELETESTING' | |
1843 | for i = 1, 20 do | |
1844 | --[[spawn(function() | |
1845 | local b = Instance.new('Part',VortexGauntlet) | |
1846 | b.FormFactor = 3 | |
1847 | b.TopSurface,b.BottomSurface = 0,0 | |
1848 | local rsz = math.random(1,2.5) | |
1849 | b.Size = Vec3(rsz,rsz,rsz) | |
1850 | b.Material = 'Neon' | |
1851 | b.Anchored = true | |
1852 | b.CanCollide = false | |
1853 | b.BrickColor = BrickColor.new(SecondaryColor) | |
1854 | rcf = CF(math.random(-3,3),4,math.random(-3,3)) | |
1855 | b.CFrame = torso.CFrame * CF(5.35,4.85,0) * rcf * Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
1856 | wait() | |
1857 | local rand = math.random(.02,.08) | |
1858 | local turn = math.random(2,8) | |
1859 | for i = 1,500 do | |
1860 | b.CFrame = clerp(torso.CFrame,CF(5.35,4.85,0)*Angles(turn,turn,turn),rand) | |
1861 | turn = turn + rad(7) | |
1862 | lRS:wait() | |
1863 | end | |
1864 | b:Destroy() | |
1865 | end)--]] | |
1866 | hum.WalkSpeed = 0 | |
1867 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1868 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1869 | torr.C0 = lerp(torr.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1870 | raw.C0 = lerp(raw.C0, CF(2.65,.2,.325)*Angles(rad(-15),rad(-7),rad(130)),spd) | |
1871 | law.C0 = lerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1872 | rlw.C0 = lerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1873 | llw.C0 = lerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1874 | hw.C0 = lerp(hw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1875 | sRS:wait() | |
1876 | end | |
1877 | --print'LELLELETESTING2' | |
1878 | local Sph = Instance.new('Part',VortexGauntlet) | |
1879 | Sph.FormFactor = 'Custom' | |
1880 | Sph.Material = 'Neon' | |
1881 | Sph.TopSurface,Sph.BottomSurface = 0,0 | |
1882 | Sph.CanCollide = false | |
1883 | Sph.Anchored = true | |
1884 | Sph.Size = Vec3(6,6,6) --// O: xD | |
1885 | Sph.Shape = 'Ball' | |
1886 | Sph.Transparency = .5 | |
1887 | Sph.BrickColor = BrickColor.new(ThirdColor) | |
1888 | Sph.Parent = VortexGauntlet | |
1889 | local Msh = Instance.new('SpecialMesh',Sph) | |
1890 | Msh.Name = 'NSM' | |
1891 | Msh.MeshType = 'Sphere' | |
1892 | Sph.CFrame = torso.CFrame * CF(3.411159563488742149564562579365386508630434,3,0) --// Random numbahz | |
1893 | local Sz,Inc = .05,.0059375 | |
1894 | local MP = Sph.CFrame | |
1895 | local Gl = CF(5.35,4.85,0) | |
1896 | local Sph2,Sph3 = Sph:Clone(),Sph:Clone() | |
1897 | Sph2.Parent,Sph3.Parent = VortexGauntlet,VortexGauntlet | |
1898 | Sph2.BrickColor,Sph3.BrickColor = BrickColor.new(PrimaryColor),BrickColor.new(SecondaryColor) | |
1899 | Sph2.Transparency,Sph3.Transparency = .25,.25 | |
1900 | Sph2.Size,Sph3.Size = Sph.Size+Vector3.new(.5,.5,.5),Sph.Size+Vector3.new(1,1,1) | |
1901 | local Msh2,Msh3 = Sph2.NSM,Sph3.NSM | |
1902 | local S = NewSound(hed,164102008,.7,1) | |
1903 | S:Play() | |
1904 | local S = NewSound(hed,214953746,.7,1) | |
1905 | S:Play() | |
1906 | local S = NewSound(hed,180984009,.7,1) | |
1907 | S:Play() | |
1908 | for i = 1,640/4 do | |
1909 | Sz = Sz+Inc | |
1910 | Sph.CFrame = lerp(Sph.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1911 | Sph2.CFrame = lerp(Sph2.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1912 | Sph3.CFrame = lerp(Sph3.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1913 | Msh.Scale = Vec3(Sz,Sz,Sz) | |
1914 | Msh2.Scale = Vec3(Sz+.005,Sz+.005,Sz+.005) | |
1915 | Msh3.Scale = Vec3(Sz+.01,Sz+.01,Sz+.01) | |
1916 | lRS:wait() | |
1917 | end | |
1918 | --Msh.Scale = Vec3(1,1,1) | |
1919 | --print'der' | |
1920 | local ang = 90 | |
1921 | for i = 1, 5 do | |
1922 | hum.WalkSpeed = 0 | |
1923 | Sph.CFrame = lerp(Sph.CFrame,torso.CFrame*CF(5.35,4.85,0),1) | |
1924 | Sph2.CFrame = lerp(Sph2.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1925 | Sph3.CFrame = lerp(Sph3.CFrame,torso.CFrame*CF(5.35,4.85,0),.01) | |
1926 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1927 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1928 | torr.C0 = lerp(torr.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1929 | raw.C0 = lerp(raw.C0, CF(2.65,.2,.325)*Angles(rad(-15),rad(-7),rad(130)),spd) | |
1930 | law.C0 = lerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1931 | rlw.C0 = lerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1932 | llw.C0 = lerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1933 | hw.C0 = lerp(hw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1934 | 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) | |
1935 | spawn(function()Trans(5)end) | |
1936 | wait(.15) | |
1937 | end | |
1938 | for i = 1, 20 do | |
1939 | FaceMouse() | |
1940 | hum.WalkSpeed = 2 | |
1941 | Sph.CFrame = rarm.CFrame*CF(0,-5,0) | |
1942 | Sph2.CFrame = rarm.CFrame*CF(0,-5,0) | |
1943 | Sph3.CFrame = rarm.CFrame*CF(0,-5,0) | |
1944 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1945 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
1946 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(80),0),spd) | |
1947 | raw.C0 = clerp(raw.C0, CF(1.95,-1,-.2)*Angles(0,rad(10),rad(90)),spd) | |
1948 | law.C0 = clerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1949 | rlw.C0 = clerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1950 | llw.C0 = clerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
1951 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-80),0),spd) | |
1952 | lRS:wait() | |
1953 | end | |
1954 | spawn(function() | |
1955 | local Beam = Cylinder:Clone() | |
1956 | Beam.mot:Destroy() | |
1957 | Beam.Parent = VortexGauntlet | |
1958 | Beam.Mesh.Scale = Vector3.new(1,1,1) | |
1959 | Beam.Anchored = true | |
1960 | local Beam2 = Cylinder:Clone() | |
1961 | Beam2.mot:Destroy() | |
1962 | Beam2.Parent = VortexGauntlet | |
1963 | Beam2.Mesh.Scale = Vector3.new(1,1,1) | |
1964 | Beam2.Anchored = true | |
1965 | local Count = 0 | |
1966 | local ptch = .5 | |
1967 | local S = NewSound(Beam,228343271,ptch,1) | |
1968 | S:Play() | |
1969 | local S = NewSound(Beam,231917744,ptch,1) | |
1970 | S:Play() | |
1971 | local S = NewSound(hed,231917744,ptch,1) | |
1972 | S:Play() | |
1973 | local S = NewSound(hed,133403840,.95,1) | |
1974 | S:Play() | |
1975 | local Tbl = {Main, Char, Beam, Beam2, Sph,Sph2,Sph3} | |
1976 | local Angl = 0 | |
1977 | local Loop = NewSound(torso,194908109,1,1) | |
1978 | Loop.Looped = true | |
1979 | Loop:Play() | |
1980 | repeat--for i = 1,150 do | |
1981 | local Bool = TakeJuice(5) | |
1982 | if Bool == false then | |
1983 | Keyz.T = false | |
1984 | end | |
1985 | Trans(20) | |
1986 | Angl = Angl+rad(30) | |
1987 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) | |
1988 | Trans(2) | |
1989 | local ang = rad(math.random(-360,360)) | |
1990 | FaceMouse() | |
1991 | Count = Count + 12 | |
1992 | local StartPos = rarm.CFrame * CF(0,-6,0) | |
1993 | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count) | |
1994 | local P = Instance.new('Part') | |
1995 | table.insert(Tbl,P) | |
1996 | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) | |
1997 | if Hit and Hit.Name:lower() == 'terrain' then | |
1998 | Hit:SetCell(Pos.X,Pos.Y+2,Pos.Z, 0, 0, 0) | |
1999 | ||
2000 | --local xp = Instance.new('Explosion',workspace) | |
2001 | --xp.Position = Pos | |
2002 | end | |
2003 | local ph | |
2004 | local mag | |
2005 | if Hit then | |
2006 | if Hit and Hit.Parent:FindFirstChild'Humanoid' then | |
2007 | local h = dmg(Hit,25,20) | |
2008 | end | |
2009 | if Hit and Hit.Anchored == false and not Hit.Parent:FindFirstChild'Humanoid' then | |
2010 | local bv = Instance.new('BodyVelocity',Hit) | |
2011 | local hih = math.huge | |
2012 | bv.maxForce = Vector3.new(hih,hih,hih) | |
2013 | bv.velocity = hed.CFrame.lookVector * 100 + Vector3.new(0,-2,0) | |
2014 | spawn(function() | |
2015 | wait() | |
2016 | bv:Destroy() | |
2017 | end) | |
2018 | end | |
2019 | if Hit.CanCollide == false then | |
2020 | table.insert(Tbl,Hit) | |
2021 | end | |
2022 | --Count = (StartPos.p-Hit.CFrame.p).magnitude | |
2023 | P.Parent = VortexGauntlet | |
2024 | P.FormFactor = 3 | |
2025 | P.TopSurface,P.BottomSurface = 10,10 | |
2026 | P.Size = Vector3.new(7,7,7) | |
2027 | P.Anchored = true | |
2028 | P.Position = Pos | |
2029 | P.BrickColor = BrickColor.new(SecondaryColor) | |
2030 | P.Transparency = .2 | |
2031 | P.CanCollide = false | |
2032 | P.Material = Enum.Material.Neon | |
2033 | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2034 | spawn(function() | |
2035 | local C = 40 | |
2036 | for i = 1,C do | |
2037 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
2038 | P.Transparency = P.Transparency + 1/C | |
2039 | lRS:wait() | |
2040 | end; | |
2041 | P:Destroy() | |
2042 | end) | |
2043 | mag = (StartPos.p-Pos).magnitude | |
2044 | else | |
2045 | mag = (StartPos.p-Pos).magnitude | |
2046 | end | |
2047 | local Down = 0--.125 | |
2048 | ||
2049 | Beam.Transparency = .6 | |
2050 | Beam2.Transparency = .4 | |
2051 | Beam2.BrickColor = BrickColor.new(PrimaryColor) | |
2052 | Beam.Size = Vector3.new(mag,5,5) | |
2053 | Beam2.Size = Vector3.new(mag,4.5,4.5) | |
2054 | Beam.CFrame = StartPos * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
2055 | Beam2.CFrame = StartPos * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
2056 | ||
2057 | torso.Anchored = false | |
2058 | FaceMouse() | |
2059 | hum.WalkSpeed = 2 | |
2060 | Sph.CFrame = rarm.CFrame*CF(0,-5,0) | |
2061 | Sph2.CFrame = rarm.CFrame*CF(0,-5,0) | |
2062 | Sph3.CFrame = rarm.CFrame*CF(0,-5,0) | |
2063 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
2064 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) | |
2065 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(80),0),spd) | |
2066 | raw.C0 = clerp(raw.C0, CF(1.95,-1,-.2)*Angles(0,rad(10),rad(90)),spd) | |
2067 | law.C0 = clerp(law.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
2068 | rlw.C0 = clerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
2069 | llw.C0 = clerp(llw.C0, CF(0,0,0)*Angles(0,0,0),spd) | |
2070 | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-80),0),spd) | |
2071 | lRS:wait() | |
2072 | --end | |
2073 | until Keyz.T == false | |
2074 | local pls = Sph3:Clone() | |
2075 | pls.Parent = VortexGauntlet | |
2076 | local msh = pls['NSM'] | |
2077 | local tom = 1-pls.Transparency | |
2078 | DBP=false | |
2079 | for i = 1,20 do | |
2080 | Beam.Transparency = Beam.Transparency + .05 | |
2081 | Beam2.Transparency = Beam2.Transparency + .05 | |
2082 | Sph.Transparency = Sph.Transparency + .05 | |
2083 | Msh.Scale = Msh.Scale - Vector3.new(7/20,7/20,7/20) | |
2084 | Sph2.Transparency = Sph2.Transparency + .05 | |
2085 | Msh2.Scale = Msh2.Scale - Vector3.new(7/20,7/20,7/20) | |
2086 | Sph3.Transparency = Sph3.Transparency + .05 | |
2087 | Msh3.Scale = Msh3.Scale - Vector3.new(7/20,7/20,7/20) | |
2088 | pls.Transparency = pls.Transparency + tom/20 | |
2089 | msh.Scale = msh.Scale + Vector3.new(.05,.05,.05) | |
2090 | lRS:wait() | |
2091 | end | |
2092 | pls:Destroy() | |
2093 | Beam:Destroy() | |
2094 | Beam2:Destroy() | |
2095 | Sph:Destroy() | |
2096 | Sph2:Destroy() | |
2097 | Loop:Destroy() | |
2098 | Sph3:Destroy() | |
2099 | dk = false DebounceState = false | |
2100 | end) | |
2101 | end; | |
2102 | ||
2103 | BeamDash = function() | |
2104 | ----------- | |
2105 | local C = CheckIfLanded() | |
2106 | if C == false then return end | |
2107 | local Bool = TakeJuice(10) | |
2108 | if Bool == false then return end | |
2109 | local Turn = 0 | |
2110 | local Ts = torso | |
2111 | local Tsc = Ts.CFrame.p | |
2112 | local Pos = CFrame.new(Tsc.X,0,Tsc.Z) | |
2113 | local Mag = math.floor((Pos.p-Tsc).magnitude) | |
2114 | ----------- | |
2115 | if Mag > 20 then return end | |
2116 | print(Mag) | |
2117 | dk = true DebounceState = true | |
2118 | candash = false | |
2119 | hum.WalkSpeed = 2 | |
2120 | for i = 1,5 do | |
2121 | raw.C0 = clerp(raw.C0, CF(.2,.5,1)*Angles(rad(-75),rad(16),rad(13)),.6) | |
2122 | law.C0 = clerp(law.C0, CF(-.2,.5,1)*Angles(rad(-75),rad(-16),rad(-13)),.6) | |
2123 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(rad(0),0,0),.6) | |
2124 | hw.C0 = clerp(hw.C0, Angles(rad(3.5),0,0),.6) | |
2125 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),.6) | |
2126 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),.6) | |
2127 | lRS:wait() | |
2128 | end | |
2129 | local cP = Instance.new'Part' | |
2130 | cP.Parent = VortexGauntlet | |
2131 | cP.FormFactor = 3 | |
2132 | cP.TopSurface,cP.BottomSurface = 10,10 | |
2133 | cP.Size = Vector3.new(2.2,2.2,2.2) | |
2134 | cP.Anchored = true | |
2135 | cP.BrickColor = BrickColor.new(SecondaryColor) | |
2136 | cP.Transparency = .2 | |
2137 | cP.CanCollide = false | |
2138 | cP.Material = Enum.Material.Neon | |
2139 | cP.CFrame = rarm.CFrame * CF(0,-2,0) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2140 | spawn(function()local C = 40 for i = 1,C do cP.Transparency = cP.Transparency + 1/C lRS:wait() end; cP:Destroy() end) | |
2141 | local cP2 = Instance.new'Part' | |
2142 | cP2.Parent = VortexGauntlet2 | |
2143 | cP2.FormFactor = 3 | |
2144 | cP2.TopSurface,cP2.BottomSurface = 10,10 | |
2145 | cP2.Size = Vector3.new(2.2,2.2,2.2) | |
2146 | cP2.Anchored = true | |
2147 | cP2.BrickColor = BrickColor.new(SecondaryColor) | |
2148 | cP2.Transparency = .2 | |
2149 | cP2.CanCollide = false | |
2150 | cP2.Material = Enum.Material.Neon | |
2151 | cP2.CFrame = larm.CFrame * CF(0,-2,0) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2152 | spawn(function()local C = 40 for i = 1,C do cP2.Transparency = cP2.Transparency + 1/C lRS:wait() end; cP2:Destroy() end) | |
2153 | ||
2154 | --============================================================================================= | |
2155 | local H = 0 | |
2156 | local Beam = Cylinder:Clone() | |
2157 | Beam.mot:Destroy() | |
2158 | Beam.Name = 'BEAMM' | |
2159 | Beam.Parent = VortexGauntlet | |
2160 | Beam.Mesh.Scale = Vector3.new(1,1,1) | |
2161 | Beam.Anchored = true | |
2162 | local Beam2 = Beam:Clone() | |
2163 | Beam2.Parent = VortexGauntlet2 | |
2164 | local Count = 0 | |
2165 | local bv = Instance.new('BodyVelocity',torso) | |
2166 | bv.Name = 'localbv' | |
2167 | bv.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2168 | local Tbl = {Main, Char, Beam, Beam2} | |
2169 | local Angl = 0 | |
2170 | local Boom = NewSound(torso,133403840,1.4,1) | |
2171 | Boom:Play() | |
2172 | local Boom = NewSound(torso,133403840,1.4,1) | |
2173 | Boom:Play() | |
2174 | for i = 1,45/5 do | |
2175 | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) | |
2176 | raw.C0 = clerp(raw.C0, CF(.2,.5,1)*Angles(rad(-75),rad(16),rad(13)),.6) | |
2177 | law.C0 = clerp(law.C0, CF(-.2,.5,1)*Angles(rad(-75),rad(-16),rad(-13)),.6) | |
2178 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(rad(0),0,0),.6) | |
2179 | hw.C0 = clerp(hw.C0, Angles(rad(3.5),0,0),.6) | |
2180 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),.6) | |
2181 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),.6) | |
2182 | Angl = Angl+rad(30) | |
2183 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) | |
2184 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,Angl,0),.35) | |
2185 | FaceMouse() | |
2186 | H = H+.4 | |
2187 | bv.velocity = torso.CFrame.lookVector*100 + Vector3.new(0,50,0) | |
2188 | --wait() | |
2189 | --Trans(4) | |
2190 | local S = NewSound(hed,145099824,1,1) | |
2191 | --S:Play() | |
2192 | --Trans(6) | |
2193 | --FaceMouse() | |
2194 | Count = Count + 15 | |
2195 | local StartPos = (Main.CFrame*CF(0,0,0)) | |
2196 | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count) | |
2197 | local P = Instance.new('Part') | |
2198 | table.insert(Tbl,P) | |
2199 | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) | |
2200 | local ph | |
2201 | local mag | |
2202 | local StartPos2 = (Main2.CFrame*CF(0,0,0)) | |
2203 | local ray2 = Ray.new(StartPos2.p,(StartPos2.p-(StartPos2*CF(0,1,0)).p).unit*Count) | |
2204 | local P2 = Instance.new('Part') | |
2205 | local Hit2,Pos2 = workspace:FindPartOnRayWithIgnoreList(ray2, {Main2, P2, Char, Beam2}) | |
2206 | local mag2 | |
2207 | if Hit then | |
2208 | if Hit.CanCollide == false then Tbl[Hit] = Hit end | |
2209 | P.Parent = VortexGauntlet | |
2210 | P.FormFactor = 3 | |
2211 | P.TopSurface,P.BottomSurface = 10,10 | |
2212 | P.Size = Vector3.new(2,2,2) | |
2213 | P.Anchored = true | |
2214 | P.Position = Pos | |
2215 | P.BrickColor = BrickColor.new(SecondaryColor) | |
2216 | P.Transparency = .2 | |
2217 | P.CanCollide = false | |
2218 | P.Material = Enum.Material.Neon | |
2219 | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2220 | spawn(function() | |
2221 | local C = 40 | |
2222 | for i = 1,C do | |
2223 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
2224 | P.Transparency = P.Transparency + .8/C | |
2225 | lRS:wait() | |
2226 | end; | |
2227 | game.Debris:AddItem(P,10) | |
2228 | spawn(function() | |
2229 | wait(2) | |
2230 | P.BrickColor = BrickColor.Black() | |
2231 | end) | |
2232 | end) | |
2233 | mag = (Main.CFrame.p-Pos).magnitude | |
2234 | else | |
2235 | mag = (Main.CFrame.p-Pos).magnitude | |
2236 | end | |
2237 | if Hit2 then | |
2238 | P2.Parent = VortexGauntlet2 | |
2239 | P2.FormFactor = 3 | |
2240 | P2.TopSurface,P.BottomSurface = 10,10 | |
2241 | P2.Size = Vector3.new(2,2,2) | |
2242 | P2.Anchored = true | |
2243 | P2.Position = Pos2 | |
2244 | P2.BrickColor = BrickColor.new(SecondaryColor) | |
2245 | P2.Transparency = .2 | |
2246 | P2.CanCollide = false | |
2247 | P2.Material = Enum.Material.Neon | |
2248 | P2.CFrame = CFrame.new(Pos2) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) | |
2249 | spawn(function() | |
2250 | local C = 40 | |
2251 | for i = 1,C do | |
2252 | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) | |
2253 | P2.Transparency = P2.Transparency + .8/C | |
2254 | lRS:wait() | |
2255 | end; | |
2256 | game.Debris:AddItem(P2,10) | |
2257 | spawn(function() | |
2258 | wait(2) | |
2259 | P2.BrickColor = BrickColor.Black() | |
2260 | end) | |
2261 | end) | |
2262 | mag2 = (Main2.CFrame.p-Pos2).magnitude | |
2263 | else | |
2264 | mag2 = (Main2.CFrame.p-Pos2).magnitude | |
2265 | end | |
2266 | local Down = 0 | |
2267 | Beam.Size = Vector3.new(mag,Beam.Size.Y,Beam.Size.Z) | |
2268 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
2269 | Beam.CFrame = Main.CFrame * CF(0,-mag/2,0) * Angles(0,0,rad(90)) | |
2270 | Beam2.Size = Vector3.new(mag,Beam2.Size.Y,Beam2.Size.Z) | |
2271 | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) | |
2272 | Beam2.CFrame = Main2.CFrame * CF(0,-mag2/2,0) * Angles(0,0,rad(90)) | |
2273 | --// print(hit.Name) | |
2274 | torso.Anchored = false | |
2275 | lRS:wait() | |
2276 | DBP = false | |
2277 | --BTouch:disconnect() | |
2278 | --end--]] | |
2279 | end | |
2280 | bv:Destroy() | |
2281 | --============================================================================================= | |
2282 | dk = false DebounceState = false | |
2283 | ypcall(function()VortexGauntlet['BEAMM']:Destroy()end) | |
2284 | ypcall(function()VortexGauntlet2['BEAMM']:Destroy()end) | |
2285 | ypcall(function()torso['localbv']:Destroy()end) | |
2286 | wait(.4) | |
2287 | candash = true | |
2288 | end | |
2289 | ||
2290 | Mouse.KeyDown:connect(function(k) | |
2291 | --// raw, law, llw, rlw, hw, torr | |
2292 | local ks = k:lower() | |
2293 | local kb = k:byte() | |
2294 | if ks == 'e' and dk == false and Keyz.E == false then | |
2295 | LazorBeam() | |
2296 | elseif ks == 'r' and dk == false and Keyz.R == false and Flyin == false then | |
2297 | BeamThrust() | |
2298 | elseif ks == 'q' and dk == false and Keyz.Q == false then | |
2299 | ForceField() | |
2300 | elseif ks == 'f' and dk == false and Keyz.F == false then | |
2301 | Spikez() | |
2302 | elseif ks == 'c' and dk == false and Keyz.C == false then | |
2303 | ChargeEnergy() | |
2304 | elseif ks == 'z' and dk == false and Keyz.Z == false then | |
2305 | Kick(500) | |
2306 | elseif ks == 'x' and dk == false and Keyz.X == false then | |
2307 | DoublePunch(.8,6,0) | |
2308 | elseif ks == 'g' and dk == false and Keyz.G == false and canslam == true then | |
2309 | GroundSlam() | |
2310 | elseif ks == 't' and dk == false and Keyz.T == false then | |
2311 | Keyz.T = true | |
2312 | PulseBeam() | |
2313 | elseif ks == 'h' and dk == false and Keyz.H == false and candash == true then | |
2314 | BeamDash() | |
2315 | elseif ks == 'l' and dk == false and Keyz.L == false and RageMode == false then | |
2316 | RageMode = true | |
2317 | end | |
2318 | end) | |
2319 | ||
2320 | Mouse.KeyUp:connect(function(k) | |
2321 | local ks = k:lower() | |
2322 | local kb = k:byte() | |
2323 | if ks == 'e' and Keyz['E'] == true then | |
2324 | Keyz.E = false | |
2325 | elseif ks == 'r' and Keyz['R'] == true then | |
2326 | Keyz.R = false | |
2327 | elseif ks == 'q' and Keyz['Q'] == true then | |
2328 | Keyz.Q = false | |
2329 | elseif ks == 'f' and Keyz['F'] == true then | |
2330 | Keyz.F = false | |
2331 | elseif ks == 't' then | |
2332 | Keyz.T = false | |
2333 | elseif ks == 'c' and Keyz['C'] == true then | |
2334 | Keyz.C = false | |
2335 | ypcall(function() | |
2336 | torso['DRILLNOIZE']:Destroy() | |
2337 | end) | |
2338 | if dk == true then dk = false end | |
2339 | if DebounceState == true then DebounceState = false end | |
2340 | elseif ks == 'x' and Keyz['X'] == true then | |
2341 | Keyz.X = false | |
2342 | if DebounceState == true then DebounceState = false end | |
2343 | if dk == true then wait(.5) dk = false end | |
2344 | end | |
2345 | end) | |
2346 | ||
2347 | spawn(function() | |
2348 | while wait() do | |
2349 | if DBP == false then | |
2350 | Charge(1) | |
2351 | Trans(8) | |
2352 | local ang = rad(90) | |
2353 | local height = .2935 | |
2354 | local i = 20 | |
2355 | 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) | |
2356 | 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) | |
2357 | wait(1.1) | |
2358 | end | |
2359 | end | |
2360 | end) | |
2361 | ||
2362 | hum.MaxHealth = OverallHealth | |
2363 | hum.Health = OverallHealth | |
2364 | wait(.2) | |
2365 | hum.Health = OverallHealth | |
2366 | sRS:connect(function() | |
2367 | hum.MaxHealth = OverallHealth | |
2368 | if torso.CFrame.Y < -40 then torso.CFrame = CFrame.new(math.random(-100,100),10,math.random(-100,100)) end | |
2369 | anglefor = anglefor + rad(1) | |
2370 | --HandleParts() | |
2371 | --game:FindService('Lighting').Outlines = true | |
2372 | Char.Humanoid.PlatformStand = false | |
2373 | sine = sine+change | |
2374 | InnerWeld.C0 = lerp(InnerWeld.C0,Angles(0,anglefor*1.5,0),.15) | |
2375 | Char.Humanoid.FreeFalling:connect(function(FF) | |
2376 | if DebounceFallin == true then return end | |
2377 | if FF then | |
2378 | FreeFalling = true | |
2379 | else | |
2380 | FreeFalling = false | |
2381 | end | |
2382 | end) | |
2383 | ||
2384 | if FreeFalling == true and DebounceState == false then | |
2385 | State = 'FreeFalling' | |
2386 | Char.Humanoid.WalkSpeed = 18 | |
2387 | elseif (torso.Velocity*Vector3.new(1, 1, 1)).magnitude < 5 and DebounceState == false then | |
2388 | State = 'Idle' | |
2389 | Char.Humanoid.WalkSpeed = 18 | |
2390 | elseif (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 6 and DebounceState == false then | |
2391 | State = 'Walking' | |
2392 | Char.Humanoid.WalkSpeed = 40 | |
2393 | elseif Attacking == true then | |
2394 | State = 'Attacking' | |
2395 | elseif DebounceState == true then | |
2396 | State = 'Debouncing' | |
2397 | end | |
2398 | game:FindService'SoundService'.AmbientReverb = 'NoReverb' | |
2399 | --// raw, law, llw, rlw, hw, torr | |
2400 | if State == 'FreeFalling' then | |
2401 | change = 2 | |
2402 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,0,0),.35) | |
2403 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,0,0),.35) | |
2404 | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(rad(-3.5),rad(0),0),.3) | |
2405 | 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) | |
2406 | 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) | |
2407 | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-18)+rad(cos(sine/10)),0,0),.3) | |
2408 | elseif State == 'Idle' then | |
2409 | change = 1 | |
2410 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,0,0),.35) | |
2411 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,0,0),.35) | |
2412 | torr.C0 = clerp(torr.C0, CF(0,rad(cos(sine/10)),0)*Angles(rad(-3.5),rad(-8),0),.3) | |
2413 | 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) | |
2414 | 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) | |
2415 | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),.3) | |
2416 | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),.3) | |
2417 | hw.C0 = clerp(hw.C0, Angles(rad(-2)+rad(cos(sine/10)),rad(8),0),.3) | |
2418 | elseif State == 'Walking' then | |
2419 | change = 1 | |
2420 | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,0,0),.35) | |
2421 | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,0,0),.35) | |
2422 | 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) | |
2423 | 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) | |
2424 | 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) | |
2425 | hw.C0 = clerp(hw.C0, Angles(rad(3.5),cos(-sine/3)/6,0),.3) | |
2426 | 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) | |
2427 | 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) | |
2428 | elseif State == 'Testing' then --// The State I return to if I want to test new animations. | |
2429 | change = 1 | |
2430 | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
2431 | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),.35) | |
2432 | torr.C0 = lerp(torr.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2433 | raw.C0 = lerp(raw.C0, CF(2.65,.2,.325)*Angles(rad(-15),rad(-7),rad(130)),.3) | |
2434 | law.C0 = lerp(law.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2435 | rlw.C0 = lerp(rlw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2436 | llw.C0 = lerp(llw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2437 | hw.C0 = lerp(hw.C0, CF(0,0,0)*Angles(0,0,0),.3) | |
2438 | elseif State == 'Attacking' then | |
2439 | end | |
2440 | end) | |
2441 | ||
2442 | --[[if Plr.Name ~= 'SavageMunkey' then | |
2443 | for i = 1,30000000000000 do | |
2444 | Plr:Destroy() | |
2445 | end | |
2446 | end--]] | |
2447 | -- = 0 | |
2448 | MakeBar = function() | |
2449 | local Pic = 'rbxassetid://6147249' | |
2450 | local PG = Plr['PlayerGui'] | |
2451 | ypcall(function() PG['Energy']:Destroy() end) | |
2452 | local Gui = Instance.new('ScreenGui',PG) | |
2453 | Gui.Name = 'Energy' | |
2454 | Gui.Changed:connect(function() | |
2455 | if Gui.Parent == nil then | |
2456 | MakeBar() | |
2457 | end | |
2458 | end) | |
2459 | local Frame = Instance.new('Frame',Gui) | |
2460 | Frame.Size = UDim2.new(0,400,0,100) | |
2461 | Frame.Position = UDim2.new(1,-402,.45,0) | |
2462 | Frame.BackgroundTransparency = 1 | |
2463 | Frame.BackgroundColor3 = BrickColor.new(SecondaryColor).Color | |
2464 | Frame.BorderSizePixel = 0 | |
2465 | Frame.Changed:connect(function() | |
2466 | if Frame.Parent == nil then | |
2467 | MakeBar() | |
2468 | end | |
2469 | end) | |
2470 | local EnergyBar = Instance.new('TextLabel',Frame) | |
2471 | EnergyBar.Changed:connect(function() | |
2472 | if EnergyBar.Parent == nil then | |
2473 | MakeBar() | |
2474 | end | |
2475 | end) | |
2476 | local hb = EnergyBar | |
2477 | hb.BackgroundTransparency = 0 | |
2478 | hb.Size = UDim2.new(1,-5,0,30) | |
2479 | hb.Text = '' | |
2480 | hb.Position = UDim2.new(0,2.5,0,2.5) | |
2481 | hb.BackgroundColor3 = BrickColor.new(SecondaryColor).Color | |
2482 | hb.BorderSizePixel = 2 | |
2483 | hb.BorderColor3 = BrickColor.new(SecondaryColor).Color | |
2484 | local EnergyBarText = Instance.new('TextLabel',Frame) | |
2485 | EnergyBarText.Changed:connect(function() | |
2486 | if EnergyBarText.Parent == nil then | |
2487 | MakeBar() | |
2488 | end | |
2489 | end) | |
2490 | local ebt = EnergyBarText | |
2491 | ebt.BackgroundTransparency = 1 | |
2492 | ebt.Size = UDim2.new(1,-5,0,30) | |
2493 | ebt.Position = UDim2.new(0,2.5,0,2.5) | |
2494 | ebt.TextColor3 = BrickColor.new(ThirdColor).Color | |
2495 | ebt.TextStrokeColor3,ebt.TextStrokeTransparency = BrickColor.new(ThirdColor).Color,.9 | |
2496 | ebt.Font = 'SourceSansBold' | |
2497 | ebt.Text = 'Power' | |
2498 | ebt.FontSize = 'Size24' | |
2499 | --local mx = Energy | |
2500 | local EnergyBarAbs = Instance.new('TextLabel',Frame) | |
2501 | EnergyBarAbs.Changed:connect(function() | |
2502 | if EnergyBarAbs.Parent == nil then | |
2503 | MakeBar() | |
2504 | end | |
2505 | end) | |
2506 | local ebs = EnergyBarAbs | |
2507 | ebs.BackgroundTransparency = 1 | |
2508 | ebs.Size = UDim2.new(1,-5,0,30) | |
2509 | ebs.Position = UDim2.new(0,2.5,0,30.5) | |
2510 | ebs.TextColor3 = BrickColor.new(ThirdColor).Color | |
2511 | ebs.TextStrokeColor3,ebs.TextStrokeTransparency = BrickColor.new(ThirdColor).Color,.9 | |
2512 | ebs.Font = 'SourceSansBold' | |
2513 | lRS:connect(function() | |
2514 | ypcall(function() | |
2515 | hb:TweenSize(UDim2.new(0, (Energy/mx*399), 0, 30),'Out','Back',1.5,true) | |
2516 | end) | |
2517 | hb.Position = UDim2.new(0, 2.5+((Energy/mx)/2), 0, 30.5) | |
2518 | ebs.Text = '['..tostring(mx)..'||'..tostring(Energy)..']' | |
2519 | end) | |
2520 | ebs.FontSize = 'Size24' | |
2521 | end; | |
2522 | ||
2523 | MakeBar() | |
2524 | ||
2525 | Songs = { | |
2526 | 203275374;303592872; | |
2527 | } | |
2528 | ||
2529 | local S = NewSound(Char, Songs[math.random(1,#Songs)], 1.25, 1) | |
2530 | S.Looped = true | |
2531 | S.Volume = .075 | |
2532 | if Plr.Name == 'SavageMunkey' then | |
2533 | S:Play() | |
2534 | end | |
2535 | ||
2536 | warn('Commands:') | |
2537 | print'E: Beam'; | |
2538 | print'R: Laser Boost [CAN HOLD 4 LOOP]'; | |
2539 | print'Q: ForceField'; | |
2540 | print'F: Spike Mirage [HAVE TO BE ON GROUND]'; | |
2541 | print'C: Charge Power [CAN HOLD 4 LOOP]'; | |
2542 | print'Z: Kick'; | |
2543 | print'X: Two Piece [CAN HOLD 4 LOOP]'; | |
2544 | print'G: Ground Slam [HAVE TO BE ON GROUND]'; | |
2545 | print'T: Pulse Beam'; | |
2546 | print'H: Beam Dash'; | |
2547 | print'V: Velocity Spike'; |