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