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