SHOW:
|
|
- or go back to the newest paste.
| 1 | - | -- FE template created by MintyLatios (V3rm) aka mikel11114 (ROBLOX) |
| 1 | + | -- FE template created by MintyLatios (V3rm) aka mikel11114 (ROBLOX) |
| 2 | - | local username = "joaovictorsena12" |
| 2 | + | local username = "xdielivex" |
| 3 | - | |
| 3 | + | |
| 4 | - | if(script:FindFirstChild'Owner')then |
| 4 | + | if(script:FindFirstChild'Owner')then |
| 5 | - | repeat wait() until script.Owner.Value |
| 5 | + | repeat wait() until script.Owner.Value |
| 6 | end | |
| 7 | - | function GetPlr(user) |
| 7 | + | function GetPlr(user) |
| 8 | - | for _,v in next, game:service'Players':players() do |
| 8 | + | for _,v in next, game:service'Players':players() do |
| 9 | - | if(v.Name==user)then |
| 9 | + | if(v.Name==user)then |
| 10 | - | return v |
| 10 | + | return v |
| 11 | - | end |
| 11 | + | end |
| 12 | - | end |
| 12 | + | end |
| 13 | - | return nil |
| 13 | + | return nil |
| 14 | end | |
| 15 | - | |
| 15 | + | |
| 16 | - | local Player = (script:FindFirstChild'Owner' and script:FindFirstChild'Owner'.Value or GetPlr(username)) |
| 16 | + | local Player = (script:FindFirstChild'Owner' and script:FindFirstChild'Owner'.Value or GetPlr(username)) |
| 17 | - | pcall(game.Destroy,script:FindFirstChild'Owner') |
| 17 | + | pcall(game.Destroy,script:FindFirstChild'Owner') |
| 18 | - | local FakeMouse = script.FakeMouse:Clone(); |
| 18 | + | local FakeMouse = script.FakeMouse:Clone(); |
| 19 | - | FakeMouse.Parent = Player.Character; |
| 19 | + | FakeMouse.Parent = Player.Character; |
| 20 | - | script.FakeMouse:Destroy() |
| 20 | + | script.FakeMouse:Destroy() |
| 21 | - | do |
| 21 | + | do |
| 22 | - | local GUID = {} |
| 22 | + | local GUID = {}
|
| 23 | - | do |
| 23 | + | do |
| 24 | - | GUID.IDs = {}; |
| 24 | + | GUID.IDs = {};
|
| 25 | - | function GUID:new(len) |
| 25 | + | function GUID:new(len) |
| 26 | - | local id; |
| 26 | + | local id; |
| 27 | - | if(not len)then |
| 27 | + | if(not len)then |
| 28 | - | id = (tostring(function() end)) |
| 28 | + | id = (tostring(function() end)) |
| 29 | - | id = id:gsub("function: ","") |
| 29 | + | id = id:gsub("function: ","")
|
| 30 | - | else |
| 30 | + | else |
| 31 | - | local function genID(len) |
| 31 | + | local function genID(len) |
| 32 | - | local newID = "" |
| 32 | + | local newID = "" |
| 33 | - | for i = 1,len do |
| 33 | + | for i = 1,len do |
| 34 | - | newID = newID..string.char(math.random(48,90)) |
| 34 | + | newID = newID..string.char(math.random(48,90)) |
| 35 | - | end |
| 35 | + | end |
| 36 | - | return newID |
| 36 | + | return newID |
| 37 | - | end |
| 37 | + | end |
| 38 | - | repeat id = genID(len) until not GUID.IDs[id] |
| 38 | + | repeat id = genID(len) until not GUID.IDs[id] |
| 39 | - | local oid = id; |
| 39 | + | local oid = id; |
| 40 | - | id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end} |
| 40 | + | id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
|
| 41 | - | GUID.IDs[oid]=true; |
| 41 | + | GUID.IDs[oid]=true; |
| 42 | - | end |
| 42 | + | end |
| 43 | - | return id |
| 43 | + | return id |
| 44 | - | end |
| 44 | + | end |
| 45 | - | end |
| 45 | + | end |
| 46 | - | |
| 46 | + | |
| 47 | - | local AHB = Instance.new("BindableEvent") |
| 47 | + | local AHB = Instance.new("BindableEvent")
|
| 48 | - | |
| 48 | + | |
| 49 | - | local FPS = 30 |
| 49 | + | local FPS = 30 |
| 50 | - | |
| 50 | + | |
| 51 | - | local TimeFrame = 0 |
| 51 | + | local TimeFrame = 0 |
| 52 | - | |
| 52 | + | |
| 53 | - | local LastFrame = tick() |
| 53 | + | local LastFrame = tick() |
| 54 | - | local Frame = 1/FPS |
| 54 | + | local Frame = 1/FPS |
| 55 | - | |
| 55 | + | |
| 56 | - | game:service'RunService'.Heartbeat:connect(function(s,p) |
| 56 | + | game:service'RunService'.Heartbeat:connect(function(s,p) |
| 57 | - | TimeFrame = TimeFrame + s |
| 57 | + | TimeFrame = TimeFrame + s |
| 58 | - | if(TimeFrame >= Frame)then |
| 58 | + | if(TimeFrame >= Frame)then |
| 59 | - | for i = 1,math.floor(TimeFrame/Frame) do |
| 59 | + | for i = 1,math.floor(TimeFrame/Frame) do |
| 60 | - | AHB:Fire() |
| 60 | + | AHB:Fire() |
| 61 | - | end |
| 61 | + | end |
| 62 | - | LastFrame=tick() |
| 62 | + | LastFrame=tick() |
| 63 | - | TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame) |
| 63 | + | TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame) |
| 64 | - | end |
| 64 | + | end |
| 65 | - | end) |
| 65 | + | end) |
| 66 | - | |
| 66 | + | |
| 67 | - | |
| 67 | + | |
| 68 | - | function swait(dur) |
| 68 | + | function swait(dur) |
| 69 | - | if(dur == 0 or typeof(dur) ~= 'number')then |
| 69 | + | if(dur == 0 or typeof(dur) ~= 'number')then |
| 70 | - | AHB.Event:wait() |
| 70 | + | AHB.Event:wait() |
| 71 | - | else |
| 71 | + | else |
| 72 | - | for i = 1, dur*FPS do |
| 72 | + | for i = 1, dur*FPS do |
| 73 | - | AHB.Event:wait() |
| 73 | + | AHB.Event:wait() |
| 74 | - | end |
| 74 | + | end |
| 75 | - | end |
| 75 | + | end |
| 76 | - | end |
| 76 | + | end |
| 77 | - | |
| 77 | + | |
| 78 | - | local oPlayer = Player |
| 78 | + | local oPlayer = Player |
| 79 | - | local Player = oPlayer |
| 79 | + | local Player = oPlayer |
| 80 | - | |
| 80 | + | |
| 81 | - | local loudnesses={} |
| 81 | + | local loudnesses={}
|
| 82 | - | script.Parent = Player.Character |
| 82 | + | script.Parent = Player.Character |
| 83 | - | local CoAS = {Actions={}} |
| 83 | + | local CoAS = {Actions={}}
|
| 84 | - | local Event = Instance.new("RemoteEvent") |
| 84 | + | local Event = Instance.new("RemoteEvent")
|
| 85 | - | Event.Name = "UserInputEvent" |
| 85 | + | Event.Name = "UserInputEvent" |
| 86 | - | Event.Parent = Player.Character |
| 86 | + | Event.Parent = Player.Character |
| 87 | - | local Func = Instance.new("RemoteFunction") |
| 87 | + | local Func = Instance.new("RemoteFunction")
|
| 88 | - | Func.Name = "GetClientProperty" |
| 88 | + | Func.Name = "GetClientProperty" |
| 89 | - | Func.Parent = Player.Character |
| 89 | + | Func.Parent = Player.Character |
| 90 | - | local fakeEvent = function() |
| 90 | + | local fakeEvent = function() |
| 91 | - | local t = {_fakeEvent=true,Waited={},Connected={}} |
| 91 | + | local t = {_fakeEvent=true,Waited={},Connected={}}
|
| 92 | - | t.Connect = function(self,f) |
| 92 | + | t.Connect = function(self,f) |
| 93 | - | local ft={} |
| 93 | + | local ft={}
|
| 94 | - | ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end} |
| 94 | + | ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
|
| 95 | - | ft.Disconnect=ft.disconnect |
| 95 | + | ft.Disconnect=ft.disconnect |
| 96 | - | |
| 96 | + | |
| 97 | - | ft.Func=function(...) |
| 97 | + | ft.Func=function(...) |
| 98 | - | for id,_ in next, t.Waited do |
| 98 | + | for id,_ in next, t.Waited do |
| 99 | - | t.Waited[id] = true |
| 99 | + | t.Waited[id] = true |
| 100 | - | end |
| 100 | + | end |
| 101 | - | return f(...) |
| 101 | + | return f(...) |
| 102 | - | end; |
| 102 | + | end; |
| 103 | - | |
| 103 | + | |
| 104 | - | table.insert(self.Connected,ft) |
| 104 | + | table.insert(self.Connected,ft) |
| 105 | - | return ft; |
| 105 | + | return ft; |
| 106 | - | end |
| 106 | + | end |
| 107 | - | t.connect = t.Connect |
| 107 | + | t.connect = t.Connect |
| 108 | - | t.Wait = function() |
| 108 | + | t.Wait = function() |
| 109 | - | local guid = GUID:new(25) |
| 109 | + | local guid = GUID:new(25) |
| 110 | - | local waitingId = guid:Get() |
| 110 | + | local waitingId = guid:Get() |
| 111 | - | t.Waited[waitingId]=false |
| 111 | + | t.Waited[waitingId]=false |
| 112 | - | repeat swait() until t.Waited[waitingId]==true |
| 112 | + | repeat swait() until t.Waited[waitingId]==true |
| 113 | - | t.Waited[waitingId]=nil; |
| 113 | + | t.Waited[waitingId]=nil; |
| 114 | - | guid:Trash() |
| 114 | + | guid:Trash() |
| 115 | - | end |
| 115 | + | end |
| 116 | - | t.wait = t.Wait |
| 116 | + | t.wait = t.Wait |
| 117 | - | return t |
| 117 | + | return t |
| 118 | - | end |
| 118 | + | end |
| 119 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
| 119 | + | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
|
| 120 | - | local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
| 120 | + | local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
|
| 121 | - | local Run = {RenderStepped=fakeEvent()} |
| 121 | + | local Run = {RenderStepped=fakeEvent()}
|
| 122 | - | |
| 122 | + | |
| 123 | - | function CoAS:BindAction(name,fun,touch,...) |
| 123 | + | function CoAS:BindAction(name,fun,touch,...) |
| 124 | - | CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}} |
| 124 | + | CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
|
| 125 | - | end |
| 125 | + | end |
| 126 | - | function CoAS:UnbindAction(name) |
| 126 | + | function CoAS:UnbindAction(name) |
| 127 | - | CoAS.Actions[name] = nil |
| 127 | + | CoAS.Actions[name] = nil |
| 128 | - | end |
| 128 | + | end |
| 129 | - | local function te(self,ev,...) |
| 129 | + | local function te(self,ev,...) |
| 130 | - | local t = self[ev] |
| 130 | + | local t = self[ev] |
| 131 | - | if t and t._fakeEvent and t.Connected then |
| 131 | + | if t and t._fakeEvent and t.Connected then |
| 132 | - | for i,v in next, t.Connected do |
| 132 | + | for i,v in next, t.Connected do |
| 133 | - | if(v.Func and not v.Disconnected)then |
| 133 | + | if(v.Func and not v.Disconnected)then |
| 134 | - | v.Func(...) |
| 134 | + | v.Func(...) |
| 135 | - | else |
| 135 | + | else |
| 136 | - | t.Connected[i]=nil |
| 136 | + | t.Connected[i]=nil |
| 137 | - | end |
| 137 | + | end |
| 138 | - | end |
| 138 | + | end |
| 139 | - | end |
| 139 | + | end |
| 140 | - | end |
| 140 | + | end |
| 141 | - | m.TrigEvent = te |
| 141 | + | m.TrigEvent = te |
| 142 | - | UsIS.TrigEvent = te |
| 142 | + | UsIS.TrigEvent = te |
| 143 | - | Run.TrigEvent = te |
| 143 | + | Run.TrigEvent = te |
| 144 | - | Event.OnServerEvent:Connect(function(plr,io) |
| 144 | + | Event.OnServerEvent:Connect(function(plr,io) |
| 145 | - | if plr~=Player then return end |
| 145 | + | if plr~=Player then return end |
| 146 | - | --[[table.foreach(io,print) |
| 146 | + | --[[table.foreach(io,print) |
| 147 | - | print'---']] |
| 147 | + | print'---']] |
| 148 | - | if io.Mouse then |
| 148 | + | if io.Mouse then |
| 149 | - | m.Target = io.Target |
| 149 | + | m.Target = io.Target |
| 150 | - | m.Hit = io.Hit |
| 150 | + | m.Hit = io.Hit |
| 151 | - | elseif io.KeyEvent then |
| 151 | + | elseif io.KeyEvent then |
| 152 | - | m:TrigEvent('Key'..io.KeyEvent,io.Key) |
| 152 | + | m:TrigEvent('Key'..io.KeyEvent,io.Key)
|
| 153 | - | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then |
| 153 | + | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then |
| 154 | - | if io.UserInputState == Enum.UserInputState.Begin then |
| 154 | + | if io.UserInputState == Enum.UserInputState.Begin then |
| 155 | - | m:TrigEvent("Button1Down") |
| 155 | + | m:TrigEvent("Button1Down")
|
| 156 | - | else |
| 156 | + | else |
| 157 | - | m:TrigEvent("Button1Up") |
| 157 | + | m:TrigEvent("Button1Up")
|
| 158 | - | end |
| 158 | + | end |
| 159 | - | end |
| 159 | + | end |
| 160 | - | if(not io.KeyEvent and not io.Mouse)then |
| 160 | + | if(not io.KeyEvent and not io.Mouse)then |
| 161 | - | |
| 161 | + | |
| 162 | - | for n,t in pairs(CoAS.Actions) do |
| 162 | + | for n,t in pairs(CoAS.Actions) do |
| 163 | - | for _,k in pairs(t.Keys) do |
| 163 | + | for _,k in pairs(t.Keys) do |
| 164 | - | if k==io.KeyCode then |
| 164 | + | if k==io.KeyCode then |
| 165 | - | t.Function(t.Name,io.UserInputState,io) |
| 165 | + | t.Function(t.Name,io.UserInputState,io) |
| 166 | - | end |
| 166 | + | end |
| 167 | - | end |
| 167 | + | end |
| 168 | - | end |
| 168 | + | end |
| 169 | - | if io.UserInputState == Enum.UserInputState.Begin then |
| 169 | + | if io.UserInputState == Enum.UserInputState.Begin then |
| 170 | - | UsIS:TrigEvent("InputBegan",io,false) |
| 170 | + | UsIS:TrigEvent("InputBegan",io,false)
|
| 171 | - | else |
| 171 | + | else |
| 172 | - | UsIS:TrigEvent("InputEnded",io,false) |
| 172 | + | UsIS:TrigEvent("InputEnded",io,false)
|
| 173 | - | end |
| 173 | + | end |
| 174 | - | end |
| 174 | + | end |
| 175 | - | end) |
| 175 | + | end) |
| 176 | - | |
| 176 | + | |
| 177 | - | Func.OnServerInvoke = function(plr,inst,play) |
| 177 | + | Func.OnServerInvoke = function(plr,inst,play) |
| 178 | - | if plr~=Player then return end |
| 178 | + | if plr~=Player then return end |
| 179 | - | if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then |
| 179 | + | if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then |
| 180 | - | loudnesses[inst]=play |
| 180 | + | loudnesses[inst]=play |
| 181 | - | end |
| 181 | + | end |
| 182 | - | end |
| 182 | + | end |
| 183 | - | |
| 183 | + | |
| 184 | - | function GetClientProperty(inst,prop) |
| 184 | + | function GetClientProperty(inst,prop) |
| 185 | - | if(prop == 'PlaybackLoudness' and loudnesses[inst])then |
| 185 | + | if(prop == 'PlaybackLoudness' and loudnesses[inst])then |
| 186 | - | return loudnesses[inst] |
| 186 | + | return loudnesses[inst] |
| 187 | - | elseif(prop == 'PlaybackLoudness')then |
| 187 | + | elseif(prop == 'PlaybackLoudness')then |
| 188 | - | return Func:InvokeClient(Player,'RegSound',inst) |
| 188 | + | return Func:InvokeClient(Player,'RegSound',inst) |
| 189 | - | end |
| 189 | + | end |
| 190 | - | return Func:InvokeClient(Player,inst,prop) |
| 190 | + | return Func:InvokeClient(Player,inst,prop) |
| 191 | - | end |
| 191 | + | end |
| 192 | - | local oldGame = game; |
| 192 | + | local oldGame = game; |
| 193 | - | function GetFakePlayer() |
| 193 | + | function GetFakePlayer() |
| 194 | - | local oldPlayer = Player; |
| 194 | + | local oldPlayer = Player; |
| 195 | - | local fakePlayer = newproxy(true) |
| 195 | + | local fakePlayer = newproxy(true) |
| 196 | - | getmetatable(fakePlayer).__index = function(s,i) |
| 196 | + | getmetatable(fakePlayer).__index = function(s,i) |
| 197 | - | if(i == 'GetMouse')then |
| 197 | + | if(i == 'GetMouse')then |
| 198 | - | return function() return m; end |
| 198 | + | return function() return m; end |
| 199 | - | end |
| 199 | + | end |
| 200 | - | return Player[i] |
| 200 | + | return Player[i] |
| 201 | - | end |
| 201 | + | end |
| 202 | - | getmetatable(fakePlayer).__newindex = function(s,i,v) |
| 202 | + | getmetatable(fakePlayer).__newindex = function(s,i,v) |
| 203 | - | Player[i]=v |
| 203 | + | Player[i]=v |
| 204 | - | end |
| 204 | + | end |
| 205 | - | getmetatable(fakePlayer).__call=function(self,...) |
| 205 | + | getmetatable(fakePlayer).__call=function(self,...) |
| 206 | - | if(self == fakePlayer)then self = Player end |
| 206 | + | if(self == fakePlayer)then self = Player end |
| 207 | - | local wh = {...} |
| 207 | + | local wh = {...}
|
| 208 | - | local name = table.remove(wh,1) |
| 208 | + | local name = table.remove(wh,1) |
| 209 | - | for i,v in next, wh do |
| 209 | + | for i,v in next, wh do |
| 210 | - | wh[i]=v |
| 210 | + | wh[i]=v |
| 211 | - | end |
| 211 | + | end |
| 212 | - | if(name == 'GetMouse')then |
| 212 | + | if(name == 'GetMouse')then |
| 213 | - | return m; |
| 213 | + | return m; |
| 214 | - | end |
| 214 | + | end |
| 215 | - | return self(name,unpack(wh)) |
| 215 | + | return self(name,unpack(wh)) |
| 216 | - | end |
| 216 | + | end |
| 217 | - | getmetatable(fakePlayer).__namecall=function(self,...) |
| 217 | + | getmetatable(fakePlayer).__namecall=function(self,...) |
| 218 | - | if(self == fakePlayer)then self = Player end |
| 218 | + | if(self == fakePlayer)then self = Player end |
| 219 | - | local tuple={...} |
| 219 | + | local tuple={...}
|
| 220 | - | local name = table.remove(tuple,#tuple) |
| 220 | + | local name = table.remove(tuple,#tuple) |
| 221 | - | |
| 221 | + | |
| 222 | - | if(name == 'GetMouse')then |
| 222 | + | if(name == 'GetMouse')then |
| 223 | - | return m; |
| 223 | + | return m; |
| 224 | - | else |
| 224 | + | else |
| 225 | - | return self[name](self,unpack(tuple)) |
| 225 | + | return self[name](self,unpack(tuple)) |
| 226 | - | end |
| 226 | + | end |
| 227 | - | end |
| 227 | + | end |
| 228 | - | |
| 228 | + | |
| 229 | - | return fakePlayer |
| 229 | + | return fakePlayer |
| 230 | - | end |
| 230 | + | end |
| 231 | - | local oll = LoadLibrary; |
| 231 | + | local oll = LoadLibrary; |
| 232 | - | function LoadLibrary(libtard) |
| 232 | + | function LoadLibrary(libtard) |
| 233 | - | local libtarddestroyed=oll(libtard) |
| 233 | + | local libtarddestroyed=oll(libtard) |
| 234 | - | if(libtard=='RbxUtility')then |
| 234 | + | if(libtard=='RbxUtility')then |
| 235 | - | local library={Create=function(obj) |
| 235 | + | local library={Create=function(obj)
|
| 236 | - | local inst = Instance.new(obj) |
| 236 | + | local inst = Instance.new(obj) |
| 237 | - | return function(props) |
| 237 | + | return function(props) |
| 238 | - | for prop,valu in next, props do |
| 238 | + | for prop,valu in next, props do |
| 239 | - | inst[prop]=valu |
| 239 | + | inst[prop]=valu |
| 240 | - | end |
| 240 | + | end |
| 241 | - | return inst |
| 241 | + | return inst |
| 242 | - | end |
| 242 | + | end |
| 243 | - | end} |
| 243 | + | end} |
| 244 | - | setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end}) |
| 244 | + | setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
|
| 245 | - | |
| 245 | + | |
| 246 | - | return library |
| 246 | + | return library |
| 247 | - | else |
| 247 | + | else |
| 248 | - | return libtarddestroyed |
| 248 | + | return libtarddestroyed |
| 249 | - | end |
| 249 | + | end |
| 250 | - | end |
| 250 | + | end |
| 251 | - | fakePlayer = GetFakePlayer() |
| 251 | + | fakePlayer = GetFakePlayer() |
| 252 | - | local function GetService(s,i) |
| 252 | + | local function GetService(s,i) |
| 253 | - | local service = s:GetService(i) |
| 253 | + | local service = s:GetService(i) |
| 254 | - | if(i == 'Players')then |
| 254 | + | if(i == 'Players')then |
| 255 | - | local oldService = service; |
| 255 | + | local oldService = service; |
| 256 | - | local fakeService = newproxy(true) |
| 256 | + | local fakeService = newproxy(true) |
| 257 | - | getmetatable(fakeService).__index = function(s,i) |
| 257 | + | getmetatable(fakeService).__index = function(s,i) |
| 258 | - | if(s == fakeService)then s=oldService end |
| 258 | + | if(s == fakeService)then s=oldService end |
| 259 | - | if(i == 'LocalPlayer' or i == 'localPlayer')then |
| 259 | + | if(i == 'LocalPlayer' or i == 'localPlayer')then |
| 260 | - | return fakePlayer |
| 260 | + | return fakePlayer |
| 261 | - | elseif(i == 'oPlayer')then |
| 261 | + | elseif(i == 'oPlayer')then |
| 262 | - | return oPlayer |
| 262 | + | return oPlayer |
| 263 | - | else |
| 263 | + | else |
| 264 | - | return s[i] |
| 264 | + | return s[i] |
| 265 | - | end |
| 265 | + | end |
| 266 | - | end |
| 266 | + | end |
| 267 | - | getmetatable(fakeService).__newindex = function(s,i,v) |
| 267 | + | getmetatable(fakeService).__newindex = function(s,i,v) |
| 268 | - | if(s == fakeService)then s=oldService end |
| 268 | + | if(s == fakeService)then s=oldService end |
| 269 | - | s[i]=v |
| 269 | + | s[i]=v |
| 270 | - | end |
| 270 | + | end |
| 271 | - | getmetatable(fakeService).__call=function(self,...) |
| 271 | + | getmetatable(fakeService).__call=function(self,...) |
| 272 | - | if(self == fakeService)then self = oldService end |
| 272 | + | if(self == fakeService)then self = oldService end |
| 273 | - | local wh = {...} |
| 273 | + | local wh = {...}
|
| 274 | - | local name = table.remove(wh,1) |
| 274 | + | local name = table.remove(wh,1) |
| 275 | - | for i,v in next, wh do |
| 275 | + | for i,v in next, wh do |
| 276 | - | wh[i]=v |
| 276 | + | wh[i]=v |
| 277 | - | end |
| 277 | + | end |
| 278 | - | return self(name,unpack(wh)) |
| 278 | + | return self(name,unpack(wh)) |
| 279 | - | end |
| 279 | + | end |
| 280 | - | getmetatable(fakeService).__namecall=function(self,...) |
| 280 | + | getmetatable(fakeService).__namecall=function(self,...) |
| 281 | - | if(self == fakeService)then self = oldService end |
| 281 | + | if(self == fakeService)then self = oldService end |
| 282 | - | local tuple={...} |
| 282 | + | local tuple={...}
|
| 283 | - | local name = table.remove(tuple,#tuple) |
| 283 | + | local name = table.remove(tuple,#tuple) |
| 284 | - | |
| 284 | + | |
| 285 | - | return self[name](self,unpack(tuple)) |
| 285 | + | return self[name](self,unpack(tuple)) |
| 286 | - | end |
| 286 | + | end |
| 287 | - | getmetatable(fakeService).__metatable = 'gay' |
| 287 | + | getmetatable(fakeService).__metatable = 'gay' |
| 288 | - | return fakeService |
| 288 | + | return fakeService |
| 289 | - | elseif(i == 'RunService')then |
| 289 | + | elseif(i == 'RunService')then |
| 290 | - | local oldService = service; |
| 290 | + | local oldService = service; |
| 291 | - | local fakeService = newproxy(true) |
| 291 | + | local fakeService = newproxy(true) |
| 292 | - | getmetatable(fakeService).__index = function(s,i) |
| 292 | + | getmetatable(fakeService).__index = function(s,i) |
| 293 | - | if(s == fakeService)then s=oldService end |
| 293 | + | if(s == fakeService)then s=oldService end |
| 294 | - | return Run[i] or s[i] |
| 294 | + | return Run[i] or s[i] |
| 295 | - | end |
| 295 | + | end |
| 296 | - | getmetatable(fakeService).__newindex = function(s,i,v) |
| 296 | + | getmetatable(fakeService).__newindex = function(s,i,v) |
| 297 | - | if(s == fakeService)then s=oldService end |
| 297 | + | if(s == fakeService)then s=oldService end |
| 298 | - | s[i]=v |
| 298 | + | s[i]=v |
| 299 | - | end |
| 299 | + | end |
| 300 | - | getmetatable(fakeService).__call=function(self,...) |
| 300 | + | getmetatable(fakeService).__call=function(self,...) |
| 301 | - | if(self == fakeService)then self = oldService end |
| 301 | + | if(self == fakeService)then self = oldService end |
| 302 | - | local wh = {...} |
| 302 | + | local wh = {...}
|
| 303 | - | local name = table.remove(wh,1) |
| 303 | + | local name = table.remove(wh,1) |
| 304 | - | for i,v in next, wh do |
| 304 | + | for i,v in next, wh do |
| 305 | - | wh[i]=v |
| 305 | + | wh[i]=v |
| 306 | - | end |
| 306 | + | end |
| 307 | - | return self(name,unpack(wh)) |
| 307 | + | return self(name,unpack(wh)) |
| 308 | - | end |
| 308 | + | end |
| 309 | - | getmetatable(fakeService).__namecall=function(self,...) |
| 309 | + | getmetatable(fakeService).__namecall=function(self,...) |
| 310 | - | if(self == fakeService)then self = oldService end |
| 310 | + | if(self == fakeService)then self = oldService end |
| 311 | - | local tuple={...} |
| 311 | + | local tuple={...}
|
| 312 | - | local name = table.remove(tuple,#tuple) |
| 312 | + | local name = table.remove(tuple,#tuple) |
| 313 | - | |
| 313 | + | |
| 314 | - | return self[name](self,unpack(tuple)) |
| 314 | + | return self[name](self,unpack(tuple)) |
| 315 | - | end |
| 315 | + | end |
| 316 | - | getmetatable(fakeService).__metatable = 'gay' |
| 316 | + | getmetatable(fakeService).__metatable = 'gay' |
| 317 | - | return fakeService |
| 317 | + | return fakeService |
| 318 | - | elseif(i == 'UserInputService')then |
| 318 | + | elseif(i == 'UserInputService')then |
| 319 | - | return UsIS |
| 319 | + | return UsIS |
| 320 | - | elseif(i == 'ContextActionService')then |
| 320 | + | elseif(i == 'ContextActionService')then |
| 321 | - | return CoAS; |
| 321 | + | return CoAS; |
| 322 | - | else |
| 322 | + | else |
| 323 | - | return service |
| 323 | + | return service |
| 324 | - | end |
| 324 | + | end |
| 325 | - | end |
| 325 | + | end |
| 326 | - | |
| 326 | + | |
| 327 | - | local new = Instance.new; |
| 327 | + | local new = Instance.new; |
| 328 | - | Instance = {} |
| 328 | + | Instance = {}
|
| 329 | - | Instance.new = function(inst,obje) |
| 329 | + | Instance.new = function(inst,obje) |
| 330 | - | local lp = GetService(oldGame,'Players').localPlayer |
| 330 | + | local lp = GetService(oldGame,'Players').localPlayer |
| 331 | - | local instance = new(inst) |
| 331 | + | local instance = new(inst) |
| 332 | - | if(inst=='ObjectValue')then |
| 332 | + | if(inst=='ObjectValue')then |
| 333 | - | local fake = newproxy(true) |
| 333 | + | local fake = newproxy(true) |
| 334 | - | getmetatable(fake).__index=function(self,index) |
| 334 | + | getmetatable(fake).__index=function(self,index) |
| 335 | - | if(self==fake)then self=instance end |
| 335 | + | if(self==fake)then self=instance end |
| 336 | - | return self[index] |
| 336 | + | return self[index] |
| 337 | - | end |
| 337 | + | end |
| 338 | - | getmetatable(fake).__newindex=function(self,index,value) |
| 338 | + | getmetatable(fake).__newindex=function(self,index,value) |
| 339 | - | if(self==fake)then self=instance end |
| 339 | + | if(self==fake)then self=instance end |
| 340 | - | if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then |
| 340 | + | if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then |
| 341 | - | self[index]=oPlayer |
| 341 | + | self[index]=oPlayer |
| 342 | - | else |
| 342 | + | else |
| 343 | - | self[index]=value |
| 343 | + | self[index]=value |
| 344 | - | end |
| 344 | + | end |
| 345 | - | end |
| 345 | + | end |
| 346 | - | getmetatable(fake).__call=function(self,...) |
| 346 | + | getmetatable(fake).__call=function(self,...) |
| 347 | - | if(self == fake)then self = instance end |
| 347 | + | if(self == fake)then self = instance end |
| 348 | - | local wh = {...} |
| 348 | + | local wh = {...}
|
| 349 | - | local name = table.remove(wh,1) |
| 349 | + | local name = table.remove(wh,1) |
| 350 | - | for i,v in next, wh do |
| 350 | + | for i,v in next, wh do |
| 351 | - | if(v == fake)then v = instance end |
| 351 | + | if(v == fake)then v = instance end |
| 352 | - | wh[i]=v |
| 352 | + | wh[i]=v |
| 353 | - | end |
| 353 | + | end |
| 354 | - | return self(name,unpack(wh)) |
| 354 | + | return self(name,unpack(wh)) |
| 355 | - | end |
| 355 | + | end |
| 356 | - | getmetatable(fake). __namecall=function(self,...) |
| 356 | + | getmetatable(fake). __namecall=function(self,...) |
| 357 | - | if(self == fake)then self = instance end |
| 357 | + | if(self == fake)then self = instance end |
| 358 | - | local tuple={...} |
| 358 | + | local tuple={...}
|
| 359 | - | local name = table.remove(tuple,#tuple) |
| 359 | + | local name = table.remove(tuple,#tuple) |
| 360 | - | return self[name](self,unpack(tuple)) |
| 360 | + | return self[name](self,unpack(tuple)) |
| 361 | - | end |
| 361 | + | end |
| 362 | - | return fake |
| 362 | + | return fake |
| 363 | - | else |
| 363 | + | else |
| 364 | - | instance.Parent = obje |
| 364 | + | instance.Parent = obje |
| 365 | - | return instance; |
| 365 | + | return instance; |
| 366 | - | end |
| 366 | + | end |
| 367 | - | |
| 367 | + | |
| 368 | - | end |
| 368 | + | end |
| 369 | - | local serviceFunctions={ |
| 369 | + | local serviceFunctions={
|
| 370 | - | service=true, |
| 370 | + | service=true, |
| 371 | - | GetService=true, |
| 371 | + | GetService=true, |
| 372 | - | } |
| 372 | + | } |
| 373 | - | local fakeGame = newproxy(true) |
| 373 | + | local fakeGame = newproxy(true) |
| 374 | - | getmetatable(fakeGame).__index = function(s,i) |
| 374 | + | getmetatable(fakeGame).__index = function(s,i) |
| 375 | - | if(s == fakeGame)then s=oldGame end |
| 375 | + | if(s == fakeGame)then s=oldGame end |
| 376 | - | local serv = GetService(oldGame,i) |
| 376 | + | local serv = GetService(oldGame,i) |
| 377 | - | if serviceFunctions[i] then |
| 377 | + | if serviceFunctions[i] then |
| 378 | - | return GetService |
| 378 | + | return GetService |
| 379 | - | elseif(serv)then |
| 379 | + | elseif(serv)then |
| 380 | - | return serv |
| 380 | + | return serv |
| 381 | - | else |
| 381 | + | else |
| 382 | - | return s[i] |
| 382 | + | return s[i] |
| 383 | - | end |
| 383 | + | end |
| 384 | - | end |
| 384 | + | end |
| 385 | - | getmetatable(fakeGame).__newindex = function(s,i,v) |
| 385 | + | getmetatable(fakeGame).__newindex = function(s,i,v) |
| 386 | - | if(s == fakeGame)then s=oldGame end |
| 386 | + | if(s == fakeGame)then s=oldGame end |
| 387 | - | s[i]=v |
| 387 | + | s[i]=v |
| 388 | - | end |
| 388 | + | end |
| 389 | - | getmetatable(fakeGame).__call=function(self,...) |
| 389 | + | getmetatable(fakeGame).__call=function(self,...) |
| 390 | - | if(self == fakeGame)then self = oldGame end |
| 390 | + | if(self == fakeGame)then self = oldGame end |
| 391 | - | local wh = {...} |
| 391 | + | local wh = {...}
|
| 392 | - | local name = table.remove(wh,1) |
| 392 | + | local name = table.remove(wh,1) |
| 393 | - | for i,v in next, wh do |
| 393 | + | for i,v in next, wh do |
| 394 | - | if(v == fakeGame)then v = oldGame end |
| 394 | + | if(v == fakeGame)then v = oldGame end |
| 395 | - | wh[i]=v |
| 395 | + | wh[i]=v |
| 396 | - | end |
| 396 | + | end |
| 397 | - | if serviceFunctions[name] then |
| 397 | + | if serviceFunctions[name] then |
| 398 | - | return GetService(self,unpack(wh)) |
| 398 | + | return GetService(self,unpack(wh)) |
| 399 | - | else |
| 399 | + | else |
| 400 | - | return self(name,unpack(wh)) |
| 400 | + | return self(name,unpack(wh)) |
| 401 | - | end |
| 401 | + | end |
| 402 | - | end |
| 402 | + | end |
| 403 | - | getmetatable(fakeGame). __namecall=function(self,...) |
| 403 | + | getmetatable(fakeGame). __namecall=function(self,...) |
| 404 | - | if(self == fakeGame)then self = oldGame end |
| 404 | + | if(self == fakeGame)then self = oldGame end |
| 405 | - | local tuple={...} |
| 405 | + | local tuple={...}
|
| 406 | - | local name = table.remove(tuple,#tuple) |
| 406 | + | local name = table.remove(tuple,#tuple) |
| 407 | - | |
| 407 | + | |
| 408 | - | local funcToCall=self[name] |
| 408 | + | local funcToCall=self[name] |
| 409 | - | |
| 409 | + | |
| 410 | - | if serviceFunctions[name] then |
| 410 | + | if serviceFunctions[name] then |
| 411 | - | return GetService(self,unpack(tuple)) |
| 411 | + | return GetService(self,unpack(tuple)) |
| 412 | - | else |
| 412 | + | else |
| 413 | - | return self[name](self,unpack(tuple)) |
| 413 | + | return self[name](self,unpack(tuple)) |
| 414 | - | end |
| 414 | + | end |
| 415 | - | end |
| 415 | + | end |
| 416 | - | getmetatable(fakeGame).__metatable = 'gay' |
| 416 | + | getmetatable(fakeGame).__metatable = 'gay' |
| 417 | - | |
| 417 | + | |
| 418 | - | coroutine.wrap(function() |
| 418 | + | coroutine.wrap(function() |
| 419 | - | while true do |
| 419 | + | while true do |
| 420 | - | Run:TrigEvent('RenderStepped') |
| 420 | + | Run:TrigEvent('RenderStepped')
|
| 421 | - | swait() |
| 421 | + | swait() |
| 422 | - | end |
| 422 | + | end |
| 423 | - | end)() |
| 423 | + | end)() |
| 424 | - | game=fakeGame |
| 424 | + | game=fakeGame |
| 425 | - | UserInputService,ContextActionService = UsIS,CoAS |
| 425 | + | UserInputService,ContextActionService = UsIS,CoAS |
| 426 | end | |
| 427 | - | |
| 427 | + | |
| 428 | - | |
| 428 | + | |
| 429 | - | |
| 429 | + | |
| 430 | - | |
| 430 | + | |
| 431 | - | --[[local egui = script:WaitForChild'ETHGUI':Clone(); |
| 431 | + | --[[local egui = script:WaitForChild'ETHGUI':Clone(); |
| 432 | - | egui.Parent=game:GetService("Players").LocalPlayer:FindFirstChildOfClass'PlayerGui' |
| 432 | + | egui.Parent=game:GetService("Players").LocalPlayer:FindFirstChildOfClass'PlayerGui'
|
| 433 | - | |
| 433 | + | |
| 434 | - | local main = egui:WaitForChild'Main' |
| 434 | + | local main = egui:WaitForChild'Main' |
| 435 | - | local info = main:WaitForChild'InfoBG':WaitForChild'Info':WaitForChild'Text' |
| 435 | + | local info = main:WaitForChild'InfoBG':WaitForChild'Info':WaitForChild'Text' |
| 436 | - | local use = main:WaitForChild'Play':WaitForChild'Button' |
| 436 | + | local use = main:WaitForChild'Play':WaitForChild'Button' |
| 437 | - | info.Text=[[ |
| 437 | + | info.Text=[[ |
| 438 | - | Credit to Lunnekoo for StarGlitcher. |
| 438 | + | Credit to Lunnekoo for StarGlitcher. |
| 439 | - | |
| 439 | + | |
| 440 | - | CASSIDY, THE ETHEREAL GLITCHER. |
| 440 | + | CASSIDY, THE ETHEREAL GLITCHER. |
| 441 | - | PROTECTOR OF SOULS. |
| 441 | + | PROTECTOR OF SOULS. |
| 442 | - | |
| 442 | + | |
| 443 | - | DEVELOPERS: |
| 443 | + | DEVELOPERS: |
| 444 | - | mikel (SpectrumEeveez) -- LEAD DEV / OWNER |
| 444 | + | mikel (SpectrumEeveez) -- LEAD DEV / OWNER |
| 445 | - | wanTH092 (Filano) -- LEAD DEV / CO-OWNER |
| 445 | + | wanTH092 (Filano) -- LEAD DEV / CO-OWNER |
| 446 | - | KrYn0MoRe(AlmightyToast) -- CORE DEV (rip toasty he'll be missed) |
| 446 | + | KrYn0MoRe(AlmightyToast) -- CORE DEV (rip toasty he'll be missed) |
| 447 | - | DerpzDeNugget_YT -- Associated Dev |
| 447 | + | DerpzDeNugget_YT -- Associated Dev |
| 448 | - | KillerzTH -- Associated Dev |
| 448 | + | KillerzTH -- Associated Dev |
| 449 | - | Nebula_Zorua(aka mikel11114) -- SEMI-MAIN DEV |
| 449 | + | Nebula_Zorua(aka mikel11114) -- SEMI-MAIN DEV |
| 450 | - | Salvo_Starly(aka Blazey) -- GUI/SEMI-MAIN DEV |
| 450 | + | Salvo_Starly(aka Blazey) -- GUI/SEMI-MAIN DEV |
| 451 | - | UnfairGaming1(Very) -- Associated Dev |
| 451 | + | UnfairGaming1(Very) -- Associated Dev |
| 452 | - | RoStrap Devs -- Ripple effect |
| 452 | + | RoStrap Devs -- Ripple effect |
| 453 | - | |
| 453 | + | |
| 454 | - | CHANGELOGS: |
| 454 | + | CHANGELOGS: |
| 455 | - | KEEP THE CHANGELOGS OF PAST 3 UPDATES. |
| 455 | + | KEEP THE CHANGELOGS OF PAST 3 UPDATES. |
| 456 | - | + : ADDED FEATURE |
| 456 | + | + : ADDED FEATURE |
| 457 | - | - : REMOVED FEATURE |
| 457 | + | - : REMOVED FEATURE |
| 458 | - | * : CHANGE |
| 458 | + | * : CHANGE |
| 459 | - | # : FIXES |
| 459 | + | # : FIXES |
| 460 | - | / : NOTES |
| 460 | + | / : NOTES |
| 461 | - | -------------------------- |
| 461 | + | -------------------------- |
| 462 | - | mikel11114: |
| 462 | + | mikel11114: |
| 463 | - | * New Antecedent wings |
| 463 | + | * New Antecedent wings |
| 464 | - | |
| 464 | + | |
| 465 | - | / Check if your camshake is too shakey now or not. |
| 465 | + | / Check if your camshake is too shakey now or not. |
| 466 | - | -------------------------- |
| 466 | + | -------------------------- |
| 467 | - | SALVO_STARLY: |
| 467 | + | SALVO_STARLY: |
| 468 | - | + Added new boss chatfunc. Press H to show. |
| 468 | + | + Added new boss chatfunc. Press H to show. |
| 469 | - | * Make delaying time longer on showdamage. |
| 469 | + | * Make delaying time longer on showdamage. |
| 470 | - | # Fixed RecolorThing(pcall) |
| 470 | + | # Fixed RecolorThing(pcall) |
| 471 | - | -------------------------- |
| 471 | + | -------------------------- |
| 472 | - | mikel11114: |
| 472 | + | mikel11114: |
| 473 | - | * Updated EQUILIBRIUM's idle a bit |
| 473 | + | * Updated EQUILIBRIUM's idle a bit |
| 474 | - | * Updated the camshake. |
| 474 | + | * Updated the camshake. |
| 475 | - | * Updated wings. Same base, just slightly different. |
| 475 | + | * Updated wings. Same base, just slightly different. |
| 476 | - | - Removed COMMOTIAUS's X. |
| 476 | + | - Removed COMMOTIAUS's X. |
| 477 | - | * Removed un-needed code and coroutines |
| 477 | + | * Removed un-needed code and coroutines |
| 478 | - | * Nerfed Cursed Slash |
| 478 | + | * Nerfed Cursed Slash |
| 479 | - | |
| 479 | + | |
| 480 | - | / Check if your camshake is too shakey now or not. |
| 480 | + | / Check if your camshake is too shakey now or not. |
| 481 | - | |
| 481 | + | |
| 482 | - | |
| 482 | + | |
| 483 | - | |
| 483 | + | |
| 484 | - | local clickedButton=false; |
| 484 | + | local clickedButton=false; |
| 485 | - | local hovering=false |
| 485 | + | local hovering=false |
| 486 | - | |
| 486 | + | |
| 487 | - | if(game:service'RunService':IsClient())then |
| 487 | + | if(game:service'RunService':IsClient())then |
| 488 | - | local libraries={} |
| 488 | + | local libraries={}
|
| 489 | - | |
| 489 | + | |
| 490 | - | for _,v in next, script:WaitForChild'Libraries':children() do |
| 490 | + | for _,v in next, script:WaitForChild'Libraries':children() do |
| 491 | - | shared[v.Name:lower()]=v; |
| 491 | + | shared[v.Name:lower()]=v; |
| 492 | - | end |
| 492 | + | end |
| 493 | - | |
| 493 | + | |
| 494 | - | local pseudo=require(shared.pseudoinstance) |
| 494 | + | local pseudo=require(shared.pseudoinstance) |
| 495 | - | local rippl=pseudo.new'Rippler' |
| 495 | + | local rippl=pseudo.new'Rippler' |
| 496 | - | rippl.RippleTransparency = 0.3 |
| 496 | + | rippl.RippleTransparency = 0.3 |
| 497 | - | rippl.Parent = use |
| 497 | + | rippl.Parent = use |
| 498 | - | main:TweenPosition(UDim2.new(.165,0,.288,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,2) |
| 498 | + | main:TweenPosition(UDim2.new(.165,0,.288,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,2) |
| 499 | - | |
| 499 | + | |
| 500 | - | use.InputBegan:connect(function(io) |
| 500 | + | use.InputBegan:connect(function(io) |
| 501 | - | if(io.UserInputType==Enum.UserInputType.MouseButton1)then |
| 501 | + | if(io.UserInputType==Enum.UserInputType.MouseButton1)then |
| 502 | - | rippl:Down(io.Position.X,io.Position.Y) |
| 502 | + | rippl:Down(io.Position.X,io.Position.Y) |
| 503 | - | elseif(io.UserInputType==Enum.UserInputType.MouseMovement)then |
| 503 | + | elseif(io.UserInputType==Enum.UserInputType.MouseMovement)then |
| 504 | - | hovering=true |
| 504 | + | hovering=true |
| 505 | - | use.Size=UDim2.new(1,0,1,0) |
| 505 | + | use.Size=UDim2.new(1,0,1,0) |
| 506 | - | use.Position=UDim2.new(0,0,0,0) |
| 506 | + | use.Position=UDim2.new(0,0,0,0) |
| 507 | - | use.BackgroundColor3 = Color3.fromRGB(0,200,0) |
| 507 | + | use.BackgroundColor3 = Color3.fromRGB(0,200,0) |
| 508 | - | end |
| 508 | + | end |
| 509 | - | end) |
| 509 | + | end) |
| 510 | - | |
| 510 | + | |
| 511 | - | use.InputEnded:connect(function(io) |
| 511 | + | use.InputEnded:connect(function(io) |
| 512 | - | rippl:Up() |
| 512 | + | rippl:Up() |
| 513 | - | if(io.UserInputType==Enum.UserInputType.MouseButton1 and hovering)then clickedButton=true end |
| 513 | + | if(io.UserInputType==Enum.UserInputType.MouseButton1 and hovering)then clickedButton=true end |
| 514 | - | if(io.UserInputType==Enum.UserInputType.MouseMovement)then |
| 514 | + | if(io.UserInputType==Enum.UserInputType.MouseMovement)then |
| 515 | - | hovering=false |
| 515 | + | hovering=false |
| 516 | - | use.Size=UDim2.new(.973,0,1,0) |
| 516 | + | use.Size=UDim2.new(.973,0,1,0) |
| 517 | - | use.Position=UDim2.new(0.027,0,0,0) |
| 517 | + | use.Position=UDim2.new(0.027,0,0,0) |
| 518 | - | use.BackgroundColor3 = Color3.fromRGB(0,255,0) |
| 518 | + | use.BackgroundColor3 = Color3.fromRGB(0,255,0) |
| 519 | - | end |
| 519 | + | end |
| 520 | - | end) |
| 520 | + | end) |
| 521 | - | |
| 521 | + | |
| 522 | - | repeat |
| 522 | + | repeat |
| 523 | - | wait() |
| 523 | + | wait() |
| 524 | - | pcall(function() main.Title.Rotation=math.rad(45*math.sin(time()*2)) end) |
| 524 | + | pcall(function() main.Title.Rotation=math.rad(45*math.sin(time()*2)) end) |
| 525 | - | local hue = (time()%360)*30 |
| 525 | + | local hue = (time()%360)*30 |
| 526 | - | if(hue/360 >= 1)then |
| 526 | + | if(hue/360 >= 1)then |
| 527 | - | hue = hue - math.floor(hue/360)*360 |
| 527 | + | hue = hue - math.floor(hue/360)*360 |
| 528 | - | end |
| 528 | + | end |
| 529 | - | pcall(function() main.Title.TextColor3 = Color3.fromHSV(hue/360,1,1) end) |
| 529 | + | pcall(function() main.Title.TextColor3 = Color3.fromHSV(hue/360,1,1) end) |
| 530 | - | until clickedButton |
| 530 | + | until clickedButton |
| 531 | - | main:TweenPosition(UDim2.new(1,0,.288,0),Enum.EasingDirection.In,Enum.EasingStyle.Back,1,true,function() |
| 531 | + | main:TweenPosition(UDim2.new(1,0,.288,0),Enum.EasingDirection.In,Enum.EasingStyle.Back,1,true,function() |
| 532 | - | egui:destroy() |
| 532 | + | egui:destroy() |
| 533 | - | end) |
| 533 | + | end) |
| 534 | - | else |
| 534 | + | else |
| 535 | - | local rem = Instance.new("RemoteEvent") |
| 535 | + | local rem = Instance.new("RemoteEvent")
|
| 536 | - | rem.Name = "Clickie" |
| 536 | + | rem.Name = "Clickie" |
| 537 | - | rem.OnServerEvent:connect(function(plr) |
| 537 | + | rem.OnServerEvent:connect(function(plr) |
| 538 | - | if(plr.Name==game:service'Players'.localPlayer.Name)then |
| 538 | + | if(plr.Name==game:service'Players'.localPlayer.Name)then |
| 539 | - | print'fired' |
| 539 | + | print'fired' |
| 540 | - | clickedButton=true |
| 540 | + | clickedButton=true |
| 541 | - | rem:destroy() |
| 541 | + | rem:destroy() |
| 542 | - | game:service'Debris':AddItem(egui,3) |
| 542 | + | game:service'Debris':AddItem(egui,3) |
| 543 | - | end |
| 543 | + | end |
| 544 | - | end) |
| 544 | + | end) |
| 545 | - | script:WaitForChild'Libraries'.Parent = egui |
| 545 | + | script:WaitForChild'Libraries'.Parent = egui |
| 546 | - | rem.Parent=egui |
| 546 | + | rem.Parent=egui |
| 547 | - | egui:WaitForChild'EthGUICode'.Disabled=false |
| 547 | + | egui:WaitForChild'EthGUICode'.Disabled=false |
| 548 | - | repeat wait() print(clickedButton) until clickedButton |
| 548 | + | repeat wait() print(clickedButton) until clickedButton |
| 549 | - | end]] |
| 549 | + | end]] |
| 550 | - | |
| 550 | + | |
| 551 | - | |
| 551 | + | |
| 552 | - | |
| 552 | + | |
| 553 | - | NewInstance = function(instance,parent,properties) |
| 553 | + | NewInstance = function(instance,parent,properties) |
| 554 | - | local inst = Instance.new(instance) |
| 554 | + | local inst = Instance.new(instance) |
| 555 | - | inst.Parent = parent |
| 555 | + | inst.Parent = parent |
| 556 | - | if(properties)then |
| 556 | + | if(properties)then |
| 557 | - | for i,v in next, properties do |
| 557 | + | for i,v in next, properties do |
| 558 | - | pcall(function() inst[i] = v end) |
| 558 | + | pcall(function() inst[i] = v end) |
| 559 | - | end |
| 559 | + | end |
| 560 | - | end |
| 560 | + | end |
| 561 | - | return inst; |
| 561 | + | return inst; |
| 562 | end | |
| 563 | - | -- Script -- |
| 563 | + | -- Script -- |
| 564 | - | |
| 564 | + | |
| 565 | - | plr = game:GetService("Players").LocalPlayer |
| 565 | + | plr = game:GetService("Players").LocalPlayer
|
| 566 | - | Player = plr |
| 566 | + | Player = plr |
| 567 | - | char = plr.Character |
| 567 | + | char = plr.Character |
| 568 | - | hum = char.Humanoid |
| 568 | + | hum = char.Humanoid |
| 569 | - | mouse = plr:GetMouse() |
| 569 | + | mouse = plr:GetMouse() |
| 570 | - | local cam = game.Workspace.CurrentCamera |
| 570 | + | local cam = game.Workspace.CurrentCamera |
| 571 | - | Camera = cam |
| 571 | + | Camera = cam |
| 572 | - | local CamInterrupt = false |
| 572 | + | local CamInterrupt = false |
| 573 | - | local TwoD = false |
| 573 | + | local TwoD = false |
| 574 | - | local TargetInfo = {nil, nil} |
| 574 | + | local TargetInfo = {nil, nil}
|
| 575 | - | cam.CameraType = "Custom" |
| 575 | + | cam.CameraType = "Custom" |
| 576 | - | t = char.Torso |
| 576 | + | t = char.Torso |
| 577 | - | h = char.Head |
| 577 | + | h = char.Head |
| 578 | - | ra = char["Right Arm"] |
| 578 | + | ra = char["Right Arm"] |
| 579 | - | la = char["Left Arm"] |
| 579 | + | la = char["Left Arm"] |
| 580 | - | rl = char["Right Leg"] |
| 580 | + | rl = char["Right Leg"] |
| 581 | - | ll = char["Left Leg"] |
| 581 | + | ll = char["Left Leg"] |
| 582 | - | tors = char.Torso |
| 582 | + | tors = char.Torso |
| 583 | - | lleg = char["Left Leg"] |
| 583 | + | lleg = char["Left Leg"] |
| 584 | - | root = char.HumanoidRootPart |
| 584 | + | root = char.HumanoidRootPart |
| 585 | - | hed = char.Head |
| 585 | + | hed = char.Head |
| 586 | - | rleg = char["Right Leg"] |
| 586 | + | rleg = char["Right Leg"] |
| 587 | - | rarm = char["Right Arm"] |
| 587 | + | rarm = char["Right Arm"] |
| 588 | - | larm = char["Left Arm"] |
| 588 | + | larm = char["Left Arm"] |
| 589 | - | radian = math.rad |
| 589 | + | radian = math.rad |
| 590 | - | random = math.random |
| 590 | + | random = math.random |
| 591 | - | Vec3 = Vector3.new |
| 591 | + | Vec3 = Vector3.new |
| 592 | - | Inst = Instance.new |
| 592 | + | Inst = Instance.new |
| 593 | - | cFrame = CFrame.new |
| 593 | + | cFrame = CFrame.new |
| 594 | - | Euler = CFrame.fromEulerAnglesXYZ |
| 594 | + | Euler = CFrame.fromEulerAnglesXYZ |
| 595 | - | vt = Vector3.new |
| 595 | + | vt = Vector3.new |
| 596 | - | bc = BrickColor.new |
| 596 | + | bc = BrickColor.new |
| 597 | - | br = BrickColor.random |
| 597 | + | br = BrickColor.random |
| 598 | - | it = Instance.new |
| 598 | + | it = Instance.new |
| 599 | - | cf = CFrame.new |
| 599 | + | cf = CFrame.new |
| 600 | - | local Player_Size = 0 |
| 600 | + | local Player_Size = 0 |
| 601 | - | cam = game.Workspace.CurrentCamera |
| 601 | + | cam = game.Workspace.CurrentCamera |
| 602 | - | CF = CFrame.new |
| 602 | + | CF = CFrame.new |
| 603 | - | angles = CFrame.Angles |
| 603 | + | angles = CFrame.Angles |
| 604 | - | attack = false |
| 604 | + | attack = false |
| 605 | - | Euler = CFrame.fromEulerAnglesXYZ |
| 605 | + | Euler = CFrame.fromEulerAnglesXYZ |
| 606 | - | Rad = math.rad |
| 606 | + | Rad = math.rad |
| 607 | - | IT = Instance.new |
| 607 | + | IT = Instance.new |
| 608 | - | BrickC = BrickColor.new |
| 608 | + | BrickC = BrickColor.new |
| 609 | - | Cos = math.cos |
| 609 | + | Cos = math.cos |
| 610 | - | Acos = math.acos |
| 610 | + | Acos = math.acos |
| 611 | - | Sin = math.sin |
| 611 | + | Sin = math.sin |
| 612 | - | Asin = math.asin |
| 612 | + | Asin = math.asin |
| 613 | - | Abs = math.abs |
| 613 | + | Abs = math.abs |
| 614 | - | Mrandom = math.random |
| 614 | + | Mrandom = math.random |
| 615 | - | Floor = math.floor |
| 615 | + | Floor = math.floor |
| 616 | - | IT = Instance.new |
| 616 | + | IT = Instance.new |
| 617 | - | CF = CFrame.new |
| 617 | + | CF = CFrame.new |
| 618 | - | VT = Vector3.new |
| 618 | + | VT = Vector3.new |
| 619 | - | RAD = math.rad |
| 619 | + | RAD = math.rad |
| 620 | - | C3 = Color3.new |
| 620 | + | C3 = Color3.new |
| 621 | - | UD2 = UDim2.new |
| 621 | + | UD2 = UDim2.new |
| 622 | - | BRICKC = BrickColor.new |
| 622 | + | BRICKC = BrickColor.new |
| 623 | - | ANGLES = CFrame.Angles |
| 623 | + | ANGLES = CFrame.Angles |
| 624 | - | EULER = CFrame.fromEulerAnglesXYZ |
| 624 | + | EULER = CFrame.fromEulerAnglesXYZ |
| 625 | - | COS = math.cos |
| 625 | + | COS = math.cos |
| 626 | - | ACOS = math.acos |
| 626 | + | ACOS = math.acos |
| 627 | - | SIN = math.sin |
| 627 | + | SIN = math.sin |
| 628 | - | ASIN = math.asin |
| 628 | + | ASIN = math.asin |
| 629 | - | ABS = math.abs |
| 629 | + | ABS = math.abs |
| 630 | - | MRANDOM = math.random |
| 630 | + | MRANDOM = math.random |
| 631 | - | FLOOR = math.floor |
| 631 | + | FLOOR = math.floor |
| 632 | - | local SINE = 0 |
| 632 | + | local SINE = 0 |
| 633 | - | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
| 633 | + | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
| 634 | - | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
| 634 | + | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
| 635 | - | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
| 635 | + | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
| 636 | - | local ModeOfGlitch = 1 |
| 636 | + | local ModeOfGlitch = 1 |
| 637 | - | CF = CFrame.new |
| 637 | + | CF = CFrame.new |
| 638 | - | local hed = char.Head |
| 638 | + | local hed = char.Head |
| 639 | - | local root = char.HumanoidRootPart |
| 639 | + | local root = char.HumanoidRootPart |
| 640 | - | local rootj = root.RootJoint |
| 640 | + | local rootj = root.RootJoint |
| 641 | - | local tors = char.Torso |
| 641 | + | local tors = char.Torso |
| 642 | - | Player_Size = 1 |
| 642 | + | Player_Size = 1 |
| 643 | - | Cos = math.cos |
| 643 | + | Cos = math.cos |
| 644 | - | Sin = math.sin |
| 644 | + | Sin = math.sin |
| 645 | - | Rad = math.rad |
| 645 | + | Rad = math.rad |
| 646 | - | CF = CFrame.new |
| 646 | + | CF = CFrame.new |
| 647 | - | local DoDamage = true |
| 647 | + | local DoDamage = true |
| 648 | - | local FlyingTypes = false |
| 648 | + | local FlyingTypes = false |
| 649 | - | local visWings={0,0,0,0,0,0} |
| 649 | + | local visWings={0,0,0,0,0,0}
|
| 650 | - | |
| 650 | + | |
| 651 | - | local Booleans = { |
| 651 | + | local Booleans = {
|
| 652 | - | CamFollow = true, |
| 652 | + | CamFollow = true, |
| 653 | - | GyroUse = true |
| 653 | + | GyroUse = true |
| 654 | - | } |
| 654 | + | } |
| 655 | - | |
| 655 | + | |
| 656 | - | function lerp(object, newCFrame, alpha) |
| 656 | + | function lerp(object, newCFrame, alpha) |
| 657 | - | return object:lerp(newCFrame, alpha) |
| 657 | + | return object:lerp(newCFrame, alpha) |
| 658 | end | |
| 659 | - | |
| 659 | + | |
| 660 | - | local Directer = Inst("BodyGyro", root) |
| 660 | + | local Directer = Inst("BodyGyro", root)
|
| 661 | - | Directer.MaxTorque = Vec3(0, 0, 0) |
| 661 | + | Directer.MaxTorque = Vec3(0, 0, 0) |
| 662 | - | Directer.P = 600000 |
| 662 | + | Directer.P = 600000 |
| 663 | - | local CPart = Inst("Part") |
| 663 | + | local CPart = Inst("Part")
|
| 664 | - | CPart.Anchored = true |
| 664 | + | CPart.Anchored = true |
| 665 | - | CPart.CanCollide = false |
| 665 | + | CPart.CanCollide = false |
| 666 | - | CPart.Locked = true |
| 666 | + | CPart.Locked = true |
| 667 | - | CPart.Transparency = 1 |
| 667 | + | CPart.Transparency = 1 |
| 668 | - | |
| 668 | + | |
| 669 | - | |
| 669 | + | |
| 670 | - | |
| 670 | + | |
| 671 | - | local CRAZED = false |
| 671 | + | local CRAZED = false |
| 672 | - | local rainbowmode = false |
| 672 | + | local rainbowmode = false |
| 673 | - | local chaosmode = false |
| 673 | + | local chaosmode = false |
| 674 | - | local Error = false |
| 674 | + | local Error = false |
| 675 | - | local unstablemode = false |
| 675 | + | local unstablemode = false |
| 676 | - | local MAINRUINCOLOR = BrickColor.new("Bright bluish green") |
| 676 | + | local MAINRUINCOLOR = BrickColor.new("Bright bluish green")
|
| 677 | - | local SECONDRUINCOLOR = BrickColor.new("Pastel blue-green") |
| 677 | + | local SECONDRUINCOLOR = BrickColor.new("Pastel blue-green")
|
| 678 | - | |
| 678 | + | |
| 679 | - | local cp="2071274388" |
| 679 | + | local cp="2071274388" |
| 680 | - | local kan = Instance.new("Sound",Torso) |
| 680 | + | local kan = Instance.new("Sound",Torso)
|
| 681 | - | kan.Volume = 1.25 |
| 681 | + | kan.Volume = 1.25 |
| 682 | - | kan.TimePosition = 0 |
| 682 | + | kan.TimePosition = 0 |
| 683 | - | kan.PlaybackSpeed = 1 |
| 683 | + | kan.PlaybackSpeed = 1 |
| 684 | - | kan.Pitch = 1 |
| 684 | + | kan.Pitch = 1 |
| 685 | - | kan.SoundId = "rbxassetid://2071274388" |
| 685 | + | kan.SoundId = "rbxassetid://2071274388" |
| 686 | - | kan.Name = "wrecked" |
| 686 | + | kan.Name = "wrecked" |
| 687 | - | kan.Looped = true |
| 687 | + | kan.Looped = true |
| 688 | - | kan:Play() |
| 688 | + | kan:Play() |
| 689 | - | |
| 689 | + | |
| 690 | - | local currentThemePlaying = kan.SoundId |
| 690 | + | local currentThemePlaying = kan.SoundId |
| 691 | - | local currentPitch = kan.Pitch |
| 691 | + | local currentPitch = kan.Pitch |
| 692 | - | local currentVol = kan.Volume |
| 692 | + | local currentVol = kan.Volume |
| 693 | - | function newTheme(ID,timepos,pitch,vol) |
| 693 | + | function newTheme(ID,timepos,pitch,vol) |
| 694 | - | local kanz = kan |
| 694 | + | local kanz = kan |
| 695 | - | --kanz:Stop() |
| 695 | + | --kanz:Stop() |
| 696 | - | kanz.Volume = vol |
| 696 | + | kanz.Volume = vol |
| 697 | - | --kanz.TimePosition = timepos |
| 697 | + | --kanz.TimePosition = timepos |
| 698 | - | kanz.PlaybackSpeed = pitch |
| 698 | + | kanz.PlaybackSpeed = pitch |
| 699 | - | kanz.Pitch = pitch |
| 699 | + | kanz.Pitch = pitch |
| 700 | - | kanz.SoundId = ID |
| 700 | + | kanz.SoundId = ID |
| 701 | - | kanz.Name = "wrecked" |
| 701 | + | kanz.Name = "wrecked" |
| 702 | - | kanz.Looped = true |
| 702 | + | kanz.Looped = true |
| 703 | - | currentThemePlaying = kanz.SoundId |
| 703 | + | currentThemePlaying = kanz.SoundId |
| 704 | - | currentVol = kanz.Volume |
| 704 | + | currentVol = kanz.Volume |
| 705 | - | currentPitch = kanz.Pitch |
| 705 | + | currentPitch = kanz.Pitch |
| 706 | end | |
| 707 | - | |
| 707 | + | |
| 708 | - | |
| 708 | + | |
| 709 | - | function newThemeCust(ID,timepos,pitch,vol) |
| 709 | + | function newThemeCust(ID,timepos,pitch,vol) |
| 710 | - | local kanz = kan |
| 710 | + | local kanz = kan |
| 711 | - | kanz:Stop() |
| 711 | + | kanz:Stop() |
| 712 | - | kanz.Volume = vol |
| 712 | + | kanz.Volume = vol |
| 713 | - | kanz.TimePosition = timepos |
| 713 | + | kanz.TimePosition = timepos |
| 714 | - | kanz.PlaybackSpeed = pitch |
| 714 | + | kanz.PlaybackSpeed = pitch |
| 715 | - | kanz.Pitch = pitch |
| 715 | + | kanz.Pitch = pitch |
| 716 | - | kanz.SoundId = ID |
| 716 | + | kanz.SoundId = ID |
| 717 | - | kanz.Name = "wrecked" |
| 717 | + | kanz.Name = "wrecked" |
| 718 | - | kanz.Looped = true |
| 718 | + | kanz.Looped = true |
| 719 | - | currentThemePlaying = kanz.SoundId |
| 719 | + | currentThemePlaying = kanz.SoundId |
| 720 | - | currentVol = kanz.Volume |
| 720 | + | currentVol = kanz.Volume |
| 721 | - | currentPitch = kanz.Pitch |
| 721 | + | currentPitch = kanz.Pitch |
| 722 | - | kanz:Play() |
| 722 | + | kanz:Play() |
| 723 | end | |
| 724 | - | |
| 724 | + | |
| 725 | - | local mutedtog = false |
| 725 | + | local mutedtog = false |
| 726 | - | |
| 726 | + | |
| 727 | - | ArtificialHB = Instance.new("BindableEvent", script) |
| 727 | + | ArtificialHB = Instance.new("BindableEvent", script)
|
| 728 | - | ArtificialHB.Name = "ArtificialHB" |
| 728 | + | ArtificialHB.Name = "ArtificialHB" |
| 729 | - | |
| 729 | + | |
| 730 | - | script:WaitForChild("ArtificialHB") |
| 730 | + | script:WaitForChild("ArtificialHB")
|
| 731 | - | Frame_Speed = 1 / 60 |
| 731 | + | Frame_Speed = 1 / 60 |
| 732 | - | frame = Frame_Speed |
| 732 | + | frame = Frame_Speed |
| 733 | - | tf = 0 |
| 733 | + | tf = 0 |
| 734 | - | allowframeloss = false |
| 734 | + | allowframeloss = false |
| 735 | - | tossremainder = false |
| 735 | + | tossremainder = false |
| 736 | - | lastframe = tick() |
| 736 | + | lastframe = tick() |
| 737 | - | script.ArtificialHB:Fire() |
| 737 | + | script.ArtificialHB:Fire() |
| 738 | - | |
| 738 | + | |
| 739 | - | game:GetService("RunService").Heartbeat:connect(function(s, p) |
| 739 | + | game:GetService("RunService").Heartbeat:connect(function(s, p)
|
| 740 | - | tf = tf + s |
| 740 | + | tf = tf + s |
| 741 | - | if tf >= frame then |
| 741 | + | if tf >= frame then |
| 742 | - | if allowframeloss then |
| 742 | + | if allowframeloss then |
| 743 | - | script.ArtificialHB:Fire() |
| 743 | + | script.ArtificialHB:Fire() |
| 744 | - | lastframe = tick() |
| 744 | + | lastframe = tick() |
| 745 | - | else |
| 745 | + | else |
| 746 | - | for i = 1, math.floor(tf / frame) do |
| 746 | + | for i = 1, math.floor(tf / frame) do |
| 747 | - | script.ArtificialHB:Fire() |
| 747 | + | script.ArtificialHB:Fire() |
| 748 | - | end |
| 748 | + | end |
| 749 | - | lastframe = tick() |
| 749 | + | lastframe = tick() |
| 750 | - | end |
| 750 | + | end |
| 751 | - | if tossremainder then |
| 751 | + | if tossremainder then |
| 752 | - | tf = 0 |
| 752 | + | tf = 0 |
| 753 | - | else |
| 753 | + | else |
| 754 | - | tf = tf - frame * math.floor(tf / frame) |
| 754 | + | tf = tf - frame * math.floor(tf / frame) |
| 755 | - | end |
| 755 | + | end |
| 756 | - | end |
| 756 | + | end |
| 757 | - | end) |
| 757 | + | end) |
| 758 | - | |
| 758 | + | |
| 759 | - | ------------------ |
| 759 | + | ------------------ |
| 760 | - | function swait(num) |
| 760 | + | function swait(num) |
| 761 | - | if num == 0 or num == nil then |
| 761 | + | if num == 0 or num == nil then |
| 762 | - | ArtificialHB.Event:wait() |
| 762 | + | ArtificialHB.Event:wait() |
| 763 | - | else |
| 763 | + | else |
| 764 | - | for i = 1, num do |
| 764 | + | for i = 1, num do |
| 765 | - | ArtificialHB.Event:wait() |
| 765 | + | ArtificialHB.Event:wait() |
| 766 | - | end |
| 766 | + | end |
| 767 | - | end |
| 767 | + | end |
| 768 | end | |
| 769 | - | |
| 769 | + | |
| 770 | - | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance}) |
| 770 | + | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
|
| 771 | - | |
| 771 | + | |
| 772 | - | --// Require stuff \\-- |
| 772 | + | --// Require stuff \\-- |
| 773 | - | FXFolder=script.Effects |
| 773 | + | FXFolder=script.Effects |
| 774 | - | function CamShake(who,data) |
| 774 | + | function CamShake(who,data) |
| 775 | - | coroutine.wrap(function() |
| 775 | + | coroutine.wrap(function() |
| 776 | - | if(FXFolder:FindFirstChild'CamShake')then |
| 776 | + | if(FXFolder:FindFirstChild'CamShake')then |
| 777 | - | local cam = FXFolder.CamShake:Clone() |
| 777 | + | local cam = FXFolder.CamShake:Clone() |
| 778 | - | cam:WaitForChild'intensity'.Value = data.Intensity or 5 |
| 778 | + | cam:WaitForChild'intensity'.Value = data.Intensity or 5 |
| 779 | - | cam:WaitForChild'duration'.Value = data.Duration or 5 |
| 779 | + | cam:WaitForChild'duration'.Value = data.Duration or 5 |
| 780 | - | cam:WaitForChild'speed'.Value = data.Speed or 10; |
| 780 | + | cam:WaitForChild'speed'.Value = data.Speed or 10; |
| 781 | - | if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end |
| 781 | + | if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end
|
| 782 | - | cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5) |
| 782 | + | cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5) |
| 783 | - | cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5) |
| 783 | + | cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5) |
| 784 | - | cam:WaitForChild'startdist'.Value = data.DropDist or 25; |
| 784 | + | cam:WaitForChild'startdist'.Value = data.DropDist or 25; |
| 785 | - | cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150; |
| 785 | + | cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150; |
| 786 | - | |
| 786 | + | |
| 787 | - | cam.Parent = who |
| 787 | + | cam.Parent = who |
| 788 | - | wait() |
| 788 | + | wait() |
| 789 | - | cam.Disabled = false |
| 789 | + | cam.Disabled = false |
| 790 | - | end |
| 790 | + | end |
| 791 | - | end)() |
| 791 | + | end)() |
| 792 | end | |
| 793 | - | |
| 793 | + | |
| 794 | - | function CamShakeAll(data) |
| 794 | + | function CamShakeAll(data) |
| 795 | - | for _,v in next, game:service'Players':players() do |
| 795 | + | for _,v in next, game:service'Players':players() do |
| 796 | - | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data) |
| 796 | + | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data) |
| 797 | - | end |
| 797 | + | end |
| 798 | end | |
| 799 | - | |
| 799 | + | |
| 800 | - | |
| 800 | + | |
| 801 | - | local toggleTag = true |
| 801 | + | local toggleTag = true |
| 802 | - | local bilguit = Instance.new("BillboardGui", hed) |
| 802 | + | local bilguit = Instance.new("BillboardGui", hed)
|
| 803 | - | bilguit.Adornee = nil |
| 803 | + | bilguit.Adornee = nil |
| 804 | - | bilguit.Name = "ModeName" |
| 804 | + | bilguit.Name = "ModeName" |
| 805 | - | bilguit.Size = UDim2.new(4, 0, 1.2, 0) |
| 805 | + | bilguit.Size = UDim2.new(4, 0, 1.2, 0) |
| 806 | - | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) |
| 806 | + | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) |
| 807 | - | local modet = Instance.new("TextLabel", bilguit) |
| 807 | + | local modet = Instance.new("TextLabel", bilguit)
|
| 808 | - | modet.Size = UDim2.new(10/2, 0, 7/2, 0) |
| 808 | + | modet.Size = UDim2.new(10/2, 0, 7/2, 0) |
| 809 | - | modet.FontSize = "Size8" |
| 809 | + | modet.FontSize = "Size8" |
| 810 | - | modet.TextScaled = true |
| 810 | + | modet.TextScaled = true |
| 811 | - | modet.TextTransparency = 0 |
| 811 | + | modet.TextTransparency = 0 |
| 812 | - | modet.BackgroundTransparency = 1 |
| 812 | + | modet.BackgroundTransparency = 1 |
| 813 | - | modet.TextTransparency = 0 |
| 813 | + | modet.TextTransparency = 0 |
| 814 | - | modet.TextStrokeTransparency = 0 |
| 814 | + | modet.TextStrokeTransparency = 0 |
| 815 | - | modet.Font = "Antique" |
| 815 | + | modet.Font = "Antique" |
| 816 | - | modet.TextStrokeColor3 = Color3.new(1,0,0) |
| 816 | + | modet.TextStrokeColor3 = Color3.new(1,0,0) |
| 817 | - | modet.TextColor3 = Color3.new(0.25,0,0) |
| 817 | + | modet.TextColor3 = Color3.new(0.25,0,0) |
| 818 | - | modet.Text = "COMMOTIAUS" |
| 818 | + | modet.Text = "COMMOTIAUS" |
| 819 | - | |
| 819 | + | |
| 820 | - | |
| 820 | + | |
| 821 | - | function chatfunc(text,color,typet,font,timeex) |
| 821 | + | function chatfunc(text,color,typet,font,timeex) |
| 822 | - | local chat = coroutine.wrap(function() |
| 822 | + | local chat = coroutine.wrap(function() |
| 823 | - | if Character:FindFirstChild("TalkingBillBoard")~= nil then |
| 823 | + | if Character:FindFirstChild("TalkingBillBoard")~= nil then
|
| 824 | - | Character:FindFirstChild("TalkingBillBoard"):destroy() |
| 824 | + | Character:FindFirstChild("TalkingBillBoard"):destroy()
|
| 825 | end | |
| 826 | - | local naeeym2 = Instance.new("BillboardGui",Character) |
| 826 | + | local naeeym2 = Instance.new("BillboardGui",Character)
|
| 827 | - | naeeym2.Size = UDim2.new(0,100,0,40) |
| 827 | + | naeeym2.Size = UDim2.new(0,100,0,40) |
| 828 | - | naeeym2.StudsOffset = Vector3.new(0,3,0) |
| 828 | + | naeeym2.StudsOffset = Vector3.new(0,3,0) |
| 829 | - | naeeym2.Adornee = Character.Head |
| 829 | + | naeeym2.Adornee = Character.Head |
| 830 | - | naeeym2.Name = "TalkingBillBoard" |
| 830 | + | naeeym2.Name = "TalkingBillBoard" |
| 831 | - | local tecks2 = Instance.new("TextLabel",naeeym2) |
| 831 | + | local tecks2 = Instance.new("TextLabel",naeeym2)
|
| 832 | - | tecks2.BackgroundTransparency = 1 |
| 832 | + | tecks2.BackgroundTransparency = 1 |
| 833 | - | tecks2.BorderSizePixel = 0 |
| 833 | + | tecks2.BorderSizePixel = 0 |
| 834 | - | tecks2.Text = "" |
| 834 | + | tecks2.Text = "" |
| 835 | - | tecks2.Font = font |
| 835 | + | tecks2.Font = font |
| 836 | - | tecks2.TextSize = 30 |
| 836 | + | tecks2.TextSize = 30 |
| 837 | - | tecks2.TextStrokeTransparency = 0 |
| 837 | + | tecks2.TextStrokeTransparency = 0 |
| 838 | - | tecks2.TextColor3 = color |
| 838 | + | tecks2.TextColor3 = color |
| 839 | - | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
| 839 | + | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
| 840 | - | tecks2.Size = UDim2.new(1,0,0.5,0) |
| 840 | + | tecks2.Size = UDim2.new(1,0,0.5,0) |
| 841 | - | local tecks3 = Instance.new("TextLabel",naeeym2) |
| 841 | + | local tecks3 = Instance.new("TextLabel",naeeym2)
|
| 842 | - | tecks3.BackgroundTransparency = 1 |
| 842 | + | tecks3.BackgroundTransparency = 1 |
| 843 | - | tecks3.BorderSizePixel = 0 |
| 843 | + | tecks3.BorderSizePixel = 0 |
| 844 | - | tecks3.Text = "" |
| 844 | + | tecks3.Text = "" |
| 845 | - | tecks3.Font = font |
| 845 | + | tecks3.Font = font |
| 846 | - | tecks3.TextSize = 30 |
| 846 | + | tecks3.TextSize = 30 |
| 847 | - | tecks3.TextStrokeTransparency = 0 |
| 847 | + | tecks3.TextStrokeTransparency = 0 |
| 848 | - | if typet == "Inverted" then |
| 848 | + | if typet == "Inverted" then |
| 849 | - | tecks3.TextColor3 = Color3.new(0,0,0) |
| 849 | + | tecks3.TextColor3 = Color3.new(0,0,0) |
| 850 | - | tecks3.TextStrokeColor3 = color |
| 850 | + | tecks3.TextStrokeColor3 = color |
| 851 | - | elseif typet == "Normal" then |
| 851 | + | elseif typet == "Normal" then |
| 852 | - | tecks3.TextColor3 = color |
| 852 | + | tecks3.TextColor3 = color |
| 853 | - | tecks3.TextStrokeColor3 = Color3.new(0,0,0) |
| 853 | + | tecks3.TextStrokeColor3 = Color3.new(0,0,0) |
| 854 | end | |
| 855 | - | tecks3.Size = UDim2.new(1,0,0.5,0) |
| 855 | + | tecks3.Size = UDim2.new(1,0,0.5,0) |
| 856 | - | modet.TextTransparency = modet.TextTransparency + 1 |
| 856 | + | modet.TextTransparency = modet.TextTransparency + 1 |
| 857 | - | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 |
| 857 | + | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 |
| 858 | - | for i = 0, 74*timeex do |
| 858 | + | for i = 0, 74*timeex do |
| 859 | - | swait() |
| 859 | + | swait() |
| 860 | - | modet.TextTransparency = 1 |
| 860 | + | modet.TextTransparency = 1 |
| 861 | - | modet.TextStrokeTransparency = 1 |
| 861 | + | modet.TextStrokeTransparency = 1 |
| 862 | - | tecks2.Text = text |
| 862 | + | tecks2.Text = text |
| 863 | - | tecks3.Text = text |
| 863 | + | tecks3.Text = text |
| 864 | end | |
| 865 | - | local randomrot = math.random(1,2) |
| 865 | + | local randomrot = math.random(1,2) |
| 866 | - | if randomrot == 1 then |
| 866 | + | if randomrot == 1 then |
| 867 | - | for i = 1, 50 do |
| 867 | + | for i = 1, 50 do |
| 868 | - | swait() |
| 868 | + | swait() |
| 869 | - | tecks2.Text = text |
| 869 | + | tecks2.Text = text |
| 870 | - | tecks3.Text = text |
| 870 | + | tecks3.Text = text |
| 871 | - | modet.TextTransparency = modet.TextTransparency - .02 |
| 871 | + | modet.TextTransparency = modet.TextTransparency - .02 |
| 872 | - | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 |
| 872 | + | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 |
| 873 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 873 | + | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 874 | - | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
| 874 | + | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
| 875 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 875 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 876 | - | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
| 876 | + | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
| 877 | end | |
| 878 | - | elseif randomrot == 2 then |
| 878 | + | elseif randomrot == 2 then |
| 879 | - | for i = 1, 50 do |
| 879 | + | for i = 1, 50 do |
| 880 | - | swait() |
| 880 | + | swait() |
| 881 | - | tecks2.Text = text |
| 881 | + | tecks2.Text = text |
| 882 | - | tecks3.Text = text |
| 882 | + | tecks3.Text = text |
| 883 | - | modet.TextTransparency = modet.TextTransparency - .02 |
| 883 | + | modet.TextTransparency = modet.TextTransparency - .02 |
| 884 | - | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 |
| 884 | + | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 |
| 885 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 885 | + | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 886 | - | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
| 886 | + | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
| 887 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 887 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 888 | - | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
| 888 | + | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
| 889 | end | |
| 890 | end | |
| 891 | - | modet.TextTransparency = 0 |
| 891 | + | modet.TextTransparency = 0 |
| 892 | - | modet.TextStrokeTransparency = 0 |
| 892 | + | modet.TextStrokeTransparency = 0 |
| 893 | - | if toggleTag == false then |
| 893 | + | if toggleTag == false then |
| 894 | - | modet.TextTransparency = 1 |
| 894 | + | modet.TextTransparency = 1 |
| 895 | - | modet.TextStrokeTransparency = 1 |
| 895 | + | modet.TextStrokeTransparency = 1 |
| 896 | end | |
| 897 | - | naeeym2:Destroy() |
| 897 | + | naeeym2:Destroy() |
| 898 | - | end) |
| 898 | + | end) |
| 899 | - | chat() |
| 899 | + | chat() |
| 900 | end | |
| 901 | - | |
| 901 | + | |
| 902 | - | local rai = {"USER","User","USer","USEr","uSER","usER","useR","uSer","usEr","useR","PlAyEr","666"} |
| 902 | + | local rai = {"USER","User","USer","USEr","uSER","usER","useR","uSer","usEr","useR","PlAyEr","666"}
|
| 903 | - | |
| 903 | + | |
| 904 | - | function bosschatfunc(text,color,watval) |
| 904 | + | function bosschatfunc(text,color,watval) |
| 905 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do |
| 905 | + | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
|
| 906 | - | coroutine.resume(coroutine.create(function() |
| 906 | + | coroutine.resume(coroutine.create(function() |
| 907 | - | if v.PlayerGui:FindFirstChild("Dialog")~= nil then |
| 907 | + | if v.PlayerGui:FindFirstChild("Dialog")~= nil then
|
| 908 | - | v.PlayerGui:FindFirstChild("Dialog"):destroy() |
| 908 | + | v.PlayerGui:FindFirstChild("Dialog"):destroy()
|
| 909 | end | |
| 910 | - | local scrg = Instance.new("ScreenGui",v.PlayerGui) |
| 910 | + | local scrg = Instance.new("ScreenGui",v.PlayerGui)
|
| 911 | - | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1) |
| 911 | + | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
|
| 912 | - | scrg.Name = "Dialog" |
| 912 | + | scrg.Name = "Dialog" |
| 913 | - | local txtlb = Instance.new("TextLabel",scrg) |
| 913 | + | local txtlb = Instance.new("TextLabel",scrg)
|
| 914 | - | txtlb.Text = "" |
| 914 | + | txtlb.Text = "" |
| 915 | - | txtlb.Font = "Arcade" |
| 915 | + | txtlb.Font = "Arcade" |
| 916 | - | txtlb.TextColor3 = Color3.new(0,0,0) |
| 916 | + | txtlb.TextColor3 = Color3.new(0,0,0) |
| 917 | - | txtlb.TextStrokeTransparency = 0 |
| 917 | + | txtlb.TextStrokeTransparency = 0 |
| 918 | - | txtlb.BackgroundTransparency = 0.75 |
| 918 | + | txtlb.BackgroundTransparency = 0.75 |
| 919 | - | txtlb.BackgroundColor3 = Color3.new(0,0,0) |
| 919 | + | txtlb.BackgroundColor3 = Color3.new(0,0,0) |
| 920 | - | txtlb.TextStrokeColor3 = color |
| 920 | + | txtlb.TextStrokeColor3 = color |
| 921 | - | txtlb.TextScaled = true |
| 921 | + | txtlb.TextScaled = true |
| 922 | - | txtlb.Size = UDim2.new(1,0,0.25,0) |
| 922 | + | txtlb.Size = UDim2.new(1,0,0.25,0) |
| 923 | - | txtlb.TextXAlignment = "Left" |
| 923 | + | txtlb.TextXAlignment = "Left" |
| 924 | - | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) |
| 924 | + | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) |
| 925 | - | local txtlb2 = Instance.new("TextLabel",scrg) |
| 925 | + | local txtlb2 = Instance.new("TextLabel",scrg)
|
| 926 | - | txtlb2.Text = modet.Text.." USER:" |
| 926 | + | txtlb2.Text = modet.Text.." USER:" |
| 927 | - | txtlb2.Font = "Arcade" |
| 927 | + | txtlb2.Font = "Arcade" |
| 928 | - | txtlb2.TextColor3 = Color3.new(0,0,0) |
| 928 | + | txtlb2.TextColor3 = Color3.new(0,0,0) |
| 929 | - | txtlb2.TextStrokeTransparency = 0 |
| 929 | + | txtlb2.TextStrokeTransparency = 0 |
| 930 | - | txtlb2.BackgroundTransparency = 1 |
| 930 | + | txtlb2.BackgroundTransparency = 1 |
| 931 | - | txtlb2.TextStrokeColor3 = color |
| 931 | + | txtlb2.TextStrokeColor3 = color |
| 932 | - | txtlb2.TextSize = 40 |
| 932 | + | txtlb2.TextSize = 40 |
| 933 | - | txtlb2.Size = UDim2.new(1,0,0.25,0) |
| 933 | + | txtlb2.Size = UDim2.new(1,0,0.25,0) |
| 934 | - | txtlb2.TextXAlignment = "Left" |
| 934 | + | txtlb2.TextXAlignment = "Left" |
| 935 | - | txtlb2.Position = UDim2.new(0,0,1,0) |
| 935 | + | txtlb2.Position = UDim2.new(0,0,1,0) |
| 936 | - | local fvalen = 0.55 |
| 936 | + | local fvalen = 0.55 |
| 937 | - | local fval = -0.49 |
| 937 | + | local fval = -0.49 |
| 938 | - | local flol = 1.75 |
| 938 | + | local flol = 1.75 |
| 939 | - | local flil = 1.6 |
| 939 | + | local flil = 1.6 |
| 940 | - | for i = 0, 9 do |
| 940 | + | for i = 0, 9 do |
| 941 | - | swait() |
| 941 | + | swait() |
| 942 | - | fval = fval + 0.05 |
| 942 | + | fval = fval + 0.05 |
| 943 | - | flol = flol - 0.1 |
| 943 | + | flol = flol - 0.1 |
| 944 | - | flil = flil - 0.1 |
| 944 | + | flil = flil - 0.1 |
| 945 | - | txtlb.Text = "" |
| 945 | + | txtlb.Text = "" |
| 946 | - | txtlb.Position = UDim2.new(0,0,flol,0) |
| 946 | + | txtlb.Position = UDim2.new(0,0,flol,0) |
| 947 | - | txtlb2.Position = UDim2.new(0,0,flil,0) |
| 947 | + | txtlb2.Position = UDim2.new(0,0,flil,0) |
| 948 | - | end |
| 948 | + | end |
| 949 | - | txtlb.Text = text |
| 949 | + | txtlb.Text = text |
| 950 | - | wait(watval) |
| 950 | + | wait(watval) |
| 951 | - | local valinc = 0 |
| 951 | + | local valinc = 0 |
| 952 | - | for i = 0, 99 do |
| 952 | + | for i = 0, 99 do |
| 953 | - | swait() |
| 953 | + | swait() |
| 954 | - | valinc = valinc + 0.0001 |
| 954 | + | valinc = valinc + 0.0001 |
| 955 | - | flol = flol + valinc |
| 955 | + | flol = flol + valinc |
| 956 | - | flil = flil + valinc |
| 956 | + | flil = flil + valinc |
| 957 | - | txtlb.Rotation = txtlb.Rotation + valinc*20 |
| 957 | + | txtlb.Rotation = txtlb.Rotation + valinc*20 |
| 958 | - | txtlb2.Rotation = txtlb2.Rotation - valinc*50 |
| 958 | + | txtlb2.Rotation = txtlb2.Rotation - valinc*50 |
| 959 | - | txtlb.Position = UDim2.new(0,0,flol,0) |
| 959 | + | txtlb.Position = UDim2.new(0,0,flol,0) |
| 960 | - | txtlb2.Position = UDim2.new(0,0,flil,0) |
| 960 | + | txtlb2.Position = UDim2.new(0,0,flil,0) |
| 961 | - | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 |
| 961 | + | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 |
| 962 | - | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 |
| 962 | + | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 |
| 963 | - | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 |
| 963 | + | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 |
| 964 | - | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 |
| 964 | + | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 |
| 965 | - | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 |
| 965 | + | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 |
| 966 | end | |
| 967 | - | scrg:Destroy() |
| 967 | + | scrg:Destroy() |
| 968 | - | end)) |
| 968 | + | end)) |
| 969 | end | |
| 970 | end | |
| 971 | - | |
| 971 | + | |
| 972 | - | --[[ |
| 972 | + | --[[ |
| 973 | - | function CamShake(who,data) |
| 973 | + | function CamShake(who,data) |
| 974 | - | coroutine.wrap(function() |
| 974 | + | coroutine.wrap(function() |
| 975 | - | if(FXFolder:FindFirstChild'CamShake')then |
| 975 | + | if(FXFolder:FindFirstChild'CamShake')then |
| 976 | - | local cam = FXFolder.CamShake:Clone() |
| 976 | + | local cam = FXFolder.CamShake:Clone() |
| 977 | - | cam:WaitForChild'intensity'.Value = data.Intensity or 5 |
| 977 | + | cam:WaitForChild'intensity'.Value = data.Intensity or 5 |
| 978 | - | cam:WaitForChild'duration'.Value = data.Duration or 5 |
| 978 | + | cam:WaitForChild'duration'.Value = data.Duration or 5 |
| 979 | - | cam:WaitForChild'speed'.Value = data.Speed or 10; |
| 979 | + | cam:WaitForChild'speed'.Value = data.Speed or 10; |
| 980 | - | if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end |
| 980 | + | if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end
|
| 981 | - | cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5) |
| 981 | + | cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5) |
| 982 | - | cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5) |
| 982 | + | cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5) |
| 983 | - | cam:WaitForChild'startdist'.Value = data.DropDist or 25; |
| 983 | + | cam:WaitForChild'startdist'.Value = data.DropDist or 25; |
| 984 | - | cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150; |
| 984 | + | cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150; |
| 985 | - | |
| 985 | + | |
| 986 | - | cam.Parent = who |
| 986 | + | cam.Parent = who |
| 987 | - | wait() |
| 987 | + | wait() |
| 988 | - | cam.Disabled = false |
| 988 | + | cam.Disabled = false |
| 989 | - | end |
| 989 | + | end |
| 990 | - | end)() |
| 990 | + | end)() |
| 991 | end | |
| 992 | - | |
| 992 | + | |
| 993 | - | function CamShakeAll(data) |
| 993 | + | function CamShakeAll(data) |
| 994 | - | for _,v in next, game:service'Players':players() do |
| 994 | + | for _,v in next, game:service'Players':players() do |
| 995 | - | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data) |
| 995 | + | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data) |
| 996 | - | end |
| 996 | + | end |
| 997 | end | |
| 998 | - | --]] |
| 998 | + | --]] |
| 999 | - | function newbosschatfunc(text,color1,color2,delay) |
| 999 | + | function newbosschatfunc(text,color1,color2,delay) |
| 1000 | - | for _,v in next, game:service'Players':players() do |
| 1000 | + | for _,v in next, game:service'Players':players() do |
| 1001 | - | coroutine.wrap(function() |
| 1001 | + | coroutine.wrap(function() |
| 1002 | - | if(FXFolder:FindFirstChild'BossChat' and v.Character)then |
| 1002 | + | if(FXFolder:FindFirstChild'BossChat' and v.Character)then |
| 1003 | - | local cha = FXFolder.BossChat:Clone() |
| 1003 | + | local cha = FXFolder.BossChat:Clone() |
| 1004 | - | cha.Color1.Value=color1 |
| 1004 | + | cha.Color1.Value=color1 |
| 1005 | - | cha.Color2.Value=color2 |
| 1005 | + | cha.Color2.Value=color2 |
| 1006 | - | cha.Text.Value=text |
| 1006 | + | cha.Text.Value=text |
| 1007 | - | cha.Ghghghghgh.Value=delay |
| 1007 | + | cha.Ghghghghgh.Value=delay |
| 1008 | - | cha.Mode.Value=ModeOfGlitch |
| 1008 | + | cha.Mode.Value=ModeOfGlitch |
| 1009 | - | cha.ModeName.Value=modet.Text |
| 1009 | + | cha.ModeName.Value=modet.Text |
| 1010 | - | cha.Music.Value=kan |
| 1010 | + | cha.Music.Value=kan |
| 1011 | - | cha.Parent=v.Character |
| 1011 | + | cha.Parent=v.Character |
| 1012 | - | wait() |
| 1012 | + | wait() |
| 1013 | - | cha.Disabled = false |
| 1013 | + | cha.Disabled = false |
| 1014 | - | game:service'Debris':AddItem(cha,(delay/60)*4) |
| 1014 | + | game:service'Debris':AddItem(cha,(delay/60)*4) |
| 1015 | - | end |
| 1015 | + | end |
| 1016 | - | end)() |
| 1016 | + | end)() |
| 1017 | - | end |
| 1017 | + | end |
| 1018 | end | |
| 1019 | - | local Create = LoadLibrary("RbxUtility").Create |
| 1019 | + | local Create = LoadLibrary("RbxUtility").Create
|
| 1020 | - | |
| 1020 | + | |
| 1021 | - | CFuncs = { |
| 1021 | + | CFuncs = {
|
| 1022 | - | ["Part"] = { |
| 1022 | + | ["Part"] = {
|
| 1023 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 1023 | + | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 1024 | - | local Part = Create("Part"){ |
| 1024 | + | local Part = Create("Part"){
|
| 1025 | - | Parent = Parent, |
| 1025 | + | Parent = Parent, |
| 1026 | - | Reflectance = Reflectance, |
| 1026 | + | Reflectance = Reflectance, |
| 1027 | - | Transparency = Transparency, |
| 1027 | + | Transparency = Transparency, |
| 1028 | - | CanCollide = false, |
| 1028 | + | CanCollide = false, |
| 1029 | - | Locked = true, |
| 1029 | + | Locked = true, |
| 1030 | - | BrickColor = BrickColor.new(tostring(BColor)), |
| 1030 | + | BrickColor = BrickColor.new(tostring(BColor)), |
| 1031 | - | Name = Name, |
| 1031 | + | Name = Name, |
| 1032 | - | Size = Size, |
| 1032 | + | Size = Size, |
| 1033 | - | Material = Material, |
| 1033 | + | Material = Material, |
| 1034 | - | } |
| 1034 | + | } |
| 1035 | - | RemoveOutlines(Part) |
| 1035 | + | RemoveOutlines(Part) |
| 1036 | - | return Part |
| 1036 | + | return Part |
| 1037 | - | end; |
| 1037 | + | end; |
| 1038 | - | }; |
| 1038 | + | }; |
| 1039 | - | |
| 1039 | + | |
| 1040 | - | ["Mesh"] = { |
| 1040 | + | ["Mesh"] = {
|
| 1041 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1041 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1042 | - | local Msh = Create(Mesh){ |
| 1042 | + | local Msh = Create(Mesh){
|
| 1043 | - | Parent = Part, |
| 1043 | + | Parent = Part, |
| 1044 | - | Offset = OffSet, |
| 1044 | + | Offset = OffSet, |
| 1045 | - | Scale = Scale, |
| 1045 | + | Scale = Scale, |
| 1046 | - | } |
| 1046 | + | } |
| 1047 | - | if Mesh == "SpecialMesh" then |
| 1047 | + | if Mesh == "SpecialMesh" then |
| 1048 | - | Msh.MeshType = MeshType |
| 1048 | + | Msh.MeshType = MeshType |
| 1049 | - | Msh.MeshId = MeshId |
| 1049 | + | Msh.MeshId = MeshId |
| 1050 | - | end |
| 1050 | + | end |
| 1051 | - | return Msh |
| 1051 | + | return Msh |
| 1052 | - | end; |
| 1052 | + | end; |
| 1053 | - | }; |
| 1053 | + | }; |
| 1054 | - | |
| 1054 | + | |
| 1055 | - | ["Mesh"] = { |
| 1055 | + | ["Mesh"] = {
|
| 1056 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1056 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1057 | - | local Msh = Create(Mesh){ |
| 1057 | + | local Msh = Create(Mesh){
|
| 1058 | - | Parent = Part, |
| 1058 | + | Parent = Part, |
| 1059 | - | Offset = OffSet, |
| 1059 | + | Offset = OffSet, |
| 1060 | - | Scale = Scale, |
| 1060 | + | Scale = Scale, |
| 1061 | - | } |
| 1061 | + | } |
| 1062 | - | if Mesh == "SpecialMesh" then |
| 1062 | + | if Mesh == "SpecialMesh" then |
| 1063 | - | Msh.MeshType = MeshType |
| 1063 | + | Msh.MeshType = MeshType |
| 1064 | - | Msh.MeshId = MeshId |
| 1064 | + | Msh.MeshId = MeshId |
| 1065 | - | end |
| 1065 | + | end |
| 1066 | - | return Msh |
| 1066 | + | return Msh |
| 1067 | - | end; |
| 1067 | + | end; |
| 1068 | - | }; |
| 1068 | + | }; |
| 1069 | - | |
| 1069 | + | |
| 1070 | - | ["Weld"] = { |
| 1070 | + | ["Weld"] = {
|
| 1071 | - | Create = function(Parent, Part0, Part1, C0, C1) |
| 1071 | + | Create = function(Parent, Part0, Part1, C0, C1) |
| 1072 | - | local Weld = Create("Weld"){ |
| 1072 | + | local Weld = Create("Weld"){
|
| 1073 | - | Parent = Parent, |
| 1073 | + | Parent = Parent, |
| 1074 | - | Part0 = Part0, |
| 1074 | + | Part0 = Part0, |
| 1075 | - | Part1 = Part1, |
| 1075 | + | Part1 = Part1, |
| 1076 | - | C0 = C0, |
| 1076 | + | C0 = C0, |
| 1077 | - | C1 = C1, |
| 1077 | + | C1 = C1, |
| 1078 | - | } |
| 1078 | + | } |
| 1079 | - | return Weld |
| 1079 | + | return Weld |
| 1080 | - | end; |
| 1080 | + | end; |
| 1081 | - | }; |
| 1081 | + | }; |
| 1082 | - | |
| 1082 | + | |
| 1083 | - | ["Sound"] = { |
| 1083 | + | ["Sound"] = {
|
| 1084 | - | Create = function(id, par, vol, pit) |
| 1084 | + | Create = function(id, par, vol, pit) |
| 1085 | - | local S = Create("Sound"){ |
| 1085 | + | local S = Create("Sound"){
|
| 1086 | - | Volume = vol, |
| 1086 | + | Volume = vol, |
| 1087 | - | Name = "EffectSoundo", |
| 1087 | + | Name = "EffectSoundo", |
| 1088 | - | Pitch = pit or 1, |
| 1088 | + | Pitch = pit or 1, |
| 1089 | - | SoundId = id, |
| 1089 | + | SoundId = id, |
| 1090 | - | Parent = par or workspace, |
| 1090 | + | Parent = par or workspace, |
| 1091 | - | } |
| 1091 | + | } |
| 1092 | - | S:play() |
| 1092 | + | S:play() |
| 1093 | - | game:GetService("Debris"):AddItem(S, 10) |
| 1093 | + | game:GetService("Debris"):AddItem(S, 10)
|
| 1094 | - | end; |
| 1094 | + | end; |
| 1095 | - | }; |
| 1095 | + | }; |
| 1096 | - | |
| 1096 | + | |
| 1097 | - | ["TimeSound"] = { |
| 1097 | + | ["TimeSound"] = {
|
| 1098 | - | Create = function(id, par, vol, pit, timepos) |
| 1098 | + | Create = function(id, par, vol, pit, timepos) |
| 1099 | - | local S = Create("Sound"){ |
| 1099 | + | local S = Create("Sound"){
|
| 1100 | - | Volume = vol, |
| 1100 | + | Volume = vol, |
| 1101 | - | Name = "EffectSoundo", |
| 1101 | + | Name = "EffectSoundo", |
| 1102 | - | Pitch = pit or 1, |
| 1102 | + | Pitch = pit or 1, |
| 1103 | - | SoundId = id, |
| 1103 | + | SoundId = id, |
| 1104 | - | TimePosition = timepos, |
| 1104 | + | TimePosition = timepos, |
| 1105 | - | Parent = par or workspace, |
| 1105 | + | Parent = par or workspace, |
| 1106 | - | } |
| 1106 | + | } |
| 1107 | - | wait() |
| 1107 | + | wait() |
| 1108 | - | S:play() |
| 1108 | + | S:play() |
| 1109 | - | game:GetService("Debris"):AddItem(S, 10) |
| 1109 | + | game:GetService("Debris"):AddItem(S, 10)
|
| 1110 | - | end; |
| 1110 | + | end; |
| 1111 | - | }; |
| 1111 | + | }; |
| 1112 | - | ["EchoSound"] = { |
| 1112 | + | ["EchoSound"] = {
|
| 1113 | - | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) |
| 1113 | + | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) |
| 1114 | - | local Sas = Create("Sound"){ |
| 1114 | + | local Sas = Create("Sound"){
|
| 1115 | - | Volume = vol, |
| 1115 | + | Volume = vol, |
| 1116 | - | Name = "EffectSoundo", |
| 1116 | + | Name = "EffectSoundo", |
| 1117 | - | Pitch = pit or 1, |
| 1117 | + | Pitch = pit or 1, |
| 1118 | - | SoundId = id, |
| 1118 | + | SoundId = id, |
| 1119 | - | TimePosition = timepos, |
| 1119 | + | TimePosition = timepos, |
| 1120 | - | Parent = par or workspace, |
| 1120 | + | Parent = par or workspace, |
| 1121 | - | } |
| 1121 | + | } |
| 1122 | - | local E = Create("EchoSoundEffect"){ |
| 1122 | + | local E = Create("EchoSoundEffect"){
|
| 1123 | - | Delay = echodelay, |
| 1123 | + | Delay = echodelay, |
| 1124 | - | Name = "Echo", |
| 1124 | + | Name = "Echo", |
| 1125 | - | Feedback = fedb, |
| 1125 | + | Feedback = fedb, |
| 1126 | - | DryLevel = dryl, |
| 1126 | + | DryLevel = dryl, |
| 1127 | - | Parent = Sas, |
| 1127 | + | Parent = Sas, |
| 1128 | - | } |
| 1128 | + | } |
| 1129 | - | wait() |
| 1129 | + | wait() |
| 1130 | - | Sas:play() |
| 1130 | + | Sas:play() |
| 1131 | - | game:GetService("Debris"):AddItem(Sas, delays) |
| 1131 | + | game:GetService("Debris"):AddItem(Sas, delays)
|
| 1132 | - | end; |
| 1132 | + | end; |
| 1133 | - | }; |
| 1133 | + | }; |
| 1134 | - | |
| 1134 | + | |
| 1135 | - | ["LongSound"] = { |
| 1135 | + | ["LongSound"] = {
|
| 1136 | - | Create = function(id, par, vol, pit) |
| 1136 | + | Create = function(id, par, vol, pit) |
| 1137 | - | local S = Create("Sound"){ |
| 1137 | + | local S = Create("Sound"){
|
| 1138 | - | Volume = vol, |
| 1138 | + | Volume = vol, |
| 1139 | - | Pitch = pit or 1, |
| 1139 | + | Pitch = pit or 1, |
| 1140 | - | SoundId = id, |
| 1140 | + | SoundId = id, |
| 1141 | - | Parent = par or workspace, |
| 1141 | + | Parent = par or workspace, |
| 1142 | - | } |
| 1142 | + | } |
| 1143 | - | wait() |
| 1143 | + | wait() |
| 1144 | - | S:play() |
| 1144 | + | S:play() |
| 1145 | - | game:GetService("Debris"):AddItem(S, 60) |
| 1145 | + | game:GetService("Debris"):AddItem(S, 60)
|
| 1146 | - | end; |
| 1146 | + | end; |
| 1147 | - | }; |
| 1147 | + | }; |
| 1148 | - | |
| 1148 | + | |
| 1149 | - | ["ParticleEmitter"] = { |
| 1149 | + | ["ParticleEmitter"] = {
|
| 1150 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
| 1150 | + | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
| 1151 | - | local fp = Create("ParticleEmitter"){ |
| 1151 | + | local fp = Create("ParticleEmitter"){
|
| 1152 | - | Parent = Parent, |
| 1152 | + | Parent = Parent, |
| 1153 | - | Color = ColorSequence.new(Color1, Color2), |
| 1153 | + | Color = ColorSequence.new(Color1, Color2), |
| 1154 | - | LightEmission = LightEmission, |
| 1154 | + | LightEmission = LightEmission, |
| 1155 | - | Size = Size, |
| 1155 | + | Size = Size, |
| 1156 | - | Texture = Texture, |
| 1156 | + | Texture = Texture, |
| 1157 | - | Transparency = Transparency, |
| 1157 | + | Transparency = Transparency, |
| 1158 | - | ZOffset = ZOffset, |
| 1158 | + | ZOffset = ZOffset, |
| 1159 | - | Acceleration = Accel, |
| 1159 | + | Acceleration = Accel, |
| 1160 | - | Drag = Drag, |
| 1160 | + | Drag = Drag, |
| 1161 | - | LockedToPart = LockedToPart, |
| 1161 | + | LockedToPart = LockedToPart, |
| 1162 | - | VelocityInheritance = VelocityInheritance, |
| 1162 | + | VelocityInheritance = VelocityInheritance, |
| 1163 | - | EmissionDirection = EmissionDirection, |
| 1163 | + | EmissionDirection = EmissionDirection, |
| 1164 | - | Enabled = Enabled, |
| 1164 | + | Enabled = Enabled, |
| 1165 | - | Lifetime = LifeTime, |
| 1165 | + | Lifetime = LifeTime, |
| 1166 | - | Rate = Rate, |
| 1166 | + | Rate = Rate, |
| 1167 | - | Rotation = Rotation, |
| 1167 | + | Rotation = Rotation, |
| 1168 | - | RotSpeed = RotSpeed, |
| 1168 | + | RotSpeed = RotSpeed, |
| 1169 | - | Speed = Speed, |
| 1169 | + | Speed = Speed, |
| 1170 | - | VelocitySpread = VelocitySpread, |
| 1170 | + | VelocitySpread = VelocitySpread, |
| 1171 | - | } |
| 1171 | + | } |
| 1172 | - | return fp |
| 1172 | + | return fp |
| 1173 | - | end; |
| 1173 | + | end; |
| 1174 | - | }; |
| 1174 | + | }; |
| 1175 | - | |
| 1175 | + | |
| 1176 | - | CreateTemplate = { |
| 1176 | + | CreateTemplate = {
|
| 1177 | - | |
| 1177 | + | |
| 1178 | - | }; |
| 1178 | + | }; |
| 1179 | - | } |
| 1179 | + | } |
| 1180 | - | |
| 1180 | + | |
| 1181 | - | |
| 1181 | + | |
| 1182 | - | |
| 1182 | + | |
| 1183 | - | New = function(Object, Parent, Name, Data) |
| 1183 | + | New = function(Object, Parent, Name, Data) |
| 1184 | - | local Object = Instance.new(Object) |
| 1184 | + | local Object = Instance.new(Object) |
| 1185 | - | for Index, Value in pairs(Data or {}) do |
| 1185 | + | for Index, Value in pairs(Data or {}) do
|
| 1186 | - | Object[Index] = Value |
| 1186 | + | Object[Index] = Value |
| 1187 | - | end |
| 1187 | + | end |
| 1188 | - | Object.Parent = Parent |
| 1188 | + | Object.Parent = Parent |
| 1189 | - | Object.Name = Name |
| 1189 | + | Object.Name = Name |
| 1190 | - | return Object |
| 1190 | + | return Object |
| 1191 | end | |
| 1192 | - | local halocolor = BrickColor.new("Pastel light blue") |
| 1192 | + | local halocolor = BrickColor.new("Pastel light blue")
|
| 1193 | - | local halocolor2 = BrickColor.new("Cool yellow") |
| 1193 | + | local halocolor2 = BrickColor.new("Cool yellow")
|
| 1194 | - | local starcolor = BrickColor.new("Bright yellow") |
| 1194 | + | local starcolor = BrickColor.new("Bright yellow")
|
| 1195 | - | local lunacolor = BrickColor.new("Navy blue") |
| 1195 | + | local lunacolor = BrickColor.new("Navy blue")
|
| 1196 | - | local lunacolor2 = BrickColor.new("Bright blue") |
| 1196 | + | local lunacolor2 = BrickColor.new("Bright blue")
|
| 1197 | - | local wepcolor = BrickColor.new("Really black") |
| 1197 | + | local wepcolor = BrickColor.new("Really black")
|
| 1198 | - | local maincolor = BrickColor.new("Really black") |
| 1198 | + | local maincolor = BrickColor.new("Really black")
|
| 1199 | - | local m = Instance.new("Model",char) |
| 1199 | + | local m = Instance.new("Model",char)
|
| 1200 | - | local m2 = Instance.new("Model",char) |
| 1200 | + | local m2 = Instance.new("Model",char)
|
| 1201 | - | local m3 = Instance.new("Model",char) |
| 1201 | + | local m3 = Instance.new("Model",char)
|
| 1202 | - | local mw1 = Instance.new("Model",char) |
| 1202 | + | local mw1 = Instance.new("Model",char)
|
| 1203 | - | local mw2 = Instance.new("Model",char) |
| 1203 | + | local mw2 = Instance.new("Model",char)
|
| 1204 | - | local mwN = Instance.new("Model",char) |
| 1204 | + | local mwN = Instance.new("Model",char)
|
| 1205 | - | local mwY = Instance.new("Model",char) |
| 1205 | + | local mwY = Instance.new("Model",char)
|
| 1206 | - | |
| 1206 | + | |
| 1207 | - | local est = {"error","Errors","eRror","erRor","errOr","erroR","ERror","ErRor","ErrOr","ErroR","eRRor","eRrOr","eRroR","erROr","erRoR","errOR","ERROR"} |
| 1207 | + | local est = {"error","Errors","eRror","erRor","errOr","erroR","ERror","ErRor","ErrOr","ErroR","eRRor","eRrOr","eRroR","erROr","erRoR","errOR","ERROR"}
|
| 1208 | - | |
| 1208 | + | |
| 1209 | - | |
| 1209 | + | |
| 1210 | - | |
| 1210 | + | |
| 1211 | - | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) |
| 1211 | + | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) |
| 1212 | - | local gui = it(GuiType) |
| 1212 | + | local gui = it(GuiType) |
| 1213 | - | gui.Parent = parent |
| 1213 | + | gui.Parent = parent |
| 1214 | - | gui.Text = text |
| 1214 | + | gui.Text = text |
| 1215 | - | gui.BackgroundTransparency = backtrans |
| 1215 | + | gui.BackgroundTransparency = backtrans |
| 1216 | - | gui.BackgroundColor3 = backcol |
| 1216 | + | gui.BackgroundColor3 = backcol |
| 1217 | - | gui.SizeConstraint = "RelativeXY" |
| 1217 | + | gui.SizeConstraint = "RelativeXY" |
| 1218 | - | gui.TextXAlignment = "Center" |
| 1218 | + | gui.TextXAlignment = "Center" |
| 1219 | - | gui.TextYAlignment = "Center" |
| 1219 | + | gui.TextYAlignment = "Center" |
| 1220 | - | gui.Position = pos |
| 1220 | + | gui.Position = pos |
| 1221 | - | gui.Size = size |
| 1221 | + | gui.Size = size |
| 1222 | - | gui.Font = "SourceSans" |
| 1222 | + | gui.Font = "SourceSans" |
| 1223 | - | gui.FontSize = "Size14" |
| 1223 | + | gui.FontSize = "Size14" |
| 1224 | - | gui.TextWrapped = false |
| 1224 | + | gui.TextWrapped = false |
| 1225 | - | gui.TextStrokeTransparency = 0 |
| 1225 | + | gui.TextStrokeTransparency = 0 |
| 1226 | - | gui.TextColor = BrickColor.new("White") |
| 1226 | + | gui.TextColor = BrickColor.new("White")
|
| 1227 | - | return gui |
| 1227 | + | return gui |
| 1228 | end | |
| 1229 | - | --------------------------- GUI STUFF |
| 1229 | + | --------------------------- GUI STUFF |
| 1230 | - | local basgui = it("GuiMain") |
| 1230 | + | local basgui = it("GuiMain")
|
| 1231 | - | basgui.Parent = plr.PlayerGui |
| 1231 | + | basgui.Parent = plr.PlayerGui |
| 1232 | - | basgui.Name = "VISgui" |
| 1232 | + | basgui.Name = "VISgui" |
| 1233 | - | local fullscreenz = it("Frame") |
| 1233 | + | local fullscreenz = it("Frame")
|
| 1234 | - | fullscreenz.Parent = basgui |
| 1234 | + | fullscreenz.Parent = basgui |
| 1235 | - | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1235 | + | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1236 | - | fullscreenz.BackgroundTransparency = .5 |
| 1236 | + | fullscreenz.BackgroundTransparency = .5 |
| 1237 | - | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) |
| 1237 | + | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) |
| 1238 | - | fullscreenz.AnchorPoint=Vector2.new(1,.5) |
| 1238 | + | fullscreenz.AnchorPoint=Vector2.new(1,.5) |
| 1239 | - | fullscreenz.Size = UDim2.new(.2, 0, 1.2, 0) |
| 1239 | + | fullscreenz.Size = UDim2.new(.2, 0, 1.2, 0) |
| 1240 | - | fullscreenz.Position = UDim2.new(1.01, 0, .5, 0) |
| 1240 | + | fullscreenz.Position = UDim2.new(1.01, 0, .5, 0) |
| 1241 | - | fullscreenz.BorderSizePixel=12 |
| 1241 | + | fullscreenz.BorderSizePixel=12 |
| 1242 | - | fullscreenz.ZIndex=2 |
| 1242 | + | fullscreenz.ZIndex=2 |
| 1243 | - | local fullscreenz2 = it("Frame") |
| 1243 | + | local fullscreenz2 = it("Frame")
|
| 1244 | - | fullscreenz2.Parent = fullscreenz |
| 1244 | + | fullscreenz2.Parent = fullscreenz |
| 1245 | - | fullscreenz2.BackgroundTransparency = 1 |
| 1245 | + | fullscreenz2.BackgroundTransparency = 1 |
| 1246 | - | fullscreenz2.AnchorPoint=Vector2.new(.5,.5) |
| 1246 | + | fullscreenz2.AnchorPoint=Vector2.new(.5,.5) |
| 1247 | - | fullscreenz2.Size = UDim2.new(1, 0, 1, 0) |
| 1247 | + | fullscreenz2.Size = UDim2.new(1, 0, 1, 0) |
| 1248 | - | fullscreenz2.Position = UDim2.new(.5, 0, .5, 0) |
| 1248 | + | fullscreenz2.Position = UDim2.new(.5, 0, .5, 0) |
| 1249 | - | fullscreenz2.ClipsDescendants=true |
| 1249 | + | fullscreenz2.ClipsDescendants=true |
| 1250 | - | |
| 1250 | + | |
| 1251 | - | local hh1 = it("Frame") |
| 1251 | + | local hh1 = it("Frame")
|
| 1252 | - | hh1.Parent = fullscreenz |
| 1252 | + | hh1.Parent = fullscreenz |
| 1253 | - | hh1.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1253 | + | hh1.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1254 | - | hh1.BackgroundTransparency = .5 |
| 1254 | + | hh1.BackgroundTransparency = .5 |
| 1255 | - | hh1.BorderColor3 = Color3.new(17, 17, 17) |
| 1255 | + | hh1.BorderColor3 = Color3.new(17, 17, 17) |
| 1256 | - | hh1.AnchorPoint=Vector2.new(.5,.5) |
| 1256 | + | hh1.AnchorPoint=Vector2.new(.5,.5) |
| 1257 | - | hh1.Size = UDim2.new(.04, 0, 1.2, 0) |
| 1257 | + | hh1.Size = UDim2.new(.04, 0, 1.2, 0) |
| 1258 | - | hh1.Position = UDim2.new(-.1, 0, .5, 0) |
| 1258 | + | hh1.Position = UDim2.new(-.1, 0, .5, 0) |
| 1259 | - | hh1.BorderSizePixel=0 |
| 1259 | + | hh1.BorderSizePixel=0 |
| 1260 | - | hh1.ZIndex=4 |
| 1260 | + | hh1.ZIndex=4 |
| 1261 | - | |
| 1261 | + | |
| 1262 | - | |
| 1262 | + | |
| 1263 | - | local hh2 = it("Frame") |
| 1263 | + | local hh2 = it("Frame")
|
| 1264 | - | hh2.Parent = fullscreenz |
| 1264 | + | hh2.Parent = fullscreenz |
| 1265 | - | hh2.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1265 | + | hh2.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1266 | - | hh2.BackgroundTransparency = .5 |
| 1266 | + | hh2.BackgroundTransparency = .5 |
| 1267 | - | hh2.BorderColor3 = Color3.new(17, 17, 17) |
| 1267 | + | hh2.BorderColor3 = Color3.new(17, 17, 17) |
| 1268 | - | hh2.AnchorPoint=Vector2.new(.5,.5) |
| 1268 | + | hh2.AnchorPoint=Vector2.new(.5,.5) |
| 1269 | - | hh2.Size = UDim2.new(.025, 0, 1.2, 0) |
| 1269 | + | hh2.Size = UDim2.new(.025, 0, 1.2, 0) |
| 1270 | - | hh2.Position = UDim2.new(-.14, 0, .5, 0) |
| 1270 | + | hh2.Position = UDim2.new(-.14, 0, .5, 0) |
| 1271 | - | hh2.BorderSizePixel=0 |
| 1271 | + | hh2.BorderSizePixel=0 |
| 1272 | - | hh2.ZIndex=4 |
| 1272 | + | hh2.ZIndex=4 |
| 1273 | - | |
| 1273 | + | |
| 1274 | - | |
| 1274 | + | |
| 1275 | - | local hh3 = it("Frame") |
| 1275 | + | local hh3 = it("Frame")
|
| 1276 | - | hh3.Parent = fullscreenz |
| 1276 | + | hh3.Parent = fullscreenz |
| 1277 | - | hh3.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1277 | + | hh3.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1278 | - | hh3.BackgroundTransparency = .5 |
| 1278 | + | hh3.BackgroundTransparency = .5 |
| 1279 | - | hh3.BorderColor3 = Color3.new(17, 17, 17) |
| 1279 | + | hh3.BorderColor3 = Color3.new(17, 17, 17) |
| 1280 | - | hh3.AnchorPoint=Vector2.new(.5,.5) |
| 1280 | + | hh3.AnchorPoint=Vector2.new(.5,.5) |
| 1281 | - | hh3.Size = UDim2.new(.01, 0, 1.2, 0) |
| 1281 | + | hh3.Size = UDim2.new(.01, 0, 1.2, 0) |
| 1282 | - | hh3.Position = UDim2.new(-.16, 0, .5, 0) |
| 1282 | + | hh3.Position = UDim2.new(-.16, 0, .5, 0) |
| 1283 | - | hh3.BorderSizePixel=0 |
| 1283 | + | hh3.BorderSizePixel=0 |
| 1284 | - | hh3.ZIndex=4 |
| 1284 | + | hh3.ZIndex=4 |
| 1285 | - | |
| 1285 | + | |
| 1286 | - | |
| 1286 | + | |
| 1287 | - | local vis1 = it("Frame") |
| 1287 | + | local vis1 = it("Frame")
|
| 1288 | - | vis1.Parent = fullscreenz2 |
| 1288 | + | vis1.Parent = fullscreenz2 |
| 1289 | - | vis1.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1289 | + | vis1.BackgroundColor3 = Color3.new(255, 255, 255) |
| 1290 | - | vis1.BackgroundTransparency = .5 |
| 1290 | + | vis1.BackgroundTransparency = .5 |
| 1291 | - | vis1.BorderColor3 = Color3.new(17, 17, 17) |
| 1291 | + | vis1.BorderColor3 = Color3.new(17, 17, 17) |
| 1292 | - | vis1.AnchorPoint=Vector2.new(.5,1) |
| 1292 | + | vis1.AnchorPoint=Vector2.new(.5,1) |
| 1293 | - | vis1.Size = UDim2.new(.1, 0, 1, 0) |
| 1293 | + | vis1.Size = UDim2.new(.1, 0, 1, 0) |
| 1294 | - | vis1.Position = UDim2.new(.93, 0, 1, 0) |
| 1294 | + | vis1.Position = UDim2.new(.93, 0, 1, 0) |
| 1295 | - | vis1.BorderSizePixel=0 |
| 1295 | + | vis1.BorderSizePixel=0 |
| 1296 | - | vis1.ZIndex=2 |
| 1296 | + | vis1.ZIndex=2 |
| 1297 | - | local vis2=vis1:Clone() |
| 1297 | + | local vis2=vis1:Clone() |
| 1298 | - | vis2.Parent = fullscreenz2 |
| 1298 | + | vis2.Parent = fullscreenz2 |
| 1299 | - | vis2.Size = UDim2.new(.07, 0, 1, 0) |
| 1299 | + | vis2.Size = UDim2.new(.07, 0, 1, 0) |
| 1300 | - | vis2.Position = UDim2.new(.81, 0, 1, 0) |
| 1300 | + | vis2.Position = UDim2.new(.81, 0, 1, 0) |
| 1301 | - | |
| 1301 | + | |
| 1302 | - | local vis3=vis1:Clone() |
| 1302 | + | local vis3=vis1:Clone() |
| 1303 | - | vis3.Parent = fullscreenz2 |
| 1303 | + | vis3.Parent = fullscreenz2 |
| 1304 | - | vis3.Size = UDim2.new(.045, 0, 1, 0) |
| 1304 | + | vis3.Size = UDim2.new(.045, 0, 1, 0) |
| 1305 | - | vis3.Position = UDim2.new(.74, 0, 1, 0) |
| 1305 | + | vis3.Position = UDim2.new(.74, 0, 1, 0) |
| 1306 | - | |
| 1306 | + | |
| 1307 | - | local vis4=vis1:Clone() |
| 1307 | + | local vis4=vis1:Clone() |
| 1308 | - | vis4.Parent = fullscreenz2 |
| 1308 | + | vis4.Parent = fullscreenz2 |
| 1309 | - | vis4.Size = UDim2.new(.03, 0, 1, 0) |
| 1309 | + | vis4.Size = UDim2.new(.03, 0, 1, 0) |
| 1310 | - | vis4.Position = UDim2.new(.69, 0, 1, 0) |
| 1310 | + | vis4.Position = UDim2.new(.69, 0, 1, 0) |
| 1311 | - | |
| 1311 | + | |
| 1312 | - | local vis5=vis1:Clone() |
| 1312 | + | local vis5=vis1:Clone() |
| 1313 | - | vis5.Parent = fullscreenz2 |
| 1313 | + | vis5.Parent = fullscreenz2 |
| 1314 | - | vis5.Size = UDim2.new(.012, 0, 1, 0) |
| 1314 | + | vis5.Size = UDim2.new(.012, 0, 1, 0) |
| 1315 | - | vis5.Position = UDim2.new(.65, 0, 1, 0) |
| 1315 | + | vis5.Position = UDim2.new(.65, 0, 1, 0) |
| 1316 | - | |
| 1316 | + | |
| 1317 | - | --fullscreenz |
| 1317 | + | --fullscreenz |
| 1318 | - | local nedf = it("TextLabel",fullscreenz) |
| 1318 | + | local nedf = it("TextLabel",fullscreenz)
|
| 1319 | - | nedf.AnchorPoint=Vector2.new(1,1) |
| 1319 | + | nedf.AnchorPoint=Vector2.new(1,1) |
| 1320 | - | nedf.Font = "Arcade" |
| 1320 | + | nedf.Font = "Arcade" |
| 1321 | - | nedf.BackgroundTransparency = 1 |
| 1321 | + | nedf.BackgroundTransparency = 1 |
| 1322 | - | nedf.BorderSizePixel = 0.65 |
| 1322 | + | nedf.BorderSizePixel = 0.65 |
| 1323 | - | nedf.Size = UDim2.new(1,0,.2,0) |
| 1323 | + | nedf.Size = UDim2.new(1,0,.2,0) |
| 1324 | - | nedf.Position = UDim2.new(.9,0,0.95,0) |
| 1324 | + | nedf.Position = UDim2.new(.9,0,0.95,0) |
| 1325 | - | nedf.TextColor3 = Color3.new(0,0,0) |
| 1325 | + | nedf.TextColor3 = Color3.new(0,0,0) |
| 1326 | - | nedf.TextStrokeColor3 = Color3.new(0,0,0) |
| 1326 | + | nedf.TextStrokeColor3 = Color3.new(0,0,0) |
| 1327 | - | nedf.TextScaled = true |
| 1327 | + | nedf.TextScaled = true |
| 1328 | - | nedf.TextStrokeTransparency = 0 |
| 1328 | + | nedf.TextStrokeTransparency = 0 |
| 1329 | - | nedf.Text = "ETHEREAL GLITCHER" |
| 1329 | + | nedf.Text = "ETHEREAL GLITCHER" |
| 1330 | - | nedf.TextSize = 24 |
| 1330 | + | nedf.TextSize = 24 |
| 1331 | - | nedf.ZIndex=101 |
| 1331 | + | nedf.ZIndex=101 |
| 1332 | - | |
| 1332 | + | |
| 1333 | - | |
| 1333 | + | |
| 1334 | - | function ggg() |
| 1334 | + | function ggg() |
| 1335 | - | local afa = it("ImageLabel",fullscreenz2) |
| 1335 | + | local afa = it("ImageLabel",fullscreenz2)
|
| 1336 | - | afa.BackgroundTransparency = 1 |
| 1336 | + | afa.BackgroundTransparency = 1 |
| 1337 | - | afa.BorderSizePixel = 0 |
| 1337 | + | afa.BorderSizePixel = 0 |
| 1338 | - | afa.AnchorPoint=Vector2.new(.5,.5) |
| 1338 | + | afa.AnchorPoint=Vector2.new(.5,.5) |
| 1339 | - | afa.Parent = fullscreenz2 |
| 1339 | + | afa.Parent = fullscreenz2 |
| 1340 | - | afa.ImageTransparency = 0 |
| 1340 | + | afa.ImageTransparency = 0 |
| 1341 | - | afa.Size = UDim2.new(0,40,0,40) |
| 1341 | + | afa.Size = UDim2.new(0,40,0,40) |
| 1342 | - | local mfmf=math.random(10,90)/100 |
| 1342 | + | local mfmf=math.random(10,90)/100 |
| 1343 | - | afa.Position = UDim2.new(mfmf,0,1.2,0) |
| 1343 | + | afa.Position = UDim2.new(mfmf,0,1.2,0) |
| 1344 | - | afa.ImageColor3 = MAINRUINCOLOR.Color |
| 1344 | + | afa.ImageColor3 = MAINRUINCOLOR.Color |
| 1345 | - | afa.Image = "rbxassetid://2710333451" |
| 1345 | + | afa.Image = "rbxassetid://2710333451" |
| 1346 | - | afa.Rotation=math.random(-360,360) |
| 1346 | + | afa.Rotation=math.random(-360,360) |
| 1347 | - | afa.ZIndex=3 |
| 1347 | + | afa.ZIndex=3 |
| 1348 | - | coroutine.resume(coroutine.create(function(g) |
| 1348 | + | coroutine.resume(coroutine.create(function(g) |
| 1349 | - | local kokha=math.random(30,200)/30 |
| 1349 | + | local kokha=math.random(30,200)/30 |
| 1350 | - | local hh1=math.random(-100,100)/50 |
| 1350 | + | local hh1=math.random(-100,100)/50 |
| 1351 | - | local hh2=math.random(100,400)/22 |
| 1351 | + | local hh2=math.random(100,400)/22 |
| 1352 | - | for i=0,1.1,kokha/100 do |
| 1352 | + | for i=0,1.1,kokha/100 do |
| 1353 | - | swait() |
| 1353 | + | swait() |
| 1354 | - | g.Position = g.Position+UDim2.new(0,hh1,0,-hh2) |
| 1354 | + | g.Position = g.Position+UDim2.new(0,hh1,0,-hh2) |
| 1355 | - | g.ImageTransparency=i |
| 1355 | + | g.ImageTransparency=i |
| 1356 | - | g.Rotation=g.Rotation+3 |
| 1356 | + | g.Rotation=g.Rotation+3 |
| 1357 | end | |
| 1358 | - | g:Remove() |
| 1358 | + | g:Remove() |
| 1359 | - | end),afa) |
| 1359 | + | end),afa) |
| 1360 | end | |
| 1361 | - | |
| 1361 | + | |
| 1362 | - | local hhahaha=false |
| 1362 | + | local hhahaha=false |
| 1363 | - | function nice(teext,h1,h2) |
| 1363 | + | function nice(teext,h1,h2) |
| 1364 | - | local ned = it("TextLabel",fullscreenz) |
| 1364 | + | local ned = it("TextLabel",fullscreenz)
|
| 1365 | - | ned.AnchorPoint=Vector2.new(1,1) |
| 1365 | + | ned.AnchorPoint=Vector2.new(1,1) |
| 1366 | - | ned.Font = "Arcade" |
| 1366 | + | ned.Font = "Arcade" |
| 1367 | - | ned.BackgroundTransparency = 1 |
| 1367 | + | ned.BackgroundTransparency = 1 |
| 1368 | - | ned.BorderSizePixel = 0.65 |
| 1368 | + | ned.BorderSizePixel = 0.65 |
| 1369 | - | ned.Size = UDim2.new(2.2,0,.2,0) |
| 1369 | + | ned.Size = UDim2.new(2.2,0,.2,0) |
| 1370 | - | ned.Position = UDim2.new(1.4,0,0.85,0) |
| 1370 | + | ned.Position = UDim2.new(1.4,0,0.85,0) |
| 1371 | - | ned.TextColor3 = h1 |
| 1371 | + | ned.TextColor3 = h1 |
| 1372 | - | ned.TextStrokeColor3 = h2 |
| 1372 | + | ned.TextStrokeColor3 = h2 |
| 1373 | - | ned.TextScaled = true |
| 1373 | + | ned.TextScaled = true |
| 1374 | - | ned.TextStrokeTransparency = 0 |
| 1374 | + | ned.TextStrokeTransparency = 0 |
| 1375 | - | ned.Text = teext |
| 1375 | + | ned.Text = teext |
| 1376 | - | ned.TextSize = 24 |
| 1376 | + | ned.TextSize = 24 |
| 1377 | - | ned.Rotation = 90 |
| 1377 | + | ned.Rotation = 90 |
| 1378 | - | ned.TextXAlignment = "Right" |
| 1378 | + | ned.TextXAlignment = "Right" |
| 1379 | - | ned.TextYAlignment = "Bottom" |
| 1379 | + | ned.TextYAlignment = "Bottom" |
| 1380 | - | ned.ZIndex=100 |
| 1380 | + | ned.ZIndex=100 |
| 1381 | - | hhahaha=false |
| 1381 | + | hhahaha=false |
| 1382 | - | coroutine.resume(coroutine.create(function() |
| 1382 | + | coroutine.resume(coroutine.create(function() |
| 1383 | - | swait(3) |
| 1383 | + | swait(3) |
| 1384 | - | hhahaha=true |
| 1384 | + | hhahaha=true |
| 1385 | - | ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true) |
| 1385 | + | ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true) |
| 1386 | - | for i=1.1,0,-.02 do |
| 1386 | + | for i=1.1,0,-.02 do |
| 1387 | - | swait() |
| 1387 | + | swait() |
| 1388 | - | ned.TextTransparency=i |
| 1388 | + | ned.TextTransparency=i |
| 1389 | - | ned.TextStrokeTransparency = i |
| 1389 | + | ned.TextStrokeTransparency = i |
| 1390 | - | ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true) |
| 1390 | + | ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true) |
| 1391 | - | if hhahaha==false then |
| 1391 | + | if hhahaha==false then |
| 1392 | - | break |
| 1392 | + | break |
| 1393 | end | |
| 1394 | end | |
| 1395 | - | |
| 1395 | + | |
| 1396 | - | local hai=0 |
| 1396 | + | local hai=0 |
| 1397 | - | local hai2=1 |
| 1397 | + | local hai2=1 |
| 1398 | - | repeat |
| 1398 | + | repeat |
| 1399 | - | swait() |
| 1399 | + | swait() |
| 1400 | - | ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true) |
| 1400 | + | ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true) |
| 1401 | - | if ModeOfGlitch == 5 then |
| 1401 | + | if ModeOfGlitch == 5 then |
| 1402 | - | ned.TextColor3=Color3.new(math.random(0,255)/255,0,0) |
| 1402 | + | ned.TextColor3=Color3.new(math.random(0,255)/255,0,0) |
| 1403 | end | |
| 1404 | - | until hhahaha==false |
| 1404 | + | until hhahaha==false |
| 1405 | - | ned:TweenPosition(UDim2.new(1.4,0,0.1,0), "In", "Quart", 1,true) |
| 1405 | + | ned:TweenPosition(UDim2.new(1.4,0,0.1,0), "In", "Quart", 1,true) |
| 1406 | - | for i=0,1.1,.02 do |
| 1406 | + | for i=0,1.1,.02 do |
| 1407 | - | swait() |
| 1407 | + | swait() |
| 1408 | - | ned.ZIndex=100-100*i |
| 1408 | + | ned.ZIndex=100-100*i |
| 1409 | - | ned.TextTransparency=i |
| 1409 | + | ned.TextTransparency=i |
| 1410 | - | ned.TextStrokeTransparency = i |
| 1410 | + | ned.TextStrokeTransparency = i |
| 1411 | end | |
| 1412 | - | ned:Remove() |
| 1412 | + | ned:Remove() |
| 1413 | - | end)) |
| 1413 | + | end)) |
| 1414 | end | |
| 1415 | - | |
| 1415 | + | |
| 1416 | - | local hhahaha2=true |
| 1416 | + | local hhahaha2=true |
| 1417 | - | function nice2(h1,h2) |
| 1417 | + | function nice2(h1,h2) |
| 1418 | - | local ned = it("TextLabel",fullscreenz) |
| 1418 | + | local ned = it("TextLabel",fullscreenz)
|
| 1419 | - | ned.AnchorPoint=Vector2.new(1,1) |
| 1419 | + | ned.AnchorPoint=Vector2.new(1,1) |
| 1420 | - | ned.Font = "Arcade" |
| 1420 | + | ned.Font = "Arcade" |
| 1421 | - | ned.BackgroundTransparency = 1 |
| 1421 | + | ned.BackgroundTransparency = 1 |
| 1422 | - | ned.BorderSizePixel = 0.65 |
| 1422 | + | ned.BorderSizePixel = 0.65 |
| 1423 | - | ned.Size = UDim2.new(2.2,0,.1,0) |
| 1423 | + | ned.Size = UDim2.new(2.2,0,.1,0) |
| 1424 | - | ned.Position = UDim2.new(1.9,0,0.88,0) |
| 1424 | + | ned.Position = UDim2.new(1.9,0,0.88,0) |
| 1425 | - | ned.TextColor3 = h1 |
| 1425 | + | ned.TextColor3 = h1 |
| 1426 | - | ned.TextStrokeColor3 = h2 |
| 1426 | + | ned.TextStrokeColor3 = h2 |
| 1427 | - | ned.TextScaled = true |
| 1427 | + | ned.TextScaled = true |
| 1428 | - | ned.TextStrokeTransparency = 0 |
| 1428 | + | ned.TextStrokeTransparency = 0 |
| 1429 | - | --ned.Text = teext |
| 1429 | + | --ned.Text = teext |
| 1430 | - | ned.TextSize = 24 |
| 1430 | + | ned.TextSize = 24 |
| 1431 | - | ned.Rotation = 90 |
| 1431 | + | ned.Rotation = 90 |
| 1432 | - | ned.TextXAlignment = "Right" |
| 1432 | + | ned.TextXAlignment = "Right" |
| 1433 | - | ned.TextYAlignment = "Bottom" |
| 1433 | + | ned.TextYAlignment = "Bottom" |
| 1434 | - | ned.ZIndex=100 |
| 1434 | + | ned.ZIndex=100 |
| 1435 | - | hhahaha2=false |
| 1435 | + | hhahaha2=false |
| 1436 | - | coroutine.resume(coroutine.create(function() |
| 1436 | + | coroutine.resume(coroutine.create(function() |
| 1437 | - | swait(3) |
| 1437 | + | swait(3) |
| 1438 | - | hhahaha2=true |
| 1438 | + | hhahaha2=true |
| 1439 | - | ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true) |
| 1439 | + | ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true) |
| 1440 | - | for i=1.1,0,-.02 do |
| 1440 | + | for i=1.1,0,-.02 do |
| 1441 | - | swait() |
| 1441 | + | swait() |
| 1442 | - | ned.TextTransparency=i |
| 1442 | + | ned.TextTransparency=i |
| 1443 | - | ned.TextStrokeTransparency = i |
| 1443 | + | ned.TextStrokeTransparency = i |
| 1444 | - | ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true) |
| 1444 | + | ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true) |
| 1445 | - | local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset) |
| 1445 | + | local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
|
| 1446 | - | ned.Text=(mps.Name) |
| 1446 | + | ned.Text=(mps.Name) |
| 1447 | - | if hhahaha2==false then |
| 1447 | + | if hhahaha2==false then |
| 1448 | - | break |
| 1448 | + | break |
| 1449 | end | |
| 1450 | end | |
| 1451 | - | |
| 1451 | + | |
| 1452 | - | local lastnam=ned.Text |
| 1452 | + | local lastnam=ned.Text |
| 1453 | - | local hai=0 |
| 1453 | + | local hai=0 |
| 1454 | - | local hai2=1 |
| 1454 | + | local hai2=1 |
| 1455 | - | local lastMode = ModeOfGlitch |
| 1455 | + | local lastMode = ModeOfGlitch |
| 1456 | - | repeat |
| 1456 | + | repeat |
| 1457 | - | ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true) |
| 1457 | + | ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true) |
| 1458 | - | pcall(function() local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset) |
| 1458 | + | pcall(function() local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
|
| 1459 | - | ned.Text=(mps.Name) end) |
| 1459 | + | ned.Text=(mps.Name) end) |
| 1460 | - | if ModeOfGlitch == 5 then |
| 1460 | + | if ModeOfGlitch == 5 then |
| 1461 | - | ned.TextColor3=Color3.new(math.random(0,255)/255,0,0) |
| 1461 | + | ned.TextColor3=Color3.new(math.random(0,255)/255,0,0) |
| 1462 | end | |
| 1463 | - | |
| 1463 | + | |
| 1464 | - | swait() |
| 1464 | + | swait() |
| 1465 | - | lastnam=ned.Text |
| 1465 | + | lastnam=ned.Text |
| 1466 | - | until hhahaha2==false |
| 1466 | + | until hhahaha2==false |
| 1467 | - | ned:TweenPosition(UDim2.new(1.9,0,0.08,0), "In", "Quart", 1,true) |
| 1467 | + | ned:TweenPosition(UDim2.new(1.9,0,0.08,0), "In", "Quart", 1,true) |
| 1468 | - | for i=0,1.1,.02 do |
| 1468 | + | for i=0,1.1,.02 do |
| 1469 | - | swait() |
| 1469 | + | swait() |
| 1470 | - | ned.Text=lastnam |
| 1470 | + | ned.Text=lastnam |
| 1471 | - | ned.ZIndex=100-100*i |
| 1471 | + | ned.ZIndex=100-100*i |
| 1472 | - | ned.TextTransparency=i |
| 1472 | + | ned.TextTransparency=i |
| 1473 | - | ned.TextStrokeTransparency = i |
| 1473 | + | ned.TextStrokeTransparency = i |
| 1474 | end | |
| 1475 | - | ned:Remove() |
| 1475 | + | ned:Remove() |
| 1476 | - | end)) |
| 1476 | + | end)) |
| 1477 | end | |
| 1478 | - | |
| 1478 | + | |
| 1479 | - | local extrawingmod1 = Instance.new("Model",char) |
| 1479 | + | local extrawingmod1 = Instance.new("Model",char)
|
| 1480 | - | local extrawingmod2 = Instance.new("Model",char) |
| 1480 | + | local extrawingmod2 = Instance.new("Model",char)
|
| 1481 | - | |
| 1481 | + | |
| 1482 | - | function CreateParta(parent,transparency,reflectance,material,brickcolor) |
| 1482 | + | function CreateParta(parent,transparency,reflectance,material,brickcolor) |
| 1483 | - | local p = Instance.new("Part") |
| 1483 | + | local p = Instance.new("Part")
|
| 1484 | - | p.TopSurface = 0 |
| 1484 | + | p.TopSurface = 0 |
| 1485 | - | p.BottomSurface = 0 |
| 1485 | + | p.BottomSurface = 0 |
| 1486 | - | p.Parent = parent |
| 1486 | + | p.Parent = parent |
| 1487 | - | p.Size = Vector3.new(0.1,0.1,0.1) |
| 1487 | + | p.Size = Vector3.new(0.1,0.1,0.1) |
| 1488 | - | p.Transparency = transparency |
| 1488 | + | p.Transparency = transparency |
| 1489 | - | p.Reflectance = reflectance |
| 1489 | + | p.Reflectance = reflectance |
| 1490 | - | p.CanCollide = false |
| 1490 | + | p.CanCollide = false |
| 1491 | - | p.Locked = true |
| 1491 | + | p.Locked = true |
| 1492 | - | p.BrickColor = brickcolor |
| 1492 | + | p.BrickColor = brickcolor |
| 1493 | - | p.Material = material |
| 1493 | + | p.Material = material |
| 1494 | - | return p |
| 1494 | + | return p |
| 1495 | end | |
| 1496 | - | |
| 1496 | + | |
| 1497 | - | function CreateMesh(parent,meshtype,x1,y1,z1) |
| 1497 | + | function CreateMesh(parent,meshtype,x1,y1,z1) |
| 1498 | - | local mesh = Instance.new("SpecialMesh",parent) |
| 1498 | + | local mesh = Instance.new("SpecialMesh",parent)
|
| 1499 | - | mesh.MeshType = meshtype |
| 1499 | + | mesh.MeshType = meshtype |
| 1500 | - | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) |
| 1500 | + | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) |
| 1501 | - | return mesh |
| 1501 | + | return mesh |
| 1502 | end | |
| 1503 | - | |
| 1503 | + | |
| 1504 | - | function CreateSpecialMesh(parent,meshid,x1,y1,z1) |
| 1504 | + | function CreateSpecialMesh(parent,meshid,x1,y1,z1) |
| 1505 | - | local mesh = Instance.new("SpecialMesh",parent) |
| 1505 | + | local mesh = Instance.new("SpecialMesh",parent)
|
| 1506 | - | mesh.MeshType = "FileMesh" |
| 1506 | + | mesh.MeshType = "FileMesh" |
| 1507 | - | mesh.MeshId = meshid |
| 1507 | + | mesh.MeshId = meshid |
| 1508 | - | mesh.Scale = Vector3.new(x1,y1,z1) |
| 1508 | + | mesh.Scale = Vector3.new(x1,y1,z1) |
| 1509 | - | return mesh |
| 1509 | + | return mesh |
| 1510 | end | |
| 1511 | - | |
| 1511 | + | |
| 1512 | - | |
| 1512 | + | |
| 1513 | - | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) |
| 1513 | + | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) |
| 1514 | - | local mesh = Instance.new("SpecialMesh",parent) |
| 1514 | + | local mesh = Instance.new("SpecialMesh",parent)
|
| 1515 | - | mesh.MeshType = "FileMesh" |
| 1515 | + | mesh.MeshType = "FileMesh" |
| 1516 | - | mesh.MeshId = meshid |
| 1516 | + | mesh.MeshId = meshid |
| 1517 | - | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" |
| 1517 | + | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" |
| 1518 | - | mesh.Scale = Vector3.new(x1,y1,z1) |
| 1518 | + | mesh.Scale = Vector3.new(x1,y1,z1) |
| 1519 | - | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) |
| 1519 | + | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) |
| 1520 | - | return mesh |
| 1520 | + | return mesh |
| 1521 | end | |
| 1522 | - | |
| 1522 | + | |
| 1523 | - | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) |
| 1523 | + | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) |
| 1524 | - | local weld = Instance.new("Weld") |
| 1524 | + | local weld = Instance.new("Weld")
|
| 1525 | - | weld.Parent = parent |
| 1525 | + | weld.Parent = parent |
| 1526 | - | weld.Part0 = part0 |
| 1526 | + | weld.Part0 = part0 |
| 1527 | - | weld.Part1 = part1 |
| 1527 | + | weld.Part1 = part1 |
| 1528 | - | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) |
| 1528 | + | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) |
| 1529 | - | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) |
| 1529 | + | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) |
| 1530 | - | return weld |
| 1530 | + | return weld |
| 1531 | end | |
| 1532 | - | |
| 1532 | + | |
| 1533 | - | |
| 1533 | + | |
| 1534 | - | -------------- |
| 1534 | + | -------------- |
| 1535 | - | -------------- ground effect |
| 1535 | + | -------------- ground effect |
| 1536 | - | local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
| 1536 | + | local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
| 1537 | - | CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1537 | + | CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1538 | - | local effar = Instance.new("ParticleEmitter",cen) |
| 1538 | + | local effar = Instance.new("ParticleEmitter",cen)
|
| 1539 | - | effar.Texture = "rbxassetid://2344870656" |
| 1539 | + | effar.Texture = "rbxassetid://2344870656" |
| 1540 | - | effar.LightEmission = 1 |
| 1540 | + | effar.LightEmission = 1 |
| 1541 | - | effar.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 1541 | + | effar.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 1542 | - | effar.Rate = 50 |
| 1542 | + | effar.Rate = 50 |
| 1543 | - | effar.Enabled = false |
| 1543 | + | effar.Enabled = false |
| 1544 | - | effar.EmissionDirection = "Front" |
| 1544 | + | effar.EmissionDirection = "Front" |
| 1545 | - | effar.Lifetime = NumberRange.new(1) |
| 1545 | + | effar.Lifetime = NumberRange.new(1) |
| 1546 | - | effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)}) |
| 1546 | + | effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
|
| 1547 | - | effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 1547 | + | effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 1548 | - | effar.Speed = NumberRange.new(80,90) |
| 1548 | + | effar.Speed = NumberRange.new(80,90) |
| 1549 | - | effar.Acceleration = Vector3.new(0,10,0) |
| 1549 | + | effar.Acceleration = Vector3.new(0,10,0) |
| 1550 | - | effar.Drag = 5 |
| 1550 | + | effar.Drag = 5 |
| 1551 | - | effar.Rotation = NumberRange.new(-500,500) |
| 1551 | + | effar.Rotation = NumberRange.new(-500,500) |
| 1552 | - | effar.SpreadAngle = Vector2.new(0,900) |
| 1552 | + | effar.SpreadAngle = Vector2.new(0,900) |
| 1553 | - | effar.RotSpeed = NumberRange.new(-500,500) |
| 1553 | + | effar.RotSpeed = NumberRange.new(-500,500) |
| 1554 | - | |
| 1554 | + | |
| 1555 | - | ---- |
| 1555 | + | ---- |
| 1556 | - | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
| 1556 | + | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
| 1557 | - | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1557 | + | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1558 | - | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
| 1558 | + | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
| 1559 | - | CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1559 | + | CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1560 | - | |
| 1560 | + | |
| 1561 | - | local handlex = CreateParta(mwN,1,1,"Neon",maincolor) |
| 1561 | + | local handlex = CreateParta(mwN,1,1,"Neon",maincolor) |
| 1562 | - | CreateMesh(handle,"Brick",0,0,0) |
| 1562 | + | CreateMesh(handle,"Brick",0,0,0) |
| 1563 | - | local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1563 | + | local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1564 | - | local valuaring = 10 |
| 1564 | + | local valuaring = 10 |
| 1565 | - | for i = 0, 49 do |
| 1565 | + | for i = 0, 49 do |
| 1566 | - | valuaring = valuaring + 10 |
| 1566 | + | valuaring = valuaring + 10 |
| 1567 | - | rn = CreateParta(mwY,0,0,"Neon",MAINRUINCOLOR) |
| 1567 | + | rn = CreateParta(mwY,0,0,"Neon",MAINRUINCOLOR) |
| 1568 | - | CreateMesh(rn,"Brick",0.25,0.1,0.1) |
| 1568 | + | CreateMesh(rn,"Brick",0.25,0.1,0.1) |
| 1569 | - | CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1569 | + | CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1570 | end | |
| 1571 | - | |
| 1571 | + | |
| 1572 | - | local refec = Instance.new("ParticleEmitter",handlex) |
| 1572 | + | local refec = Instance.new("ParticleEmitter",handlex)
|
| 1573 | - | refec.Texture = "rbxassetid://249270319" |
| 1573 | + | refec.Texture = "rbxassetid://249270319" |
| 1574 | - | refec.LightEmission = 0.95 |
| 1574 | + | refec.LightEmission = 0.95 |
| 1575 | - | refec.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 1575 | + | refec.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 1576 | - | refec.Rate = 50 |
| 1576 | + | refec.Rate = 50 |
| 1577 | - | refec.Lifetime = NumberRange.new(0.5) |
| 1577 | + | refec.Lifetime = NumberRange.new(0.5) |
| 1578 | - | refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)}) |
| 1578 | + | refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
|
| 1579 | - | refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 1579 | + | refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 1580 | - | refec.Speed = NumberRange.new(0,2) |
| 1580 | + | refec.Speed = NumberRange.new(0,2) |
| 1581 | - | refec.Drag = 5 |
| 1581 | + | refec.Drag = 5 |
| 1582 | - | refec.LockedToPart = true |
| 1582 | + | refec.LockedToPart = true |
| 1583 | - | refec.Rotation = NumberRange.new(-500,500) |
| 1583 | + | refec.Rotation = NumberRange.new(-500,500) |
| 1584 | - | refec.VelocitySpread = 9000 |
| 1584 | + | refec.VelocitySpread = 9000 |
| 1585 | - | refec.RotSpeed = NumberRange.new(-500,500) |
| 1585 | + | refec.RotSpeed = NumberRange.new(-500,500) |
| 1586 | - | |
| 1586 | + | |
| 1587 | - | local handle = CreateParta(m,1,1,"Neon",MAINRUINCOLOR) |
| 1587 | + | local handle = CreateParta(m,1,1,"Neon",MAINRUINCOLOR) |
| 1588 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1588 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1589 | - | local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1589 | + | local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1590 | - | |
| 1590 | + | |
| 1591 | - | --"rbxassetid://31727915" |
| 1591 | + | --"rbxassetid://31727915" |
| 1592 | - | --Sword |
| 1592 | + | --Sword |
| 1593 | - | |
| 1593 | + | |
| 1594 | - | local sword = script.BloodCurse.BloodCurse:WaitForChild'hitbox' |
| 1594 | + | local sword = script.BloodCurse.BloodCurse:WaitForChild'hitbox' |
| 1595 | - | for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do |
| 1595 | + | for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do |
| 1596 | - | v.Anchored = false |
| 1596 | + | v.Anchored = false |
| 1597 | end | |
| 1598 | - | w1 = Instance.new("Weld") |
| 1598 | + | w1 = Instance.new("Weld")
|
| 1599 | - | w1.Parent = ra |
| 1599 | + | w1.Parent = ra |
| 1600 | - | w1.Part0 = ra |
| 1600 | + | w1.Part0 = ra |
| 1601 | - | w1.Part1 = sword |
| 1601 | + | w1.Part1 = sword |
| 1602 | - | w1.C0 = ra.CFrame:Inverse() |
| 1602 | + | w1.C0 = ra.CFrame:Inverse() |
| 1603 | - | w1.C1 = sword.CFrame:Inverse() |
| 1603 | + | w1.C1 = sword.CFrame:Inverse() |
| 1604 | - | w1.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(00-0.05*math.cos(0+1 / 32)),RAD(0-0.05*math.cos(0+1 / 32)),RAD(00-0.05*math.cos(0+1 / 32))) |
| 1604 | + | w1.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(00-0.05*math.cos(0+1 / 32)),RAD(0-0.05*math.cos(0+1 / 32)),RAD(00-0.05*math.cos(0+1 / 32))) |
| 1605 | - | |
| 1605 | + | |
| 1606 | - | --Sword2 |
| 1606 | + | --Sword2 |
| 1607 | - | |
| 1607 | + | |
| 1608 | - | local cursedsword = script.CursedSword.CursedSword:WaitForChild'hitbox' |
| 1608 | + | local cursedsword = script.CursedSword.CursedSword:WaitForChild'hitbox' |
| 1609 | - | for i,v in pairs(script.CursedSword.CursedSword:GetChildren()) do |
| 1609 | + | for i,v in pairs(script.CursedSword.CursedSword:GetChildren()) do |
| 1610 | - | v.Anchored = false |
| 1610 | + | v.Anchored = false |
| 1611 | end | |
| 1612 | - | w2 = Instance.new("Weld") |
| 1612 | + | w2 = Instance.new("Weld")
|
| 1613 | - | w2.Parent = ra |
| 1613 | + | w2.Parent = ra |
| 1614 | - | w2.Part0 = ra |
| 1614 | + | w2.Part0 = ra |
| 1615 | - | w2.Part1 = sword |
| 1615 | + | w2.Part1 = sword |
| 1616 | - | w2.C0 = ra.CFrame:Inverse() |
| 1616 | + | w2.C0 = ra.CFrame:Inverse() |
| 1617 | - | w2.C1 = sword.CFrame:Inverse() |
| 1617 | + | w2.C1 = sword.CFrame:Inverse() |
| 1618 | - | w2.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(0),RAD(0),RAD(0)) |
| 1618 | + | w2.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(0),RAD(0),RAD(0)) |
| 1619 | - | |
| 1619 | + | |
| 1620 | - | --- Left wing. |
| 1620 | + | --- Left wing. |
| 1621 | - | |
| 1621 | + | |
| 1622 | - | |
| 1622 | + | |
| 1623 | - | |
| 1623 | + | |
| 1624 | - | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) |
| 1624 | + | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) |
| 1625 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1625 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1626 | - | local lwing1weld = CreateWeld(lwing1,handle,lwing1,1.5,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1626 | + | local lwing1weld = CreateWeld(lwing1,handle,lwing1,1.5,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1627 | - | |
| 1627 | + | |
| 1628 | - | local ae4 = script.E:Clone() |
| 1628 | + | local ae4 = script.E:Clone() |
| 1629 | - | ae4.Parent = mw1 |
| 1629 | + | ae4.Parent = mw1 |
| 1630 | - | ae4.Color = MAINRUINCOLOR.Color |
| 1630 | + | ae4.Color = MAINRUINCOLOR.Color |
| 1631 | - | ae4.Anchored = false |
| 1631 | + | ae4.Anchored = false |
| 1632 | - | CreateWeld(ae4,lwing1,ae4,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1632 | + | CreateWeld(ae4,lwing1,ae4,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1633 | - | |
| 1633 | + | |
| 1634 | - | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) |
| 1634 | + | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) |
| 1635 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1635 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1636 | - | local lwing2weld = CreateWeld(lwing2,handle,lwing2,3,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1636 | + | local lwing2weld = CreateWeld(lwing2,handle,lwing2,3,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1637 | - | |
| 1637 | + | |
| 1638 | - | local ae5 = script.E:Clone() |
| 1638 | + | local ae5 = script.E:Clone() |
| 1639 | - | ae5.Parent = mw1 |
| 1639 | + | ae5.Parent = mw1 |
| 1640 | - | ae5.Color = MAINRUINCOLOR.Color |
| 1640 | + | ae5.Color = MAINRUINCOLOR.Color |
| 1641 | - | ae5.Anchored = false |
| 1641 | + | ae5.Anchored = false |
| 1642 | - | CreateWeld(ae5,lwing2,ae5,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1642 | + | CreateWeld(ae5,lwing2,ae5,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1643 | - | |
| 1643 | + | |
| 1644 | - | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) |
| 1644 | + | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) |
| 1645 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1645 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1646 | - | local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.5,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1646 | + | local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.5,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1647 | - | |
| 1647 | + | |
| 1648 | - | local ae6 = script.E:Clone() |
| 1648 | + | local ae6 = script.E:Clone() |
| 1649 | - | ae6.Parent = mw1 |
| 1649 | + | ae6.Parent = mw1 |
| 1650 | - | ae6.Color = MAINRUINCOLOR.Color |
| 1650 | + | ae6.Color = MAINRUINCOLOR.Color |
| 1651 | - | ae6.Anchored = false |
| 1651 | + | ae6.Anchored = false |
| 1652 | - | CreateWeld(ae6,lwing3,ae6,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1652 | + | CreateWeld(ae6,lwing3,ae6,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1653 | - | |
| 1653 | + | |
| 1654 | - | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) |
| 1654 | + | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) |
| 1655 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1655 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1656 | - | local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1656 | + | local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1657 | - | |
| 1657 | + | |
| 1658 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1658 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1659 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1659 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1660 | - | CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1660 | + | CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1661 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1661 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1662 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1662 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1663 | - | CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1663 | + | CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1664 | - | A0 = Instance.new('Attachment',wed) |
| 1664 | + | A0 = Instance.new('Attachment',wed)
|
| 1665 | - | A0.Position = vt(0,0.25*2,0.25*2) |
| 1665 | + | A0.Position = vt(0,0.25*2,0.25*2) |
| 1666 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1666 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1667 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1667 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1668 | - | CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1668 | + | CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1669 | - | A1 = Instance.new('Attachment',wed) |
| 1669 | + | A1 = Instance.new('Attachment',wed)
|
| 1670 | - | A1.Position = vt(0,-0.25*2,-2*2) |
| 1670 | + | A1.Position = vt(0,-0.25*2,-2*2) |
| 1671 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1671 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1672 | - | CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2) |
| 1672 | + | CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2) |
| 1673 | - | CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1673 | + | CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1674 | - | |
| 1674 | + | |
| 1675 | - | tl4 = Instance.new('Trail',wed) |
| 1675 | + | tl4 = Instance.new('Trail',wed)
|
| 1676 | - | tl4.Attachment0 = A1 |
| 1676 | + | tl4.Attachment0 = A1 |
| 1677 | - | tl4.Attachment1 = A0 |
| 1677 | + | tl4.Attachment1 = A0 |
| 1678 | - | tl4.Texture = "rbxassetid://2108945559" |
| 1678 | + | tl4.Texture = "rbxassetid://2108945559" |
| 1679 | - | tl4.LightEmission = 1 |
| 1679 | + | tl4.LightEmission = 1 |
| 1680 | - | tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 1680 | + | tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 1681 | - | tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
| 1681 | + | tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 1682 | - | tl4.Lifetime = 0.6 |
| 1682 | + | tl4.Lifetime = 0.6 |
| 1683 | - | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) |
| 1683 | + | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) |
| 1684 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1684 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1685 | - | local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1685 | + | local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1686 | - | |
| 1686 | + | |
| 1687 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1687 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1688 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1688 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1689 | - | CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1689 | + | CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1690 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1690 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1691 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1691 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1692 | - | CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1692 | + | CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1693 | - | A0 = Instance.new('Attachment',wed) |
| 1693 | + | A0 = Instance.new('Attachment',wed)
|
| 1694 | - | A0.Position = vt(0,0.25*2,0.25*2) |
| 1694 | + | A0.Position = vt(0,0.25*2,0.25*2) |
| 1695 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1695 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1696 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1696 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1697 | - | CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1697 | + | CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1698 | - | A1 = Instance.new('Attachment',wed) |
| 1698 | + | A1 = Instance.new('Attachment',wed)
|
| 1699 | - | A1.Position = vt(0,-0.25*2,-2*2) |
| 1699 | + | A1.Position = vt(0,-0.25*2,-2*2) |
| 1700 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1700 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1701 | - | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1701 | + | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1702 | - | CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1702 | + | CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1703 | - | |
| 1703 | + | |
| 1704 | - | tl5 = Instance.new('Trail',wed) |
| 1704 | + | tl5 = Instance.new('Trail',wed)
|
| 1705 | - | tl5.Attachment0 = A1 |
| 1705 | + | tl5.Attachment0 = A1 |
| 1706 | - | tl5.Attachment1 = A0 |
| 1706 | + | tl5.Attachment1 = A0 |
| 1707 | - | tl5.Texture = "rbxassetid://2108945559" |
| 1707 | + | tl5.Texture = "rbxassetid://2108945559" |
| 1708 | - | tl5.LightEmission = 1 |
| 1708 | + | tl5.LightEmission = 1 |
| 1709 | - | tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 1709 | + | tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 1710 | - | tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
| 1710 | + | tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 1711 | - | tl5.Lifetime = 0.6 |
| 1711 | + | tl5.Lifetime = 0.6 |
| 1712 | - | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) |
| 1712 | + | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) |
| 1713 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1713 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1714 | - | local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1714 | + | local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1715 | - | |
| 1715 | + | |
| 1716 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1716 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1717 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1717 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1718 | - | CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1718 | + | CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1719 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1719 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1720 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1720 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1721 | - | CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1721 | + | CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1722 | - | A0 = Instance.new('Attachment',wed) |
| 1722 | + | A0 = Instance.new('Attachment',wed)
|
| 1723 | - | A0.Position = vt(0,0.25*2,0.25*2) |
| 1723 | + | A0.Position = vt(0,0.25*2,0.25*2) |
| 1724 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1724 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1725 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1725 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1726 | - | CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1726 | + | CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1727 | - | A1 = Instance.new('Attachment',wed) |
| 1727 | + | A1 = Instance.new('Attachment',wed)
|
| 1728 | - | A1.Position = vt(0,-0.25*2,-2*2) |
| 1728 | + | A1.Position = vt(0,-0.25*2,-2*2) |
| 1729 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1729 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 1730 | - | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1730 | + | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1731 | - | CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1731 | + | CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1732 | - | tl6 = Instance.new('Trail',wed) |
| 1732 | + | tl6 = Instance.new('Trail',wed)
|
| 1733 | - | tl6.Attachment0 = A1 |
| 1733 | + | tl6.Attachment0 = A1 |
| 1734 | - | tl6.Attachment1 = A0 |
| 1734 | + | tl6.Attachment1 = A0 |
| 1735 | - | tl6.Texture = "rbxassetid://2108945559" |
| 1735 | + | tl6.Texture = "rbxassetid://2108945559" |
| 1736 | - | tl6.LightEmission = 1 |
| 1736 | + | tl6.LightEmission = 1 |
| 1737 | - | tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 1737 | + | tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 1738 | - | tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
| 1738 | + | tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 1739 | - | tl6.Lifetime = 0.6 |
| 1739 | + | tl6.Lifetime = 0.6 |
| 1740 | - | |
| 1740 | + | |
| 1741 | - | |
| 1741 | + | |
| 1742 | - | tl4.Enabled = false |
| 1742 | + | tl4.Enabled = false |
| 1743 | - | tl5.Enabled = false |
| 1743 | + | tl5.Enabled = false |
| 1744 | - | tl6.Enabled = false |
| 1744 | + | tl6.Enabled = false |
| 1745 | - | -- Right wing. |
| 1745 | + | -- Right wing. |
| 1746 | - | |
| 1746 | + | |
| 1747 | - | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) |
| 1747 | + | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) |
| 1748 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1748 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1749 | - | local rwing1weld = CreateWeld(rwing1,handle,rwing1,-1.5,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1749 | + | local rwing1weld = CreateWeld(rwing1,handle,rwing1,-1.5,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1750 | - | |
| 1750 | + | |
| 1751 | - | local ae1 = script.E:Clone() |
| 1751 | + | local ae1 = script.E:Clone() |
| 1752 | - | ae1.Parent = mw2 |
| 1752 | + | ae1.Parent = mw2 |
| 1753 | - | ae1.Transparency = 1 |
| 1753 | + | ae1.Transparency = 1 |
| 1754 | - | ae1.Anchored = false |
| 1754 | + | ae1.Anchored = false |
| 1755 | - | CreateWeld(ae1,rwing1,ae1,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1755 | + | CreateWeld(ae1,rwing1,ae1,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1756 | - | |
| 1756 | + | |
| 1757 | - | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) |
| 1757 | + | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) |
| 1758 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1758 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1759 | - | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-3,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1759 | + | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-3,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1760 | - | |
| 1760 | + | |
| 1761 | - | local ae2 = script.E:Clone() |
| 1761 | + | local ae2 = script.E:Clone() |
| 1762 | - | ae2.Parent = mw2 |
| 1762 | + | ae2.Parent = mw2 |
| 1763 | - | ae2.Transparency = 1 |
| 1763 | + | ae2.Transparency = 1 |
| 1764 | - | ae2.Anchored = false |
| 1764 | + | ae2.Anchored = false |
| 1765 | - | CreateWeld(ae2,rwing2,ae2,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1765 | + | CreateWeld(ae2,rwing2,ae2,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1766 | - | |
| 1766 | + | |
| 1767 | - | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) |
| 1767 | + | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) |
| 1768 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1768 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1769 | - | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.5,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1769 | + | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.5,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1770 | - | |
| 1770 | + | |
| 1771 | - | local ae3 = script.E:Clone() |
| 1771 | + | local ae3 = script.E:Clone() |
| 1772 | - | ae3.Parent = mw2 |
| 1772 | + | ae3.Parent = mw2 |
| 1773 | - | ae3.Transparency = 1 |
| 1773 | + | ae3.Transparency = 1 |
| 1774 | - | ae3.Anchored = false |
| 1774 | + | ae3.Anchored = false |
| 1775 | - | CreateWeld(ae3,rwing3,ae3,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1775 | + | CreateWeld(ae3,rwing3,ae3,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1776 | - | |
| 1776 | + | |
| 1777 | - | |
| 1777 | + | |
| 1778 | - | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) |
| 1778 | + | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) |
| 1779 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1779 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1780 | - | local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1780 | + | local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1781 | - | |
| 1781 | + | |
| 1782 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1782 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1783 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1783 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1784 | - | CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1784 | + | CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1785 | - | A0 = Instance.new('Attachment',wed) |
| 1785 | + | A0 = Instance.new('Attachment',wed)
|
| 1786 | - | A0.Position = vt(0,0.25*2,0.25*2) |
| 1786 | + | A0.Position = vt(0,0.25*2,0.25*2) |
| 1787 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1787 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1788 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1788 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1789 | - | CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1789 | + | CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1790 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1790 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1791 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1791 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1792 | - | CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1792 | + | CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1793 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1793 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1794 | - | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1794 | + | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1795 | - | CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1795 | + | CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1796 | - | A1 = Instance.new('Attachment',wed) |
| 1796 | + | A1 = Instance.new('Attachment',wed)
|
| 1797 | - | A1.Position = vt(0,2,0.25) |
| 1797 | + | A1.Position = vt(0,2,0.25) |
| 1798 | - | |
| 1798 | + | |
| 1799 | - | tr4 = Instance.new('Trail',wed) |
| 1799 | + | tr4 = Instance.new('Trail',wed)
|
| 1800 | - | tr4.Attachment0 = A1 |
| 1800 | + | tr4.Attachment0 = A1 |
| 1801 | - | tr4.Attachment1 = A0 |
| 1801 | + | tr4.Attachment1 = A0 |
| 1802 | - | tr4.Texture = "rbxassetid://2108945559" |
| 1802 | + | tr4.Texture = "rbxassetid://2108945559" |
| 1803 | - | tr4.LightEmission = 1 |
| 1803 | + | tr4.LightEmission = 1 |
| 1804 | - | tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 1804 | + | tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 1805 | - | tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
| 1805 | + | tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 1806 | - | tr4.Lifetime = 0.6 |
| 1806 | + | tr4.Lifetime = 0.6 |
| 1807 | - | |
| 1807 | + | |
| 1808 | - | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) |
| 1808 | + | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) |
| 1809 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1809 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1810 | - | local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1810 | + | local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1811 | - | |
| 1811 | + | |
| 1812 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1812 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1813 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1813 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1814 | - | CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1814 | + | CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1815 | - | A0 = Instance.new('Attachment',wed) |
| 1815 | + | A0 = Instance.new('Attachment',wed)
|
| 1816 | - | A0.Position = vt(0,0.25*2,0.25*2) |
| 1816 | + | A0.Position = vt(0,0.25*2,0.25*2) |
| 1817 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1817 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1818 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1818 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1819 | - | CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1819 | + | CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1820 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1820 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1821 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1821 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1822 | - | CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1822 | + | CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1823 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1823 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1824 | - | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1824 | + | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1825 | - | CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1825 | + | CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1826 | - | A1 = Instance.new('Attachment',wed) |
| 1826 | + | A1 = Instance.new('Attachment',wed)
|
| 1827 | - | A1.Position = vt(0,2,0.25) |
| 1827 | + | A1.Position = vt(0,2,0.25) |
| 1828 | - | |
| 1828 | + | |
| 1829 | - | tr5 = Instance.new('Trail',wed) |
| 1829 | + | tr5 = Instance.new('Trail',wed)
|
| 1830 | - | tr5.Attachment0 = A1 |
| 1830 | + | tr5.Attachment0 = A1 |
| 1831 | - | tr5.Attachment1 = A0 |
| 1831 | + | tr5.Attachment1 = A0 |
| 1832 | - | tr5.Texture = "rbxassetid://2108945559" |
| 1832 | + | tr5.Texture = "rbxassetid://2108945559" |
| 1833 | - | tr5.LightEmission = 1 |
| 1833 | + | tr5.LightEmission = 1 |
| 1834 | - | tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 1834 | + | tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 1835 | - | tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
| 1835 | + | tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 1836 | - | tr5.Lifetime = 0.6 |
| 1836 | + | tr5.Lifetime = 0.6 |
| 1837 | - | |
| 1837 | + | |
| 1838 | - | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) |
| 1838 | + | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) |
| 1839 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1839 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 1840 | - | local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1840 | + | local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1841 | - | |
| 1841 | + | |
| 1842 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1842 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1843 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1843 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1844 | - | CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1844 | + | CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1845 | - | A0 = Instance.new('Attachment',wed) |
| 1845 | + | A0 = Instance.new('Attachment',wed)
|
| 1846 | - | A0.Position = vt(0,0.25*2,0.25*2) |
| 1846 | + | A0.Position = vt(0,0.25*2,0.25*2) |
| 1847 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1847 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1848 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1848 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2) |
| 1849 | - | CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1849 | + | CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1850 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1850 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1851 | - | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1851 | + | CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2) |
| 1852 | - | CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1852 | + | CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1853 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1853 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 1854 | - | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1854 | + | CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2) |
| 1855 | - | CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1855 | + | CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1856 | - | A1 = Instance.new('Attachment',wed) |
| 1856 | + | A1 = Instance.new('Attachment',wed)
|
| 1857 | - | A1.Position = vt(0,2,0.25) |
| 1857 | + | A1.Position = vt(0,2,0.25) |
| 1858 | - | |
| 1858 | + | |
| 1859 | - | tr6 = Instance.new('Trail',wed) |
| 1859 | + | tr6 = Instance.new('Trail',wed)
|
| 1860 | - | tr6.Attachment0 = A1 |
| 1860 | + | tr6.Attachment0 = A1 |
| 1861 | - | tr6.Attachment1 = A0 |
| 1861 | + | tr6.Attachment1 = A0 |
| 1862 | - | tr6.Texture = "rbxassetid://2108945559" |
| 1862 | + | tr6.Texture = "rbxassetid://2108945559" |
| 1863 | - | tr6.LightEmission = 1 |
| 1863 | + | tr6.LightEmission = 1 |
| 1864 | - | tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 1864 | + | tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 1865 | - | tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
| 1865 | + | tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 1866 | - | tr6.Lifetime = 0.6 |
| 1866 | + | tr6.Lifetime = 0.6 |
| 1867 | - | |
| 1867 | + | |
| 1868 | - | ae4.Trail.Enabled=false |
| 1868 | + | ae4.Trail.Enabled=false |
| 1869 | - | ae5.Trail.Enabled=false |
| 1869 | + | ae5.Trail.Enabled=false |
| 1870 | - | ae6.Trail.Enabled=false |
| 1870 | + | ae6.Trail.Enabled=false |
| 1871 | - | tr4.Enabled = false |
| 1871 | + | tr4.Enabled = false |
| 1872 | - | tr5.Enabled = false |
| 1872 | + | tr5.Enabled = false |
| 1873 | - | tr6.Enabled = false |
| 1873 | + | tr6.Enabled = false |
| 1874 | - | ---- HERES THE RING |
| 1874 | + | ---- HERES THE RING |
| 1875 | - | |
| 1875 | + | |
| 1876 | - | |
| 1876 | + | |
| 1877 | - | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
| 1877 | + | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
| 1878 | - | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
| 1878 | + | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
| 1879 | - | CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1879 | + | CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1880 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1880 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1881 | - | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
| 1881 | + | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
| 1882 | - | CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1882 | + | CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1883 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1883 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1884 | - | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
| 1884 | + | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
| 1885 | - | CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1885 | + | CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1886 | - | |
| 1886 | + | |
| 1887 | - | |
| 1887 | + | |
| 1888 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1888 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1889 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 1889 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 1890 | - | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1890 | + | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1891 | - | |
| 1891 | + | |
| 1892 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1892 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1893 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 1893 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 1894 | - | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1894 | + | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1895 | - | |
| 1895 | + | |
| 1896 | - | |
| 1896 | + | |
| 1897 | - | |
| 1897 | + | |
| 1898 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 1898 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 1899 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 1899 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 1900 | - | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1900 | + | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1901 | - | |
| 1901 | + | |
| 1902 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 1902 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 1903 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 1903 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 1904 | - | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1904 | + | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1905 | - | |
| 1905 | + | |
| 1906 | - | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
| 1906 | + | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
| 1907 | - | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
| 1907 | + | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
| 1908 | - | CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1908 | + | CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1909 | - | |
| 1909 | + | |
| 1910 | - | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1910 | + | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1911 | - | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
| 1911 | + | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
| 1912 | - | CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1912 | + | CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1913 | - | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
| 1913 | + | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
| 1914 | - | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
| 1914 | + | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
| 1915 | - | CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1915 | + | CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1916 | - | |
| 1916 | + | |
| 1917 | - | --- second ring |
| 1917 | + | --- second ring |
| 1918 | - | |
| 1918 | + | |
| 1919 | - | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
| 1919 | + | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
| 1920 | - | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
| 1920 | + | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
| 1921 | - | CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1921 | + | CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1922 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1922 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1923 | - | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
| 1923 | + | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
| 1924 | - | CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1924 | + | CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1925 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1925 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1926 | - | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
| 1926 | + | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
| 1927 | - | CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1927 | + | CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1928 | - | |
| 1928 | + | |
| 1929 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1929 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1930 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 1930 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 1931 | - | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1931 | + | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1932 | - | |
| 1932 | + | |
| 1933 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1933 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1934 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 1934 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 1935 | - | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1935 | + | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1936 | - | |
| 1936 | + | |
| 1937 | - | |
| 1937 | + | |
| 1938 | - | |
| 1938 | + | |
| 1939 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 1939 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 1940 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 1940 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 1941 | - | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1941 | + | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1942 | - | |
| 1942 | + | |
| 1943 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 1943 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 1944 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 1944 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 1945 | - | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1945 | + | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1946 | - | |
| 1946 | + | |
| 1947 | - | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
| 1947 | + | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
| 1948 | - | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
| 1948 | + | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
| 1949 | - | CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1949 | + | CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1950 | - | |
| 1950 | + | |
| 1951 | - | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1951 | + | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 1952 | - | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
| 1952 | + | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
| 1953 | - | CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1953 | + | CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 1954 | - | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
| 1954 | + | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
| 1955 | - | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
| 1955 | + | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
| 1956 | - | CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- |
| 1956 | + | CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- |
| 1957 | - | |
| 1957 | + | |
| 1958 | - | |
| 1958 | + | |
| 1959 | - | |
| 1959 | + | |
| 1960 | - | for i, v in pairs(m:GetChildren()) do |
| 1960 | + | for i, v in pairs(m:GetChildren()) do |
| 1961 | - | if v:IsA("Part") then |
| 1961 | + | if v:IsA("Part") then
|
| 1962 | - | v.BrickColor = BrickColor.new("Really black") |
| 1962 | + | v.BrickColor = BrickColor.new("Really black")
|
| 1963 | - | v.Material = "Glass" |
| 1963 | + | v.Material = "Glass" |
| 1964 | end | |
| 1965 | end | |
| 1966 | - | for i, v in pairs(m2:GetChildren()) do |
| 1966 | + | for i, v in pairs(m2:GetChildren()) do |
| 1967 | - | if v:IsA("Part") then |
| 1967 | + | if v:IsA("Part") then
|
| 1968 | - | v.BrickColor = BrickColor.new("Crimson") |
| 1968 | + | v.BrickColor = BrickColor.new("Crimson")
|
| 1969 | - | v.Material = "Granite" |
| 1969 | + | v.Material = "Granite" |
| 1970 | end | |
| 1971 | end | |
| 1972 | - | for i, v in pairs(m3:GetChildren()) do |
| 1972 | + | for i, v in pairs(m3:GetChildren()) do |
| 1973 | - | if v:IsA("Part") then |
| 1973 | + | if v:IsA("Part") then
|
| 1974 | - | v.BrickColor = MAINRUINCOLOR |
| 1974 | + | v.BrickColor = MAINRUINCOLOR |
| 1975 | - | v.Material = "Neon" |
| 1975 | + | v.Material = "Neon" |
| 1976 | end | |
| 1977 | end | |
| 1978 | - | for i, v in pairs(mw2:GetChildren()) do |
| 1978 | + | for i, v in pairs(mw2:GetChildren()) do |
| 1979 | - | if v:IsA("Part") then |
| 1979 | + | if v:IsA("Part") then
|
| 1980 | - | v.BrickColor = MAINRUINCOLOR |
| 1980 | + | v.BrickColor = MAINRUINCOLOR |
| 1981 | - | v.Material = "Neon" |
| 1981 | + | v.Material = "Neon" |
| 1982 | end | |
| 1983 | end | |
| 1984 | - | for i, v in pairs(mw1:GetChildren()) do |
| 1984 | + | for i, v in pairs(mw1:GetChildren()) do |
| 1985 | - | if v:IsA("Part") then |
| 1985 | + | if v:IsA("Part") then
|
| 1986 | - | v.Transparency = 1 |
| 1986 | + | v.Transparency = 1 |
| 1987 | - | v.BrickColor = MAINRUINCOLOR |
| 1987 | + | v.BrickColor = MAINRUINCOLOR |
| 1988 | - | v.Material = "Neon" |
| 1988 | + | v.Material = "Neon" |
| 1989 | end | |
| 1990 | end | |
| 1991 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 1991 | + | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 1992 | - | if v:IsA("Part") then |
| 1992 | + | if v:IsA("Part") then
|
| 1993 | - | v.Transparency = 1 |
| 1993 | + | v.Transparency = 1 |
| 1994 | - | v.BrickColor = BrickColor.new("White") |
| 1994 | + | v.BrickColor = BrickColor.new("White")
|
| 1995 | - | v.Material = "Neon" |
| 1995 | + | v.Material = "Neon" |
| 1996 | end | |
| 1997 | end | |
| 1998 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 1998 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 1999 | - | if v:IsA("Part") then |
| 1999 | + | if v:IsA("Part") then
|
| 2000 | - | v.Transparency = 1 |
| 2000 | + | v.Transparency = 1 |
| 2001 | - | v.BrickColor = BrickColor.new("White") |
| 2001 | + | v.BrickColor = BrickColor.new("White")
|
| 2002 | - | v.Material = "Neon" |
| 2002 | + | v.Material = "Neon" |
| 2003 | end | |
| 2004 | end | |
| 2005 | - | ------ |
| 2005 | + | ------ |
| 2006 | - | |
| 2006 | + | |
| 2007 | - | |
| 2007 | + | |
| 2008 | - | function RemoveOutlines(part) |
| 2008 | + | function RemoveOutlines(part) |
| 2009 | - | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
| 2009 | + | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
| 2010 | end | |
| 2011 | - | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 2011 | + | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 2012 | - | local Part = Create("Part")({ |
| 2012 | + | local Part = Create("Part")({
|
| 2013 | - | Parent = Parent, |
| 2013 | + | Parent = Parent, |
| 2014 | - | Reflectance = Reflectance, |
| 2014 | + | Reflectance = Reflectance, |
| 2015 | - | Transparency = Transparency, |
| 2015 | + | Transparency = Transparency, |
| 2016 | - | CanCollide = false, |
| 2016 | + | CanCollide = false, |
| 2017 | - | Locked = true, |
| 2017 | + | Locked = true, |
| 2018 | - | BrickColor = BrickColor.new(tostring(BColor)), |
| 2018 | + | BrickColor = BrickColor.new(tostring(BColor)), |
| 2019 | - | Name = Name, |
| 2019 | + | Name = Name, |
| 2020 | - | Size = Size, |
| 2020 | + | Size = Size, |
| 2021 | - | Material = Material |
| 2021 | + | Material = Material |
| 2022 | - | }) |
| 2022 | + | }) |
| 2023 | - | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) |
| 2023 | + | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) |
| 2024 | - | RemoveOutlines(Part) |
| 2024 | + | RemoveOutlines(Part) |
| 2025 | - | return Part |
| 2025 | + | return Part |
| 2026 | end | |
| 2027 | - | function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 2027 | + | function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 2028 | - | local Msh = Create(Mesh)({ |
| 2028 | + | local Msh = Create(Mesh)({
|
| 2029 | - | Parent = Part, |
| 2029 | + | Parent = Part, |
| 2030 | - | Offset = OffSet, |
| 2030 | + | Offset = OffSet, |
| 2031 | - | Scale = Scale |
| 2031 | + | Scale = Scale |
| 2032 | - | }) |
| 2032 | + | }) |
| 2033 | - | if Mesh == "SpecialMesh" then |
| 2033 | + | if Mesh == "SpecialMesh" then |
| 2034 | - | Msh.MeshType = MeshType |
| 2034 | + | Msh.MeshType = MeshType |
| 2035 | - | Msh.MeshId = MeshId |
| 2035 | + | Msh.MeshId = MeshId |
| 2036 | - | end |
| 2036 | + | end |
| 2037 | - | return Msh |
| 2037 | + | return Msh |
| 2038 | end | |
| 2039 | - | function CreateWeld(Parent, Part0, Part1, C0, C1) |
| 2039 | + | function CreateWeld(Parent, Part0, Part1, C0, C1) |
| 2040 | - | local Weld = Create("Weld")({ |
| 2040 | + | local Weld = Create("Weld")({
|
| 2041 | - | Parent = Parent, |
| 2041 | + | Parent = Parent, |
| 2042 | - | Part0 = Part0, |
| 2042 | + | Part0 = Part0, |
| 2043 | - | Part1 = Part1, |
| 2043 | + | Part1 = Part1, |
| 2044 | - | C0 = C0, |
| 2044 | + | C0 = C0, |
| 2045 | - | C1 = C1 |
| 2045 | + | C1 = C1 |
| 2046 | - | }) |
| 2046 | + | }) |
| 2047 | - | return Weld |
| 2047 | + | return Weld |
| 2048 | end | |
| 2049 | - | |
| 2049 | + | |
| 2050 | - | Character=Player.Character |
| 2050 | + | Character=Player.Character |
| 2051 | - | PlayerGui=Player.PlayerGui |
| 2051 | + | PlayerGui=Player.PlayerGui |
| 2052 | - | Backpack=Player.Backpack |
| 2052 | + | Backpack=Player.Backpack |
| 2053 | - | Torso=Character.Torso |
| 2053 | + | Torso=Character.Torso |
| 2054 | - | Head=Character.Head |
| 2054 | + | Head=Character.Head |
| 2055 | - | Humanoid=Character.Humanoid |
| 2055 | + | Humanoid=Character.Humanoid |
| 2056 | - | m=Instance.new('Model',Character) |
| 2056 | + | m=Instance.new('Model',Character)
|
| 2057 | - | LeftArm=Character["Left Arm"] |
| 2057 | + | LeftArm=Character["Left Arm"] |
| 2058 | - | LeftLeg=Character["Left Leg"] |
| 2058 | + | LeftLeg=Character["Left Leg"] |
| 2059 | - | RightArm=Character["Right Arm"] |
| 2059 | + | RightArm=Character["Right Arm"] |
| 2060 | - | RightLeg=Character["Right Leg"] |
| 2060 | + | RightLeg=Character["Right Leg"] |
| 2061 | - | LS=Torso["Left Shoulder"] |
| 2061 | + | LS=Torso["Left Shoulder"] |
| 2062 | - | LH=Torso["Left Hip"] |
| 2062 | + | LH=Torso["Left Hip"] |
| 2063 | - | RS=Torso["Right Shoulder"] |
| 2063 | + | RS=Torso["Right Shoulder"] |
| 2064 | - | RH=Torso["Right Hip"] |
| 2064 | + | RH=Torso["Right Hip"] |
| 2065 | - | Face = Head.face |
| 2065 | + | Face = Head.face |
| 2066 | - | Neck=Torso.Neck |
| 2066 | + | Neck=Torso.Neck |
| 2067 | - | it=Instance.new |
| 2067 | + | it=Instance.new |
| 2068 | - | attacktype=1 |
| 2068 | + | attacktype=1 |
| 2069 | - | vt=Vector3.new |
| 2069 | + | vt=Vector3.new |
| 2070 | - | cf=CFrame.new |
| 2070 | + | cf=CFrame.new |
| 2071 | - | euler=CFrame.fromEulerAnglesXYZ |
| 2071 | + | euler=CFrame.fromEulerAnglesXYZ |
| 2072 | - | angles=CFrame.Angles |
| 2072 | + | angles=CFrame.Angles |
| 2073 | - | cloaked=false |
| 2073 | + | cloaked=false |
| 2074 | - | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 2074 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 2075 | - | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 2075 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 2076 | - | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
| 2076 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
| 2077 | - | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
| 2077 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
| 2078 | - | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
| 2078 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
| 2079 | - | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
| 2079 | + | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
| 2080 | - | RootPart=Character.HumanoidRootPart |
| 2080 | + | RootPart=Character.HumanoidRootPart |
| 2081 | - | RootJoint=RootPart.RootJoint |
| 2081 | + | RootJoint=RootPart.RootJoint |
| 2082 | - | RootCF=euler(-1.57,0,3.14) |
| 2082 | + | RootCF=euler(-1.57,0,3.14) |
| 2083 | - | attack = false |
| 2083 | + | attack = false |
| 2084 | - | attackdebounce = false |
| 2084 | + | attackdebounce = false |
| 2085 | - | deb=false |
| 2085 | + | deb=false |
| 2086 | - | equipped=true |
| 2086 | + | equipped=true |
| 2087 | - | hand=false |
| 2087 | + | hand=false |
| 2088 | - | MMouse=nil |
| 2088 | + | MMouse=nil |
| 2089 | - | combo=0 |
| 2089 | + | combo=0 |
| 2090 | - | mana=0 |
| 2090 | + | mana=0 |
| 2091 | - | trispeed=.2 |
| 2091 | + | trispeed=.2 |
| 2092 | - | attackmode='none' |
| 2092 | + | attackmode='none' |
| 2093 | - | local idle=0 |
| 2093 | + | local idle=0 |
| 2094 | - | local Anim="Idle" |
| 2094 | + | local Anim="Idle" |
| 2095 | - | local Effects={} |
| 2095 | + | local Effects={}
|
| 2096 | - | local gun=false |
| 2096 | + | local gun=false |
| 2097 | - | local shoot=false |
| 2097 | + | local shoot=false |
| 2098 | - | local sine = 0 |
| 2098 | + | local sine = 0 |
| 2099 | - | local change = 1 |
| 2099 | + | local change = 1 |
| 2100 | - | |
| 2100 | + | |
| 2101 | - | |
| 2101 | + | |
| 2102 | - | function RecolorTextAndRename(name,col1,col2,font) |
| 2102 | + | function RecolorTextAndRename(name,col1,col2,font) |
| 2103 | - | modet.TextStrokeColor3 = col2 |
| 2103 | + | modet.TextStrokeColor3 = col2 |
| 2104 | - | modet.TextColor3 = col1 |
| 2104 | + | modet.TextColor3 = col1 |
| 2105 | - | modet.Font = font |
| 2105 | + | modet.Font = font |
| 2106 | - | modet.Text = name |
| 2106 | + | modet.Text = name |
| 2107 | - | --[[ned.Text = name |
| 2107 | + | --[[ned.Text = name |
| 2108 | - | ned.TextColor3 = col1 |
| 2108 | + | ned.TextColor3 = col1 |
| 2109 | - | ned.TextStrokeColor3 = col2]] |
| 2109 | + | ned.TextStrokeColor3 = col2]] |
| 2110 | - | nice(name,col1,col2) |
| 2110 | + | nice(name,col1,col2) |
| 2111 | - | nice2(col1,col2) |
| 2111 | + | nice2(col1,col2) |
| 2112 | end | |
| 2113 | - | |
| 2113 | + | |
| 2114 | - | local disably = false |
| 2114 | + | local disably = false |
| 2115 | - | |
| 2115 | + | |
| 2116 | - | local r = 255 |
| 2116 | + | local r = 255 |
| 2117 | - | local g = 0 |
| 2117 | + | local g = 0 |
| 2118 | - | local b = 0 |
| 2118 | + | local b = 0 |
| 2119 | - | |
| 2119 | + | |
| 2120 | - | |
| 2120 | + | |
| 2121 | - | LW=Torso["Left Shoulder"] |
| 2121 | + | LW=Torso["Left Shoulder"] |
| 2122 | - | LH=Torso["Left Hip"] |
| 2122 | + | LH=Torso["Left Hip"] |
| 2123 | - | RW=Torso["Right Shoulder"] |
| 2123 | + | RW=Torso["Right Shoulder"] |
| 2124 | - | RH=Torso["Right Hip"] |
| 2124 | + | RH=Torso["Right Hip"] |
| 2125 | - | |
| 2125 | + | |
| 2126 | - | --save shoulders |
| 2126 | + | --save shoulders |
| 2127 | - | --[[RSH, LSH=nil, nil |
| 2127 | + | --[[RSH, LSH=nil, nil |
| 2128 | - | --welds |
| 2128 | + | --welds |
| 2129 | - | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
| 2129 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld")
|
| 2130 | - | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
| 2130 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
| 2131 | - | LH=Torso["Left Hip"] |
| 2131 | + | LH=Torso["Left Hip"] |
| 2132 | - | RH=Torso["Right Hip"] |
| 2132 | + | RH=Torso["Right Hip"] |
| 2133 | - | TorsoColor=Torso.BrickColor |
| 2133 | + | TorsoColor=Torso.BrickColor |
| 2134 | - | function NoOutline(Part) |
| 2134 | + | function NoOutline(Part) |
| 2135 | - | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
| 2135 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
| 2136 | end | |
| 2137 | - | ch=Character |
| 2137 | + | ch=Character |
| 2138 | - | RSH=ch.Torso["Right Shoulder"] |
| 2138 | + | RSH=ch.Torso["Right Shoulder"] |
| 2139 | - | LSH=ch.Torso["Left Shoulder"] |
| 2139 | + | LSH=ch.Torso["Left Shoulder"] |
| 2140 | - | -- |
| 2140 | + | -- |
| 2141 | - | RSH.Parent=nil |
| 2141 | + | RSH.Parent=nil |
| 2142 | - | LSH.Parent=nil ]]-- |
| 2142 | + | LSH.Parent=nil ]]-- |
| 2143 | - | -- |
| 2143 | + | -- |
| 2144 | - | RW.Name="Right Shoulder" |
| 2144 | + | RW.Name="Right Shoulder" |
| 2145 | - | RW.Part0=char.Torso |
| 2145 | + | RW.Part0=char.Torso |
| 2146 | - | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
| 2146 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
| 2147 | - | RW.C1=cf(0, 0.5, 0) |
| 2147 | + | RW.C1=cf(0, 0.5, 0) |
| 2148 | - | RW.Part1=char["Right Arm"] |
| 2148 | + | RW.Part1=char["Right Arm"] |
| 2149 | - | RW.Parent=char.Torso |
| 2149 | + | RW.Parent=char.Torso |
| 2150 | - | -- |
| 2150 | + | -- |
| 2151 | - | LW.Name="Left Shoulder" |
| 2151 | + | LW.Name="Left Shoulder" |
| 2152 | - | LW.Part0=char.Torso |
| 2152 | + | LW.Part0=char.Torso |
| 2153 | - | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
| 2153 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
| 2154 | - | LW.C1=cf(0, 0.5, 0) |
| 2154 | + | LW.C1=cf(0, 0.5, 0) |
| 2155 | - | LW.Part1=char["Left Arm"] |
| 2155 | + | LW.Part1=char["Left Arm"] |
| 2156 | - | LW.Parent=char.Torso |
| 2156 | + | LW.Parent=char.Torso |
| 2157 | - | |
| 2157 | + | |
| 2158 | - | local Stats=Instance.new("BoolValue") |
| 2158 | + | local Stats=Instance.new("BoolValue")
|
| 2159 | - | Stats.Name="Stats" |
| 2159 | + | Stats.Name="Stats" |
| 2160 | - | Stats.Parent=Character |
| 2160 | + | Stats.Parent=Character |
| 2161 | - | local Atk=Instance.new("NumberValue") |
| 2161 | + | local Atk=Instance.new("NumberValue")
|
| 2162 | - | Atk.Name="Damage" |
| 2162 | + | Atk.Name="Damage" |
| 2163 | - | Atk.Parent=Stats |
| 2163 | + | Atk.Parent=Stats |
| 2164 | - | Atk.Value=1 |
| 2164 | + | Atk.Value=1 |
| 2165 | - | local Def=Instance.new("NumberValue") |
| 2165 | + | local Def=Instance.new("NumberValue")
|
| 2166 | - | Def.Name="Defense" |
| 2166 | + | Def.Name="Defense" |
| 2167 | - | Def.Parent=Stats |
| 2167 | + | Def.Parent=Stats |
| 2168 | - | Def.Value=1 |
| 2168 | + | Def.Value=1 |
| 2169 | - | local Speed=Instance.new("NumberValue") |
| 2169 | + | local Speed=Instance.new("NumberValue")
|
| 2170 | - | Speed.Name="Speed" |
| 2170 | + | Speed.Name="Speed" |
| 2171 | - | Speed.Parent=Stats |
| 2171 | + | Speed.Parent=Stats |
| 2172 | - | Speed.Value=1 |
| 2172 | + | Speed.Value=1 |
| 2173 | - | local Mvmt=Instance.new("NumberValue") |
| 2173 | + | local Mvmt=Instance.new("NumberValue")
|
| 2174 | - | Mvmt.Name="Movement" |
| 2174 | + | Mvmt.Name="Movement" |
| 2175 | - | Mvmt.Parent=Stats |
| 2175 | + | Mvmt.Parent=Stats |
| 2176 | - | Mvmt.Value=1 |
| 2176 | + | Mvmt.Value=1 |
| 2177 | - | |
| 2177 | + | |
| 2178 | - | local donum=0 |
| 2178 | + | local donum=0 |
| 2179 | - | |
| 2179 | + | |
| 2180 | - | |
| 2180 | + | |
| 2181 | - | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) |
| 2181 | + | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) |
| 2182 | - | local fp=it("Part") |
| 2182 | + | local fp=it("Part")
|
| 2183 | - | fp.formFactor=formfactor |
| 2183 | + | fp.formFactor=formfactor |
| 2184 | - | fp.Parent=parent |
| 2184 | + | fp.Parent=parent |
| 2185 | - | fp.Reflectance=reflectance |
| 2185 | + | fp.Reflectance=reflectance |
| 2186 | - | fp.Transparency=transparency |
| 2186 | + | fp.Transparency=transparency |
| 2187 | - | fp.CanCollide=false |
| 2187 | + | fp.CanCollide=false |
| 2188 | - | fp.Locked=true |
| 2188 | + | fp.Locked=true |
| 2189 | - | fp.BrickColor=brickcolor |
| 2189 | + | fp.BrickColor=brickcolor |
| 2190 | - | fp.Name=name |
| 2190 | + | fp.Name=name |
| 2191 | - | fp.Size=size |
| 2191 | + | fp.Size=size |
| 2192 | - | fp.Position=Torso.Position |
| 2192 | + | fp.Position=Torso.Position |
| 2193 | - | NoOutline(fp) |
| 2193 | + | NoOutline(fp) |
| 2194 | - | fp.Material="SmoothPlastic" |
| 2194 | + | fp.Material="SmoothPlastic" |
| 2195 | - | fp:BreakJoints() |
| 2195 | + | fp:BreakJoints() |
| 2196 | - | return fp |
| 2196 | + | return fp |
| 2197 | end | |
| 2198 | - | |
| 2198 | + | |
| 2199 | - | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 2199 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 2200 | - | local mesh=it(Mesh) |
| 2200 | + | local mesh=it(Mesh) |
| 2201 | - | mesh.Parent=part |
| 2201 | + | mesh.Parent=part |
| 2202 | - | if Mesh=="SpecialMesh" then |
| 2202 | + | if Mesh=="SpecialMesh" then |
| 2203 | - | mesh.MeshType=meshtype |
| 2203 | + | mesh.MeshType=meshtype |
| 2204 | - | if meshid~="nil" then |
| 2204 | + | if meshid~="nil" then |
| 2205 | - | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid |
| 2205 | + | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid |
| 2206 | end | |
| 2207 | end | |
| 2208 | - | mesh.Offset=offset |
| 2208 | + | mesh.Offset=offset |
| 2209 | - | mesh.Scale=scale |
| 2209 | + | mesh.Scale=scale |
| 2210 | - | return mesh |
| 2210 | + | return mesh |
| 2211 | end | |
| 2212 | - | |
| 2212 | + | |
| 2213 | - | function weld(parent,part0,part1,c0) |
| 2213 | + | function weld(parent,part0,part1,c0) |
| 2214 | - | local weld=it("Weld") |
| 2214 | + | local weld=it("Weld")
|
| 2215 | - | weld.Parent=parent |
| 2215 | + | weld.Parent=parent |
| 2216 | - | weld.Part0=part0 |
| 2216 | + | weld.Part0=part0 |
| 2217 | - | weld.Part1=part1 |
| 2217 | + | weld.Part1=part1 |
| 2218 | - | weld.C0=c0 |
| 2218 | + | weld.C0=c0 |
| 2219 | - | return weld |
| 2219 | + | return weld |
| 2220 | end | |
| 2221 | - | |
| 2221 | + | |
| 2222 | - | local Color1=Torso.BrickColor |
| 2222 | + | local Color1=Torso.BrickColor |
| 2223 | - | |
| 2223 | + | |
| 2224 | - | local bodvel=Instance.new("BodyVelocity") |
| 2224 | + | local bodvel=Instance.new("BodyVelocity")
|
| 2225 | - | local bg=Instance.new("BodyGyro") |
| 2225 | + | local bg=Instance.new("BodyGyro")
|
| 2226 | - | |
| 2226 | + | |
| 2227 | - | --------- SazEreno's Artificial HB -------------- |
| 2227 | + | --------- SazEreno's Artificial HB -------------- |
| 2228 | - | |
| 2228 | + | |
| 2229 | - | -------- RAINBOW LEAVE IT TO ME |
| 2229 | + | -------- RAINBOW LEAVE IT TO ME |
| 2230 | - | |
| 2230 | + | |
| 2231 | - | |
| 2231 | + | |
| 2232 | - | so = function(id,par,vol,pit) |
| 2232 | + | so = function(id,par,vol,pit) |
| 2233 | - | local sou = Instance.new("Sound",par or workspace) |
| 2233 | + | local sou = Instance.new("Sound",par or workspace)
|
| 2234 | - | sou.Volume=vol |
| 2234 | + | sou.Volume=vol |
| 2235 | - | sou.Pitch=pit or 1 |
| 2235 | + | sou.Pitch=pit or 1 |
| 2236 | - | sou.SoundId=id |
| 2236 | + | sou.SoundId=id |
| 2237 | - | swait() |
| 2237 | + | swait() |
| 2238 | - | sou:play() |
| 2238 | + | sou:play() |
| 2239 | - | game:GetService("Debris"):AddItem(sou,6) |
| 2239 | + | game:GetService("Debris"):AddItem(sou,6)
|
| 2240 | end | |
| 2241 | - | |
| 2241 | + | |
| 2242 | - | function clerp(a,b,t) |
| 2242 | + | function clerp(a,b,t) |
| 2243 | - | local qa = {QuaternionFromCFrame(a)} |
| 2243 | + | local qa = {QuaternionFromCFrame(a)}
|
| 2244 | - | local qb = {QuaternionFromCFrame(b)} |
| 2244 | + | local qb = {QuaternionFromCFrame(b)}
|
| 2245 | - | local ax, ay, az = a.x, a.y, a.z |
| 2245 | + | local ax, ay, az = a.x, a.y, a.z |
| 2246 | - | local bx, by, bz = b.x, b.y, b.z |
| 2246 | + | local bx, by, bz = b.x, b.y, b.z |
| 2247 | - | local _t = 1-t |
| 2247 | + | local _t = 1-t |
| 2248 | - | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
| 2248 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
| 2249 | end | |
| 2250 | - | |
| 2250 | + | |
| 2251 | - | function aclerp(startCF,endCF,alpha) |
| 2251 | + | function aclerp(startCF,endCF,alpha) |
| 2252 | - | return startCF:lerp(endCF, alpha) |
| 2252 | + | return startCF:lerp(endCF, alpha) |
| 2253 | end | |
| 2254 | - | |
| 2254 | + | |
| 2255 | - | function QuaternionFromCFrame(cf) |
| 2255 | + | function QuaternionFromCFrame(cf) |
| 2256 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 2256 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 2257 | - | local trace = m00 + m11 + m22 |
| 2257 | + | local trace = m00 + m11 + m22 |
| 2258 | - | if trace > 0 then |
| 2258 | + | if trace > 0 then |
| 2259 | - | local s = math.sqrt(1 + trace) |
| 2259 | + | local s = math.sqrt(1 + trace) |
| 2260 | - | local recip = 0.5/s |
| 2260 | + | local recip = 0.5/s |
| 2261 | - | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
| 2261 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
| 2262 | - | else |
| 2262 | + | else |
| 2263 | - | local i = 0 |
| 2263 | + | local i = 0 |
| 2264 | - | if m11 > m00 then |
| 2264 | + | if m11 > m00 then |
| 2265 | - | i = 1 |
| 2265 | + | i = 1 |
| 2266 | end | |
| 2267 | - | if m22 > (i == 0 and m00 or m11) then |
| 2267 | + | if m22 > (i == 0 and m00 or m11) then |
| 2268 | - | i = 2 |
| 2268 | + | i = 2 |
| 2269 | end | |
| 2270 | - | if i == 0 then |
| 2270 | + | if i == 0 then |
| 2271 | - | local s = math.sqrt(m00-m11-m22+1) |
| 2271 | + | local s = math.sqrt(m00-m11-m22+1) |
| 2272 | - | local recip = 0.5/s |
| 2272 | + | local recip = 0.5/s |
| 2273 | - | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
| 2273 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
| 2274 | - | elseif i == 1 then |
| 2274 | + | elseif i == 1 then |
| 2275 | - | local s = math.sqrt(m11-m22-m00+1) |
| 2275 | + | local s = math.sqrt(m11-m22-m00+1) |
| 2276 | - | local recip = 0.5/s |
| 2276 | + | local recip = 0.5/s |
| 2277 | - | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
| 2277 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
| 2278 | - | elseif i == 2 then |
| 2278 | + | elseif i == 2 then |
| 2279 | - | local s = math.sqrt(m22-m00-m11+1) |
| 2279 | + | local s = math.sqrt(m22-m00-m11+1) |
| 2280 | - | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
| 2280 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
| 2281 | end | |
| 2282 | end | |
| 2283 | end | |
| 2284 | - | |
| 2284 | + | |
| 2285 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 2285 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 2286 | - | local xs, ys, zs = x + x, y + y, z + z |
| 2286 | + | local xs, ys, zs = x + x, y + y, z + z |
| 2287 | - | local wx, wy, wz = w*xs, w*ys, w*zs |
| 2287 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
| 2288 | - | local xx = x*xs |
| 2288 | + | local xx = x*xs |
| 2289 | - | local xy = x*ys |
| 2289 | + | local xy = x*ys |
| 2290 | - | local xz = x*zs |
| 2290 | + | local xz = x*zs |
| 2291 | - | local yy = y*ys |
| 2291 | + | local yy = y*ys |
| 2292 | - | local yz = y*zs |
| 2292 | + | local yz = y*zs |
| 2293 | - | local zz = z*zs |
| 2293 | + | local zz = z*zs |
| 2294 | - | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
| 2294 | + | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
| 2295 | end | |
| 2296 | - | |
| 2296 | + | |
| 2297 | - | function QuaternionSlerp(a, b, t) |
| 2297 | + | function QuaternionSlerp(a, b, t) |
| 2298 | - | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
| 2298 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
| 2299 | - | local startInterp, finishInterp; |
| 2299 | + | local startInterp, finishInterp; |
| 2300 | - | if cosTheta >= 0.0001 then |
| 2300 | + | if cosTheta >= 0.0001 then |
| 2301 | - | if (1 - cosTheta) > 0.0001 then |
| 2301 | + | if (1 - cosTheta) > 0.0001 then |
| 2302 | - | local theta = math.acos(cosTheta) |
| 2302 | + | local theta = math.acos(cosTheta) |
| 2303 | - | local invSinTheta = 1/math.sin(theta) |
| 2303 | + | local invSinTheta = 1/math.sin(theta) |
| 2304 | - | startInterp = math.sin((1-t)*theta)*invSinTheta |
| 2304 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
| 2305 | - | finishInterp = math.sin(t*theta)*invSinTheta |
| 2305 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 2306 | - | else |
| 2306 | + | else |
| 2307 | - | startInterp = 1-t |
| 2307 | + | startInterp = 1-t |
| 2308 | - | finishInterp = t |
| 2308 | + | finishInterp = t |
| 2309 | end | |
| 2310 | - | else |
| 2310 | + | else |
| 2311 | - | if (1+cosTheta) > 0.0001 then |
| 2311 | + | if (1+cosTheta) > 0.0001 then |
| 2312 | - | local theta = math.acos(-cosTheta) |
| 2312 | + | local theta = math.acos(-cosTheta) |
| 2313 | - | local invSinTheta = 1/math.sin(theta) |
| 2313 | + | local invSinTheta = 1/math.sin(theta) |
| 2314 | - | startInterp = math.sin((t-1)*theta)*invSinTheta |
| 2314 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
| 2315 | - | finishInterp = math.sin(t*theta)*invSinTheta |
| 2315 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 2316 | - | else |
| 2316 | + | else |
| 2317 | - | startInterp = t-1 |
| 2317 | + | startInterp = t-1 |
| 2318 | - | finishInterp = t |
| 2318 | + | finishInterp = t |
| 2319 | end | |
| 2320 | end | |
| 2321 | - | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
| 2321 | + | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
| 2322 | end | |
| 2323 | - | |
| 2323 | + | |
| 2324 | - | local function CFrameFromTopBack(at, top, back) |
| 2324 | + | local function CFrameFromTopBack(at, top, back) |
| 2325 | - | local right = top:Cross(back) |
| 2325 | + | local right = top:Cross(back) |
| 2326 | - | return CFrame.new(at.x, at.y, at.z, |
| 2326 | + | return CFrame.new(at.x, at.y, at.z, |
| 2327 | - | right.x, top.x, back.x, |
| 2327 | + | right.x, top.x, back.x, |
| 2328 | - | right.y, top.y, back.y, |
| 2328 | + | right.y, top.y, back.y, |
| 2329 | - | right.z, top.z, back.z) |
| 2329 | + | right.z, top.z, back.z) |
| 2330 | end | |
| 2331 | - | |
| 2331 | + | |
| 2332 | - | function Triangle(a, b, c) |
| 2332 | + | function Triangle(a, b, c) |
| 2333 | - | local edg1 = (c-a):Dot((b-a).unit) |
| 2333 | + | local edg1 = (c-a):Dot((b-a).unit) |
| 2334 | - | local edg2 = (a-b):Dot((c-b).unit) |
| 2334 | + | local edg2 = (a-b):Dot((c-b).unit) |
| 2335 | - | local edg3 = (b-c):Dot((a-c).unit) |
| 2335 | + | local edg3 = (b-c):Dot((a-c).unit) |
| 2336 | - | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
| 2336 | + | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
| 2337 | - | a, b, c = a, b, c |
| 2337 | + | a, b, c = a, b, c |
| 2338 | - | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
| 2338 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
| 2339 | - | a, b, c = b, c, a |
| 2339 | + | a, b, c = b, c, a |
| 2340 | - | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
| 2340 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
| 2341 | - | a, b, c = c, a, b |
| 2341 | + | a, b, c = c, a, b |
| 2342 | - | else |
| 2342 | + | else |
| 2343 | - | assert(false, "unreachable") |
| 2343 | + | assert(false, "unreachable") |
| 2344 | end | |
| 2345 | - | |
| 2345 | + | |
| 2346 | - | local len1 = (c-a):Dot((b-a).unit) |
| 2346 | + | local len1 = (c-a):Dot((b-a).unit) |
| 2347 | - | local len2 = (b-a).magnitude - len1 |
| 2347 | + | local len2 = (b-a).magnitude - len1 |
| 2348 | - | local width = (a + (b-a).unit*len1 - c).magnitude |
| 2348 | + | local width = (a + (b-a).unit*len1 - c).magnitude |
| 2349 | - | |
| 2349 | + | |
| 2350 | - | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
| 2350 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
| 2351 | - | |
| 2351 | + | |
| 2352 | - | local list = {} |
| 2352 | + | local list = {}
|
| 2353 | - | |
| 2353 | + | |
| 2354 | - | if len1 > 0.01 then |
| 2354 | + | if len1 > 0.01 then |
| 2355 | - | local w1 = Instance.new('WedgePart', m) |
| 2355 | + | local w1 = Instance.new('WedgePart', m)
|
| 2356 | - | game:GetService("Debris"):AddItem(w1,5) |
| 2356 | + | game:GetService("Debris"):AddItem(w1,5)
|
| 2357 | - | w1.Material = "SmoothPlastic" |
| 2357 | + | w1.Material = "SmoothPlastic" |
| 2358 | - | w1.FormFactor = 'Custom' |
| 2358 | + | w1.FormFactor = 'Custom' |
| 2359 | - | w1.BrickColor = MAINRUINCOLOR |
| 2359 | + | w1.BrickColor = MAINRUINCOLOR |
| 2360 | - | w1.Transparency = 0 |
| 2360 | + | w1.Transparency = 0 |
| 2361 | - | w1.Reflectance = 0 |
| 2361 | + | w1.Reflectance = 0 |
| 2362 | - | w1.Material = "SmoothPlastic" |
| 2362 | + | w1.Material = "SmoothPlastic" |
| 2363 | - | w1.CanCollide = false |
| 2363 | + | w1.CanCollide = false |
| 2364 | - | local l1 = Instance.new("PointLight",w1) |
| 2364 | + | local l1 = Instance.new("PointLight",w1)
|
| 2365 | - | l1.Color = Color3.new(170,0,0) |
| 2365 | + | l1.Color = Color3.new(170,0,0) |
| 2366 | - | NoOutline(w1) |
| 2366 | + | NoOutline(w1) |
| 2367 | - | local sz = Vector3.new(0.2, width, len1) |
| 2367 | + | local sz = Vector3.new(0.2, width, len1) |
| 2368 | - | w1.Size = sz |
| 2368 | + | w1.Size = sz |
| 2369 | - | local sp = Instance.new("SpecialMesh",w1) |
| 2369 | + | local sp = Instance.new("SpecialMesh",w1)
|
| 2370 | - | sp.MeshType = "Wedge" |
| 2370 | + | sp.MeshType = "Wedge" |
| 2371 | - | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
| 2371 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
| 2372 | - | w1:BreakJoints() |
| 2372 | + | w1:BreakJoints() |
| 2373 | - | w1.Anchored = true |
| 2373 | + | w1.Anchored = true |
| 2374 | - | w1.Parent = workspace |
| 2374 | + | w1.Parent = workspace |
| 2375 | - | w1.Transparency = 0.7 |
| 2375 | + | w1.Transparency = 0.7 |
| 2376 | - | table.insert(Effects,{w1,"Disappear",.01}) |
| 2376 | + | table.insert(Effects,{w1,"Disappear",.01})
|
| 2377 | - | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
| 2377 | + | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
| 2378 | - | table.insert(list,w1) |
| 2378 | + | table.insert(list,w1) |
| 2379 | end | |
| 2380 | - | |
| 2380 | + | |
| 2381 | - | if len2 > 0.01 then |
| 2381 | + | if len2 > 0.01 then |
| 2382 | - | local w2 = Instance.new('WedgePart', m) |
| 2382 | + | local w2 = Instance.new('WedgePart', m)
|
| 2383 | - | game:GetService("Debris"):AddItem(w2,5) |
| 2383 | + | game:GetService("Debris"):AddItem(w2,5)
|
| 2384 | - | w2.Material = "SmoothPlastic" |
| 2384 | + | w2.Material = "SmoothPlastic" |
| 2385 | - | w2.FormFactor = 'Custom' |
| 2385 | + | w2.FormFactor = 'Custom' |
| 2386 | - | w2.BrickColor = MAINRUINCOLOR |
| 2386 | + | w2.BrickColor = MAINRUINCOLOR |
| 2387 | - | w2.Transparency = 0 |
| 2387 | + | w2.Transparency = 0 |
| 2388 | - | w2.Reflectance = 0 |
| 2388 | + | w2.Reflectance = 0 |
| 2389 | - | w2.Material = "SmoothPlastic" |
| 2389 | + | w2.Material = "SmoothPlastic" |
| 2390 | - | w2.CanCollide = false |
| 2390 | + | w2.CanCollide = false |
| 2391 | - | local l2 = Instance.new("PointLight",w2) |
| 2391 | + | local l2 = Instance.new("PointLight",w2)
|
| 2392 | - | l2.Color = Color3.new(170,0,0) |
| 2392 | + | l2.Color = Color3.new(170,0,0) |
| 2393 | - | NoOutline(w2) |
| 2393 | + | NoOutline(w2) |
| 2394 | - | local sz = Vector3.new(0.2, width, len2) |
| 2394 | + | local sz = Vector3.new(0.2, width, len2) |
| 2395 | - | w2.Size = sz |
| 2395 | + | w2.Size = sz |
| 2396 | - | local sp = Instance.new("SpecialMesh",w2) |
| 2396 | + | local sp = Instance.new("SpecialMesh",w2)
|
| 2397 | - | sp.MeshType = "Wedge" |
| 2397 | + | sp.MeshType = "Wedge" |
| 2398 | - | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
| 2398 | + | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
| 2399 | - | w2:BreakJoints() |
| 2399 | + | w2:BreakJoints() |
| 2400 | - | w2.Anchored = true |
| 2400 | + | w2.Anchored = true |
| 2401 | - | w2.Parent = workspace |
| 2401 | + | w2.Parent = workspace |
| 2402 | - | w2.Transparency = 0.7 |
| 2402 | + | w2.Transparency = 0.7 |
| 2403 | - | table.insert(Effects,{w2,"Disappear",.01}) |
| 2403 | + | table.insert(Effects,{w2,"Disappear",.01})
|
| 2404 | - | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
| 2404 | + | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
| 2405 | - | table.insert(list,w2) |
| 2405 | + | table.insert(list,w2) |
| 2406 | end | |
| 2407 | - | return unpack(list) |
| 2407 | + | return unpack(list) |
| 2408 | end | |
| 2409 | - | |
| 2409 | + | |
| 2410 | - | |
| 2410 | + | |
| 2411 | - | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
| 2411 | + | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
| 2412 | - | if DoDamage == true then |
| 2412 | + | if DoDamage == true then |
| 2413 | - | if hit.Parent == nil then |
| 2413 | + | if hit.Parent == nil then |
| 2414 | - | return |
| 2414 | + | return |
| 2415 | - | end |
| 2415 | + | end |
| 2416 | - | local h = hit.Parent:FindFirstChildOfClass("Humanoid") |
| 2416 | + | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
|
| 2417 | - | for _, v in pairs(hit.Parent:children()) do |
| 2417 | + | for _, v in pairs(hit.Parent:children()) do |
| 2418 | - | if v:IsA("Humanoid") then |
| 2418 | + | if v:IsA("Humanoid") then
|
| 2419 | - | h = v |
| 2419 | + | h = v |
| 2420 | - | end |
| 2420 | + | end |
| 2421 | - | end |
| 2421 | + | end |
| 2422 | - | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then |
| 2422 | + | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
|
| 2423 | - | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then |
| 2423 | + | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
|
| 2424 | - | return |
| 2424 | + | return |
| 2425 | - | end |
| 2425 | + | end |
| 2426 | - | local c = Create("ObjectValue")({ |
| 2426 | + | local c = Create("ObjectValue")({
|
| 2427 | - | Name = "creator", |
| 2427 | + | Name = "creator", |
| 2428 | - | Value = game:GetService("Players").LocalPlayer, |
| 2428 | + | Value = game:GetService("Players").LocalPlayer,
|
| 2429 | - | Parent = h |
| 2429 | + | Parent = h |
| 2430 | - | }) |
| 2430 | + | }) |
| 2431 | - | game:GetService("Debris"):AddItem(c, 0.5) |
| 2431 | + | game:GetService("Debris"):AddItem(c, 0.5)
|
| 2432 | - | if HitSound ~= nil and HitPitch ~= nil then |
| 2432 | + | if HitSound ~= nil and HitPitch ~= nil then |
| 2433 | - | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
| 2433 | + | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
| 2434 | - | end |
| 2434 | + | end |
| 2435 | - | local Damage = math.random(minim, maxim) |
| 2435 | + | local Damage = math.random(minim, maxim) |
| 2436 | - | local blocked = false |
| 2436 | + | local blocked = false |
| 2437 | - | local block = hit.Parent:findFirstChild("Block") |
| 2437 | + | local block = hit.Parent:findFirstChild("Block")
|
| 2438 | - | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
| 2438 | + | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
| 2439 | - | blocked = true |
| 2439 | + | blocked = true |
| 2440 | - | block.Value = block.Value - 1 |
| 2440 | + | block.Value = block.Value - 1 |
| 2441 | - | print(block.Value) |
| 2441 | + | print(block.Value) |
| 2442 | - | end |
| 2442 | + | end |
| 2443 | - | if blocked == false then |
| 2443 | + | if blocked == false then |
| 2444 | - | local HitHealth = h.Health |
| 2444 | + | local HitHealth = h.Health |
| 2445 | - | h.MaxHealth = 100 |
| 2445 | + | h.MaxHealth = 100 |
| 2446 | - | h.Health = h.Health - Damage |
| 2446 | + | h.Health = h.Health - Damage |
| 2447 | - | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then |
| 2447 | + | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then |
| 2448 | - | --print("gained kill") |
| 2448 | + | --print("gained kill")
|
| 2449 | - | dmg(h.Parent) |
| 2449 | + | dmg(h.Parent) |
| 2450 | - | end |
| 2450 | + | end |
| 2451 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color) |
| 2451 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color) |
| 2452 | - | else |
| 2452 | + | else |
| 2453 | - | h.Health = h.Health - Damage / 2 |
| 2453 | + | h.Health = h.Health - Damage / 2 |
| 2454 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color) |
| 2454 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color) |
| 2455 | - | end |
| 2455 | + | end |
| 2456 | - | if Type == "Knockdown" then |
| 2456 | + | if Type == "Knockdown" then |
| 2457 | - | local hum = hit.Parent.Humanoid |
| 2457 | + | local hum = hit.Parent.Humanoid |
| 2458 | - | hum.PlatformStand = true |
| 2458 | + | hum.PlatformStand = true |
| 2459 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
| 2459 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
| 2460 | - | swait(1) |
| 2460 | + | swait(1) |
| 2461 | - | HHumanoid.PlatformStand = false |
| 2461 | + | HHumanoid.PlatformStand = false |
| 2462 | - | end), hum) |
| 2462 | + | end), hum) |
| 2463 | - | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit |
| 2463 | + | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit |
| 2464 | - | local bodvol = Create("BodyVelocity")({ |
| 2464 | + | local bodvol = Create("BodyVelocity")({
|
| 2465 | - | velocity = angle * knockback, |
| 2465 | + | velocity = angle * knockback, |
| 2466 | - | P = 5000, |
| 2466 | + | P = 5000, |
| 2467 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 2467 | + | maxForce = Vector3.new(8000, 8000, 8000), |
| 2468 | - | Parent = hit |
| 2468 | + | Parent = hit |
| 2469 | - | }) |
| 2469 | + | }) |
| 2470 | - | local rl = Create("BodyAngularVelocity")({ |
| 2470 | + | local rl = Create("BodyAngularVelocity")({
|
| 2471 | - | P = 3000, |
| 2471 | + | P = 3000, |
| 2472 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 2472 | + | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 2473 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 2473 | + | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 2474 | - | Parent = hit |
| 2474 | + | Parent = hit |
| 2475 | - | }) |
| 2475 | + | }) |
| 2476 | - | game:GetService("Debris"):AddItem(bodvol, 0.5) |
| 2476 | + | game:GetService("Debris"):AddItem(bodvol, 0.5)
|
| 2477 | - | game:GetService("Debris"):AddItem(rl, 0.5) |
| 2477 | + | game:GetService("Debris"):AddItem(rl, 0.5)
|
| 2478 | - | elseif Type == "Normal" then |
| 2478 | + | elseif Type == "Normal" then |
| 2479 | - | local vp = Create("BodyVelocity")({ |
| 2479 | + | local vp = Create("BodyVelocity")({
|
| 2480 | - | P = 500, |
| 2480 | + | P = 500, |
| 2481 | - | maxForce = Vector3.new(math.huge, 0, math.huge), |
| 2481 | + | maxForce = Vector3.new(math.huge, 0, math.huge), |
| 2482 | - | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 |
| 2482 | + | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 |
| 2483 | - | }) |
| 2483 | + | }) |
| 2484 | - | if knockback > 0 then |
| 2484 | + | if knockback > 0 then |
| 2485 | - | vp.Parent = hit.Parent.Head |
| 2485 | + | vp.Parent = hit.Parent.Head |
| 2486 | - | end |
| 2486 | + | end |
| 2487 | - | game:GetService("Debris"):AddItem(vp, 0.5) |
| 2487 | + | game:GetService("Debris"):AddItem(vp, 0.5)
|
| 2488 | - | elseif Type == "Up" then |
| 2488 | + | elseif Type == "Up" then |
| 2489 | - | local bodyVelocity = Create("BodyVelocity")({ |
| 2489 | + | local bodyVelocity = Create("BodyVelocity")({
|
| 2490 | - | velocity = Vector3.new(0, 20, 0), |
| 2490 | + | velocity = Vector3.new(0, 20, 0), |
| 2491 | - | P = 5000, |
| 2491 | + | P = 5000, |
| 2492 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 2492 | + | maxForce = Vector3.new(8000, 8000, 8000), |
| 2493 | - | Parent = hit |
| 2493 | + | Parent = hit |
| 2494 | - | }) |
| 2494 | + | }) |
| 2495 | - | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) |
| 2495 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
|
| 2496 | - | local bodyVelocity = Create("BodyVelocity")({ |
| 2496 | + | local bodyVelocity = Create("BodyVelocity")({
|
| 2497 | - | velocity = Vector3.new(0, 20, 0), |
| 2497 | + | velocity = Vector3.new(0, 20, 0), |
| 2498 | - | P = 5000, |
| 2498 | + | P = 5000, |
| 2499 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 2499 | + | maxForce = Vector3.new(8000, 8000, 8000), |
| 2500 | - | Parent = hit |
| 2500 | + | Parent = hit |
| 2501 | - | }) |
| 2501 | + | }) |
| 2502 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
| 2502 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 2503 | - | elseif Type == "Leech" then |
| 2503 | + | elseif Type == "Leech" then |
| 2504 | - | local hum = hit.Parent.Humanoid |
| 2504 | + | local hum = hit.Parent.Humanoid |
| 2505 | - | if hum ~= nil then |
| 2505 | + | if hum ~= nil then |
| 2506 | - | for i = 0, 2 do |
| 2506 | + | for i = 0, 2 do |
| 2507 | - | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) |
| 2507 | + | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
|
| 2508 | - | end |
| 2508 | + | end |
| 2509 | - | Humanoid.Health = Humanoid.Health + 10 |
| 2509 | + | Humanoid.Health = Humanoid.Health + 10 |
| 2510 | - | end |
| 2510 | + | end |
| 2511 | - | elseif Type == "UpKnock" then |
| 2511 | + | elseif Type == "UpKnock" then |
| 2512 | - | local hum = hit.Parent.Humanoid |
| 2512 | + | local hum = hit.Parent.Humanoid |
| 2513 | - | hum.PlatformStand = true |
| 2513 | + | hum.PlatformStand = true |
| 2514 | - | if hum ~= nil then |
| 2514 | + | if hum ~= nil then |
| 2515 | - | hitr = true |
| 2515 | + | hitr = true |
| 2516 | - | end |
| 2516 | + | end |
| 2517 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
| 2517 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
| 2518 | - | swait(5) |
| 2518 | + | swait(5) |
| 2519 | - | HHumanoid.PlatformStand = false |
| 2519 | + | HHumanoid.PlatformStand = false |
| 2520 | - | hitr = false |
| 2520 | + | hitr = false |
| 2521 | - | end), hum) |
| 2521 | + | end), hum) |
| 2522 | - | local bodyVelocity = Create("BodyVelocity")({ |
| 2522 | + | local bodyVelocity = Create("BodyVelocity")({
|
| 2523 | - | velocity = Vector3.new(0, 20, 0), |
| 2523 | + | velocity = Vector3.new(0, 20, 0), |
| 2524 | - | P = 5000, |
| 2524 | + | P = 5000, |
| 2525 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 2525 | + | maxForce = Vector3.new(8000, 8000, 8000), |
| 2526 | - | Parent = hit |
| 2526 | + | Parent = hit |
| 2527 | - | }) |
| 2527 | + | }) |
| 2528 | - | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) |
| 2528 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
|
| 2529 | - | local bodyVelocity = Create("BodyVelocity")({ |
| 2529 | + | local bodyVelocity = Create("BodyVelocity")({
|
| 2530 | - | velocity = Vector3.new(0, 20, 0), |
| 2530 | + | velocity = Vector3.new(0, 20, 0), |
| 2531 | - | P = 5000, |
| 2531 | + | P = 5000, |
| 2532 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 2532 | + | maxForce = Vector3.new(8000, 8000, 8000), |
| 2533 | - | Parent = hit |
| 2533 | + | Parent = hit |
| 2534 | - | }) |
| 2534 | + | }) |
| 2535 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
| 2535 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 2536 | - | elseif Type == "Snare" then |
| 2536 | + | elseif Type == "Snare" then |
| 2537 | - | local bp = Create("BodyPosition")({ |
| 2537 | + | local bp = Create("BodyPosition")({
|
| 2538 | - | P = 2000, |
| 2538 | + | P = 2000, |
| 2539 | - | D = 100, |
| 2539 | + | D = 100, |
| 2540 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 2540 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 2541 | - | position = hit.Parent.Torso.Position, |
| 2541 | + | position = hit.Parent.Torso.Position, |
| 2542 | - | Parent = hit.Parent.Torso |
| 2542 | + | Parent = hit.Parent.Torso |
| 2543 | - | }) |
| 2543 | + | }) |
| 2544 | - | game:GetService("Debris"):AddItem(bp, 1) |
| 2544 | + | game:GetService("Debris"):AddItem(bp, 1)
|
| 2545 | - | elseif Type == "Slashnare" then |
| 2545 | + | elseif Type == "Slashnare" then |
| 2546 | - | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07) |
| 2546 | + | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
|
| 2547 | - | for i = 1, math.random(4, 5) do |
| 2547 | + | for i = 1, math.random(4, 5) do |
| 2548 | - | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) |
| 2548 | + | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
|
| 2549 | - | end |
| 2549 | + | end |
| 2550 | - | local bp = Create("BodyPosition")({ |
| 2550 | + | local bp = Create("BodyPosition")({
|
| 2551 | - | P = 2000, |
| 2551 | + | P = 2000, |
| 2552 | - | D = 100, |
| 2552 | + | D = 100, |
| 2553 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 2553 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 2554 | - | position = hit.Parent.Torso.Position, |
| 2554 | + | position = hit.Parent.Torso.Position, |
| 2555 | - | Parent = hit.Parent.Torso |
| 2555 | + | Parent = hit.Parent.Torso |
| 2556 | - | }) |
| 2556 | + | }) |
| 2557 | - | game:GetService("Debris"):AddItem(bp, 1) |
| 2557 | + | game:GetService("Debris"):AddItem(bp, 1)
|
| 2558 | - | elseif Type == "Spike" then |
| 2558 | + | elseif Type == "Spike" then |
| 2559 | - | -- CreateBigIceSword(hit.Parent.Torso.CFrame) |
| 2559 | + | -- CreateBigIceSword(hit.Parent.Torso.CFrame) |
| 2560 | - | local bp = Create("BodyPosition")({ |
| 2560 | + | local bp = Create("BodyPosition")({
|
| 2561 | - | P = 2000, |
| 2561 | + | P = 2000, |
| 2562 | - | D = 100, |
| 2562 | + | D = 100, |
| 2563 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 2563 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 2564 | - | position = hit.Parent.Torso.Position, |
| 2564 | + | position = hit.Parent.Torso.Position, |
| 2565 | - | Parent = hit.Parent.Torso |
| 2565 | + | Parent = hit.Parent.Torso |
| 2566 | - | }) |
| 2566 | + | }) |
| 2567 | - | game:GetService("Debris"):AddItem(bp, 1) |
| 2567 | + | game:GetService("Debris"):AddItem(bp, 1)
|
| 2568 | - | elseif Type == "Freeze" then |
| 2568 | + | elseif Type == "Freeze" then |
| 2569 | - | local BodPos = Create("BodyPosition")({ |
| 2569 | + | local BodPos = Create("BodyPosition")({
|
| 2570 | - | P = 50000, |
| 2570 | + | P = 50000, |
| 2571 | - | D = 1000, |
| 2571 | + | D = 1000, |
| 2572 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 2572 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 2573 | - | position = hit.Parent.Torso.Position, |
| 2573 | + | position = hit.Parent.Torso.Position, |
| 2574 | - | Parent = hit.Parent.Torso |
| 2574 | + | Parent = hit.Parent.Torso |
| 2575 | - | }) |
| 2575 | + | }) |
| 2576 | - | local BodGy = Create("BodyGyro")({ |
| 2576 | + | local BodGy = Create("BodyGyro")({
|
| 2577 | - | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, |
| 2577 | + | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, |
| 2578 | - | P = 20000, |
| 2578 | + | P = 20000, |
| 2579 | - | Parent = hit.Parent.Torso, |
| 2579 | + | Parent = hit.Parent.Torso, |
| 2580 | - | cframe = hit.Parent.Torso.CFrame |
| 2580 | + | cframe = hit.Parent.Torso.CFrame |
| 2581 | - | }) |
| 2581 | + | }) |
| 2582 | - | hit.Parent.Torso.Anchored = true |
| 2582 | + | hit.Parent.Torso.Anchored = true |
| 2583 | - | coroutine.resume(coroutine.create(function(Part) |
| 2583 | + | coroutine.resume(coroutine.create(function(Part) |
| 2584 | - | swait(1.5) |
| 2584 | + | swait(1.5) |
| 2585 | - | Part.Anchored = false |
| 2585 | + | Part.Anchored = false |
| 2586 | - | end), hit.Parent.Torso) |
| 2586 | + | end), hit.Parent.Torso) |
| 2587 | - | game:GetService("Debris"):AddItem(BodPos, 3) |
| 2587 | + | game:GetService("Debris"):AddItem(BodPos, 3)
|
| 2588 | - | game:GetService("Debris"):AddItem(BodGy, 3) |
| 2588 | + | game:GetService("Debris"):AddItem(BodGy, 3)
|
| 2589 | - | end |
| 2589 | + | end |
| 2590 | - | local debounce = Create("BoolValue")({ |
| 2590 | + | local debounce = Create("BoolValue")({
|
| 2591 | - | Name = "DebounceHit", |
| 2591 | + | Name = "DebounceHit", |
| 2592 | - | Parent = hit.Parent, |
| 2592 | + | Parent = hit.Parent, |
| 2593 | - | Value = true |
| 2593 | + | Value = true |
| 2594 | - | }) |
| 2594 | + | }) |
| 2595 | - | game:GetService("Debris"):AddItem(debounce, Delay) |
| 2595 | + | game:GetService("Debris"):AddItem(debounce, Delay)
|
| 2596 | - | c = Instance.new("ObjectValue") |
| 2596 | + | c = Instance.new("ObjectValue")
|
| 2597 | - | c.Name = "creator" |
| 2597 | + | c.Name = "creator" |
| 2598 | - | c.Value = Player |
| 2598 | + | c.Value = Player |
| 2599 | - | c.Parent = h |
| 2599 | + | c.Parent = h |
| 2600 | - | game:GetService("Debris"):AddItem(c, 0.5) |
| 2600 | + | game:GetService("Debris"):AddItem(c, 0.5)
|
| 2601 | - | end |
| 2601 | + | end |
| 2602 | - | elseif DoDamage == false then |
| 2602 | + | elseif DoDamage == false then |
| 2603 | - | print("Damage is disabled") |
| 2603 | + | print("Damage is disabled")
|
| 2604 | end | |
| 2605 | - | |
| 2605 | + | |
| 2606 | end | |
| 2607 | - | function ShowDamage(Pos, Text, Time, Color) |
| 2607 | + | function ShowDamage(Pos, Text, Time, Color) |
| 2608 | - | coroutine.resume(coroutine.create(function() |
| 2608 | + | coroutine.resume(coroutine.create(function() |
| 2609 | - | local Rate = 0.03333333333333333 |
| 2609 | + | local Rate = 0.03333333333333333 |
| 2610 | - | local Pos = Pos or Vector3.new(0, 0, 0) |
| 2610 | + | local Pos = Pos or Vector3.new(0, 0, 0) |
| 2611 | - | local Text = Text or "" |
| 2611 | + | local Text = Text or "" |
| 2612 | - | local Color = Color or Color3.new(1, 0, 1) |
| 2612 | + | local Color = Color or Color3.new(1, 0, 1) |
| 2613 | - | local EffectPart = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
| 2613 | + | local EffectPart = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
| 2614 | - | EffectPart.Anchored = true |
| 2614 | + | EffectPart.Anchored = true |
| 2615 | - | EffectPart.CFrame = CFrame.new(Pos) |
| 2615 | + | EffectPart.CFrame = CFrame.new(Pos) |
| 2616 | - | local BillboardGui = Create("BillboardGui")({ |
| 2616 | + | local BillboardGui = Create("BillboardGui")({
|
| 2617 | - | Size = UDim2.new(6, 0, 6, 0), |
| 2617 | + | Size = UDim2.new(6, 0, 6, 0), |
| 2618 | - | Adornee = EffectPart, |
| 2618 | + | Adornee = EffectPart, |
| 2619 | - | Parent = EffectPart, |
| 2619 | + | Parent = EffectPart, |
| 2620 | - | AlwaysOnTop=true, |
| 2620 | + | AlwaysOnTop=true, |
| 2621 | - | Active=true |
| 2621 | + | Active=true |
| 2622 | - | }) |
| 2622 | + | }) |
| 2623 | - | local TextLabel = Create("TextLabel")({ |
| 2623 | + | local TextLabel = Create("TextLabel")({
|
| 2624 | - | BackgroundTransparency = 1, |
| 2624 | + | BackgroundTransparency = 1, |
| 2625 | - | AnchorPoint=Vector2.new(.5,.5), |
| 2625 | + | AnchorPoint=Vector2.new(.5,.5), |
| 2626 | - | Position = UDim2.new(.5, 0, .5, 0), |
| 2626 | + | Position = UDim2.new(.5, 0, .5, 0), |
| 2627 | - | Size = UDim2.new(1, 0, 1, 0), |
| 2627 | + | Size = UDim2.new(1, 0, 1, 0), |
| 2628 | - | Text = Text, |
| 2628 | + | Text = Text, |
| 2629 | - | TextColor3 = MAINRUINCOLOR.Color, |
| 2629 | + | TextColor3 = MAINRUINCOLOR.Color, |
| 2630 | - | TextStrokeColor3 = SECONDRUINCOLOR.Color, |
| 2630 | + | TextStrokeColor3 = SECONDRUINCOLOR.Color, |
| 2631 | - | TextStrokeTransparency=0, |
| 2631 | + | TextStrokeTransparency=0, |
| 2632 | - | TextScaled = true, |
| 2632 | + | TextScaled = true, |
| 2633 | - | Font = Enum.Font.Bodoni, |
| 2633 | + | Font = Enum.Font.Bodoni, |
| 2634 | - | Parent = BillboardGui, |
| 2634 | + | Parent = BillboardGui, |
| 2635 | - | ZIndex=4, |
| 2635 | + | ZIndex=4, |
| 2636 | - | }) |
| 2636 | + | }) |
| 2637 | - | |
| 2637 | + | |
| 2638 | - | local aaa=math.random(-360,360) |
| 2638 | + | local aaa=math.random(-360,360) |
| 2639 | - | local bbb=math.random(-360,360) |
| 2639 | + | local bbb=math.random(-360,360) |
| 2640 | - | |
| 2640 | + | |
| 2641 | - | local F1 = Create("Frame")({ |
| 2641 | + | local F1 = Create("Frame")({
|
| 2642 | - | AnchorPoint=Vector2.new(.5,.5), |
| 2642 | + | AnchorPoint=Vector2.new(.5,.5), |
| 2643 | - | Position = UDim2.new(.5, 0, .5, 0), |
| 2643 | + | Position = UDim2.new(.5, 0, .5, 0), |
| 2644 | - | Size = UDim2.new(.4,0,.4,0), |
| 2644 | + | Size = UDim2.new(.4,0,.4,0), |
| 2645 | - | BackgroundColor3 =MAINRUINCOLOR.Color, |
| 2645 | + | BackgroundColor3 =MAINRUINCOLOR.Color, |
| 2646 | - | BorderColor3 =SECONDRUINCOLOR.Color, |
| 2646 | + | BorderColor3 =SECONDRUINCOLOR.Color, |
| 2647 | - | BorderSizePixel=4, |
| 2647 | + | BorderSizePixel=4, |
| 2648 | - | Parent = BillboardGui, |
| 2648 | + | Parent = BillboardGui, |
| 2649 | - | Rotation=aaa |
| 2649 | + | Rotation=aaa |
| 2650 | - | }) |
| 2650 | + | }) |
| 2651 | - | local F2 = Create("Frame")({ |
| 2651 | + | local F2 = Create("Frame")({
|
| 2652 | - | AnchorPoint=Vector2.new(.5,.5), |
| 2652 | + | AnchorPoint=Vector2.new(.5,.5), |
| 2653 | - | Position = UDim2.new(.5, 0, .5, 0), |
| 2653 | + | Position = UDim2.new(.5, 0, .5, 0), |
| 2654 | - | Size = UDim2.new(.4,0,.4,0), |
| 2654 | + | Size = UDim2.new(.4,0,.4,0), |
| 2655 | - | BackgroundColor3 =MAINRUINCOLOR.Color, |
| 2655 | + | BackgroundColor3 =MAINRUINCOLOR.Color, |
| 2656 | - | BorderColor3 =SECONDRUINCOLOR.Color, |
| 2656 | + | BorderColor3 =SECONDRUINCOLOR.Color, |
| 2657 | - | BorderSizePixel=4, |
| 2657 | + | BorderSizePixel=4, |
| 2658 | - | Parent = BillboardGui, |
| 2658 | + | Parent = BillboardGui, |
| 2659 | - | Rotation=-aaa |
| 2659 | + | Rotation=-aaa |
| 2660 | - | }) |
| 2660 | + | }) |
| 2661 | - | local F3 = Create("Frame")({ |
| 2661 | + | local F3 = Create("Frame")({
|
| 2662 | - | AnchorPoint=Vector2.new(.5,.5), |
| 2662 | + | AnchorPoint=Vector2.new(.5,.5), |
| 2663 | - | Position = UDim2.new(.5, 0, .5, 0), |
| 2663 | + | Position = UDim2.new(.5, 0, .5, 0), |
| 2664 | - | Size = UDim2.new(.2,0,.2,0), |
| 2664 | + | Size = UDim2.new(.2,0,.2,0), |
| 2665 | - | BackgroundColor3 =MAINRUINCOLOR.Color, |
| 2665 | + | BackgroundColor3 =MAINRUINCOLOR.Color, |
| 2666 | - | BorderColor3 =SECONDRUINCOLOR.Color, |
| 2666 | + | BorderColor3 =SECONDRUINCOLOR.Color, |
| 2667 | - | BorderSizePixel=4, |
| 2667 | + | BorderSizePixel=4, |
| 2668 | - | Parent = BillboardGui, |
| 2668 | + | Parent = BillboardGui, |
| 2669 | - | ZIndex=2, |
| 2669 | + | ZIndex=2, |
| 2670 | - | Rotation=bbb |
| 2670 | + | Rotation=bbb |
| 2671 | - | }) |
| 2671 | + | }) |
| 2672 | - | local F4 = Create("Frame")({ |
| 2672 | + | local F4 = Create("Frame")({
|
| 2673 | - | AnchorPoint=Vector2.new(.5,.5), |
| 2673 | + | AnchorPoint=Vector2.new(.5,.5), |
| 2674 | - | Position = UDim2.new(.5, 0, .5, 0), |
| 2674 | + | Position = UDim2.new(.5, 0, .5, 0), |
| 2675 | - | Size = UDim2.new(.2,0,.2,0), |
| 2675 | + | Size = UDim2.new(.2,0,.2,0), |
| 2676 | - | BackgroundColor3 =MAINRUINCOLOR.Color, |
| 2676 | + | BackgroundColor3 =MAINRUINCOLOR.Color, |
| 2677 | - | BorderColor3 =SECONDRUINCOLOR.Color, |
| 2677 | + | BorderColor3 =SECONDRUINCOLOR.Color, |
| 2678 | - | BorderSizePixel=4, |
| 2678 | + | BorderSizePixel=4, |
| 2679 | - | Parent = BillboardGui, |
| 2679 | + | Parent = BillboardGui, |
| 2680 | - | ZIndex=2, |
| 2680 | + | ZIndex=2, |
| 2681 | - | Rotation=-bbb |
| 2681 | + | Rotation=-bbb |
| 2682 | - | }) |
| 2682 | + | }) |
| 2683 | - | |
| 2683 | + | |
| 2684 | - | --[[delay(0, function() -- no thank |
| 2684 | + | --[[delay(0, function() -- no thank |
| 2685 | - | local Frames = Time / Rate |
| 2685 | + | local Frames = Time / Rate |
| 2686 | - | for Frame = 1, Frames do |
| 2686 | + | for Frame = 1, Frames do |
| 2687 | - | wait(Rate) |
| 2687 | + | wait(Rate) |
| 2688 | - | local Percent = Frame / Frames |
| 2688 | + | local Percent = Frame / Frames |
| 2689 | - | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
| 2689 | + | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
| 2690 | - | TextLabel.TextTransparency = Percent |
| 2690 | + | TextLabel.TextTransparency = Percent |
| 2691 | - | end |
| 2691 | + | end |
| 2692 | - | if EffectPart and EffectPart.Parent then |
| 2692 | + | if EffectPart and EffectPart.Parent then |
| 2693 | - | EffectPart:Destroy() |
| 2693 | + | EffectPart:Destroy() |
| 2694 | - | end |
| 2694 | + | end |
| 2695 | - | end)]] |
| 2695 | + | end)]] |
| 2696 | - | local ha=EffectPart |
| 2696 | + | local ha=EffectPart |
| 2697 | - | local oring=ha.CFrame*CFrame.new(0,3.4,0) |
| 2697 | + | local oring=ha.CFrame*CFrame.new(0,3.4,0) |
| 2698 | - | F1:TweenPosition(UDim2.new(.2,0,.5,0), "Out", "Quint", 1,true) |
| 2698 | + | F1:TweenPosition(UDim2.new(.2,0,.5,0), "Out", "Quint", 1,true) |
| 2699 | - | F2:TweenPosition(UDim2.new(.8,0,.5,0), "Out", "Quint", 1,true) |
| 2699 | + | F2:TweenPosition(UDim2.new(.8,0,.5,0), "Out", "Quint", 1,true) |
| 2700 | - | F3:TweenPosition(UDim2.new(-.1,0,.5,0), "Out", "Quint", 1.5,true) |
| 2700 | + | F3:TweenPosition(UDim2.new(-.1,0,.5,0), "Out", "Quint", 1.5,true) |
| 2701 | - | F4:TweenPosition(UDim2.new(1.1,0,.5,0), "Out", "Quint", 1.5,true) |
| 2701 | + | F4:TweenPosition(UDim2.new(1.1,0,.5,0), "Out", "Quint", 1.5,true) |
| 2702 | - | for aaa=0,1.1,Time do |
| 2702 | + | for aaa=0,1.1,Time do |
| 2703 | - | swait() |
| 2703 | + | swait() |
| 2704 | - | ha.CFrame=clerp(ha.CFrame,oring,.1) |
| 2704 | + | ha.CFrame=clerp(ha.CFrame,oring,.1) |
| 2705 | - | F1.BackgroundTransparency=0+1*aaa |
| 2705 | + | F1.BackgroundTransparency=0+1*aaa |
| 2706 | - | F2.BackgroundTransparency=0+1*aaa |
| 2706 | + | F2.BackgroundTransparency=0+1*aaa |
| 2707 | - | F3.BackgroundTransparency=0+.5*aaa |
| 2707 | + | F3.BackgroundTransparency=0+.5*aaa |
| 2708 | - | F4.BackgroundTransparency=0+.5*aaa |
| 2708 | + | F4.BackgroundTransparency=0+.5*aaa |
| 2709 | - | F1.Rotation=F1.Rotation+math.random(5,10) |
| 2709 | + | F1.Rotation=F1.Rotation+math.random(5,10) |
| 2710 | - | F2.Rotation=F2.Rotation-math.random(5,10) |
| 2710 | + | F2.Rotation=F2.Rotation-math.random(5,10) |
| 2711 | - | F3.Rotation=F3.Rotation+math.random(3,6) |
| 2711 | + | F3.Rotation=F3.Rotation+math.random(3,6) |
| 2712 | - | F4.Rotation=F4.Rotation-math.random(3,6) |
| 2712 | + | F4.Rotation=F4.Rotation-math.random(3,6) |
| 2713 | end | |
| 2714 | - | for aaa=0,1,.1 do |
| 2714 | + | for aaa=0,1,.1 do |
| 2715 | - | swait() |
| 2715 | + | swait() |
| 2716 | - | TextLabel.TextTransparency=aaa |
| 2716 | + | TextLabel.TextTransparency=aaa |
| 2717 | - | TextLabel.TextStrokeTransparency=aaa |
| 2717 | + | TextLabel.TextStrokeTransparency=aaa |
| 2718 | - | F3.BackgroundTransparency=.5+.5*aaa |
| 2718 | + | F3.BackgroundTransparency=.5+.5*aaa |
| 2719 | - | F4.BackgroundTransparency=.5+.5*aaa |
| 2719 | + | F4.BackgroundTransparency=.5+.5*aaa |
| 2720 | - | F3.Rotation=F3.Rotation+math.random(3,6) |
| 2720 | + | F3.Rotation=F3.Rotation+math.random(3,6) |
| 2721 | - | F4.Rotation=F4.Rotation-math.random(3,6) |
| 2721 | + | F4.Rotation=F4.Rotation-math.random(3,6) |
| 2722 | end | |
| 2723 | - | --ha:Remove() |
| 2723 | + | --ha:Remove() |
| 2724 | - | end)) |
| 2724 | + | end)) |
| 2725 | end | |
| 2726 | - | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) |
| 2726 | + | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) |
| 2727 | - | for _, c in pairs(workspace:children()) do |
| 2727 | + | for _, c in pairs(workspace:children()) do |
| 2728 | - | local hum = c:findFirstChildOfClass("Humanoid") |
| 2728 | + | local hum = c:findFirstChildOfClass("Humanoid")
|
| 2729 | - | if hum ~= nil then |
| 2729 | + | if hum ~= nil then |
| 2730 | - | local head = c:findFirstChild("Head") |
| 2730 | + | local head = c:findFirstChild("Head")
|
| 2731 | - | if head ~= nil then |
| 2731 | + | if head ~= nil then |
| 2732 | - | local targ = head.Position - Part.Position |
| 2732 | + | local targ = head.Position - Part.Position |
| 2733 | - | local mag = targ.magnitude |
| 2733 | + | local mag = targ.magnitude |
| 2734 | - | if magni >= mag and c.Name ~= Player.Name then |
| 2734 | + | if magni >= mag and c.Name ~= Player.Name then |
| 2735 | - | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
| 2735 | + | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
| 2736 | - | end |
| 2736 | + | end |
| 2737 | - | end |
| 2737 | + | end |
| 2738 | - | end |
| 2738 | + | end |
| 2739 | - | end |
| 2739 | + | end |
| 2740 | end | |
| 2741 | - | |
| 2741 | + | |
| 2742 | - | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) |
| 2742 | + | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) |
| 2743 | - | for _, c in pairs(workspace:children()) do |
| 2743 | + | for _, c in pairs(workspace:children()) do |
| 2744 | - | local hum = c:findFirstChild("Humanoid") |
| 2744 | + | local hum = c:findFirstChild("Humanoid")
|
| 2745 | - | if hum ~= nil then |
| 2745 | + | if hum ~= nil then |
| 2746 | - | local head = c:findFirstChild("Torso") |
| 2746 | + | local head = c:findFirstChild("Torso")
|
| 2747 | - | if head ~= nil then |
| 2747 | + | if head ~= nil then |
| 2748 | - | local targ = head.Position - Part.Position |
| 2748 | + | local targ = head.Position - Part.Position |
| 2749 | - | local mag = targ.magnitude |
| 2749 | + | local mag = targ.magnitude |
| 2750 | - | if magni >= mag and c.Name ~= Player.Name then |
| 2750 | + | if magni >= mag and c.Name ~= Player.Name then |
| 2751 | - | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) |
| 2751 | + | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
|
| 2752 | - | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
| 2752 | + | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
| 2753 | - | end |
| 2753 | + | end |
| 2754 | - | end |
| 2754 | + | end |
| 2755 | - | end |
| 2755 | + | end |
| 2756 | - | end |
| 2756 | + | end |
| 2757 | end | |
| 2758 | - | |
| 2758 | + | |
| 2759 | - | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
| 2759 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
| 2760 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
| 2760 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
|
| 2761 | end | |
| 2762 | - | |
| 2762 | + | |
| 2763 | - | function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color) |
| 2763 | + | function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color) |
| 2764 | - | local type = type |
| 2764 | + | local type = type |
| 2765 | - | local rng = Instance.new("Part", char) |
| 2765 | + | local rng = Instance.new("Part", char)
|
| 2766 | - | rng.Anchored = true |
| 2766 | + | rng.Anchored = true |
| 2767 | - | rng.BrickColor = color |
| 2767 | + | rng.BrickColor = color |
| 2768 | - | rng.CanCollide = false |
| 2768 | + | rng.CanCollide = false |
| 2769 | - | rng.FormFactor = 3 |
| 2769 | + | rng.FormFactor = 3 |
| 2770 | - | rng.Name = "Ring" |
| 2770 | + | rng.Name = "Ring" |
| 2771 | - | rng.Material = "Neon" |
| 2771 | + | rng.Material = "Neon" |
| 2772 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2772 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2773 | - | rng.Transparency = 0 |
| 2773 | + | rng.Transparency = 0 |
| 2774 | - | if typeoftrans == "In" then |
| 2774 | + | if typeoftrans == "In" then |
| 2775 | - | rng.Transparency = 1 |
| 2775 | + | rng.Transparency = 1 |
| 2776 | end | |
| 2777 | - | rng.TopSurface = 0 |
| 2777 | + | rng.TopSurface = 0 |
| 2778 | - | rng.BottomSurface = 0 |
| 2778 | + | rng.BottomSurface = 0 |
| 2779 | - | rng.CFrame = pos |
| 2779 | + | rng.CFrame = pos |
| 2780 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 2780 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2781 | - | rngm.MeshType = "FileMesh" |
| 2781 | + | rngm.MeshType = "FileMesh" |
| 2782 | - | rngm.MeshId = "rbxassetid://20329976" |
| 2782 | + | rngm.MeshId = "rbxassetid://20329976" |
| 2783 | - | rngm.Scale = scale |
| 2783 | + | rngm.Scale = scale |
| 2784 | - | local scaler2 = 1 |
| 2784 | + | local scaler2 = 1 |
| 2785 | - | local scaler2b = 1 |
| 2785 | + | local scaler2b = 1 |
| 2786 | - | if type == "Add" then |
| 2786 | + | if type == "Add" then |
| 2787 | - | scaler2 = 1*value |
| 2787 | + | scaler2 = 1*value |
| 2788 | - | scaler2b = 1*value2 |
| 2788 | + | scaler2b = 1*value2 |
| 2789 | - | elseif type == "Divide" then |
| 2789 | + | elseif type == "Divide" then |
| 2790 | - | scaler2 = 1/value |
| 2790 | + | scaler2 = 1/value |
| 2791 | - | scaler2b = 1/value2 |
| 2791 | + | scaler2b = 1/value2 |
| 2792 | end | |
| 2793 | - | local randomrot = math.random(1,2) |
| 2793 | + | local randomrot = math.random(1,2) |
| 2794 | - | coroutine.resume(coroutine.create(function() |
| 2794 | + | coroutine.resume(coroutine.create(function() |
| 2795 | - | for i = 0,10/bonuspeed,0.1 do |
| 2795 | + | for i = 0,10/bonuspeed,0.1 do |
| 2796 | - | swait() |
| 2796 | + | swait() |
| 2797 | - | if type == "Add" then |
| 2797 | + | if type == "Add" then |
| 2798 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 2798 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 2799 | - | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 2799 | + | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 2800 | - | elseif type == "Divide" then |
| 2800 | + | elseif type == "Divide" then |
| 2801 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 2801 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 2802 | - | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 2802 | + | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 2803 | end | |
| 2804 | - | if randomrot == 1 then |
| 2804 | + | if randomrot == 1 then |
| 2805 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0) |
| 2805 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0) |
| 2806 | - | elseif randomrot == 2 then |
| 2806 | + | elseif randomrot == 2 then |
| 2807 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0) |
| 2807 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0) |
| 2808 | end | |
| 2809 | - | if typeoftrans == "Out" then |
| 2809 | + | if typeoftrans == "Out" then |
| 2810 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 2810 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 2811 | - | elseif typeoftrans == "In" then |
| 2811 | + | elseif typeoftrans == "In" then |
| 2812 | - | rng.Transparency = rng.Transparency - 0.01*bonuspeed |
| 2812 | + | rng.Transparency = rng.Transparency - 0.01*bonuspeed |
| 2813 | end | |
| 2814 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed) |
| 2814 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed) |
| 2815 | end | |
| 2816 | - | rng:Destroy() |
| 2816 | + | rng:Destroy() |
| 2817 | - | end)) |
| 2817 | + | end)) |
| 2818 | end | |
| 2819 | - | |
| 2819 | + | |
| 2820 | - | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) |
| 2820 | + | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) |
| 2821 | - | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 2821 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 2822 | - | prt.Anchored=true |
| 2822 | + | prt.Anchored=true |
| 2823 | - | prt.CFrame=cframe*cf(x,y,z) |
| 2823 | + | prt.CFrame=cframe*cf(x,y,z) |
| 2824 | - | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) |
| 2824 | + | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
|
| 2825 | - | game:GetService("Debris"):AddItem(prt,5) |
| 2825 | + | game:GetService("Debris"):AddItem(prt,5)
|
| 2826 | - | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) |
| 2826 | + | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) |
| 2827 | - | local num=math.random() |
| 2827 | + | local num=math.random() |
| 2828 | - | local num2=math.random(-3,2)+math.random() |
| 2828 | + | local num2=math.random(-3,2)+math.random() |
| 2829 | - | local numm=0 |
| 2829 | + | local numm=0 |
| 2830 | - | for i=0,1,delay*2 do |
| 2830 | + | for i=0,1,delay*2 do |
| 2831 | - | swait() |
| 2831 | + | swait() |
| 2832 | - | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) |
| 2832 | + | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) |
| 2833 | - | Part.Transparency=i |
| 2833 | + | Part.Transparency=i |
| 2834 | - | numm=numm+0.01 |
| 2834 | + | numm=numm+0.01 |
| 2835 | end | |
| 2836 | - | Part.Parent=nil |
| 2836 | + | Part.Parent=nil |
| 2837 | - | Mesh.Parent=nil |
| 2837 | + | Mesh.Parent=nil |
| 2838 | - | end),prt,msh,x,y,z) |
| 2838 | + | end),prt,msh,x,y,z) |
| 2839 | end | |
| 2840 | - | |
| 2840 | + | |
| 2841 | - | function dmgstart(dmg,what) |
| 2841 | + | function dmgstart(dmg,what) |
| 2842 | - | hitcon = what.Touched:connect(function(hit) |
| 2842 | + | hitcon = what.Touched:connect(function(hit) |
| 2843 | - | local hum = hit.Parent:FindFirstChild("Humanoid") |
| 2843 | + | local hum = hit.Parent:FindFirstChild("Humanoid")
|
| 2844 | - | if hum and not hum:IsDescendantOf(Character) then |
| 2844 | + | if hum and not hum:IsDescendantOf(Character) then |
| 2845 | - | hum:TakeDamage(dmg) |
| 2845 | + | hum:TakeDamage(dmg) |
| 2846 | - | end |
| 2846 | + | end |
| 2847 | - | end) |
| 2847 | + | end) |
| 2848 | end | |
| 2849 | - | |
| 2849 | + | |
| 2850 | - | function dmgstop() |
| 2850 | + | function dmgstop() |
| 2851 | - | hitcon:disconnect() |
| 2851 | + | hitcon:disconnect() |
| 2852 | end | |
| 2853 | - | |
| 2853 | + | |
| 2854 | - | function Cloak() |
| 2854 | + | function Cloak() |
| 2855 | - | Face.Parent=nil |
| 2855 | + | Face.Parent=nil |
| 2856 | - | cloaked=true |
| 2856 | + | cloaked=true |
| 2857 | - | coroutine.wrap(function() |
| 2857 | + | coroutine.wrap(function() |
| 2858 | - | for i = 0, 1, .05 do |
| 2858 | + | for i = 0, 1, .05 do |
| 2859 | - | for _,v in next, Character:GetDescendants() do |
| 2859 | + | for _,v in next, Character:GetDescendants() do |
| 2860 | - | if(v:IsA'BasePart' and v ~= RootPart)then |
| 2860 | + | if(v:IsA'BasePart' and v ~= RootPart)then |
| 2861 | - | v.Transparency=i>v.Transparency and i or v.Transparency |
| 2861 | + | v.Transparency=i>v.Transparency and i or v.Transparency |
| 2862 | - | end |
| 2862 | + | end |
| 2863 | - | end |
| 2863 | + | end |
| 2864 | - | swait() |
| 2864 | + | swait() |
| 2865 | end | |
| 2866 | - | end)() |
| 2866 | + | end)() |
| 2867 | end | |
| 2868 | - | |
| 2868 | + | |
| 2869 | - | function UnCloak() |
| 2869 | + | function UnCloak() |
| 2870 | - | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) |
| 2870 | + | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
|
| 2871 | - | Face.Parent=Head |
| 2871 | + | Face.Parent=Head |
| 2872 | - | cloaked=false |
| 2872 | + | cloaked=false |
| 2873 | - | coroutine.wrap(function() |
| 2873 | + | coroutine.wrap(function() |
| 2874 | - | for i = 1, 0, -.05 do |
| 2874 | + | for i = 1, 0, -.05 do |
| 2875 | - | for _,v in next, Character:GetDescendants() do |
| 2875 | + | for _,v in next, Character:GetDescendants() do |
| 2876 | - | if(v:IsA'BasePart' and v ~= RootPart)then |
| 2876 | + | if(v:IsA'BasePart' and v ~= RootPart)then |
| 2877 | - | v.Transparency=i |
| 2877 | + | v.Transparency=i |
| 2878 | - | end |
| 2878 | + | end |
| 2879 | - | end |
| 2879 | + | end |
| 2880 | - | swait() |
| 2880 | + | swait() |
| 2881 | end | |
| 2882 | - | end)() |
| 2882 | + | end)() |
| 2883 | end | |
| 2884 | - | |
| 2884 | + | |
| 2885 | - | local origcolor = BrickColor.new("Pastel light blue") |
| 2885 | + | local origcolor = BrickColor.new("Pastel light blue")
|
| 2886 | - | ---- This section of explosions. |
| 2886 | + | ---- This section of explosions. |
| 2887 | - | |
| 2887 | + | |
| 2888 | - | ---- |
| 2888 | + | ---- |
| 2889 | - | |
| 2889 | + | |
| 2890 | - | |
| 2890 | + | |
| 2891 | - | function ring(type,pos,scale,value) |
| 2891 | + | function ring(type,pos,scale,value) |
| 2892 | - | local type = type |
| 2892 | + | local type = type |
| 2893 | - | local rng = Instance.new("Part", char) |
| 2893 | + | local rng = Instance.new("Part", char)
|
| 2894 | - | rng.Anchored = true |
| 2894 | + | rng.Anchored = true |
| 2895 | - | rng.BrickColor = origcolor |
| 2895 | + | rng.BrickColor = origcolor |
| 2896 | - | rng.CanCollide = false |
| 2896 | + | rng.CanCollide = false |
| 2897 | - | rng.FormFactor = 3 |
| 2897 | + | rng.FormFactor = 3 |
| 2898 | - | rng.Name = "Ring" |
| 2898 | + | rng.Name = "Ring" |
| 2899 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2899 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2900 | - | rng.Transparency = 0 |
| 2900 | + | rng.Transparency = 0 |
| 2901 | - | rng.TopSurface = 0 |
| 2901 | + | rng.TopSurface = 0 |
| 2902 | - | rng.BottomSurface = 0 |
| 2902 | + | rng.BottomSurface = 0 |
| 2903 | - | rng.CFrame = pos |
| 2903 | + | rng.CFrame = pos |
| 2904 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 2904 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2905 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
| 2905 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
| 2906 | - | rngm.Scale = scale |
| 2906 | + | rngm.Scale = scale |
| 2907 | - | local scaler2 = 1 |
| 2907 | + | local scaler2 = 1 |
| 2908 | - | if type == "Add" then |
| 2908 | + | if type == "Add" then |
| 2909 | - | scaler2 = 1*value |
| 2909 | + | scaler2 = 1*value |
| 2910 | - | elseif type == "Divide" then |
| 2910 | + | elseif type == "Divide" then |
| 2911 | - | scaler2 = 1/value |
| 2911 | + | scaler2 = 1/value |
| 2912 | end | |
| 2913 | - | coroutine.resume(coroutine.create(function() |
| 2913 | + | coroutine.resume(coroutine.create(function() |
| 2914 | - | for i = 0,10,0.1 do |
| 2914 | + | for i = 0,10,0.1 do |
| 2915 | - | swait() |
| 2915 | + | swait() |
| 2916 | - | if type == "Add" then |
| 2916 | + | if type == "Add" then |
| 2917 | - | scaler2 = scaler2 - 0.01*value |
| 2917 | + | scaler2 = scaler2 - 0.01*value |
| 2918 | - | elseif type == "Divide" then |
| 2918 | + | elseif type == "Divide" then |
| 2919 | - | scaler2 = scaler2 - 0.01/value |
| 2919 | + | scaler2 = scaler2 - 0.01/value |
| 2920 | end | |
| 2921 | - | rng.Transparency = rng.Transparency + 0.01 |
| 2921 | + | rng.Transparency = rng.Transparency + 0.01 |
| 2922 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) |
| 2922 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) |
| 2923 | end | |
| 2924 | - | rng:Destroy() |
| 2924 | + | rng:Destroy() |
| 2925 | - | end)) |
| 2925 | + | end)) |
| 2926 | end | |
| 2927 | - | |
| 2927 | + | |
| 2928 | - | |
| 2928 | + | |
| 2929 | - | function wave(type,pos,scale,value) |
| 2929 | + | function wave(type,pos,scale,value) |
| 2930 | - | local type = type |
| 2930 | + | local type = type |
| 2931 | - | local rng = Instance.new("Part", char) |
| 2931 | + | local rng = Instance.new("Part", char)
|
| 2932 | - | rng.Anchored = true |
| 2932 | + | rng.Anchored = true |
| 2933 | - | rng.BrickColor = origcolor |
| 2933 | + | rng.BrickColor = origcolor |
| 2934 | - | rng.CanCollide = false |
| 2934 | + | rng.CanCollide = false |
| 2935 | - | rng.FormFactor = 3 |
| 2935 | + | rng.FormFactor = 3 |
| 2936 | - | rng.Name = "Ring" |
| 2936 | + | rng.Name = "Ring" |
| 2937 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2937 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2938 | - | rng.Transparency = 0 |
| 2938 | + | rng.Transparency = 0 |
| 2939 | - | rng.TopSurface = 0 |
| 2939 | + | rng.TopSurface = 0 |
| 2940 | - | rng.BottomSurface = 0 |
| 2940 | + | rng.BottomSurface = 0 |
| 2941 | - | rng.CFrame = pos |
| 2941 | + | rng.CFrame = pos |
| 2942 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 2942 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2943 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" |
| 2943 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" |
| 2944 | - | rngm.Scale = scale |
| 2944 | + | rngm.Scale = scale |
| 2945 | - | local scaler2 = 1 |
| 2945 | + | local scaler2 = 1 |
| 2946 | - | if type == "Add" then |
| 2946 | + | if type == "Add" then |
| 2947 | - | scaler2 = 1*value |
| 2947 | + | scaler2 = 1*value |
| 2948 | - | elseif type == "Divide" then |
| 2948 | + | elseif type == "Divide" then |
| 2949 | - | scaler2 = 1/value |
| 2949 | + | scaler2 = 1/value |
| 2950 | end | |
| 2951 | - | coroutine.resume(coroutine.create(function() |
| 2951 | + | coroutine.resume(coroutine.create(function() |
| 2952 | - | for i = 0,10,0.1 do |
| 2952 | + | for i = 0,10,0.1 do |
| 2953 | - | swait() |
| 2953 | + | swait() |
| 2954 | - | if type == "Add" then |
| 2954 | + | if type == "Add" then |
| 2955 | - | scaler2 = scaler2 - 0.01*value |
| 2955 | + | scaler2 = scaler2 - 0.01*value |
| 2956 | - | elseif type == "Divide" then |
| 2956 | + | elseif type == "Divide" then |
| 2957 | - | scaler2 = scaler2 - 0.01/value |
| 2957 | + | scaler2 = scaler2 - 0.01/value |
| 2958 | end | |
| 2959 | - | rng.Transparency = rng.Transparency + 0.01 |
| 2959 | + | rng.Transparency = rng.Transparency + 0.01 |
| 2960 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 2960 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 2961 | end | |
| 2962 | - | rng:Destroy() |
| 2962 | + | rng:Destroy() |
| 2963 | - | end)) |
| 2963 | + | end)) |
| 2964 | end | |
| 2965 | - | |
| 2965 | + | |
| 2966 | - | function wind(type,pos,scale,value,speed) |
| 2966 | + | function wind(type,pos,scale,value,speed) |
| 2967 | - | local type = type |
| 2967 | + | local type = type |
| 2968 | - | local rng = Instance.new("Part", char) |
| 2968 | + | local rng = Instance.new("Part", char)
|
| 2969 | - | rng.Anchored = true |
| 2969 | + | rng.Anchored = true |
| 2970 | - | rng.BrickColor = origcolor |
| 2970 | + | rng.BrickColor = origcolor |
| 2971 | - | rng.CanCollide = false |
| 2971 | + | rng.CanCollide = false |
| 2972 | - | rng.FormFactor = 3 |
| 2972 | + | rng.FormFactor = 3 |
| 2973 | - | rng.Name = "Ring" |
| 2973 | + | rng.Name = "Ring" |
| 2974 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2974 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2975 | - | rng.Transparency = 0 |
| 2975 | + | rng.Transparency = 0 |
| 2976 | - | rng.TopSurface = 0 |
| 2976 | + | rng.TopSurface = 0 |
| 2977 | - | rng.BottomSurface = 0 |
| 2977 | + | rng.BottomSurface = 0 |
| 2978 | - | rng.CFrame = pos |
| 2978 | + | rng.CFrame = pos |
| 2979 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 2979 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2980 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
| 2980 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
| 2981 | - | rngm.Scale = scale |
| 2981 | + | rngm.Scale = scale |
| 2982 | - | local scaler2 = 1 |
| 2982 | + | local scaler2 = 1 |
| 2983 | - | if type == "Add" then |
| 2983 | + | if type == "Add" then |
| 2984 | - | scaler2 = 1*value |
| 2984 | + | scaler2 = 1*value |
| 2985 | - | elseif type == "Divide" then |
| 2985 | + | elseif type == "Divide" then |
| 2986 | - | scaler2 = 1/value |
| 2986 | + | scaler2 = 1/value |
| 2987 | end | |
| 2988 | - | coroutine.resume(coroutine.create(function() |
| 2988 | + | coroutine.resume(coroutine.create(function() |
| 2989 | - | for i = 0,10,0.1 do |
| 2989 | + | for i = 0,10,0.1 do |
| 2990 | - | swait() |
| 2990 | + | swait() |
| 2991 | - | if type == "Add" then |
| 2991 | + | if type == "Add" then |
| 2992 | - | scaler2 = scaler2 - 0.01*value |
| 2992 | + | scaler2 = scaler2 - 0.01*value |
| 2993 | - | elseif type == "Divide" then |
| 2993 | + | elseif type == "Divide" then |
| 2994 | - | scaler2 = scaler2 - 0.01/value |
| 2994 | + | scaler2 = scaler2 - 0.01/value |
| 2995 | end | |
| 2996 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
| 2996 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
| 2997 | - | rng.Transparency = rng.Transparency + 0.01 |
| 2997 | + | rng.Transparency = rng.Transparency + 0.01 |
| 2998 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 2998 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 2999 | end | |
| 3000 | - | rng:Destroy() |
| 3000 | + | rng:Destroy() |
| 3001 | - | end)) |
| 3001 | + | end)) |
| 3002 | end | |
| 3003 | - | |
| 3003 | + | |
| 3004 | - | function groundwind(type,pos,scale,value,speed) |
| 3004 | + | function groundwind(type,pos,scale,value,speed) |
| 3005 | - | local type = type |
| 3005 | + | local type = type |
| 3006 | - | local rng = Instance.new("Part", char) |
| 3006 | + | local rng = Instance.new("Part", char)
|
| 3007 | - | rng.Anchored = true |
| 3007 | + | rng.Anchored = true |
| 3008 | - | rng.BrickColor = origcolor |
| 3008 | + | rng.BrickColor = origcolor |
| 3009 | - | rng.CanCollide = false |
| 3009 | + | rng.CanCollide = false |
| 3010 | - | rng.FormFactor = 3 |
| 3010 | + | rng.FormFactor = 3 |
| 3011 | - | rng.Name = "Ring" |
| 3011 | + | rng.Name = "Ring" |
| 3012 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3012 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3013 | - | rng.Transparency = 0 |
| 3013 | + | rng.Transparency = 0 |
| 3014 | - | rng.TopSurface = 0 |
| 3014 | + | rng.TopSurface = 0 |
| 3015 | - | rng.BottomSurface = 0 |
| 3015 | + | rng.BottomSurface = 0 |
| 3016 | - | rng.CFrame = pos |
| 3016 | + | rng.CFrame = pos |
| 3017 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3017 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3018 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
| 3018 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
| 3019 | - | rngm.Scale = scale |
| 3019 | + | rngm.Scale = scale |
| 3020 | - | local scaler2 = 1 |
| 3020 | + | local scaler2 = 1 |
| 3021 | - | if type == "Add" then |
| 3021 | + | if type == "Add" then |
| 3022 | - | scaler2 = 1*value |
| 3022 | + | scaler2 = 1*value |
| 3023 | - | elseif type == "Divide" then |
| 3023 | + | elseif type == "Divide" then |
| 3024 | - | scaler2 = 1/value |
| 3024 | + | scaler2 = 1/value |
| 3025 | end | |
| 3026 | - | coroutine.resume(coroutine.create(function() |
| 3026 | + | coroutine.resume(coroutine.create(function() |
| 3027 | - | for i = 0,10,0.1 do |
| 3027 | + | for i = 0,10,0.1 do |
| 3028 | - | swait() |
| 3028 | + | swait() |
| 3029 | - | if type == "Add" then |
| 3029 | + | if type == "Add" then |
| 3030 | - | scaler2 = scaler2 - 0.01*value |
| 3030 | + | scaler2 = scaler2 - 0.01*value |
| 3031 | - | elseif type == "Divide" then |
| 3031 | + | elseif type == "Divide" then |
| 3032 | - | scaler2 = scaler2 - 0.01/value |
| 3032 | + | scaler2 = scaler2 - 0.01/value |
| 3033 | end | |
| 3034 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
| 3034 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
| 3035 | - | rng.Transparency = rng.Transparency + 0.01 |
| 3035 | + | rng.Transparency = rng.Transparency + 0.01 |
| 3036 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) |
| 3036 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) |
| 3037 | end | |
| 3038 | - | rng:Destroy() |
| 3038 | + | rng:Destroy() |
| 3039 | - | end)) |
| 3039 | + | end)) |
| 3040 | end | |
| 3041 | - | |
| 3041 | + | |
| 3042 | - | function CameraManager() |
| 3042 | + | function CameraManager() |
| 3043 | - | if TwoD and not CamInterrupt then |
| 3043 | + | if TwoD and not CamInterrupt then |
| 3044 | - | if Humanoid.Health > 0 then |
| 3044 | + | if Humanoid.Health > 0 then |
| 3045 | - | Camera.CameraSubject = Humanoid |
| 3045 | + | Camera.CameraSubject = Humanoid |
| 3046 | - | Camera.CameraType = "Scriptable" |
| 3046 | + | Camera.CameraType = "Scriptable" |
| 3047 | - | Humanoid.AutoRotate = false |
| 3047 | + | Humanoid.AutoRotate = false |
| 3048 | - | if Booleans.GyroUse then |
| 3048 | + | if Booleans.GyroUse then |
| 3049 | - | Directer.MaxTorque = Vec3(0, huge, 0) |
| 3049 | + | Directer.MaxTorque = Vec3(0, huge, 0) |
| 3050 | - | else |
| 3050 | + | else |
| 3051 | - | Directer.MaxTorque = Vec3(0, 0, 0) |
| 3051 | + | Directer.MaxTorque = Vec3(0, 0, 0) |
| 3052 | - | end |
| 3052 | + | end |
| 3053 | - | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then |
| 3053 | + | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then |
| 3054 | - | if Booleans.CamFollow then |
| 3054 | + | if Booleans.CamFollow then |
| 3055 | - | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) |
| 3055 | + | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) |
| 3056 | - | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) |
| 3056 | + | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) |
| 3057 | - | else |
| 3057 | + | else |
| 3058 | - | CPart.Position = RootPart.Position |
| 3058 | + | CPart.Position = RootPart.Position |
| 3059 | - | end |
| 3059 | + | end |
| 3060 | - | else |
| 3060 | + | else |
| 3061 | - | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p |
| 3061 | + | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p |
| 3062 | - | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) |
| 3062 | + | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) |
| 3063 | - | end |
| 3063 | + | end |
| 3064 | - | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) |
| 3064 | + | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) |
| 3065 | - | else |
| 3065 | + | else |
| 3066 | - | Camera.CameraSubject = Humanoid |
| 3066 | + | Camera.CameraSubject = Humanoid |
| 3067 | - | Camera.CameraType = "Custom" |
| 3067 | + | Camera.CameraType = "Custom" |
| 3068 | - | Controller.Disabled = false |
| 3068 | + | Controller.Disabled = false |
| 3069 | - | end |
| 3069 | + | end |
| 3070 | - | end |
| 3070 | + | end |
| 3071 | end | |
| 3072 | - | |
| 3072 | + | |
| 3073 | - | function ring(type,pos,scale,value) |
| 3073 | + | function ring(type,pos,scale,value) |
| 3074 | - | local type = type |
| 3074 | + | local type = type |
| 3075 | - | local rng = Instance.new("Part", char) |
| 3075 | + | local rng = Instance.new("Part", char)
|
| 3076 | - | rng.Anchored = true |
| 3076 | + | rng.Anchored = true |
| 3077 | - | rng.BrickColor = origcolor |
| 3077 | + | rng.BrickColor = origcolor |
| 3078 | - | rng.CanCollide = false |
| 3078 | + | rng.CanCollide = false |
| 3079 | - | rng.FormFactor = 3 |
| 3079 | + | rng.FormFactor = 3 |
| 3080 | - | rng.Name = "Ring" |
| 3080 | + | rng.Name = "Ring" |
| 3081 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3081 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3082 | - | rng.Transparency = 0 |
| 3082 | + | rng.Transparency = 0 |
| 3083 | - | rng.TopSurface = 0 |
| 3083 | + | rng.TopSurface = 0 |
| 3084 | - | rng.BottomSurface = 0 |
| 3084 | + | rng.BottomSurface = 0 |
| 3085 | - | rng.CFrame = pos |
| 3085 | + | rng.CFrame = pos |
| 3086 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3086 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3087 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
| 3087 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
| 3088 | - | rngm.Scale = scale |
| 3088 | + | rngm.Scale = scale |
| 3089 | - | local scaler2 = 1 |
| 3089 | + | local scaler2 = 1 |
| 3090 | - | if type == "Add" then |
| 3090 | + | if type == "Add" then |
| 3091 | - | scaler2 = 1*value |
| 3091 | + | scaler2 = 1*value |
| 3092 | - | elseif type == "Divide" then |
| 3092 | + | elseif type == "Divide" then |
| 3093 | - | scaler2 = 1/value |
| 3093 | + | scaler2 = 1/value |
| 3094 | end | |
| 3095 | - | coroutine.resume(coroutine.create(function() |
| 3095 | + | coroutine.resume(coroutine.create(function() |
| 3096 | - | for i = 0,10,0.1 do |
| 3096 | + | for i = 0,10,0.1 do |
| 3097 | - | swait() |
| 3097 | + | swait() |
| 3098 | - | if type == "Add" then |
| 3098 | + | if type == "Add" then |
| 3099 | - | scaler2 = scaler2 - 0.01*value |
| 3099 | + | scaler2 = scaler2 - 0.01*value |
| 3100 | - | elseif type == "Divide" then |
| 3100 | + | elseif type == "Divide" then |
| 3101 | - | scaler2 = scaler2 - 0.01/value |
| 3101 | + | scaler2 = scaler2 - 0.01/value |
| 3102 | end | |
| 3103 | - | rng.Transparency = rng.Transparency + 0.01 |
| 3103 | + | rng.Transparency = rng.Transparency + 0.01 |
| 3104 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) |
| 3104 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) |
| 3105 | end | |
| 3106 | - | rng:Destroy() |
| 3106 | + | rng:Destroy() |
| 3107 | - | end)) |
| 3107 | + | end)) |
| 3108 | end | |
| 3109 | - | |
| 3109 | + | |
| 3110 | - | |
| 3110 | + | |
| 3111 | - | function wave(type,pos,scale,value) |
| 3111 | + | function wave(type,pos,scale,value) |
| 3112 | - | local type = type |
| 3112 | + | local type = type |
| 3113 | - | local rng = Instance.new("Part", char) |
| 3113 | + | local rng = Instance.new("Part", char)
|
| 3114 | - | rng.Anchored = true |
| 3114 | + | rng.Anchored = true |
| 3115 | - | rng.BrickColor = origcolor |
| 3115 | + | rng.BrickColor = origcolor |
| 3116 | - | rng.CanCollide = false |
| 3116 | + | rng.CanCollide = false |
| 3117 | - | rng.FormFactor = 3 |
| 3117 | + | rng.FormFactor = 3 |
| 3118 | - | rng.Name = "Ring" |
| 3118 | + | rng.Name = "Ring" |
| 3119 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3119 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3120 | - | rng.Transparency = 0 |
| 3120 | + | rng.Transparency = 0 |
| 3121 | - | rng.TopSurface = 0 |
| 3121 | + | rng.TopSurface = 0 |
| 3122 | - | rng.BottomSurface = 0 |
| 3122 | + | rng.BottomSurface = 0 |
| 3123 | - | rng.CFrame = pos |
| 3123 | + | rng.CFrame = pos |
| 3124 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3124 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3125 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" |
| 3125 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" |
| 3126 | - | rngm.Scale = scale |
| 3126 | + | rngm.Scale = scale |
| 3127 | - | local scaler2 = 1 |
| 3127 | + | local scaler2 = 1 |
| 3128 | - | if type == "Add" then |
| 3128 | + | if type == "Add" then |
| 3129 | - | scaler2 = 1*value |
| 3129 | + | scaler2 = 1*value |
| 3130 | - | elseif type == "Divide" then |
| 3130 | + | elseif type == "Divide" then |
| 3131 | - | scaler2 = 1/value |
| 3131 | + | scaler2 = 1/value |
| 3132 | end | |
| 3133 | - | coroutine.resume(coroutine.create(function() |
| 3133 | + | coroutine.resume(coroutine.create(function() |
| 3134 | - | for i = 0,10,0.1 do |
| 3134 | + | for i = 0,10,0.1 do |
| 3135 | - | swait() |
| 3135 | + | swait() |
| 3136 | - | if type == "Add" then |
| 3136 | + | if type == "Add" then |
| 3137 | - | scaler2 = scaler2 - 0.01*value |
| 3137 | + | scaler2 = scaler2 - 0.01*value |
| 3138 | - | elseif type == "Divide" then |
| 3138 | + | elseif type == "Divide" then |
| 3139 | - | scaler2 = scaler2 - 0.01/value |
| 3139 | + | scaler2 = scaler2 - 0.01/value |
| 3140 | end | |
| 3141 | - | rng.Transparency = rng.Transparency + 0.01 |
| 3141 | + | rng.Transparency = rng.Transparency + 0.01 |
| 3142 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 3142 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 3143 | end | |
| 3144 | - | rng:Destroy() |
| 3144 | + | rng:Destroy() |
| 3145 | - | end)) |
| 3145 | + | end)) |
| 3146 | end | |
| 3147 | - | |
| 3147 | + | |
| 3148 | - | function sphere(bonuspeed,type,pos,scale,value,color) |
| 3148 | + | function sphere(bonuspeed,type,pos,scale,value,color) |
| 3149 | - | local type = type |
| 3149 | + | local type = type |
| 3150 | - | local rng = Instance.new("Part", char) |
| 3150 | + | local rng = Instance.new("Part", char)
|
| 3151 | - | rng.Anchored = true |
| 3151 | + | rng.Anchored = true |
| 3152 | - | rng.BrickColor = color |
| 3152 | + | rng.BrickColor = color |
| 3153 | - | rng.CanCollide = false |
| 3153 | + | rng.CanCollide = false |
| 3154 | - | rng.FormFactor = 3 |
| 3154 | + | rng.FormFactor = 3 |
| 3155 | - | rng.Name = "Ring" |
| 3155 | + | rng.Name = "Ring" |
| 3156 | - | rng.Material = "Neon" |
| 3156 | + | rng.Material = "Neon" |
| 3157 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3157 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3158 | - | rng.Transparency = 0 |
| 3158 | + | rng.Transparency = 0 |
| 3159 | - | rng.TopSurface = 0 |
| 3159 | + | rng.TopSurface = 0 |
| 3160 | - | rng.BottomSurface = 0 |
| 3160 | + | rng.BottomSurface = 0 |
| 3161 | - | rng.CFrame = pos |
| 3161 | + | rng.CFrame = pos |
| 3162 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3162 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3163 | - | rngm.MeshType = "Sphere" |
| 3163 | + | rngm.MeshType = "Sphere" |
| 3164 | - | rngm.Scale = scale |
| 3164 | + | rngm.Scale = scale |
| 3165 | - | if rainbowmode == true then |
| 3165 | + | if rainbowmode == true then |
| 3166 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3166 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3167 | end | |
| 3168 | - | local scaler2 = 1 |
| 3168 | + | local scaler2 = 1 |
| 3169 | - | if type == "Add" then |
| 3169 | + | if type == "Add" then |
| 3170 | - | scaler2 = 1*value |
| 3170 | + | scaler2 = 1*value |
| 3171 | - | elseif type == "Divide" then |
| 3171 | + | elseif type == "Divide" then |
| 3172 | - | scaler2 = 1/value |
| 3172 | + | scaler2 = 1/value |
| 3173 | end | |
| 3174 | - | coroutine.resume(coroutine.create(function() |
| 3174 | + | coroutine.resume(coroutine.create(function() |
| 3175 | - | for i = 0,10/bonuspeed,0.1 do |
| 3175 | + | for i = 0,10/bonuspeed,0.1 do |
| 3176 | - | swait() |
| 3176 | + | swait() |
| 3177 | - | if rainbowmode == true then |
| 3177 | + | if rainbowmode == true then |
| 3178 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3178 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3179 | end | |
| 3180 | - | if type == "Add" then |
| 3180 | + | if type == "Add" then |
| 3181 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3181 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3182 | - | elseif type == "Divide" then |
| 3182 | + | elseif type == "Divide" then |
| 3183 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3183 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3184 | end | |
| 3185 | - | if chaosmode == true then |
| 3185 | + | if chaosmode == true then |
| 3186 | - | rng.BrickColor = BrickColor.random() |
| 3186 | + | rng.BrickColor = BrickColor.random() |
| 3187 | end | |
| 3188 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3188 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3189 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 3189 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 3190 | end | |
| 3191 | - | rng:Destroy() |
| 3191 | + | rng:Destroy() |
| 3192 | - | end)) |
| 3192 | + | end)) |
| 3193 | end | |
| 3194 | - | |
| 3194 | + | |
| 3195 | - | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) |
| 3195 | + | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) |
| 3196 | - | local type = type |
| 3196 | + | local type = type |
| 3197 | - | local rng = Instance.new("Part", char) |
| 3197 | + | local rng = Instance.new("Part", char)
|
| 3198 | - | rng.Anchored = true |
| 3198 | + | rng.Anchored = true |
| 3199 | - | rng.BrickColor = color |
| 3199 | + | rng.BrickColor = color |
| 3200 | - | rng.CanCollide = false |
| 3200 | + | rng.CanCollide = false |
| 3201 | - | rng.FormFactor = 3 |
| 3201 | + | rng.FormFactor = 3 |
| 3202 | - | rng.Name = "Ring" |
| 3202 | + | rng.Name = "Ring" |
| 3203 | - | rng.Material = "Neon" |
| 3203 | + | rng.Material = "Neon" |
| 3204 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3204 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3205 | - | rng.Transparency = 0 |
| 3205 | + | rng.Transparency = 0 |
| 3206 | - | rng.TopSurface = 0 |
| 3206 | + | rng.TopSurface = 0 |
| 3207 | - | rng.BottomSurface = 0 |
| 3207 | + | rng.BottomSurface = 0 |
| 3208 | - | rng.CFrame = pos |
| 3208 | + | rng.CFrame = pos |
| 3209 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3209 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3210 | - | rngm.MeshType = "Sphere" |
| 3210 | + | rngm.MeshType = "Sphere" |
| 3211 | - | rngm.Scale = scale |
| 3211 | + | rngm.Scale = scale |
| 3212 | - | local scaler2 = 1 |
| 3212 | + | local scaler2 = 1 |
| 3213 | - | local scaler2b = 1 |
| 3213 | + | local scaler2b = 1 |
| 3214 | - | local scaler2c = 1 |
| 3214 | + | local scaler2c = 1 |
| 3215 | - | if type == "Add" then |
| 3215 | + | if type == "Add" then |
| 3216 | - | scaler2 = 1*value |
| 3216 | + | scaler2 = 1*value |
| 3217 | - | scaler2b = 1*value2 |
| 3217 | + | scaler2b = 1*value2 |
| 3218 | - | scaler2c = 1*value3 |
| 3218 | + | scaler2c = 1*value3 |
| 3219 | - | elseif type == "Divide" then |
| 3219 | + | elseif type == "Divide" then |
| 3220 | - | scaler2 = 1/value |
| 3220 | + | scaler2 = 1/value |
| 3221 | - | scaler2b = 1/value2 |
| 3221 | + | scaler2b = 1/value2 |
| 3222 | - | scaler2c = 1/value3 |
| 3222 | + | scaler2c = 1/value3 |
| 3223 | end | |
| 3224 | - | coroutine.resume(coroutine.create(function() |
| 3224 | + | coroutine.resume(coroutine.create(function() |
| 3225 | - | for i = 0,10/bonuspeed,0.1 do |
| 3225 | + | for i = 0,10/bonuspeed,0.1 do |
| 3226 | - | swait() |
| 3226 | + | swait() |
| 3227 | - | if type == "Add" then |
| 3227 | + | if type == "Add" then |
| 3228 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3228 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3229 | - | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 3229 | + | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 3230 | - | scaler2c = scaler2c - 0.01*value/bonuspeed |
| 3230 | + | scaler2c = scaler2c - 0.01*value/bonuspeed |
| 3231 | - | elseif type == "Divide" then |
| 3231 | + | elseif type == "Divide" then |
| 3232 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3232 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3233 | - | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 3233 | + | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 3234 | - | scaler2c = scaler2c - 0.01/value*bonuspeed |
| 3234 | + | scaler2c = scaler2c - 0.01/value*bonuspeed |
| 3235 | end | |
| 3236 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3236 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3237 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) |
| 3237 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) |
| 3238 | end | |
| 3239 | - | rng:Destroy() |
| 3239 | + | rng:Destroy() |
| 3240 | - | end)) |
| 3240 | + | end)) |
| 3241 | end | |
| 3242 | - | |
| 3242 | + | |
| 3243 | - | |
| 3243 | + | |
| 3244 | - | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) |
| 3244 | + | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) |
| 3245 | - | local type = type |
| 3245 | + | local type = type |
| 3246 | - | local rotenable = rotatingop |
| 3246 | + | local rotenable = rotatingop |
| 3247 | - | local rng = Instance.new("Part", char) |
| 3247 | + | local rng = Instance.new("Part", char)
|
| 3248 | - | rng.Anchored = true |
| 3248 | + | rng.Anchored = true |
| 3249 | - | rng.BrickColor = color |
| 3249 | + | rng.BrickColor = color |
| 3250 | - | rng.CanCollide = false |
| 3250 | + | rng.CanCollide = false |
| 3251 | - | rng.FormFactor = 3 |
| 3251 | + | rng.FormFactor = 3 |
| 3252 | - | rng.Name = "Ring" |
| 3252 | + | rng.Name = "Ring" |
| 3253 | - | rng.Material = "Neon" |
| 3253 | + | rng.Material = "Neon" |
| 3254 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3254 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3255 | - | rng.Transparency = 0 |
| 3255 | + | rng.Transparency = 0 |
| 3256 | - | if typeoftrans == "In" then |
| 3256 | + | if typeoftrans == "In" then |
| 3257 | - | rng.Transparency = 1 |
| 3257 | + | rng.Transparency = 1 |
| 3258 | end | |
| 3259 | - | rng.TopSurface = 0 |
| 3259 | + | rng.TopSurface = 0 |
| 3260 | - | rng.BottomSurface = 0 |
| 3260 | + | rng.BottomSurface = 0 |
| 3261 | - | rng.CFrame = pos |
| 3261 | + | rng.CFrame = pos |
| 3262 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3262 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3263 | - | rngm.MeshType = "FileMesh" |
| 3263 | + | rngm.MeshType = "FileMesh" |
| 3264 | - | if typeofshape == "Normal" then |
| 3264 | + | if typeofshape == "Normal" then |
| 3265 | - | rngm.MeshId = "rbxassetid://662586858" |
| 3265 | + | rngm.MeshId = "rbxassetid://662586858" |
| 3266 | - | elseif typeofshape == "Round" then |
| 3266 | + | elseif typeofshape == "Round" then |
| 3267 | - | rngm.MeshId = "rbxassetid://662585058" |
| 3267 | + | rngm.MeshId = "rbxassetid://662585058" |
| 3268 | end | |
| 3269 | - | rngm.Scale = scale |
| 3269 | + | rngm.Scale = scale |
| 3270 | - | local scaler2 = 1/10 |
| 3270 | + | local scaler2 = 1/10 |
| 3271 | - | if type == "Add" then |
| 3271 | + | if type == "Add" then |
| 3272 | - | scaler2 = 1*value/10 |
| 3272 | + | scaler2 = 1*value/10 |
| 3273 | - | elseif type == "Divide" then |
| 3273 | + | elseif type == "Divide" then |
| 3274 | - | scaler2 = 1/value/10 |
| 3274 | + | scaler2 = 1/value/10 |
| 3275 | end | |
| 3276 | - | local randomrot = math.random(1,2) |
| 3276 | + | local randomrot = math.random(1,2) |
| 3277 | - | coroutine.resume(coroutine.create(function() |
| 3277 | + | coroutine.resume(coroutine.create(function() |
| 3278 | - | for i = 0,10/bonuspeed,0.1 do |
| 3278 | + | for i = 0,10/bonuspeed,0.1 do |
| 3279 | - | swait() |
| 3279 | + | swait() |
| 3280 | - | if type == "Add" then |
| 3280 | + | if type == "Add" then |
| 3281 | - | scaler2 = scaler2 - 0.01*value/bonuspeed/10 |
| 3281 | + | scaler2 = scaler2 - 0.01*value/bonuspeed/10 |
| 3282 | - | elseif type == "Divide" then |
| 3282 | + | elseif type == "Divide" then |
| 3283 | - | scaler2 = scaler2 - 0.01/value*bonuspeed/10 |
| 3283 | + | scaler2 = scaler2 - 0.01/value*bonuspeed/10 |
| 3284 | end | |
| 3285 | - | if rotenable == true then |
| 3285 | + | if rotenable == true then |
| 3286 | - | if randomrot == 1 then |
| 3286 | + | if randomrot == 1 then |
| 3287 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) |
| 3287 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) |
| 3288 | - | elseif randomrot == 2 then |
| 3288 | + | elseif randomrot == 2 then |
| 3289 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) |
| 3289 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) |
| 3290 | end | |
| 3291 | end | |
| 3292 | - | if typeoftrans == "Out" then |
| 3292 | + | if typeoftrans == "Out" then |
| 3293 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3293 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3294 | - | elseif typeoftrans == "In" then |
| 3294 | + | elseif typeoftrans == "In" then |
| 3295 | - | rng.Transparency = rng.Transparency - 0.01*bonuspeed |
| 3295 | + | rng.Transparency = rng.Transparency - 0.01*bonuspeed |
| 3296 | end | |
| 3297 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) |
| 3297 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) |
| 3298 | end | |
| 3299 | - | rng:Destroy() |
| 3299 | + | rng:Destroy() |
| 3300 | - | end)) |
| 3300 | + | end)) |
| 3301 | end | |
| 3302 | - | |
| 3302 | + | |
| 3303 | - | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3303 | + | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3304 | - | local type = type |
| 3304 | + | local type = type |
| 3305 | - | local rng = Instance.new("Part", char) |
| 3305 | + | local rng = Instance.new("Part", char)
|
| 3306 | - | rng.Anchored = true |
| 3306 | + | rng.Anchored = true |
| 3307 | - | rng.BrickColor = color |
| 3307 | + | rng.BrickColor = color |
| 3308 | - | rng.CanCollide = false |
| 3308 | + | rng.CanCollide = false |
| 3309 | - | rng.FormFactor = 3 |
| 3309 | + | rng.FormFactor = 3 |
| 3310 | - | rng.Name = "Ring" |
| 3310 | + | rng.Name = "Ring" |
| 3311 | - | rng.Material = "Neon" |
| 3311 | + | rng.Material = "Neon" |
| 3312 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3312 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3313 | - | rng.Transparency = 0 |
| 3313 | + | rng.Transparency = 0 |
| 3314 | - | rng.TopSurface = 0 |
| 3314 | + | rng.TopSurface = 0 |
| 3315 | - | rng.BottomSurface = 0 |
| 3315 | + | rng.BottomSurface = 0 |
| 3316 | - | rng.CFrame = pos |
| 3316 | + | rng.CFrame = pos |
| 3317 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3317 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3318 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3318 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3319 | - | rngm.MeshType = "Brick" |
| 3319 | + | rngm.MeshType = "Brick" |
| 3320 | - | rngm.Scale = vt(x1,y1,z1) |
| 3320 | + | rngm.Scale = vt(x1,y1,z1) |
| 3321 | - | if rainbowmode == true then |
| 3321 | + | if rainbowmode == true then |
| 3322 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3322 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3323 | end | |
| 3324 | - | local scaler2 = 1 |
| 3324 | + | local scaler2 = 1 |
| 3325 | - | local speeder = FastSpeed/10 |
| 3325 | + | local speeder = FastSpeed/10 |
| 3326 | - | if type == "Add" then |
| 3326 | + | if type == "Add" then |
| 3327 | - | scaler2 = 1*value |
| 3327 | + | scaler2 = 1*value |
| 3328 | - | elseif type == "Divide" then |
| 3328 | + | elseif type == "Divide" then |
| 3329 | - | scaler2 = 1/value |
| 3329 | + | scaler2 = 1/value |
| 3330 | end | |
| 3331 | - | coroutine.resume(coroutine.create(function() |
| 3331 | + | coroutine.resume(coroutine.create(function() |
| 3332 | - | for i = 0,10/bonuspeed,0.1 do |
| 3332 | + | for i = 0,10/bonuspeed,0.1 do |
| 3333 | - | swait() |
| 3333 | + | swait() |
| 3334 | - | if rainbowmode == true then |
| 3334 | + | if rainbowmode == true then |
| 3335 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3335 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3336 | end | |
| 3337 | - | if type == "Add" then |
| 3337 | + | if type == "Add" then |
| 3338 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3338 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3339 | - | elseif type == "Divide" then |
| 3339 | + | elseif type == "Divide" then |
| 3340 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3340 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3341 | end | |
| 3342 | - | if chaosmode == true then |
| 3342 | + | if chaosmode == true then |
| 3343 | - | rng.BrickColor = BrickColor.random() |
| 3343 | + | rng.BrickColor = BrickColor.random() |
| 3344 | end | |
| 3345 | - | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 |
| 3345 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 |
| 3346 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3346 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3347 | - | --rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3347 | + | --rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3348 | - | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 3348 | + | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 3349 | end | |
| 3350 | - | rng:Destroy() |
| 3350 | + | rng:Destroy() |
| 3351 | - | end)) |
| 3351 | + | end)) |
| 3352 | end | |
| 3353 | - | |
| 3353 | + | |
| 3354 | - | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3354 | + | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3355 | - | local type = type |
| 3355 | + | local type = type |
| 3356 | - | local rng = Instance.new("Part", char) |
| 3356 | + | local rng = Instance.new("Part", char)
|
| 3357 | - | rng.Anchored = true |
| 3357 | + | rng.Anchored = true |
| 3358 | - | rng.BrickColor = color |
| 3358 | + | rng.BrickColor = color |
| 3359 | - | rng.CanCollide = false |
| 3359 | + | rng.CanCollide = false |
| 3360 | - | rng.FormFactor = 3 |
| 3360 | + | rng.FormFactor = 3 |
| 3361 | - | rng.Name = "Ring" |
| 3361 | + | rng.Name = "Ring" |
| 3362 | - | if ModeOfGlitch ~= 666666 then |
| 3362 | + | if ModeOfGlitch ~= 666666 then |
| 3363 | - | rng.Material = "Neon" |
| 3363 | + | rng.Material = "Neon" |
| 3364 | - | elseif ModeOfGlitch == 666666 then |
| 3364 | + | elseif ModeOfGlitch == 666666 then |
| 3365 | - | rng.Material = "Glass" |
| 3365 | + | rng.Material = "Glass" |
| 3366 | - | end |
| 3366 | + | end |
| 3367 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3367 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3368 | - | rng.Transparency = 0 |
| 3368 | + | rng.Transparency = 0 |
| 3369 | - | rng.TopSurface = 0 |
| 3369 | + | rng.TopSurface = 0 |
| 3370 | - | rng.BottomSurface = 0 |
| 3370 | + | rng.BottomSurface = 0 |
| 3371 | - | rng.CFrame = pos |
| 3371 | + | rng.CFrame = pos |
| 3372 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3372 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3373 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3373 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3374 | - | rngm.MeshType = "Brick" |
| 3374 | + | rngm.MeshType = "Brick" |
| 3375 | - | rngm.Scale = vt(x1,y1,z1) |
| 3375 | + | rngm.Scale = vt(x1,y1,z1) |
| 3376 | - | if rainbowmode == true then |
| 3376 | + | if rainbowmode == true then |
| 3377 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3377 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3378 | end | |
| 3379 | - | local scaler2 = 1 |
| 3379 | + | local scaler2 = 1 |
| 3380 | - | local speeder = FastSpeed/10 |
| 3380 | + | local speeder = FastSpeed/10 |
| 3381 | - | if type == "Add" then |
| 3381 | + | if type == "Add" then |
| 3382 | - | scaler2 = 1*value |
| 3382 | + | scaler2 = 1*value |
| 3383 | - | elseif type == "Divide" then |
| 3383 | + | elseif type == "Divide" then |
| 3384 | - | scaler2 = 1/value |
| 3384 | + | scaler2 = 1/value |
| 3385 | end | |
| 3386 | - | coroutine.resume(coroutine.create(function() |
| 3386 | + | coroutine.resume(coroutine.create(function() |
| 3387 | - | for i = 0,10/bonuspeed,0.1 do |
| 3387 | + | for i = 0,10/bonuspeed,0.1 do |
| 3388 | - | swait() |
| 3388 | + | swait() |
| 3389 | - | if rainbowmode == true then |
| 3389 | + | if rainbowmode == true then |
| 3390 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3390 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3391 | end | |
| 3392 | - | if type == "Add" then |
| 3392 | + | if type == "Add" then |
| 3393 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3393 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3394 | - | elseif type == "Divide" then |
| 3394 | + | elseif type == "Divide" then |
| 3395 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3395 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3396 | end | |
| 3397 | - | if chaosmode == true then |
| 3397 | + | if chaosmode == true then |
| 3398 | - | rng.BrickColor = BrickColor.random() |
| 3398 | + | rng.BrickColor = BrickColor.random() |
| 3399 | end | |
| 3400 | - | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 |
| 3400 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 |
| 3401 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3401 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3402 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3402 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3403 | - | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 3403 | + | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 3404 | end | |
| 3405 | - | rng:Destroy() |
| 3405 | + | rng:Destroy() |
| 3406 | - | end)) |
| 3406 | + | end)) |
| 3407 | end | |
| 3408 | - | |
| 3408 | + | |
| 3409 | - | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3409 | + | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3410 | - | local type = type |
| 3410 | + | local type = type |
| 3411 | - | local rng = Instance.new("Part", char) |
| 3411 | + | local rng = Instance.new("Part", char)
|
| 3412 | - | rng.Anchored = true |
| 3412 | + | rng.Anchored = true |
| 3413 | - | rng.BrickColor = color |
| 3413 | + | rng.BrickColor = color |
| 3414 | - | rng.CanCollide = false |
| 3414 | + | rng.CanCollide = false |
| 3415 | - | rng.FormFactor = 3 |
| 3415 | + | rng.FormFactor = 3 |
| 3416 | - | rng.Name = "Ring" |
| 3416 | + | rng.Name = "Ring" |
| 3417 | - | rng.Material = "Neon" |
| 3417 | + | rng.Material = "Neon" |
| 3418 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3418 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3419 | - | rng.Transparency = 0 |
| 3419 | + | rng.Transparency = 0 |
| 3420 | - | rng.TopSurface = 0 |
| 3420 | + | rng.TopSurface = 0 |
| 3421 | - | rng.BottomSurface = 0 |
| 3421 | + | rng.BottomSurface = 0 |
| 3422 | - | rng.CFrame = pos |
| 3422 | + | rng.CFrame = pos |
| 3423 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3423 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3424 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3424 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3425 | - | rngm.MeshType = "Brick" |
| 3425 | + | rngm.MeshType = "Brick" |
| 3426 | - | rngm.Scale = vt(x1,y1,z1) |
| 3426 | + | rngm.Scale = vt(x1,y1,z1) |
| 3427 | - | if rainbowmode == true then |
| 3427 | + | if rainbowmode == true then |
| 3428 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3428 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3429 | end | |
| 3430 | - | local scaler2 = 0 |
| 3430 | + | local scaler2 = 0 |
| 3431 | - | local speeder = FastSpeed/10 |
| 3431 | + | local speeder = FastSpeed/10 |
| 3432 | - | if type == "Add" then |
| 3432 | + | if type == "Add" then |
| 3433 | - | scaler2 = 1*value |
| 3433 | + | scaler2 = 1*value |
| 3434 | - | elseif type == "Divide" then |
| 3434 | + | elseif type == "Divide" then |
| 3435 | - | scaler2 = 1/value |
| 3435 | + | scaler2 = 1/value |
| 3436 | end | |
| 3437 | - | coroutine.resume(coroutine.create(function() |
| 3437 | + | coroutine.resume(coroutine.create(function() |
| 3438 | - | for i = 0,10/bonuspeed,0.1 do |
| 3438 | + | for i = 0,10/bonuspeed,0.1 do |
| 3439 | - | swait() |
| 3439 | + | swait() |
| 3440 | - | if rainbowmode == true then |
| 3440 | + | if rainbowmode == true then |
| 3441 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3441 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3442 | end | |
| 3443 | - | if type == "Add" then |
| 3443 | + | if type == "Add" then |
| 3444 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3444 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3445 | - | elseif type == "Divide" then |
| 3445 | + | elseif type == "Divide" then |
| 3446 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3446 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3447 | end | |
| 3448 | - | if chaosmode == true then |
| 3448 | + | if chaosmode == true then |
| 3449 | - | rng.BrickColor = BrickColor.random() |
| 3449 | + | rng.BrickColor = BrickColor.random() |
| 3450 | end | |
| 3451 | - | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 |
| 3451 | + | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 |
| 3452 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3452 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3453 | - | --rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3453 | + | --rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3454 | - | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 3454 | + | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 3455 | end | |
| 3456 | - | rng:Destroy() |
| 3456 | + | rng:Destroy() |
| 3457 | - | end)) |
| 3457 | + | end)) |
| 3458 | end | |
| 3459 | - | |
| 3459 | + | |
| 3460 | - | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) |
| 3460 | + | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) |
| 3461 | - | local type = type |
| 3461 | + | local type = type |
| 3462 | - | local rng = Instance.new("Part", char) |
| 3462 | + | local rng = Instance.new("Part", char)
|
| 3463 | - | rng.Anchored = true |
| 3463 | + | rng.Anchored = true |
| 3464 | - | rng.BrickColor = color |
| 3464 | + | rng.BrickColor = color |
| 3465 | - | rng.Color = color3 |
| 3465 | + | rng.Color = color3 |
| 3466 | - | rng.CanCollide = false |
| 3466 | + | rng.CanCollide = false |
| 3467 | - | rng.FormFactor = 3 |
| 3467 | + | rng.FormFactor = 3 |
| 3468 | - | rng.Name = "Ring" |
| 3468 | + | rng.Name = "Ring" |
| 3469 | - | rng.Material = "Neon" |
| 3469 | + | rng.Material = "Neon" |
| 3470 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3470 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3471 | - | rng.Transparency = 0 |
| 3471 | + | rng.Transparency = 0 |
| 3472 | - | rng.TopSurface = 0 |
| 3472 | + | rng.TopSurface = 0 |
| 3473 | - | rng.BottomSurface = 0 |
| 3473 | + | rng.BottomSurface = 0 |
| 3474 | - | rng.CFrame = pos |
| 3474 | + | rng.CFrame = pos |
| 3475 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3475 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3476 | - | rngm.MeshType = "Brick" |
| 3476 | + | rngm.MeshType = "Brick" |
| 3477 | - | rngm.Scale = scale |
| 3477 | + | rngm.Scale = scale |
| 3478 | - | local scaler2 = 1 |
| 3478 | + | local scaler2 = 1 |
| 3479 | - | local scaler2b = 1 |
| 3479 | + | local scaler2b = 1 |
| 3480 | - | local scaler2c = 1 |
| 3480 | + | local scaler2c = 1 |
| 3481 | - | if type == "Add" then |
| 3481 | + | if type == "Add" then |
| 3482 | - | scaler2 = 1*value |
| 3482 | + | scaler2 = 1*value |
| 3483 | - | scaler2b = 1*value2 |
| 3483 | + | scaler2b = 1*value2 |
| 3484 | - | scaler2c = 1*value3 |
| 3484 | + | scaler2c = 1*value3 |
| 3485 | - | elseif type == "Divide" then |
| 3485 | + | elseif type == "Divide" then |
| 3486 | - | scaler2 = 1/value |
| 3486 | + | scaler2 = 1/value |
| 3487 | - | scaler2b = 1/value2 |
| 3487 | + | scaler2b = 1/value2 |
| 3488 | - | scaler2c = 1/value3 |
| 3488 | + | scaler2c = 1/value3 |
| 3489 | end | |
| 3490 | - | coroutine.resume(coroutine.create(function() |
| 3490 | + | coroutine.resume(coroutine.create(function() |
| 3491 | - | for i = 0,10/bonuspeed,0.1 do |
| 3491 | + | for i = 0,10/bonuspeed,0.1 do |
| 3492 | - | swait() |
| 3492 | + | swait() |
| 3493 | - | if type == "Add" then |
| 3493 | + | if type == "Add" then |
| 3494 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3494 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3495 | - | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 3495 | + | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 3496 | - | scaler2c = scaler2c - 0.01*value/bonuspeed |
| 3496 | + | scaler2c = scaler2c - 0.01*value/bonuspeed |
| 3497 | - | elseif type == "Divide" then |
| 3497 | + | elseif type == "Divide" then |
| 3498 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3498 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3499 | - | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 3499 | + | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 3500 | - | scaler2c = scaler2c - 0.01/value*bonuspeed |
| 3500 | + | scaler2c = scaler2c - 0.01/value*bonuspeed |
| 3501 | end | |
| 3502 | - | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 3502 | + | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 3503 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3503 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3504 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) |
| 3504 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) |
| 3505 | end | |
| 3506 | - | rng:Destroy() |
| 3506 | + | rng:Destroy() |
| 3507 | - | end)) |
| 3507 | + | end)) |
| 3508 | end | |
| 3509 | - | |
| 3509 | + | |
| 3510 | - | function block2(bonuspeed,aaa,type,pos,scale,value,value2,value3,color,color3) |
| 3510 | + | function block2(bonuspeed,aaa,type,pos,scale,value,value2,value3,color,color3) |
| 3511 | - | local type = type |
| 3511 | + | local type = type |
| 3512 | - | local rng = Instance.new("Part", char) |
| 3512 | + | local rng = Instance.new("Part", char)
|
| 3513 | - | rng.Anchored = true |
| 3513 | + | rng.Anchored = true |
| 3514 | - | rng.BrickColor = color |
| 3514 | + | rng.BrickColor = color |
| 3515 | - | rng.Color = color3 |
| 3515 | + | rng.Color = color3 |
| 3516 | - | rng.CanCollide = false |
| 3516 | + | rng.CanCollide = false |
| 3517 | - | rng.FormFactor = 3 |
| 3517 | + | rng.FormFactor = 3 |
| 3518 | - | rng.Name = "Ring" |
| 3518 | + | rng.Name = "Ring" |
| 3519 | - | rng.Material = "Neon" |
| 3519 | + | rng.Material = "Neon" |
| 3520 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3520 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3521 | - | rng.Transparency = 0 |
| 3521 | + | rng.Transparency = 0 |
| 3522 | - | rng.TopSurface = 0 |
| 3522 | + | rng.TopSurface = 0 |
| 3523 | - | rng.BottomSurface = 0 |
| 3523 | + | rng.BottomSurface = 0 |
| 3524 | - | rng.CFrame = pos |
| 3524 | + | rng.CFrame = pos |
| 3525 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3525 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3526 | - | rngm.MeshType = "Brick" |
| 3526 | + | rngm.MeshType = "Brick" |
| 3527 | - | rngm.Scale = scale |
| 3527 | + | rngm.Scale = scale |
| 3528 | - | local scaler2 = 1 |
| 3528 | + | local scaler2 = 1 |
| 3529 | - | local scaler2b = 1 |
| 3529 | + | local scaler2b = 1 |
| 3530 | - | local scaler2c = 1 |
| 3530 | + | local scaler2c = 1 |
| 3531 | - | if type == "Add" then |
| 3531 | + | if type == "Add" then |
| 3532 | - | scaler2 = 1*value |
| 3532 | + | scaler2 = 1*value |
| 3533 | - | scaler2b = 1*value2 |
| 3533 | + | scaler2b = 1*value2 |
| 3534 | - | scaler2c = 1*value3 |
| 3534 | + | scaler2c = 1*value3 |
| 3535 | - | elseif type == "Divide" then |
| 3535 | + | elseif type == "Divide" then |
| 3536 | - | scaler2 = 1/value |
| 3536 | + | scaler2 = 1/value |
| 3537 | - | scaler2b = 1/value2 |
| 3537 | + | scaler2b = 1/value2 |
| 3538 | - | scaler2c = 1/value3 |
| 3538 | + | scaler2c = 1/value3 |
| 3539 | end | |
| 3540 | - | coroutine.resume(coroutine.create(function() |
| 3540 | + | coroutine.resume(coroutine.create(function() |
| 3541 | - | for i = 0,10/bonuspeed,aaa do |
| 3541 | + | for i = 0,10/bonuspeed,aaa do |
| 3542 | - | swait() |
| 3542 | + | swait() |
| 3543 | - | if type == "Add" then |
| 3543 | + | if type == "Add" then |
| 3544 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3544 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3545 | - | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 3545 | + | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 3546 | - | scaler2c = scaler2c - 0.01*value/bonuspeed |
| 3546 | + | scaler2c = scaler2c - 0.01*value/bonuspeed |
| 3547 | - | elseif type == "Divide" then |
| 3547 | + | elseif type == "Divide" then |
| 3548 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3548 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3549 | - | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 3549 | + | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 3550 | - | scaler2c = scaler2c - 0.01/value*bonuspeed |
| 3550 | + | scaler2c = scaler2c - 0.01/value*bonuspeed |
| 3551 | end | |
| 3552 | - | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 3552 | + | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 3553 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3553 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3554 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) |
| 3554 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) |
| 3555 | end | |
| 3556 | - | rng:Destroy() |
| 3556 | + | rng:Destroy() |
| 3557 | - | end)) |
| 3557 | + | end)) |
| 3558 | end | |
| 3559 | - | |
| 3559 | + | |
| 3560 | - | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3560 | + | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3561 | - | local type = type |
| 3561 | + | local type = type |
| 3562 | - | local rng = Instance.new("Part", char) |
| 3562 | + | local rng = Instance.new("Part", char)
|
| 3563 | - | rng.Anchored = true |
| 3563 | + | rng.Anchored = true |
| 3564 | - | rng.BrickColor = color |
| 3564 | + | rng.BrickColor = color |
| 3565 | - | rng.CanCollide = false |
| 3565 | + | rng.CanCollide = false |
| 3566 | - | rng.FormFactor = 3 |
| 3566 | + | rng.FormFactor = 3 |
| 3567 | - | rng.Name = "Ring" |
| 3567 | + | rng.Name = "Ring" |
| 3568 | - | rng.Material = "Neon" |
| 3568 | + | rng.Material = "Neon" |
| 3569 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3569 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3570 | - | rng.Transparency = 0 |
| 3570 | + | rng.Transparency = 0 |
| 3571 | - | rng.TopSurface = 0 |
| 3571 | + | rng.TopSurface = 0 |
| 3572 | - | rng.BottomSurface = 0 |
| 3572 | + | rng.BottomSurface = 0 |
| 3573 | - | rng.CFrame = pos |
| 3573 | + | rng.CFrame = pos |
| 3574 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3574 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3575 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3575 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3576 | - | rngm.MeshType = "Sphere" |
| 3576 | + | rngm.MeshType = "Sphere" |
| 3577 | - | rngm.Scale = vt(x1,y1,z1) |
| 3577 | + | rngm.Scale = vt(x1,y1,z1) |
| 3578 | - | if rainbowmode == true then |
| 3578 | + | if rainbowmode == true then |
| 3579 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3579 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3580 | end | |
| 3581 | - | local scaler2 = 1 |
| 3581 | + | local scaler2 = 1 |
| 3582 | - | local speeder = FastSpeed |
| 3582 | + | local speeder = FastSpeed |
| 3583 | - | if type == "Add" then |
| 3583 | + | if type == "Add" then |
| 3584 | - | scaler2 = 1*value |
| 3584 | + | scaler2 = 1*value |
| 3585 | - | elseif type == "Divide" then |
| 3585 | + | elseif type == "Divide" then |
| 3586 | - | scaler2 = 1/value |
| 3586 | + | scaler2 = 1/value |
| 3587 | end | |
| 3588 | - | coroutine.resume(coroutine.create(function() |
| 3588 | + | coroutine.resume(coroutine.create(function() |
| 3589 | - | for i = 0,10/bonuspeed,0.1 do |
| 3589 | + | for i = 0,10/bonuspeed,0.1 do |
| 3590 | - | swait() |
| 3590 | + | swait() |
| 3591 | - | if rainbowmode == true then |
| 3591 | + | if rainbowmode == true then |
| 3592 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3592 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3593 | end | |
| 3594 | - | if type == "Add" then |
| 3594 | + | if type == "Add" then |
| 3595 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3595 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3596 | - | elseif type == "Divide" then |
| 3596 | + | elseif type == "Divide" then |
| 3597 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3597 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3598 | end | |
| 3599 | - | if chaosmode == true then |
| 3599 | + | if chaosmode == true then |
| 3600 | - | rng.BrickColor = BrickColor.random() |
| 3600 | + | rng.BrickColor = BrickColor.random() |
| 3601 | end | |
| 3602 | - | speeder = speeder - 0.01*FastSpeed*bonuspeed |
| 3602 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed |
| 3603 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3603 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3604 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3604 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 3605 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
| 3605 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
| 3606 | end | |
| 3607 | - | rng:Destroy() |
| 3607 | + | rng:Destroy() |
| 3608 | - | end)) |
| 3608 | + | end)) |
| 3609 | end | |
| 3610 | - | |
| 3610 | + | |
| 3611 | - | |
| 3611 | + | |
| 3612 | - | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3612 | + | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 3613 | - | local type = type |
| 3613 | + | local type = type |
| 3614 | - | local rng = Instance.new("Part", char) |
| 3614 | + | local rng = Instance.new("Part", char)
|
| 3615 | - | rng.Anchored = true |
| 3615 | + | rng.Anchored = true |
| 3616 | - | rng.BrickColor = color |
| 3616 | + | rng.BrickColor = color |
| 3617 | - | rng.CanCollide = false |
| 3617 | + | rng.CanCollide = false |
| 3618 | - | rng.FormFactor = 3 |
| 3618 | + | rng.FormFactor = 3 |
| 3619 | - | rng.Name = "Ring" |
| 3619 | + | rng.Name = "Ring" |
| 3620 | - | rng.Material = "Neon" |
| 3620 | + | rng.Material = "Neon" |
| 3621 | - | rng.Size = Vector3.new(1, 1, 1) |
| 3621 | + | rng.Size = Vector3.new(1, 1, 1) |
| 3622 | - | rng.Transparency = 1 |
| 3622 | + | rng.Transparency = 1 |
| 3623 | - | rng.TopSurface = 0 |
| 3623 | + | rng.TopSurface = 0 |
| 3624 | - | rng.BottomSurface = 0 |
| 3624 | + | rng.BottomSurface = 0 |
| 3625 | - | rng.CFrame = pos |
| 3625 | + | rng.CFrame = pos |
| 3626 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3626 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 3627 | - | local rngm = Instance.new("SpecialMesh", rng) |
| 3627 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 3628 | - | rngm.MeshType = "Sphere" |
| 3628 | + | rngm.MeshType = "Sphere" |
| 3629 | - | rngm.Scale = vt(x1,y1,z1) |
| 3629 | + | rngm.Scale = vt(x1,y1,z1) |
| 3630 | - | if rainbowmode == true then |
| 3630 | + | if rainbowmode == true then |
| 3631 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3631 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3632 | end | |
| 3633 | - | |
| 3633 | + | |
| 3634 | - | local scaler2 = 1 |
| 3634 | + | local scaler2 = 1 |
| 3635 | - | local speeder = FastSpeed |
| 3635 | + | local speeder = FastSpeed |
| 3636 | - | if type == "Add" then |
| 3636 | + | if type == "Add" then |
| 3637 | - | scaler2 = 1*value |
| 3637 | + | scaler2 = 1*value |
| 3638 | - | elseif type == "Divide" then |
| 3638 | + | elseif type == "Divide" then |
| 3639 | - | scaler2 = 1/value |
| 3639 | + | scaler2 = 1/value |
| 3640 | end | |
| 3641 | - | coroutine.resume(coroutine.create(function() |
| 3641 | + | coroutine.resume(coroutine.create(function() |
| 3642 | - | for i = 0,10/bonuspeed,0.1 do |
| 3642 | + | for i = 0,10/bonuspeed,0.1 do |
| 3643 | - | swait() |
| 3643 | + | swait() |
| 3644 | - | if rainbowmode == true then |
| 3644 | + | if rainbowmode == true then |
| 3645 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3645 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3646 | end | |
| 3647 | - | if type == "Add" then |
| 3647 | + | if type == "Add" then |
| 3648 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3648 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3649 | - | elseif type == "Divide" then |
| 3649 | + | elseif type == "Divide" then |
| 3650 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3650 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3651 | end | |
| 3652 | - | if chaosmode == true then |
| 3652 | + | if chaosmode == true then |
| 3653 | - | rng.BrickColor = BrickColor.random() |
| 3653 | + | rng.BrickColor = BrickColor.random() |
| 3654 | end | |
| 3655 | - | speeder = speeder - 0.01*FastSpeed*bonuspeed |
| 3655 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed |
| 3656 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3656 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3657 | - | rng.Transparency = rng.Transparency - 0.01*bonuspeed |
| 3657 | + | rng.Transparency = rng.Transparency - 0.01*bonuspeed |
| 3658 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
| 3658 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
| 3659 | end | |
| 3660 | - | rng:Destroy() |
| 3660 | + | rng:Destroy() |
| 3661 | - | end)) |
| 3661 | + | end)) |
| 3662 | end | |
| 3663 | - | |
| 3663 | + | |
| 3664 | - | function dmg(dude) |
| 3664 | + | function dmg(dude) |
| 3665 | - | if dude.Name ~= Character then |
| 3665 | + | if dude.Name ~= Character then |
| 3666 | - | local keptcolor = MAINRUINCOLOR |
| 3666 | + | local keptcolor = MAINRUINCOLOR |
| 3667 | - | local bgf = Instance.new("BodyGyro",dude.Head) |
| 3667 | + | local bgf = Instance.new("BodyGyro",dude.Head)
|
| 3668 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) |
| 3668 | + | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) |
| 3669 | - | --[[local val = Instance.new("BoolValue",dude) |
| 3669 | + | --[[local val = Instance.new("BoolValue",dude)
|
| 3670 | - | val.Name = "IsHit"]]-- |
| 3670 | + | val.Name = "IsHit"]]-- |
| 3671 | - | local ds = coroutine.wrap(function() |
| 3671 | + | local ds = coroutine.wrap(function() |
| 3672 | - | dude:WaitForChild("Head"):BreakJoints() |
| 3672 | + | dude:WaitForChild("Head"):BreakJoints()
|
| 3673 | - | for i, v in pairs(dude:GetChildren()) do |
| 3673 | + | for i, v in pairs(dude:GetChildren()) do |
| 3674 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 3674 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 3675 | - | v.Name = "DEMINISHED" |
| 3675 | + | v.Name = "DEMINISHED" |
| 3676 | end | |
| 3677 | end | |
| 3678 | - | wait(0.5) |
| 3678 | + | wait(0.5) |
| 3679 | - | targetted = nil |
| 3679 | + | targetted = nil |
| 3680 | - | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285) |
| 3680 | + | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
|
| 3681 | - | coroutine.resume(coroutine.create(function() |
| 3681 | + | coroutine.resume(coroutine.create(function() |
| 3682 | - | for i, v in pairs(dude:GetChildren()) do |
| 3682 | + | for i, v in pairs(dude:GetChildren()) do |
| 3683 | - | if v:IsA("Accessory") then |
| 3683 | + | if v:IsA("Accessory") then
|
| 3684 | - | v:Destroy() |
| 3684 | + | v:Destroy() |
| 3685 | end | |
| 3686 | - | if v:IsA("Humanoid") then |
| 3686 | + | if v:IsA("Humanoid") then
|
| 3687 | - | v:Destroy() |
| 3687 | + | v:Destroy() |
| 3688 | end | |
| 3689 | - | if v:IsA("CharacterMesh") then |
| 3689 | + | if v:IsA("CharacterMesh") then
|
| 3690 | - | v:Destroy() |
| 3690 | + | v:Destroy() |
| 3691 | end | |
| 3692 | - | if v:IsA("Model") then |
| 3692 | + | if v:IsA("Model") then
|
| 3693 | - | v:Destroy() |
| 3693 | + | v:Destroy() |
| 3694 | end | |
| 3695 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 3695 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 3696 | - | for x, o in pairs(v:GetChildren()) do |
| 3696 | + | for x, o in pairs(v:GetChildren()) do |
| 3697 | - | if o:IsA("Decal") then |
| 3697 | + | if o:IsA("Decal") then
|
| 3698 | - | o:Destroy() |
| 3698 | + | o:Destroy() |
| 3699 | end | |
| 3700 | end | |
| 3701 | - | coroutine.resume(coroutine.create(function() |
| 3701 | + | coroutine.resume(coroutine.create(function() |
| 3702 | - | v.Material = "Neon" |
| 3702 | + | v.Material = "Neon" |
| 3703 | - | v.CanCollide = false |
| 3703 | + | v.CanCollide = false |
| 3704 | - | v.Anchored = false |
| 3704 | + | v.Anchored = false |
| 3705 | - | local bld = Instance.new("ParticleEmitter",v) |
| 3705 | + | local bld = Instance.new("ParticleEmitter",v)
|
| 3706 | - | bld.LightEmission = 0.75 |
| 3706 | + | bld.LightEmission = 0.75 |
| 3707 | - | bld.Texture = "rbxassetid://363275192" ---284205403 |
| 3707 | + | bld.Texture = "rbxassetid://363275192" ---284205403 |
| 3708 | - | bld.Color = ColorSequence.new(keptcolor.Color) |
| 3708 | + | bld.Color = ColorSequence.new(keptcolor.Color) |
| 3709 | - | bld.Rate = 500 |
| 3709 | + | bld.Rate = 500 |
| 3710 | - | bld.Lifetime = NumberRange.new(1) |
| 3710 | + | bld.Lifetime = NumberRange.new(1) |
| 3711 | - | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)}) |
| 3711 | + | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 3712 | - | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 3712 | + | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 3713 | - | bld.Speed = NumberRange.new(2,5) |
| 3713 | + | bld.Speed = NumberRange.new(2,5) |
| 3714 | - | bld.VelocitySpread = 50000 |
| 3714 | + | bld.VelocitySpread = 50000 |
| 3715 | - | bld.Rotation = NumberRange.new(-500,500) |
| 3715 | + | bld.Rotation = NumberRange.new(-500,500) |
| 3716 | - | bld.RotSpeed = NumberRange.new(-500,500) |
| 3716 | + | bld.RotSpeed = NumberRange.new(-500,500) |
| 3717 | - | local sbs = Instance.new("BodyPosition", v) |
| 3717 | + | local sbs = Instance.new("BodyPosition", v)
|
| 3718 | - | sbs.P = 3000 |
| 3718 | + | sbs.P = 3000 |
| 3719 | - | sbs.D = 1000 |
| 3719 | + | sbs.D = 1000 |
| 3720 | - | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
| 3720 | + | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
| 3721 | - | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) |
| 3721 | + | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) |
| 3722 | - | v.Color = keptcolor.Color |
| 3722 | + | v.Color = keptcolor.Color |
| 3723 | - | coroutine.resume(coroutine.create(function() |
| 3723 | + | coroutine.resume(coroutine.create(function() |
| 3724 | - | for i = 0, 49 do |
| 3724 | + | for i = 0, 49 do |
| 3725 | - | swait(1) |
| 3725 | + | swait(1) |
| 3726 | - | v:BreakJoints() |
| 3726 | + | v:BreakJoints() |
| 3727 | - | v.Transparency = v.Transparency + 0.02 |
| 3727 | + | v.Transparency = v.Transparency + 0.02 |
| 3728 | end | |
| 3729 | - | v:BreakJoints() |
| 3729 | + | v:BreakJoints() |
| 3730 | - | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) |
| 3730 | + | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) |
| 3731 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75) |
| 3731 | + | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
|
| 3732 | - | bld.Speed = NumberRange.new(10,25) |
| 3732 | + | bld.Speed = NumberRange.new(10,25) |
| 3733 | - | bld.Drag = 5 |
| 3733 | + | bld.Drag = 5 |
| 3734 | - | bld.Acceleration = vt(0,2,0) |
| 3734 | + | bld.Acceleration = vt(0,2,0) |
| 3735 | - | wait(0.5) |
| 3735 | + | wait(0.5) |
| 3736 | - | bld.Enabled = false |
| 3736 | + | bld.Enabled = false |
| 3737 | - | wait(8) |
| 3737 | + | wait(8) |
| 3738 | - | v:Destroy() |
| 3738 | + | v:Destroy() |
| 3739 | - | dude:Destroy() |
| 3739 | + | dude:Destroy() |
| 3740 | - | end)) |
| 3740 | + | end)) |
| 3741 | - | end)) |
| 3741 | + | end)) |
| 3742 | end | |
| 3743 | end | |
| 3744 | - | end)) |
| 3744 | + | end)) |
| 3745 | - | end) |
| 3745 | + | end) |
| 3746 | - | ds() |
| 3746 | + | ds() |
| 3747 | end | |
| 3748 | end | |
| 3749 | - | |
| 3749 | + | |
| 3750 | - | |
| 3750 | + | |
| 3751 | - | function FindNearestHead(Position, Distance, SinglePlayer) |
| 3751 | + | function FindNearestHead(Position, Distance, SinglePlayer) |
| 3752 | - | if SinglePlayer then |
| 3752 | + | if SinglePlayer then |
| 3753 | - | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance |
| 3753 | + | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance |
| 3754 | - | end |
| 3754 | + | end |
| 3755 | - | local List = {} |
| 3755 | + | local List = {}
|
| 3756 | - | for i, v in pairs(workspace:GetChildren()) do |
| 3756 | + | for i, v in pairs(workspace:GetChildren()) do |
| 3757 | - | if v:IsA("Model") then |
| 3757 | + | if v:IsA("Model") then
|
| 3758 | - | if v:findFirstChild("Head") then |
| 3758 | + | if v:findFirstChild("Head") then
|
| 3759 | - | if v ~= Character then |
| 3759 | + | if v ~= Character then |
| 3760 | - | if (v.Head.Position - Position).magnitude <= Distance then |
| 3760 | + | if (v.Head.Position - Position).magnitude <= Distance then |
| 3761 | - | table.insert(List, v) |
| 3761 | + | table.insert(List, v) |
| 3762 | - | end |
| 3762 | + | end |
| 3763 | - | end |
| 3763 | + | end |
| 3764 | - | end |
| 3764 | + | end |
| 3765 | - | end |
| 3765 | + | end |
| 3766 | - | end |
| 3766 | + | end |
| 3767 | - | return List |
| 3767 | + | return List |
| 3768 | end | |
| 3769 | - | |
| 3769 | + | |
| 3770 | - | function FaceMouse() |
| 3770 | + | function FaceMouse() |
| 3771 | - | Cam = workspace.CurrentCamera |
| 3771 | + | Cam = workspace.CurrentCamera |
| 3772 | - | return { |
| 3772 | + | return {
|
| 3773 | - | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), |
| 3773 | + | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), |
| 3774 | - | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
| 3774 | + | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
| 3775 | - | } |
| 3775 | + | } |
| 3776 | end | |
| 3777 | - | |
| 3777 | + | |
| 3778 | - | function FaceMouse2() |
| 3778 | + | function FaceMouse2() |
| 3779 | - | Cam = workspace.CurrentCamera |
| 3779 | + | Cam = workspace.CurrentCamera |
| 3780 | - | return { |
| 3780 | + | return {
|
| 3781 | - | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), |
| 3781 | + | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), |
| 3782 | - | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
| 3782 | + | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
| 3783 | - | } |
| 3783 | + | } |
| 3784 | end | |
| 3785 | - | |
| 3785 | + | |
| 3786 | - | |
| 3786 | + | |
| 3787 | - | -- Functions are ready. |
| 3787 | + | -- Functions are ready. |
| 3788 | - | local storehumanoidWS = 16 |
| 3788 | + | local storehumanoidWS = 16 |
| 3789 | - | |
| 3789 | + | |
| 3790 | - | function createBGCircle(size,parent,color) |
| 3790 | + | function createBGCircle(size,parent,color) |
| 3791 | - | local bgui = Instance.new("BillboardGui",parent) |
| 3791 | + | local bgui = Instance.new("BillboardGui",parent)
|
| 3792 | - | bgui.Size = UDim2.new(size, 0, size, 0) |
| 3792 | + | bgui.Size = UDim2.new(size, 0, size, 0) |
| 3793 | - | local imgc = Instance.new("ImageLabel",bgui) |
| 3793 | + | local imgc = Instance.new("ImageLabel",bgui)
|
| 3794 | - | imgc.BackgroundTransparency = 1 |
| 3794 | + | imgc.BackgroundTransparency = 1 |
| 3795 | - | imgc.ImageTransparency = 0 |
| 3795 | + | imgc.ImageTransparency = 0 |
| 3796 | - | imgc.Size = UDim2.new(1,0,1,0) |
| 3796 | + | imgc.Size = UDim2.new(1,0,1,0) |
| 3797 | - | imgc.Image = "rbxassetid://997291547" --997291547,521073910 |
| 3797 | + | imgc.Image = "rbxassetid://997291547" --997291547,521073910 |
| 3798 | - | imgc.ImageColor3 = color |
| 3798 | + | imgc.ImageColor3 = color |
| 3799 | - | return bgui,imgc |
| 3799 | + | return bgui,imgc |
| 3800 | end | |
| 3801 | - | |
| 3801 | + | |
| 3802 | - | function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay) |
| 3802 | + | function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay) |
| 3803 | - | local bgui,imgc = createBGCircle(size,guipar,color) |
| 3803 | + | local bgui,imgc = createBGCircle(size,guipar,color) |
| 3804 | - | bgui.AlwaysOnTop = true |
| 3804 | + | bgui.AlwaysOnTop = true |
| 3805 | - | imgc.Image = "rbxassetid://" ..img |
| 3805 | + | imgc.Image = "rbxassetid://" ..img |
| 3806 | - | local rrot = math.random(1,2) |
| 3806 | + | local rrot = math.random(1,2) |
| 3807 | - | CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit) |
| 3807 | + | CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
|
| 3808 | - | coroutine.resume(coroutine.create(function() |
| 3808 | + | coroutine.resume(coroutine.create(function() |
| 3809 | - | for i = 0, 24*delay do |
| 3809 | + | for i = 0, 24*delay do |
| 3810 | - | swait() |
| 3810 | + | swait() |
| 3811 | - | if rotationenabled == true then |
| 3811 | + | if rotationenabled == true then |
| 3812 | - | if rrot == 1 then |
| 3812 | + | if rrot == 1 then |
| 3813 | - | imgc.Rotation = imgc.Rotation + rotsp |
| 3813 | + | imgc.Rotation = imgc.Rotation + rotsp |
| 3814 | - | elseif rrot == 2 then |
| 3814 | + | elseif rrot == 2 then |
| 3815 | - | imgc.Rotation = imgc.Rotation - rotsp |
| 3815 | + | imgc.Rotation = imgc.Rotation - rotsp |
| 3816 | end | |
| 3817 | end | |
| 3818 | - | bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0) |
| 3818 | + | bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0) |
| 3819 | - | imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay |
| 3819 | + | imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay |
| 3820 | end | |
| 3821 | - | bgui:Destroy() |
| 3821 | + | bgui:Destroy() |
| 3822 | - | end)) |
| 3822 | + | end)) |
| 3823 | end | |
| 3824 | - | |
| 3824 | + | |
| 3825 | - | |
| 3825 | + | |
| 3826 | - | |
| 3826 | + | |
| 3827 | - | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled,mainenabled) |
| 3827 | + | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled,mainenabled) |
| 3828 | - | for i, v in pairs(mwY:GetChildren()) do |
| 3828 | + | for i, v in pairs(mwY:GetChildren()) do |
| 3829 | - | if v:IsA("Part") then |
| 3829 | + | if v:IsA("Part") then
|
| 3830 | - | v.Color = (typeof(one) == 'Color3' and one or one.Color) |
| 3830 | + | v.Color = (typeof(one) == 'Color3' and one or one.Color) |
| 3831 | - | v.Material = "Neon" |
| 3831 | + | v.Material = "Neon" |
| 3832 | end | |
| 3833 | end | |
| 3834 | - | for i, v in pairs(mw2:GetDescendants()) do |
| 3834 | + | for i, v in pairs(mw2:GetDescendants()) do |
| 3835 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 3835 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 3836 | - | v.Color = (typeof(one) == 'Color3' and one or one.Color) |
| 3836 | + | v.Color = (typeof(one) == 'Color3' and one or one.Color) |
| 3837 | - | v.Material = "Neon" |
| 3837 | + | v.Material = "Neon" |
| 3838 | - | if mainenabled == true then |
| 3838 | + | if mainenabled == true then |
| 3839 | - | v.Transparency = 0 |
| 3839 | + | v.Transparency = 0 |
| 3840 | - | elseif mainenabled == false then |
| 3840 | + | elseif mainenabled == false then |
| 3841 | - | v.Transparency = 1 |
| 3841 | + | v.Transparency = 1 |
| 3842 | end | |
| 3843 | - | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then |
| 3843 | + | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
|
| 3844 | - | v.Color = ColorSequence.new((typeof(one) == 'Color3' and one or one.Color)) |
| 3844 | + | v.Color = ColorSequence.new((typeof(one) == 'Color3' and one or one.Color)) |
| 3845 | - | if mainenabled == true then |
| 3845 | + | if mainenabled == true then |
| 3846 | - | v.Enabled = true |
| 3846 | + | v.Enabled = true |
| 3847 | - | elseif mainenabled == false then |
| 3847 | + | elseif mainenabled == false then |
| 3848 | - | v.Enabled = false |
| 3848 | + | v.Enabled = false |
| 3849 | end | |
| 3850 | end | |
| 3851 | end | |
| 3852 | - | for i, v in pairs(mw1:GetDescendants()) do |
| 3852 | + | for i, v in pairs(mw1:GetDescendants()) do |
| 3853 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 3853 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 3854 | - | v.Color = (typeof(two) == 'Color3' and two or two.Color) |
| 3854 | + | v.Color = (typeof(two) == 'Color3' and two or two.Color) |
| 3855 | - | v.Material = "Neon" |
| 3855 | + | v.Material = "Neon" |
| 3856 | - | if secondaryenabled == true then |
| 3856 | + | if secondaryenabled == true then |
| 3857 | - | v.Transparency = 0 |
| 3857 | + | v.Transparency = 0 |
| 3858 | - | elseif secondaryenabled == false then |
| 3858 | + | elseif secondaryenabled == false then |
| 3859 | - | v.Transparency = 1 |
| 3859 | + | v.Transparency = 1 |
| 3860 | end | |
| 3861 | - | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then |
| 3861 | + | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
|
| 3862 | - | v.Color = ColorSequence.new((typeof(two) == 'Color3' and two or two.Color)) |
| 3862 | + | v.Color = ColorSequence.new((typeof(two) == 'Color3' and two or two.Color)) |
| 3863 | - | if secondaryenabled == true then |
| 3863 | + | if secondaryenabled == true then |
| 3864 | - | v.Enabled = true |
| 3864 | + | v.Enabled = true |
| 3865 | - | elseif secondaryenabled == false then |
| 3865 | + | elseif secondaryenabled == false then |
| 3866 | - | v.Enabled = false |
| 3866 | + | v.Enabled = false |
| 3867 | end | |
| 3868 | end | |
| 3869 | end | |
| 3870 | - | CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1) |
| 3870 | + | CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
|
| 3871 | - | symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),5,3,1,847061203,root,true,10,1) |
| 3871 | + | symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),5,3,1,847061203,root,true,10,1) |
| 3872 | - | symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),4,0,0,0,root,true,-5,1) |
| 3872 | + | symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),4,0,0,0,root,true,-5,1) |
| 3873 | - | refec.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 3873 | + | refec.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 3874 | - | for i, v in pairs(m:GetChildren()) do |
| 3874 | + | for i, v in pairs(m:GetChildren()) do |
| 3875 | - | if v:IsA("Part") then |
| 3875 | + | if v:IsA("Part") then
|
| 3876 | - | v.BrickColor = three |
| 3876 | + | v.BrickColor = three |
| 3877 | - | v.Material = "Ice" |
| 3877 | + | v.Material = "Ice" |
| 3878 | end | |
| 3879 | end | |
| 3880 | - | for i, v in pairs(m2:GetChildren()) do |
| 3880 | + | for i, v in pairs(m2:GetChildren()) do |
| 3881 | - | if v:IsA("Part") then |
| 3881 | + | if v:IsA("Part") then
|
| 3882 | - | v.BrickColor = four |
| 3882 | + | v.BrickColor = four |
| 3883 | - | v.Material = "Ice" |
| 3883 | + | v.Material = "Ice" |
| 3884 | end | |
| 3885 | end | |
| 3886 | - | for i, v in pairs(m3:GetChildren()) do |
| 3886 | + | for i, v in pairs(m3:GetChildren()) do |
| 3887 | - | if v:IsA("Part") then |
| 3887 | + | if v:IsA("Part") then
|
| 3888 | - | v.BrickColor = five |
| 3888 | + | v.BrickColor = five |
| 3889 | - | v.Material = "Neon" |
| 3889 | + | v.Material = "Neon" |
| 3890 | end | |
| 3891 | end | |
| 3892 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 3892 | + | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 3893 | - | if v:IsA("Part") then |
| 3893 | + | if v:IsA("Part") then
|
| 3894 | - | v.Transparency = exonetran |
| 3894 | + | v.Transparency = exonetran |
| 3895 | - | v.BrickColor = exone |
| 3895 | + | v.BrickColor = exone |
| 3896 | - | v.Material = "Neon" |
| 3896 | + | v.Material = "Neon" |
| 3897 | end | |
| 3898 | end | |
| 3899 | - | if sectrailenabled == true then |
| 3899 | + | if sectrailenabled == true then |
| 3900 | - | tl4.Enabled = true |
| 3900 | + | tl4.Enabled = true |
| 3901 | - | tl5.Enabled = true |
| 3901 | + | tl5.Enabled = true |
| 3902 | - | tl6.Enabled = true |
| 3902 | + | tl6.Enabled = true |
| 3903 | - | tr4.Enabled = true |
| 3903 | + | tr4.Enabled = true |
| 3904 | - | tr5.Enabled = true |
| 3904 | + | tr5.Enabled = true |
| 3905 | - | tr6.Enabled = true |
| 3905 | + | tr6.Enabled = true |
| 3906 | - | tl4.Color = ColorSequence.new(exone.Color) |
| 3906 | + | tl4.Color = ColorSequence.new(exone.Color) |
| 3907 | - | tl5.Color = ColorSequence.new(exone.Color) |
| 3907 | + | tl5.Color = ColorSequence.new(exone.Color) |
| 3908 | - | tl6.Color = ColorSequence.new(exone.Color) |
| 3908 | + | tl6.Color = ColorSequence.new(exone.Color) |
| 3909 | - | tr4.Color = ColorSequence.new(extwo.Color) |
| 3909 | + | tr4.Color = ColorSequence.new(extwo.Color) |
| 3910 | - | tr5.Color = ColorSequence.new(extwo.Color) |
| 3910 | + | tr5.Color = ColorSequence.new(extwo.Color) |
| 3911 | - | tr6.Color = ColorSequence.new(extwo.Color) |
| 3911 | + | tr6.Color = ColorSequence.new(extwo.Color) |
| 3912 | - | elseif sectrailenabled == false then |
| 3912 | + | elseif sectrailenabled == false then |
| 3913 | - | tl4.Enabled = false |
| 3913 | + | tl4.Enabled = false |
| 3914 | - | tl5.Enabled = false |
| 3914 | + | tl5.Enabled = false |
| 3915 | - | tl6.Enabled = false |
| 3915 | + | tl6.Enabled = false |
| 3916 | - | tr4.Enabled = false |
| 3916 | + | tr4.Enabled = false |
| 3917 | - | tr5.Enabled = false |
| 3917 | + | tr5.Enabled = false |
| 3918 | - | tr6.Enabled = false |
| 3918 | + | tr6.Enabled = false |
| 3919 | end | |
| 3920 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 3920 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 3921 | - | if v:IsA("Part") then |
| 3921 | + | if v:IsA("Part") then
|
| 3922 | - | v.Transparency = extwotran |
| 3922 | + | v.Transparency = extwotran |
| 3923 | - | v.BrickColor = extwo |
| 3923 | + | v.BrickColor = extwo |
| 3924 | - | v.Material = "Neon" |
| 3924 | + | v.Material = "Neon" |
| 3925 | end | |
| 3926 | end | |
| 3927 | end | |
| 3928 | - | |
| 3928 | + | |
| 3929 | - | function attacktwo() |
| 3929 | + | function attacktwo() |
| 3930 | - | attack = true |
| 3930 | + | attack = true |
| 3931 | - | hum.WalkSpeed = 2 |
| 3931 | + | hum.WalkSpeed = 2 |
| 3932 | - | local keptcolor = MAINRUINCOLOR |
| 3932 | + | local keptcolor = MAINRUINCOLOR |
| 3933 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1) |
| 3933 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
|
| 3934 | - | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) |
| 3934 | + | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) |
| 3935 | - | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color) |
| 3935 | + | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color) |
| 3936 | - | for i = 0, 14 do |
| 3936 | + | for i = 0, 14 do |
| 3937 | - | PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,SECONDRUINCOLOR,0) |
| 3937 | + | PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,SECONDRUINCOLOR,0) |
| 3938 | end | |
| 3939 | - | for i = 0,1,0.1 do |
| 3939 | + | for i = 0,1,0.1 do |
| 3940 | - | swait() |
| 3940 | + | swait() |
| 3941 | - | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3941 | + | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3942 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3) |
| 3942 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3) |
| 3943 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3) |
| 3943 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3) |
| 3944 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) |
| 3944 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) |
| 3945 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3) |
| 3945 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3) |
| 3946 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) |
| 3946 | + | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) |
| 3947 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) |
| 3947 | + | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) |
| 3948 | end | |
| 3949 | - | for i = 0, 1 do |
| 3949 | + | for i = 0, 1 do |
| 3950 | - | CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1) |
| 3950 | + | CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
|
| 3951 | - | for i = 0,1,0.6 do |
| 3951 | + | for i = 0,1,0.6 do |
| 3952 | - | swait() |
| 3952 | + | swait() |
| 3953 | - | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3953 | + | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3954 | - | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White")) |
| 3954 | + | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
|
| 3955 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 3955 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 3956 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 3956 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 3957 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) |
| 3957 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) |
| 3958 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 3958 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 3959 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 3959 | + | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 3960 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 3960 | + | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 3961 | end | |
| 3962 | - | for i = 0,1,0.6 do |
| 3962 | + | for i = 0,1,0.6 do |
| 3963 | - | swait() |
| 3963 | + | swait() |
| 3964 | - | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3964 | + | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3965 | - | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White")) |
| 3965 | + | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
|
| 3966 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 3966 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 3967 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 3967 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 3968 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6) |
| 3968 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6) |
| 3969 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 3969 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 3970 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 3970 | + | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 3971 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 3971 | + | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 3972 | end | |
| 3973 | - | for i = 0,1,0.6 do |
| 3973 | + | for i = 0,1,0.6 do |
| 3974 | - | swait() |
| 3974 | + | swait() |
| 3975 | - | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3975 | + | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3976 | - | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White")) |
| 3976 | + | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
|
| 3977 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 3977 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 3978 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 3978 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 3979 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6) |
| 3979 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6) |
| 3980 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 3980 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 3981 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 3981 | + | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 3982 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 3982 | + | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 3983 | end | |
| 3984 | - | for i = 0,1,0.6 do |
| 3984 | + | for i = 0,1,0.6 do |
| 3985 | - | swait() |
| 3985 | + | swait() |
| 3986 | - | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3986 | + | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 3987 | - | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White")) |
| 3987 | + | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
|
| 3988 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 3988 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 3989 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 3989 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 3990 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6) |
| 3990 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6) |
| 3991 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 3991 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 3992 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 3992 | + | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 3993 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 3993 | + | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 3994 | end | |
| 3995 | - | local rot = 0 |
| 3995 | + | local rot = 0 |
| 3996 | - | local dis = CreateParta(char,0.5,1,"Neon",keptcolor) |
| 3996 | + | local dis = CreateParta(char,0.5,1,"Neon",keptcolor) |
| 3997 | - | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1) |
| 3997 | + | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
|
| 3998 | - | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) |
| 3998 | + | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) |
| 3999 | - | CreateMesh(dis,"Sphere",10,1,10) |
| 3999 | + | CreateMesh(dis,"Sphere",10,1,10) |
| 4000 | - | local at1 = Instance.new("Attachment",dis) |
| 4000 | + | local at1 = Instance.new("Attachment",dis)
|
| 4001 | - | at1.Position = vt(-5,0,0) |
| 4001 | + | at1.Position = vt(-5,0,0) |
| 4002 | - | local at2 = Instance.new("Attachment",dis) |
| 4002 | + | local at2 = Instance.new("Attachment",dis)
|
| 4003 | - | at2.Position = vt(5,0,0) |
| 4003 | + | at2.Position = vt(5,0,0) |
| 4004 | - | local trl = Instance.new('Trail',wed) |
| 4004 | + | local trl = Instance.new('Trail',wed)
|
| 4005 | - | trl.Attachment0 = at1 |
| 4005 | + | trl.Attachment0 = at1 |
| 4006 | - | trl.Attachment1 = at2 |
| 4006 | + | trl.Attachment1 = at2 |
| 4007 | - | trl.Texture = "rbxassetid://1049219073" |
| 4007 | + | trl.Texture = "rbxassetid://1049219073" |
| 4008 | - | trl.LightEmission = 1 |
| 4008 | + | trl.LightEmission = 1 |
| 4009 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 4009 | + | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 4010 | - | trl.Color = ColorSequence.new(dis.Color) |
| 4010 | + | trl.Color = ColorSequence.new(dis.Color) |
| 4011 | - | trl.Lifetime = 0.6 |
| 4011 | + | trl.Lifetime = 0.6 |
| 4012 | - | local a = Instance.new("Part",workspace) |
| 4012 | + | local a = Instance.new("Part",workspace)
|
| 4013 | - | a.Name = "Direction" |
| 4013 | + | a.Name = "Direction" |
| 4014 | - | a.Anchored = true |
| 4014 | + | a.Anchored = true |
| 4015 | - | a.BrickColor = bc("Bright red") |
| 4015 | + | a.BrickColor = bc("Bright red")
|
| 4016 | - | a.Material = "Neon" |
| 4016 | + | a.Material = "Neon" |
| 4017 | - | a.Transparency = 1 |
| 4017 | + | a.Transparency = 1 |
| 4018 | - | a.CanCollide = false |
| 4018 | + | a.CanCollide = false |
| 4019 | - | local ray = Ray.new( |
| 4019 | + | local ray = Ray.new( |
| 4020 | - | dis.CFrame.p, -- origin |
| 4020 | + | dis.CFrame.p, -- origin |
| 4021 | - | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction |
| 4021 | + | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction |
| 4022 | - | ) |
| 4022 | + | ) |
| 4023 | - | local ignore = dis |
| 4023 | + | local ignore = dis |
| 4024 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 4024 | + | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 4025 | - | a.BottomSurface = 10 |
| 4025 | + | a.BottomSurface = 10 |
| 4026 | - | a.TopSurface = 10 |
| 4026 | + | a.TopSurface = 10 |
| 4027 | - | local distance = (dis.CFrame.p - position).magnitude |
| 4027 | + | local distance = (dis.CFrame.p - position).magnitude |
| 4028 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
| 4028 | + | a.Size = Vector3.new(0.1, 0.1, 0.1) |
| 4029 | - | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) |
| 4029 | + | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) |
| 4030 | - | dis.CFrame = a.CFrame |
| 4030 | + | dis.CFrame = a.CFrame |
| 4031 | - | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) |
| 4031 | + | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) |
| 4032 | - | a:Destroy() |
| 4032 | + | a:Destroy() |
| 4033 | - | local bv = Instance.new("BodyVelocity") |
| 4033 | + | local bv = Instance.new("BodyVelocity")
|
| 4034 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4034 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4035 | - | bv.velocity = dis.CFrame.lookVector*250 |
| 4035 | + | bv.velocity = dis.CFrame.lookVector*250 |
| 4036 | - | bv.Parent = dis |
| 4036 | + | bv.Parent = dis |
| 4037 | - | game:GetService("Debris"):AddItem(dis, 5) |
| 4037 | + | game:GetService("Debris"):AddItem(dis, 5)
|
| 4038 | - | local hitted = false |
| 4038 | + | local hitted = false |
| 4039 | - | coroutine.resume(coroutine.create(function() |
| 4039 | + | coroutine.resume(coroutine.create(function() |
| 4040 | - | dis.Touched:connect(function(hit) |
| 4040 | + | dis.Touched:connect(function(hit) |
| 4041 | - | if hitted == false and hit.Parent ~= char then |
| 4041 | + | if hitted == false and hit.Parent ~= char then |
| 4042 | - | hitted = true |
| 4042 | + | hitted = true |
| 4043 | - | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1) |
| 4043 | + | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
|
| 4044 | - | CamShakeAll({ |
| 4044 | + | CamShakeAll({
|
| 4045 | - | Duration=0.4; -- Lasts for .1 seconds |
| 4045 | + | Duration=0.4; -- Lasts for .1 seconds |
| 4046 | - | Intensity=3; -- Intensity of 5 |
| 4046 | + | Intensity=3; -- Intensity of 5 |
| 4047 | - | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4047 | + | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4048 | - | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4048 | + | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4049 | - | DropDist=60; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4049 | + | DropDist=60; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4050 | - | IneffectiveDist=80; -- Camera dist from origin when the shake goes away |
| 4050 | + | IneffectiveDist=80; -- Camera dist from origin when the shake goes away |
| 4051 | - | Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4051 | + | Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4052 | - | }) |
| 4052 | + | }) |
| 4053 | - | MagniDamage(dis, 30, 13,36, 0, "Normal") |
| 4053 | + | MagniDamage(dis, 30, 13,36, 0, "Normal") |
| 4054 | - | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) |
| 4054 | + | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) |
| 4055 | - | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color) |
| 4055 | + | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color) |
| 4056 | - | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color) |
| 4056 | + | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color) |
| 4057 | - | local eff = Instance.new("ParticleEmitter",dis) |
| 4057 | + | local eff = Instance.new("ParticleEmitter",dis)
|
| 4058 | - | eff.Texture = "rbxassetid://2344870656" |
| 4058 | + | eff.Texture = "rbxassetid://2344870656" |
| 4059 | - | eff.LightEmission = 1 |
| 4059 | + | eff.LightEmission = 1 |
| 4060 | - | eff.Color = ColorSequence.new(dis.Color) |
| 4060 | + | eff.Color = ColorSequence.new(dis.Color) |
| 4061 | - | eff.Rate = 10000000 |
| 4061 | + | eff.Rate = 10000000 |
| 4062 | - | eff.Enabled = true |
| 4062 | + | eff.Enabled = true |
| 4063 | - | eff.EmissionDirection = "Front" |
| 4063 | + | eff.EmissionDirection = "Front" |
| 4064 | - | eff.Lifetime = NumberRange.new(1) |
| 4064 | + | eff.Lifetime = NumberRange.new(1) |
| 4065 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)}) |
| 4065 | + | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
|
| 4066 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 4066 | + | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 4067 | - | eff.Speed = NumberRange.new(150) |
| 4067 | + | eff.Speed = NumberRange.new(150) |
| 4068 | - | eff.Drag = 5 |
| 4068 | + | eff.Drag = 5 |
| 4069 | - | eff.Rotation = NumberRange.new(-500,500) |
| 4069 | + | eff.Rotation = NumberRange.new(-500,500) |
| 4070 | - | eff.SpreadAngle = Vector2.new(0,900) |
| 4070 | + | eff.SpreadAngle = Vector2.new(0,900) |
| 4071 | - | eff.RotSpeed = NumberRange.new(-500,500) |
| 4071 | + | eff.RotSpeed = NumberRange.new(-500,500) |
| 4072 | - | delay(0.2, function() eff.Enabled = false end) |
| 4072 | + | delay(0.2, function() eff.Enabled = false end) |
| 4073 | - | coroutine.resume(coroutine.create(function() |
| 4073 | + | coroutine.resume(coroutine.create(function() |
| 4074 | - | for i = 0, 9 do |
| 4074 | + | for i = 0, 9 do |
| 4075 | - | local disr = CreateParta(char,1,1,"Neon",keptcolor) |
| 4075 | + | local disr = CreateParta(char,1,1,"Neon",keptcolor) |
| 4076 | - | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 4076 | + | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 4077 | - | local at1 = Instance.new("Attachment",disr) |
| 4077 | + | local at1 = Instance.new("Attachment",disr)
|
| 4078 | - | at1.Position = vt(-5,0,0) |
| 4078 | + | at1.Position = vt(-5,0,0) |
| 4079 | - | local at2 = Instance.new("Attachment",disr) |
| 4079 | + | local at2 = Instance.new("Attachment",disr)
|
| 4080 | - | at2.Position = vt(5,0,0) |
| 4080 | + | at2.Position = vt(5,0,0) |
| 4081 | - | local trl = Instance.new('Trail',disr) |
| 4081 | + | local trl = Instance.new('Trail',disr)
|
| 4082 | - | trl.Attachment0 = at1 |
| 4082 | + | trl.Attachment0 = at1 |
| 4083 | - | trl.FaceCamera = true |
| 4083 | + | trl.FaceCamera = true |
| 4084 | - | trl.Attachment1 = at2 |
| 4084 | + | trl.Attachment1 = at2 |
| 4085 | - | trl.Texture = "rbxassetid://2342682798" |
| 4085 | + | trl.Texture = "rbxassetid://2342682798" |
| 4086 | - | trl.LightEmission = 1 |
| 4086 | + | trl.LightEmission = 1 |
| 4087 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 4087 | + | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 4088 | - | trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color) |
| 4088 | + | trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color) |
| 4089 | - | trl.Lifetime = 0.5 |
| 4089 | + | trl.Lifetime = 0.5 |
| 4090 | - | local bv = Instance.new("BodyVelocity") |
| 4090 | + | local bv = Instance.new("BodyVelocity")
|
| 4091 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4091 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4092 | - | bv.velocity = disr.CFrame.lookVector*math.random(50,200) |
| 4092 | + | bv.velocity = disr.CFrame.lookVector*math.random(50,200) |
| 4093 | - | bv.Parent = disr |
| 4093 | + | bv.Parent = disr |
| 4094 | - | local val = 0 |
| 4094 | + | local val = 0 |
| 4095 | - | coroutine.resume(coroutine.create(function() |
| 4095 | + | coroutine.resume(coroutine.create(function() |
| 4096 | - | swait(30) |
| 4096 | + | swait(30) |
| 4097 | - | for i = 0, 9 do |
| 4097 | + | for i = 0, 9 do |
| 4098 | - | swait() |
| 4098 | + | swait() |
| 4099 | - | val = val + 0.1 |
| 4099 | + | val = val + 0.1 |
| 4100 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) |
| 4100 | + | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
|
| 4101 | - | end |
| 4101 | + | end |
| 4102 | - | game:GetService("Debris"):AddItem(disr, 3) |
| 4102 | + | game:GetService("Debris"):AddItem(disr, 3)
|
| 4103 | - | end)) |
| 4103 | + | end)) |
| 4104 | end | |
| 4105 | - | local eff = Instance.new("ParticleEmitter",dis) |
| 4105 | + | local eff = Instance.new("ParticleEmitter",dis)
|
| 4106 | - | eff.Texture = "rbxassetid://2273224484" |
| 4106 | + | eff.Texture = "rbxassetid://2273224484" |
| 4107 | - | eff.LightEmission = 1 |
| 4107 | + | eff.LightEmission = 1 |
| 4108 | - | eff.Color = ColorSequence.new(keptcolor.Color) |
| 4108 | + | eff.Color = ColorSequence.new(keptcolor.Color) |
| 4109 | - | eff.Rate = 500000 |
| 4109 | + | eff.Rate = 500000 |
| 4110 | - | eff.Lifetime = NumberRange.new(0.5,2) |
| 4110 | + | eff.Lifetime = NumberRange.new(0.5,2) |
| 4111 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) |
| 4111 | + | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 4112 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 4112 | + | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 4113 | - | eff.Speed = NumberRange.new(20,250) |
| 4113 | + | eff.Speed = NumberRange.new(20,250) |
| 4114 | - | eff.Drag = 5 |
| 4114 | + | eff.Drag = 5 |
| 4115 | - | eff.Rotation = NumberRange.new(-500,500) |
| 4115 | + | eff.Rotation = NumberRange.new(-500,500) |
| 4116 | - | eff.VelocitySpread = 9000 |
| 4116 | + | eff.VelocitySpread = 9000 |
| 4117 | - | eff.RotSpeed = NumberRange.new(-50,50) |
| 4117 | + | eff.RotSpeed = NumberRange.new(-50,50) |
| 4118 | - | wait(0.25) |
| 4118 | + | wait(0.25) |
| 4119 | - | eff.Enabled = false |
| 4119 | + | eff.Enabled = false |
| 4120 | - | end)) |
| 4120 | + | end)) |
| 4121 | - | for i = 0, 9 do |
| 4121 | + | for i = 0, 9 do |
| 4122 | - | slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,SECONDRUINCOLOR) |
| 4122 | + | slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,SECONDRUINCOLOR) |
| 4123 | - | end |
| 4123 | + | end |
| 4124 | - | for i = 0, 19 do |
| 4124 | + | for i = 0, 19 do |
| 4125 | - | PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0) |
| 4125 | + | PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0) |
| 4126 | end | |
| 4127 | - | dis.Anchored = true |
| 4127 | + | dis.Anchored = true |
| 4128 | - | dis.Transparency = 1 |
| 4128 | + | dis.Transparency = 1 |
| 4129 | - | wait(8) |
| 4129 | + | wait(8) |
| 4130 | - | dis:Destroy() |
| 4130 | + | dis:Destroy() |
| 4131 | end | |
| 4132 | - | end) |
| 4132 | + | end) |
| 4133 | - | end)) |
| 4133 | + | end)) |
| 4134 | - | rot = rot - 15 |
| 4134 | + | rot = rot - 15 |
| 4135 | end | |
| 4136 | - | for i = 0,2,0.1 do |
| 4136 | + | for i = 0,2,0.1 do |
| 4137 | - | swait() |
| 4137 | + | swait() |
| 4138 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3) |
| 4138 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3) |
| 4139 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3) |
| 4139 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3) |
| 4140 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) |
| 4140 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) |
| 4141 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3) |
| 4141 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3) |
| 4142 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) |
| 4142 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) |
| 4143 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) |
| 4143 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) |
| 4144 | end | |
| 4145 | - | attack = false |
| 4145 | + | attack = false |
| 4146 | - | hum.WalkSpeed = storehumanoidWS |
| 4146 | + | hum.WalkSpeed = storehumanoidWS |
| 4147 | end | |
| 4148 | - | |
| 4148 | + | |
| 4149 | - | function attackone() |
| 4149 | + | function attackone() |
| 4150 | - | attack = true |
| 4150 | + | attack = true |
| 4151 | - | symbolizeBlink(sorb,0,2109052855,MAINRUINCOLOR.Color,1.5,5,0.9,1614005837,sorb,true,10,1) |
| 4151 | + | symbolizeBlink(sorb,0,2109052855,MAINRUINCOLOR.Color,1.5,5,0.9,1614005837,sorb,true,10,1) |
| 4152 | - | symbolizeBlink(sorb,0,2109052855,SECONDRUINCOLOR.Color,1.6,5,1,1923591005,sorb,true,10,1) |
| 4152 | + | symbolizeBlink(sorb,0,2109052855,SECONDRUINCOLOR.Color,1.6,5,1,1923591005,sorb,true,10,1) |
| 4153 | - | symbolizeBlink(sorb,0,2092248396,MAINRUINCOLOR.Color,3,0,0,0,sorb,true,10,1.25) |
| 4153 | + | symbolizeBlink(sorb,0,2092248396,MAINRUINCOLOR.Color,3,0,0,0,sorb,true,10,1.25) |
| 4154 | - | symbolizeBlink(sorb,0,2344870656,SECONDRUINCOLOR.Color,10,0,0,0,sorb,true,10,1.5) |
| 4154 | + | symbolizeBlink(sorb,0,2344870656,SECONDRUINCOLOR.Color,10,0,0,0,sorb,true,10,1.5) |
| 4155 | - | for i = 0,1,0.1 do |
| 4155 | + | for i = 0,1,0.1 do |
| 4156 | - | swait() |
| 4156 | + | swait() |
| 4157 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3) |
| 4157 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3) |
| 4158 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3) |
| 4158 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3) |
| 4159 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) |
| 4159 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) |
| 4160 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 4160 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 4161 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3) |
| 4161 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3) |
| 4162 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) |
| 4162 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) |
| 4163 | - | end |
| 4163 | + | end |
| 4164 | - | coroutine.resume(coroutine.create(function() |
| 4164 | + | coroutine.resume(coroutine.create(function() |
| 4165 | - | local hite = Instance.new("Part", char) |
| 4165 | + | local hite = Instance.new("Part", char)
|
| 4166 | - | hite.Anchored = true |
| 4166 | + | hite.Anchored = true |
| 4167 | - | hite.CanCollide = false |
| 4167 | + | hite.CanCollide = false |
| 4168 | - | hite.FormFactor = 3 |
| 4168 | + | hite.FormFactor = 3 |
| 4169 | - | hite.Name = "Ring" |
| 4169 | + | hite.Name = "Ring" |
| 4170 | - | hite.Material = "Neon" |
| 4170 | + | hite.Material = "Neon" |
| 4171 | - | hite.Size = Vector3.new(1, 1, 1) |
| 4171 | + | hite.Size = Vector3.new(1, 1, 1) |
| 4172 | - | hite.Transparency = 1 |
| 4172 | + | hite.Transparency = 1 |
| 4173 | - | hite.TopSurface = 0 |
| 4173 | + | hite.TopSurface = 0 |
| 4174 | - | hite.BottomSurface = 0 |
| 4174 | + | hite.BottomSurface = 0 |
| 4175 | - | local eff = Instance.new("ParticleEmitter",hite) |
| 4175 | + | local eff = Instance.new("ParticleEmitter",hite)
|
| 4176 | - | eff.Texture = "rbxassetid://2273224484" |
| 4176 | + | eff.Texture = "rbxassetid://2273224484" |
| 4177 | - | eff.LightEmission = 1 |
| 4177 | + | eff.LightEmission = 1 |
| 4178 | - | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 4178 | + | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 4179 | - | eff.Rate = 90000000 |
| 4179 | + | eff.Rate = 90000000 |
| 4180 | - | eff.Lifetime = NumberRange.new(0.5,2) |
| 4180 | + | eff.Lifetime = NumberRange.new(0.5,2) |
| 4181 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) |
| 4181 | + | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 4182 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 4182 | + | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 4183 | - | eff.Speed = NumberRange.new(20,90) |
| 4183 | + | eff.Speed = NumberRange.new(20,90) |
| 4184 | - | eff.Drag = 5 |
| 4184 | + | eff.Drag = 5 |
| 4185 | - | eff.Rotation = NumberRange.new(-500,500) |
| 4185 | + | eff.Rotation = NumberRange.new(-500,500) |
| 4186 | - | eff.VelocitySpread = 9000 |
| 4186 | + | eff.VelocitySpread = 9000 |
| 4187 | - | eff.RotSpeed = NumberRange.new(-50,50) |
| 4187 | + | eff.RotSpeed = NumberRange.new(-50,50) |
| 4188 | - | local distlook = 12.5 |
| 4188 | + | local distlook = 12.5 |
| 4189 | - | for i = 0, 4 do |
| 4189 | + | for i = 0, 4 do |
| 4190 | - | swait(4) |
| 4190 | + | swait(4) |
| 4191 | - | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook |
| 4191 | + | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook |
| 4192 | - | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,SECONDRUINCOLOR) |
| 4192 | + | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,SECONDRUINCOLOR) |
| 4193 | - | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) |
| 4193 | + | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) |
| 4194 | - | CamShakeAll({ |
| 4194 | + | CamShakeAll({
|
| 4195 | - | Duration=0.25; -- Lasts for .1 seconds |
| 4195 | + | Duration=0.25; -- Lasts for .1 seconds |
| 4196 | - | Intensity=1.75; -- Intensity of 5 |
| 4196 | + | Intensity=1.75; -- Intensity of 5 |
| 4197 | - | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4197 | + | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4198 | - | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4198 | + | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4199 | - | DropDist=35; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4199 | + | DropDist=35; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4200 | - | IneffectiveDist=65; -- Camera dist from origin when the shake goes away |
| 4200 | + | IneffectiveDist=65; -- Camera dist from origin when the shake goes away |
| 4201 | - | Origin=hite.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4201 | + | Origin=hite.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4202 | - | }) |
| 4202 | + | }) |
| 4203 | - | MagniDamage(hite, 11.5, 10,25, 0, "Normal") |
| 4203 | + | MagniDamage(hite, 11.5, 10,25, 0, "Normal") |
| 4204 | - | for i = 0, 21 do |
| 4204 | + | for i = 0, 21 do |
| 4205 | - | sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) |
| 4205 | + | sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) |
| 4206 | - | sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,SECONDRUINCOLOR,0) |
| 4206 | + | sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,SECONDRUINCOLOR,0) |
| 4207 | end | |
| 4208 | - | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 3, 1) |
| 4208 | + | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 3, 1)
|
| 4209 | - | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 0.6) |
| 4209 | + | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 0.6)
|
| 4210 | - | game:GetService("Debris"):AddItem(hite, 5) |
| 4210 | + | game:GetService("Debris"):AddItem(hite, 5)
|
| 4211 | - | distlook = distlook + 15 |
| 4211 | + | distlook = distlook + 15 |
| 4212 | end | |
| 4213 | - | wait(0.5) |
| 4213 | + | wait(0.5) |
| 4214 | - | eff.Enabled = false |
| 4214 | + | eff.Enabled = false |
| 4215 | - | wait(3.1) |
| 4215 | + | wait(3.1) |
| 4216 | - | eff:Destroy() |
| 4216 | + | eff:Destroy() |
| 4217 | - | end)) |
| 4217 | + | end)) |
| 4218 | - | for i = 0,2,0.1 do |
| 4218 | + | for i = 0,2,0.1 do |
| 4219 | - | swait() |
| 4219 | + | swait() |
| 4220 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5) |
| 4220 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5) |
| 4221 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5) |
| 4221 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5) |
| 4222 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5) |
| 4222 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5) |
| 4223 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5) |
| 4223 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5) |
| 4224 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5) |
| 4224 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5) |
| 4225 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5) |
| 4225 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5) |
| 4226 | - | end |
| 4226 | + | end |
| 4227 | - | attack = false |
| 4227 | + | attack = false |
| 4228 | end | |
| 4229 | - | |
| 4229 | + | |
| 4230 | - | function attackthree() |
| 4230 | + | function attackthree() |
| 4231 | - | attack = true |
| 4231 | + | attack = true |
| 4232 | - | hum.WalkSpeed = 5 |
| 4232 | + | hum.WalkSpeed = 5 |
| 4233 | - | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.5) |
| 4233 | + | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.5)
|
| 4234 | - | for i = 0,3.5,0.1 do |
| 4234 | + | for i = 0,3.5,0.1 do |
| 4235 | - | swait() |
| 4235 | + | swait() |
| 4236 | - | sphereMK(2.5,-4.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,SECONDRUINCOLOR,200) |
| 4236 | + | sphereMK(2.5,-4.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,SECONDRUINCOLOR,200) |
| 4237 | - | slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR) |
| 4237 | + | slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR) |
| 4238 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2) |
| 4238 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2) |
| 4239 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2) |
| 4239 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2) |
| 4240 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2) |
| 4240 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2) |
| 4241 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) |
| 4241 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) |
| 4242 | - | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) |
| 4242 | + | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) |
| 4243 | - | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) |
| 4243 | + | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) |
| 4244 | end | |
| 4245 | - | for i = 0, 24 do |
| 4245 | + | for i = 0, 24 do |
| 4246 | - | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,MAINRUINCOLOR) |
| 4246 | + | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,MAINRUINCOLOR) |
| 4247 | end | |
| 4248 | - | CamShakeAll({ |
| 4248 | + | CamShakeAll({
|
| 4249 | - | Duration=1; -- Lasts for .1 seconds |
| 4249 | + | Duration=1; -- Lasts for .1 seconds |
| 4250 | - | Intensity=2; -- Intensity of 5 |
| 4250 | + | Intensity=2; -- Intensity of 5 |
| 4251 | - | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4251 | + | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4252 | - | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4252 | + | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4253 | - | DropDist=50; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4253 | + | DropDist=50; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4254 | - | IneffectiveDist=120; -- Camera dist from origin when the shake goes away |
| 4254 | + | IneffectiveDist=120; -- Camera dist from origin when the shake goes away |
| 4255 | - | Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4255 | + | Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4256 | - | }) |
| 4256 | + | }) |
| 4257 | - | MagniDamage(root,50,20,45,0,"Normal") |
| 4257 | + | MagniDamage(root,50,20,45,0,"Normal") |
| 4258 | - | coroutine.resume(coroutine.create(function() |
| 4258 | + | coroutine.resume(coroutine.create(function() |
| 4259 | - | for i = 0, 46 do |
| 4259 | + | for i = 0, 46 do |
| 4260 | - | swait() |
| 4260 | + | swait() |
| 4261 | - | sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR) |
| 4261 | + | sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR) |
| 4262 | - | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,SECONDRUINCOLOR) |
| 4262 | + | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,SECONDRUINCOLOR) |
| 4263 | end | |
| 4264 | - | end)) |
| 4264 | + | end)) |
| 4265 | - | CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1) |
| 4265 | + | CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
|
| 4266 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 6,1) |
| 4266 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 6,1)
|
| 4267 | - | CFuncs["Sound"].Create("rbxassetid://239000203", root, 5,1) |
| 4267 | + | CFuncs["Sound"].Create("rbxassetid://239000203", root, 5,1)
|
| 4268 | - | CFuncs["Sound"].Create("rbxassetid://579687077", root, 5,0.75) |
| 4268 | + | CFuncs["Sound"].Create("rbxassetid://579687077", root, 5,0.75)
|
| 4269 | - | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1) |
| 4269 | + | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
|
| 4270 | - | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1) |
| 4270 | + | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
|
| 4271 | - | CFuncs["Sound"].Create("rbxassetid://782353443", root, 4.5, 1) |
| 4271 | + | CFuncs["Sound"].Create("rbxassetid://782353443", root, 4.5, 1)
|
| 4272 | - | for i = 0,3,0.1 do |
| 4272 | + | for i = 0,3,0.1 do |
| 4273 | - | swait() |
| 4273 | + | swait() |
| 4274 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) |
| 4274 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) |
| 4275 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) |
| 4275 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) |
| 4276 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) |
| 4276 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) |
| 4277 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5) |
| 4277 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5) |
| 4278 | - | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5) |
| 4278 | + | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5) |
| 4279 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5) |
| 4279 | + | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5) |
| 4280 | end | |
| 4281 | - | hum.WalkSpeed = storehumanoidWS |
| 4281 | + | hum.WalkSpeed = storehumanoidWS |
| 4282 | - | attack = false |
| 4282 | + | attack = false |
| 4283 | end | |
| 4284 | - | |
| 4284 | + | |
| 4285 | - | local blush = Instance.new("Decal",hed) |
| 4285 | + | local blush = Instance.new("Decal",hed)
|
| 4286 | - | blush.Texture = "rbxassetid://898404027" |
| 4286 | + | blush.Texture = "rbxassetid://898404027" |
| 4287 | - | blush.Face = "Front" |
| 4287 | + | blush.Face = "Front" |
| 4288 | - | blush.Parent = nil |
| 4288 | + | blush.Parent = nil |
| 4289 | - | blush.Transparency = 1 |
| 4289 | + | blush.Transparency = 1 |
| 4290 | - | ----------------------------------- Abilities |
| 4290 | + | ----------------------------------- Abilities |
| 4291 | - | |
| 4291 | + | |
| 4292 | - | function ExtinctiveHeartbreak() |
| 4292 | + | function ExtinctiveHeartbreak() |
| 4293 | - | local targetted = nil |
| 4293 | + | local targetted = nil |
| 4294 | - | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then |
| 4294 | + | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
|
| 4295 | - | targetted = mouse.Target.Parent |
| 4295 | + | targetted = mouse.Target.Parent |
| 4296 | end | |
| 4297 | - | if targetted ~= nil then |
| 4297 | + | if targetted ~= nil then |
| 4298 | - | attack = true |
| 4298 | + | attack = true |
| 4299 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) |
| 4299 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
|
| 4300 | - | for i = 0, 9 do |
| 4300 | + | for i = 0, 9 do |
| 4301 | - | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
| 4301 | + | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
| 4302 | end | |
| 4303 | - | for i = 0, 24 do |
| 4303 | + | for i = 0, 24 do |
| 4304 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
| 4304 | + | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
| 4305 | end | |
| 4306 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4306 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4307 | - | local originalpos = root.CFrame |
| 4307 | + | local originalpos = root.CFrame |
| 4308 | - | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) |
| 4308 | + | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) |
| 4309 | - | for i = 0, 9 do |
| 4309 | + | for i = 0, 9 do |
| 4310 | - | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
| 4310 | + | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
| 4311 | end | |
| 4312 | - | for i = 0, 24 do |
| 4312 | + | for i = 0, 24 do |
| 4313 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
| 4313 | + | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
| 4314 | end | |
| 4315 | - | hum.WalkSpeed = 0 |
| 4315 | + | hum.WalkSpeed = 0 |
| 4316 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4316 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4317 | - | local radm = math.random(1,3) |
| 4317 | + | local radm = math.random(1,3) |
| 4318 | - | if radm == 1 then |
| 4318 | + | if radm == 1 then |
| 4319 | - | bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2) |
| 4319 | + | bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
|
| 4320 | - | elseif radm == 2 then |
| 4320 | + | elseif radm == 2 then |
| 4321 | - | bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2) |
| 4321 | + | bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
|
| 4322 | - | elseif radm == 3 then |
| 4322 | + | elseif radm == 3 then |
| 4323 | - | bosschatfunc("DIE!",MAINRUINCOLOR.Color,2) |
| 4323 | + | bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
|
| 4324 | end | |
| 4325 | - | for i = 0,2,0.1 do |
| 4325 | + | for i = 0,2,0.1 do |
| 4326 | - | swait() |
| 4326 | + | swait() |
| 4327 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4) |
| 4327 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4) |
| 4328 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4) |
| 4328 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4) |
| 4329 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4) |
| 4329 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4) |
| 4330 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) |
| 4330 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) |
| 4331 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4) |
| 4331 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4) |
| 4332 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4) |
| 4332 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4) |
| 4333 | end | |
| 4334 | - | CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1) |
| 4334 | + | CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
|
| 4335 | - | CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1) |
| 4335 | + | CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
|
| 4336 | - | for i = 0,2,0.1 do |
| 4336 | + | for i = 0,2,0.1 do |
| 4337 | - | swait() |
| 4337 | + | swait() |
| 4338 | - | coroutine.resume(coroutine.create(function() |
| 4338 | + | coroutine.resume(coroutine.create(function() |
| 4339 | - | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) |
| 4339 | + | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) |
| 4340 | - | for i,v in pairs(targetted:GetChildren()) do |
| 4340 | + | for i,v in pairs(targetted:GetChildren()) do |
| 4341 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 4341 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 4342 | - | v.Velocity = vt(0,0,0) |
| 4342 | + | v.Velocity = vt(0,0,0) |
| 4343 | end | |
| 4344 | end | |
| 4345 | - | end)) |
| 4345 | + | end)) |
| 4346 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) |
| 4346 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) |
| 4347 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8) |
| 4347 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8) |
| 4348 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8) |
| 4348 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8) |
| 4349 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) |
| 4349 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) |
| 4350 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8) |
| 4350 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8) |
| 4351 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8) |
| 4351 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8) |
| 4352 | end | |
| 4353 | - | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1) |
| 4353 | + | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
|
| 4354 | - | CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1) |
| 4354 | + | CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
|
| 4355 | - | for i = 0, 1 do |
| 4355 | + | for i = 0, 1 do |
| 4356 | - | CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1) |
| 4356 | + | CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
|
| 4357 | end | |
| 4358 | - | CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1) |
| 4358 | + | CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
|
| 4359 | - | chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75) |
| 4359 | + | chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
|
| 4360 | - | for i = 0,4,0.1 do |
| 4360 | + | for i = 0,4,0.1 do |
| 4361 | - | swait() |
| 4361 | + | swait() |
| 4362 | - | coroutine.resume(coroutine.create(function() |
| 4362 | + | coroutine.resume(coroutine.create(function() |
| 4363 | - | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) |
| 4363 | + | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) |
| 4364 | - | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 4364 | + | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 4365 | - | local at1 = Instance.new("Attachment",dis) |
| 4365 | + | local at1 = Instance.new("Attachment",dis)
|
| 4366 | - | at1.Position = vt(-25000,0,0) |
| 4366 | + | at1.Position = vt(-25000,0,0) |
| 4367 | - | local at2 = Instance.new("Attachment",dis) |
| 4367 | + | local at2 = Instance.new("Attachment",dis)
|
| 4368 | - | at2.Position = vt(25000,0,0) |
| 4368 | + | at2.Position = vt(25000,0,0) |
| 4369 | - | local trl = Instance.new('Trail',dis) |
| 4369 | + | local trl = Instance.new('Trail',dis)
|
| 4370 | - | trl.Attachment0 = at1 |
| 4370 | + | trl.Attachment0 = at1 |
| 4371 | - | trl.FaceCamera = true |
| 4371 | + | trl.FaceCamera = true |
| 4372 | - | trl.Attachment1 = at2 |
| 4372 | + | trl.Attachment1 = at2 |
| 4373 | - | trl.Texture = "rbxassetid://1049219073" |
| 4373 | + | trl.Texture = "rbxassetid://1049219073" |
| 4374 | - | trl.LightEmission = 1 |
| 4374 | + | trl.LightEmission = 1 |
| 4375 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 4375 | + | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 4376 | - | trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color) |
| 4376 | + | trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color) |
| 4377 | - | trl.Lifetime = 5 |
| 4377 | + | trl.Lifetime = 5 |
| 4378 | - | local bv = Instance.new("BodyVelocity") |
| 4378 | + | local bv = Instance.new("BodyVelocity")
|
| 4379 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4379 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4380 | - | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) |
| 4380 | + | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) |
| 4381 | - | bv.Parent = dis |
| 4381 | + | bv.Parent = dis |
| 4382 | - | game:GetService("Debris"):AddItem(dis, 5) |
| 4382 | + | game:GetService("Debris"):AddItem(dis, 5)
|
| 4383 | - | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) |
| 4383 | + | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) |
| 4384 | - | CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1) |
| 4384 | + | CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
|
| 4385 | - | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1) |
| 4385 | + | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
|
| 4386 | - | CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150) |
| 4386 | + | CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
|
| 4387 | - | CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150) |
| 4387 | + | CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
|
| 4388 | - | CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75) |
| 4388 | + | CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
|
| 4389 | - | sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR) |
| 4389 | + | sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR) |
| 4390 | - | targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5) |
| 4390 | + | targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
|
| 4391 | - | for i = 0, 2 do |
| 4391 | + | for i = 0, 2 do |
| 4392 | - | slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,SECONDRUINCOLOR) |
| 4392 | + | slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,SECONDRUINCOLOR) |
| 4393 | end | |
| 4394 | - | symbolizeBlink(targetted.Head,0,2092248396,MAINRUINCOLOR.Color,math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25) |
| 4394 | + | symbolizeBlink(targetted.Head,0,2092248396,MAINRUINCOLOR.Color,math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25) |
| 4395 | - | for i,v in pairs(targetted:GetChildren()) do |
| 4395 | + | for i,v in pairs(targetted:GetChildren()) do |
| 4396 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 4396 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 4397 | - | v.Velocity = vt(0,0,0) |
| 4397 | + | v.Velocity = vt(0,0,0) |
| 4398 | end | |
| 4399 | end | |
| 4400 | - | end)) |
| 4400 | + | end)) |
| 4401 | - | CamShakeAll({ |
| 4401 | + | CamShakeAll({
|
| 4402 | - | Duration=.1; -- Lasts for .1 seconds |
| 4402 | + | Duration=.1; -- Lasts for .1 seconds |
| 4403 | - | Intensity=5; -- Intensity of 5 |
| 4403 | + | Intensity=5; -- Intensity of 5 |
| 4404 | - | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4404 | + | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4405 | - | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4405 | + | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4406 | - | DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4406 | + | DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4407 | - | IneffectiveDist=300; -- Camera dist from origin when the shake goes away |
| 4407 | + | IneffectiveDist=300; -- Camera dist from origin when the shake goes away |
| 4408 | - | Origin=sorb.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4408 | + | Origin=sorb.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4409 | - | }) |
| 4409 | + | }) |
| 4410 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) |
| 4410 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) |
| 4411 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8) |
| 4411 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8) |
| 4412 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8) |
| 4412 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8) |
| 4413 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8) |
| 4413 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8) |
| 4414 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8) |
| 4414 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8) |
| 4415 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8) |
| 4415 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8) |
| 4416 | end | |
| 4417 | - | for i = 0, 49 do |
| 4417 | + | for i = 0, 49 do |
| 4418 | - | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) |
| 4418 | + | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) |
| 4419 | - | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 4419 | + | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 4420 | - | local at1 = Instance.new("Attachment",dis) |
| 4420 | + | local at1 = Instance.new("Attachment",dis)
|
| 4421 | - | at1.Position = vt(-50000,0,0) |
| 4421 | + | at1.Position = vt(-50000,0,0) |
| 4422 | - | local at2 = Instance.new("Attachment",dis) |
| 4422 | + | local at2 = Instance.new("Attachment",dis)
|
| 4423 | - | at2.Position = vt(50000,0,0) |
| 4423 | + | at2.Position = vt(50000,0,0) |
| 4424 | - | local trl = Instance.new('Trail',dis) |
| 4424 | + | local trl = Instance.new('Trail',dis)
|
| 4425 | - | trl.Attachment0 = at1 |
| 4425 | + | trl.Attachment0 = at1 |
| 4426 | - | trl.FaceCamera = true |
| 4426 | + | trl.FaceCamera = true |
| 4427 | - | trl.Attachment1 = at2 |
| 4427 | + | trl.Attachment1 = at2 |
| 4428 | - | trl.Texture = "rbxassetid://1049219073" |
| 4428 | + | trl.Texture = "rbxassetid://1049219073" |
| 4429 | - | trl.LightEmission = 1 |
| 4429 | + | trl.LightEmission = 1 |
| 4430 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 4430 | + | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 4431 | - | trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color) |
| 4431 | + | trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color) |
| 4432 | - | trl.Lifetime = 5 |
| 4432 | + | trl.Lifetime = 5 |
| 4433 | - | local bv = Instance.new("BodyVelocity") |
| 4433 | + | local bv = Instance.new("BodyVelocity")
|
| 4434 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4434 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4435 | - | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) |
| 4435 | + | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) |
| 4436 | - | bv.Parent = dis |
| 4436 | + | bv.Parent = dis |
| 4437 | - | game:GetService("Debris"):AddItem(dis, 5) |
| 4437 | + | game:GetService("Debris"):AddItem(dis, 5)
|
| 4438 | end | |
| 4439 | - | for i = 0, 49 do |
| 4439 | + | for i = 0, 49 do |
| 4440 | - | sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR) |
| 4440 | + | sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR) |
| 4441 | - | slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,MAINRUINCOLOR) |
| 4441 | + | slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,MAINRUINCOLOR) |
| 4442 | end | |
| 4443 | - | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1) |
| 4443 | + | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
|
| 4444 | - | for i = 0, 1 do |
| 4444 | + | for i = 0, 1 do |
| 4445 | - | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9) |
| 4445 | + | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
|
| 4446 | - | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75) |
| 4446 | + | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
|
| 4447 | end | |
| 4448 | - | for i = 0, 4 do |
| 4448 | + | for i = 0, 4 do |
| 4449 | - | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1) |
| 4449 | + | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
|
| 4450 | end | |
| 4451 | - | symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,1) |
| 4451 | + | symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,1) |
| 4452 | - | symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,2) |
| 4452 | + | symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,2) |
| 4453 | - | symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,4) |
| 4453 | + | symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,4) |
| 4454 | - | dmg(targetted) |
| 4454 | + | dmg(targetted) |
| 4455 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) |
| 4455 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
|
| 4456 | - | for i = 0, 9 do |
| 4456 | + | for i = 0, 9 do |
| 4457 | - | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
| 4457 | + | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
| 4458 | end | |
| 4459 | - | for i = 0, 24 do |
| 4459 | + | for i = 0, 24 do |
| 4460 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
| 4460 | + | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
| 4461 | end | |
| 4462 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4462 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4463 | - | root.CFrame = originalpos |
| 4463 | + | root.CFrame = originalpos |
| 4464 | - | for i = 0, 9 do |
| 4464 | + | for i = 0, 9 do |
| 4465 | - | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
| 4465 | + | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
| 4466 | end | |
| 4467 | - | for i = 0, 24 do |
| 4467 | + | for i = 0, 24 do |
| 4468 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
| 4468 | + | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
| 4469 | end | |
| 4470 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4470 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4471 | - | attack = false |
| 4471 | + | attack = false |
| 4472 | - | hum.WalkSpeed = storehumanoidWS |
| 4472 | + | hum.WalkSpeed = storehumanoidWS |
| 4473 | end | |
| 4474 | end | |
| 4475 | - | |
| 4475 | + | |
| 4476 | - | local stealth = false |
| 4476 | + | local stealth = false |
| 4477 | - | function StealthWarped() |
| 4477 | + | function StealthWarped() |
| 4478 | - | if stealth then |
| 4478 | + | if stealth then |
| 4479 | - | return |
| 4479 | + | return |
| 4480 | end | |
| 4481 | - | attack = true |
| 4481 | + | attack = true |
| 4482 | - | stealth = true |
| 4482 | + | stealth = true |
| 4483 | - | hum.WalkSpeed = 0 |
| 4483 | + | hum.WalkSpeed = 0 |
| 4484 | - | CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1) |
| 4484 | + | CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
|
| 4485 | - | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1) |
| 4485 | + | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
|
| 4486 | - | for i = 0, 4, 0.1 do |
| 4486 | + | for i = 0, 4, 0.1 do |
| 4487 | - | swait() |
| 4487 | + | swait() |
| 4488 | - | block(10,"Add",sorb.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 4488 | + | block(10,"Add",sorb.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 4489 | - | block(10,"Add",sorb2.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 4489 | + | block(10,"Add",sorb2.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 4490 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) |
| 4490 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) |
| 4491 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) |
| 4491 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) |
| 4492 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) |
| 4492 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) |
| 4493 | end | |
| 4494 | - | sphere2(4,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR) |
| 4494 | + | sphere2(4,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR) |
| 4495 | - | sphere2(2,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR) |
| 4495 | + | sphere2(2,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR) |
| 4496 | - | sphere2(4,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR) |
| 4496 | + | sphere2(4,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR) |
| 4497 | - | sphere2(2,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR) |
| 4497 | + | sphere2(2,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR) |
| 4498 | - | CFuncs["Sound"].Create("rbxassetid://840567549", root, 10, 1) |
| 4498 | + | CFuncs["Sound"].Create("rbxassetid://840567549", root, 10, 1)
|
| 4499 | - | newTheme("rbxassetid://0",48.6,1,0.8) |
| 4499 | + | newTheme("rbxassetid://0",48.6,1,0.8)
|
| 4500 | - | char.Head.Transparency = 0.5 |
| 4500 | + | char.Head.Transparency = 0.5 |
| 4501 | - | char["Left Arm"].Transparency = 0.5 |
| 4501 | + | char["Left Arm"].Transparency = 0.5 |
| 4502 | - | char["Left Leg"].Transparency = 0.5 |
| 4502 | + | char["Left Leg"].Transparency = 0.5 |
| 4503 | - | char["Right Arm"].Transparency = 0.5 |
| 4503 | + | char["Right Arm"].Transparency = 0.5 |
| 4504 | - | char["Right Leg"].Transparency = 0.5 |
| 4504 | + | char["Right Leg"].Transparency = 0.5 |
| 4505 | - | char.Torso.Transparency = 0.5 |
| 4505 | + | char.Torso.Transparency = 0.5 |
| 4506 | - | attack = false |
| 4506 | + | attack = false |
| 4507 | - | hum.WalkSpeed = 60 |
| 4507 | + | hum.WalkSpeed = 60 |
| 4508 | - | storehumanoidWS = 60 |
| 4508 | + | storehumanoidWS = 60 |
| 4509 | - | swait(400) |
| 4509 | + | swait(400) |
| 4510 | - | char.Head.Transparency = 0 |
| 4510 | + | char.Head.Transparency = 0 |
| 4511 | - | char["Left Arm"].Transparency = 0 |
| 4511 | + | char["Left Arm"].Transparency = 0 |
| 4512 | - | char["Left Leg"].Transparency = 0 |
| 4512 | + | char["Left Leg"].Transparency = 0 |
| 4513 | - | char["Right Arm"].Transparency = 0 |
| 4513 | + | char["Right Arm"].Transparency = 0 |
| 4514 | - | char["Right Leg"].Transparency = 0 |
| 4514 | + | char["Right Leg"].Transparency = 0 |
| 4515 | - | char.Torso.Transparency = 0 |
| 4515 | + | char.Torso.Transparency = 0 |
| 4516 | - | stealth = false |
| 4516 | + | stealth = false |
| 4517 | - | storehumanoidWS = 16 |
| 4517 | + | storehumanoidWS = 16 |
| 4518 | - | hum.WalkSpeed = storehumanoidWS |
| 4518 | + | hum.WalkSpeed = storehumanoidWS |
| 4519 | - | newTheme("rbxassetid://1119453744",48.6,1,0.8) |
| 4519 | + | newTheme("rbxassetid://1119453744",48.6,1,0.8)
|
| 4520 | end | |
| 4521 | - | |
| 4521 | + | |
| 4522 | - | function QuickSnap() |
| 4522 | + | function QuickSnap() |
| 4523 | - | hum.WalkSpeed = 1 |
| 4523 | + | hum.WalkSpeed = 1 |
| 4524 | - | attack = true |
| 4524 | + | attack = true |
| 4525 | - | for i = 0,0.5,0.1 do |
| 4525 | + | for i = 0,0.5,0.1 do |
| 4526 | - | swait() |
| 4526 | + | swait() |
| 4527 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
| 4527 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
| 4528 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
| 4528 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
| 4529 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
| 4529 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
| 4530 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.2) |
| 4530 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.2) |
| 4531 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(50)),.2) |
| 4531 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(50)),.2) |
| 4532 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-50)),.2) |
| 4532 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-50)),.2) |
| 4533 | end | |
| 4534 | - | sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR) |
| 4534 | + | sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR) |
| 4535 | - | sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,SECONDRUINCOLOR) |
| 4535 | + | sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,SECONDRUINCOLOR) |
| 4536 | - | for i = 0, 24 do |
| 4536 | + | for i = 0, 24 do |
| 4537 | - | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,SECONDRUINCOLOR) |
| 4537 | + | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,SECONDRUINCOLOR) |
| 4538 | end | |
| 4539 | - | CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1) |
| 4539 | + | CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
|
| 4540 | - | CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8) |
| 4540 | + | CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
|
| 4541 | - | CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5) |
| 4541 | + | CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
|
| 4542 | - | CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9) |
| 4542 | + | CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
|
| 4543 | - | local eff = Instance.new("ParticleEmitter",sorb2) |
| 4543 | + | local eff = Instance.new("ParticleEmitter",sorb2)
|
| 4544 | - | eff.Texture = "rbxassetid://2273224484" |
| 4544 | + | eff.Texture = "rbxassetid://2273224484" |
| 4545 | - | eff.LightEmission = 1 |
| 4545 | + | eff.LightEmission = 1 |
| 4546 | - | eff.Color = ColorSequence.new(SECONDRUINCOLOR.Color) |
| 4546 | + | eff.Color = ColorSequence.new(SECONDRUINCOLOR.Color) |
| 4547 | - | eff.Rate = 900000000 |
| 4547 | + | eff.Rate = 900000000 |
| 4548 | - | eff.Lifetime = NumberRange.new(0.5,2) |
| 4548 | + | eff.Lifetime = NumberRange.new(0.5,2) |
| 4549 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) |
| 4549 | + | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 4550 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 4550 | + | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 4551 | - | eff.Speed = NumberRange.new(50,250) |
| 4551 | + | eff.Speed = NumberRange.new(50,250) |
| 4552 | - | eff.Drag = 5 |
| 4552 | + | eff.Drag = 5 |
| 4553 | - | eff.Rotation = NumberRange.new(-500,500) |
| 4553 | + | eff.Rotation = NumberRange.new(-500,500) |
| 4554 | - | eff.VelocitySpread = 9000 |
| 4554 | + | eff.VelocitySpread = 9000 |
| 4555 | - | eff.RotSpeed = NumberRange.new(-50,50) |
| 4555 | + | eff.RotSpeed = NumberRange.new(-50,50) |
| 4556 | - | local eff2 = eff:Clone() |
| 4556 | + | local eff2 = eff:Clone() |
| 4557 | - | eff2.Parent = sorb |
| 4557 | + | eff2.Parent = sorb |
| 4558 | - | eff2.LightEmission = 0 |
| 4558 | + | eff2.LightEmission = 0 |
| 4559 | - | eff2.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 4559 | + | eff2.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 4560 | - | for i = 0,4,0.1 do |
| 4560 | + | for i = 0,4,0.1 do |
| 4561 | - | swait(1) |
| 4561 | + | swait(1) |
| 4562 | - | root.CFrame = root.CFrame + root.CFrame.lookVector*7.5 |
| 4562 | + | root.CFrame = root.CFrame + root.CFrame.lookVector*7.5 |
| 4563 | - | local dis = CreateParta(char,0.25,1,"Neon",SECONDRUINCOLOR) |
| 4563 | + | local dis = CreateParta(char,0.25,1,"Neon",SECONDRUINCOLOR) |
| 4564 | - | CreateMesh(dis,"Sphere",1,1,1) |
| 4564 | + | CreateMesh(dis,"Sphere",1,1,1) |
| 4565 | - | dis.Anchored = true |
| 4565 | + | dis.Anchored = true |
| 4566 | - | dis.CFrame = sorb2.CFrame |
| 4566 | + | dis.CFrame = sorb2.CFrame |
| 4567 | - | local dis2 = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) |
| 4567 | + | local dis2 = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) |
| 4568 | - | CreateMesh(dis2,"Sphere",1,1,1) |
| 4568 | + | CreateMesh(dis2,"Sphere",1,1,1) |
| 4569 | - | dis2.Anchored = true |
| 4569 | + | dis2.Anchored = true |
| 4570 | - | dis2.CFrame = sorb.CFrame |
| 4570 | + | dis2.CFrame = sorb.CFrame |
| 4571 | - | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) |
| 4571 | + | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) |
| 4572 | - | sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color) |
| 4572 | + | sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color) |
| 4573 | - | game:GetService("Debris"):AddItem(dis, 5) |
| 4573 | + | game:GetService("Debris"):AddItem(dis, 5)
|
| 4574 | - | game:GetService("Debris"):AddItem(dis2, 5) |
| 4574 | + | game:GetService("Debris"):AddItem(dis2, 5)
|
| 4575 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 1.5),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 3))),.2) |
| 4575 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 1.5),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 3))),.2) |
| 4576 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 1.5),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 3))),.2) |
| 4576 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 1.5),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 3))),.2) |
| 4577 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 1.5))*angles(math.rad(25 - 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 3))),.2) |
| 4577 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 1.5))*angles(math.rad(25 - 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 3))),.2) |
| 4578 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 + 1 * math.cos(sine / 3))),.2) |
| 4578 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 + 1 * math.cos(sine / 3))),.2) |
| 4579 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(70)),.2) |
| 4579 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(70)),.2) |
| 4580 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(-70)),.2) |
| 4580 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(-70)),.2) |
| 4581 | - | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0) |
| 4581 | + | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0) |
| 4582 | - | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0) |
| 4582 | + | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0) |
| 4583 | - | coroutine.resume(coroutine.create(function() |
| 4583 | + | coroutine.resume(coroutine.create(function() |
| 4584 | - | swait(5) |
| 4584 | + | swait(5) |
| 4585 | - | coroutine.resume(coroutine.create(function() |
| 4585 | + | coroutine.resume(coroutine.create(function() |
| 4586 | - | CamShakeAll({ |
| 4586 | + | CamShakeAll({
|
| 4587 | - | Duration=0.25; -- Lasts for .1 seconds |
| 4587 | + | Duration=0.25; -- Lasts for .1 seconds |
| 4588 | - | Intensity=0.9; -- Intensity of 5 |
| 4588 | + | Intensity=0.9; -- Intensity of 5 |
| 4589 | - | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4589 | + | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4590 | - | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4590 | + | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4591 | - | DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4591 | + | DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4592 | - | IneffectiveDist=125; -- Camera dist from origin when the shake goes away |
| 4592 | + | IneffectiveDist=125; -- Camera dist from origin when the shake goes away |
| 4593 | - | Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4593 | + | Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4594 | - | }) |
| 4594 | + | }) |
| 4595 | - | CamShakeAll({ |
| 4595 | + | CamShakeAll({
|
| 4596 | - | Duration=0.25; -- Lasts for .1 seconds |
| 4596 | + | Duration=0.25; -- Lasts for .1 seconds |
| 4597 | - | Intensity=0.9; -- Intensity of 5 |
| 4597 | + | Intensity=0.9; -- Intensity of 5 |
| 4598 | - | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4598 | + | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4599 | - | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4599 | + | Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation) |
| 4600 | - | DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4600 | + | DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4601 | - | IneffectiveDist=125; -- Camera dist from origin when the shake goes away |
| 4601 | + | IneffectiveDist=125; -- Camera dist from origin when the shake goes away |
| 4602 | - | Origin=dis2.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4602 | + | Origin=dis2.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4603 | - | }) |
| 4603 | + | }) |
| 4604 | - | end)) |
| 4604 | + | end)) |
| 4605 | - | swait(20) |
| 4605 | + | swait(20) |
| 4606 | - | dis.Transparency = 1 |
| 4606 | + | dis.Transparency = 1 |
| 4607 | - | dis2.Transparency = 1 |
| 4607 | + | dis2.Transparency = 1 |
| 4608 | - | MagniDamage(dis, 55, 50,99, 0, "Normal") |
| 4608 | + | MagniDamage(dis, 55, 50,99, 0, "Normal") |
| 4609 | - | MagniDamage(dis2, 55, 50,99, 0, "Normal") |
| 4609 | + | MagniDamage(dis2, 55, 50,99, 0, "Normal") |
| 4610 | - | for i = 0, 2 do |
| 4610 | + | for i = 0, 2 do |
| 4611 | - | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor) |
| 4611 | + | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor) |
| 4612 | - | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor) |
| 4612 | + | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor) |
| 4613 | - | end |
| 4613 | + | end |
| 4614 | - | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75) |
| 4614 | + | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
|
| 4615 | - | CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75) |
| 4615 | + | CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
|
| 4616 | - | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25) |
| 4616 | + | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
|
| 4617 | - | CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25) |
| 4617 | + | CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
|
| 4618 | - | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15) |
| 4618 | + | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
|
| 4619 | - | CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15) |
| 4619 | + | CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
|
| 4620 | - | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color) |
| 4620 | + | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color) |
| 4621 | - | sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color) |
| 4621 | + | sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color) |
| 4622 | - | dis:Destroy() |
| 4622 | + | dis:Destroy() |
| 4623 | - | dis2:Destroy() |
| 4623 | + | dis2:Destroy() |
| 4624 | - | end)) |
| 4624 | + | end)) |
| 4625 | end | |
| 4626 | - | eff.Enabled=false |
| 4626 | + | eff.Enabled=false |
| 4627 | - | eff2.Enabled=false |
| 4627 | + | eff2.Enabled=false |
| 4628 | - | attack = false |
| 4628 | + | attack = false |
| 4629 | - | hum.WalkSpeed = storehumanoidWS |
| 4629 | + | hum.WalkSpeed = storehumanoidWS |
| 4630 | - | wait(2) |
| 4630 | + | wait(2) |
| 4631 | - | eff:Destroy() |
| 4631 | + | eff:Destroy() |
| 4632 | - | eff2:Destroy() |
| 4632 | + | eff2:Destroy() |
| 4633 | end | |
| 4634 | - | |
| 4634 | + | |
| 4635 | - | function Ballesta_Shards() |
| 4635 | + | function Ballesta_Shards() |
| 4636 | - | attack = true |
| 4636 | + | attack = true |
| 4637 | - | hum.WalkSpeed = 2 |
| 4637 | + | hum.WalkSpeed = 2 |
| 4638 | - | local keptcolor = BrickColor.new("Really red") |
| 4638 | + | local keptcolor = BrickColor.new("Really red")
|
| 4639 | - | local keptcolor2 = SECONDRUINCOLOR |
| 4639 | + | local keptcolor2 = SECONDRUINCOLOR |
| 4640 | - | local rval = 0 |
| 4640 | + | local rval = 0 |
| 4641 | - | local eval = 1 |
| 4641 | + | local eval = 1 |
| 4642 | - | for i = 0,3,0.1 do |
| 4642 | + | for i = 0,3,0.1 do |
| 4643 | - | swait() |
| 4643 | + | swait() |
| 4644 | - | rval = rval + 30 |
| 4644 | + | rval = rval + 30 |
| 4645 | - | eval = eval + 1.5 |
| 4645 | + | eval = eval + 1.5 |
| 4646 | - | slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*rval/25,0.002,0.01*rval/25),math.random(5,20)/250,keptcolor2) |
| 4646 | + | slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*rval/25,0.002,0.01*rval/25),math.random(5,20)/250,keptcolor2) |
| 4647 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1) |
| 4647 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1) |
| 4648 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1) |
| 4648 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1) |
| 4649 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) |
| 4649 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) |
| 4650 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3) |
| 4650 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3) |
| 4651 | - | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3) |
| 4651 | + | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3) |
| 4652 | - | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3) |
| 4652 | + | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3) |
| 4653 | end | |
| 4654 | - | for i = 0, 19 do |
| 4654 | + | for i = 0, 19 do |
| 4655 | - | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.002,0.01),math.random(150,250)/250,keptcolor2) |
| 4655 | + | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.002,0.01),math.random(150,250)/250,keptcolor2) |
| 4656 | end | |
| 4657 | - | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 4,1) |
| 4657 | + | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 4,1)
|
| 4658 | - | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1) |
| 4658 | + | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
|
| 4659 | - | CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9) |
| 4659 | + | CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
|
| 4660 | - | CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1) |
| 4660 | + | CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1)
|
| 4661 | - | MagniDamage(root, 50, 40,50, 0, "Normal") |
| 4661 | + | MagniDamage(root, 50, 40,50, 0, "Normal") |
| 4662 | - | sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor,keptcolor.Color) |
| 4662 | + | sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor,keptcolor.Color) |
| 4663 | - | sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor2,keptcolor2.Color) |
| 4663 | + | sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor2,keptcolor2.Color) |
| 4664 | - | |
| 4664 | + | |
| 4665 | - | coroutine.resume(coroutine.create(function() |
| 4665 | + | coroutine.resume(coroutine.create(function() |
| 4666 | - | for i = 0, 51 do |
| 4666 | + | for i = 0, 51 do |
| 4667 | - | swait() |
| 4667 | + | swait() |
| 4668 | - | local dis = CreateParta(char,0.5,1,"Neon",keptcolor) |
| 4668 | + | local dis = CreateParta(char,0.5,1,"Neon",keptcolor) |
| 4669 | - | dis.BrickColor = keptcolor |
| 4669 | + | dis.BrickColor = keptcolor |
| 4670 | - | dis.Anchored = true |
| 4670 | + | dis.Anchored = true |
| 4671 | - | local at1 = Instance.new("Attachment",dis) |
| 4671 | + | local at1 = Instance.new("Attachment",dis)
|
| 4672 | - | at1.Position = vt(-0.25,0,0) |
| 4672 | + | at1.Position = vt(-0.25,0,0) |
| 4673 | - | local at2 = Instance.new("Attachment",dis) |
| 4673 | + | local at2 = Instance.new("Attachment",dis)
|
| 4674 | - | at2.Position = vt(0.25,0,0) |
| 4674 | + | at2.Position = vt(0.25,0,0) |
| 4675 | - | local trl = Instance.new('Trail',dis) |
| 4675 | + | local trl = Instance.new('Trail',dis)
|
| 4676 | - | trl.Attachment0 = at1 |
| 4676 | + | trl.Attachment0 = at1 |
| 4677 | - | trl.FaceCamera = true |
| 4677 | + | trl.FaceCamera = true |
| 4678 | - | trl.Attachment1 = at2 |
| 4678 | + | trl.Attachment1 = at2 |
| 4679 | - | trl.Texture = "rbxassetid://1049219073" |
| 4679 | + | trl.Texture = "rbxassetid://1049219073" |
| 4680 | - | trl.LightEmission = 1 |
| 4680 | + | trl.LightEmission = 1 |
| 4681 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
| 4681 | + | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 4682 | - | trl.Color = ColorSequence.new(dis.Color) |
| 4682 | + | trl.Color = ColorSequence.new(dis.Color) |
| 4683 | - | trl.Lifetime = 0.6 |
| 4683 | + | trl.Lifetime = 0.6 |
| 4684 | - | dis.Velocity = vt(math.random(-50,50),math.random(125,210),math.random(-50,50)) |
| 4684 | + | dis.Velocity = vt(math.random(-50,50),math.random(125,210),math.random(-50,50)) |
| 4685 | - | CFuncs["Sound"].Create("rbxassetid://199145967", dis, 0.1,1) |
| 4685 | + | CFuncs["Sound"].Create("rbxassetid://199145967", dis, 0.1,1)
|
| 4686 | - | dis.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(5,25),math.random(-3,3))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 4686 | + | dis.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(5,25),math.random(-3,3))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 4687 | - | CreateMesh(dis,"Sphere",0.5,0.5,4) |
| 4687 | + | CreateMesh(dis,"Sphere",0.5,0.5,4) |
| 4688 | - | dis.Anchored = false |
| 4688 | + | dis.Anchored = false |
| 4689 | - | coroutine.resume(coroutine.create(function() |
| 4689 | + | coroutine.resume(coroutine.create(function() |
| 4690 | - | wait(1) |
| 4690 | + | wait(1) |
| 4691 | - | local a = Instance.new("Part",workspace) |
| 4691 | + | local a = Instance.new("Part",workspace)
|
| 4692 | - | a.Name = "Direction" |
| 4692 | + | a.Name = "Direction" |
| 4693 | - | a.Anchored = true |
| 4693 | + | a.Anchored = true |
| 4694 | - | a.BrickColor = bc("Bright red") |
| 4694 | + | a.BrickColor = bc("Bright red")
|
| 4695 | - | a.Material = "Neon" |
| 4695 | + | a.Material = "Neon" |
| 4696 | - | a.Transparency = 1 |
| 4696 | + | a.Transparency = 1 |
| 4697 | - | a.CanCollide = false |
| 4697 | + | a.CanCollide = false |
| 4698 | - | local ray = Ray.new( |
| 4698 | + | local ray = Ray.new( |
| 4699 | - | dis.CFrame.p, -- origin |
| 4699 | + | dis.CFrame.p, -- origin |
| 4700 | - | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction |
| 4700 | + | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction |
| 4701 | - | ) |
| 4701 | + | ) |
| 4702 | - | local ignore = dis |
| 4702 | + | local ignore = dis |
| 4703 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 4703 | + | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 4704 | - | a.BottomSurface = 10 |
| 4704 | + | a.BottomSurface = 10 |
| 4705 | - | a.TopSurface = 10 |
| 4705 | + | a.TopSurface = 10 |
| 4706 | - | local distance = (dis.CFrame.p - position).magnitude |
| 4706 | + | local distance = (dis.CFrame.p - position).magnitude |
| 4707 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
| 4707 | + | a.Size = Vector3.new(0.1, 0.1, 0.1) |
| 4708 | - | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) |
| 4708 | + | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) |
| 4709 | - | dis.CFrame = a.CFrame |
| 4709 | + | dis.CFrame = a.CFrame |
| 4710 | - | a:Destroy() |
| 4710 | + | a:Destroy() |
| 4711 | - | local bv = Instance.new("BodyVelocity") |
| 4711 | + | local bv = Instance.new("BodyVelocity")
|
| 4712 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4712 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4713 | - | bv.velocity = dis.CFrame.lookVector*200 |
| 4713 | + | bv.velocity = dis.CFrame.lookVector*200 |
| 4714 | - | bv.Parent = dis |
| 4714 | + | bv.Parent = dis |
| 4715 | - | game:GetService("Debris"):AddItem(dis, 5) |
| 4715 | + | game:GetService("Debris"):AddItem(dis, 5)
|
| 4716 | - | local hitted = false |
| 4716 | + | local hitted = false |
| 4717 | - | coroutine.resume(coroutine.create(function() |
| 4717 | + | coroutine.resume(coroutine.create(function() |
| 4718 | - | dis.Touched:connect(function(hit) |
| 4718 | + | dis.Touched:connect(function(hit) |
| 4719 | - | if hitted == false and hit.Parent ~= char then |
| 4719 | + | if hitted == false and hit.Parent ~= char then |
| 4720 | - | hitted = true |
| 4720 | + | hitted = true |
| 4721 | - | CFuncs["Sound"].Create("rbxassetid://199146035", dis, 1.5,1) |
| 4721 | + | CFuncs["Sound"].Create("rbxassetid://199146035", dis, 1.5,1)
|
| 4722 | - | MagniDamage(dis, 20, 10,20, 0, "Normal") |
| 4722 | + | MagniDamage(dis, 20, 10,20, 0, "Normal") |
| 4723 | - | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor2,keptcolor2.Color) |
| 4723 | + | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor2,keptcolor2.Color) |
| 4724 | - | sphere2(8,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) |
| 4724 | + | sphere2(8,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) |
| 4725 | - | coroutine.resume(coroutine.create(function() |
| 4725 | + | coroutine.resume(coroutine.create(function() |
| 4726 | - | local eff = Instance.new("ParticleEmitter",dis) |
| 4726 | + | local eff = Instance.new("ParticleEmitter",dis)
|
| 4727 | - | eff.Texture = "rbxassetid://2344870656" |
| 4727 | + | eff.Texture = "rbxassetid://2344870656" |
| 4728 | - | eff.LightEmission = 1 |
| 4728 | + | eff.LightEmission = 1 |
| 4729 | - | eff.Color = ColorSequence.new(dis.Color) |
| 4729 | + | eff.Color = ColorSequence.new(dis.Color) |
| 4730 | - | eff.Rate = 10000000 |
| 4730 | + | eff.Rate = 10000000 |
| 4731 | - | eff.Enabled = true |
| 4731 | + | eff.Enabled = true |
| 4732 | - | --eff.EmissionDirection = "Front" |
| 4732 | + | --eff.EmissionDirection = "Front" |
| 4733 | - | eff.Lifetime = NumberRange.new(0.5) |
| 4733 | + | eff.Lifetime = NumberRange.new(0.5) |
| 4734 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,20,0),NumberSequenceKeypoint.new(1,30,0)}) |
| 4734 | + | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,20,0),NumberSequenceKeypoint.new(1,30,0)})
|
| 4735 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 4735 | + | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 4736 | - | eff.Speed = NumberRange.new(100) |
| 4736 | + | eff.Speed = NumberRange.new(100) |
| 4737 | - | eff.Drag = 5 |
| 4737 | + | eff.Drag = 5 |
| 4738 | - | eff.Rotation = NumberRange.new(-500,500) |
| 4738 | + | eff.Rotation = NumberRange.new(-500,500) |
| 4739 | - | eff.SpreadAngle = Vector2.new(0,900) |
| 4739 | + | eff.SpreadAngle = Vector2.new(0,900) |
| 4740 | - | eff.RotSpeed = NumberRange.new(-500,500) |
| 4740 | + | eff.RotSpeed = NumberRange.new(-500,500) |
| 4741 | - | wait(0.1) |
| 4741 | + | wait(0.1) |
| 4742 | - | eff.Enabled = false |
| 4742 | + | eff.Enabled = false |
| 4743 | - | end)) |
| 4743 | + | end)) |
| 4744 | - | coroutine.resume(coroutine.create(function() |
| 4744 | + | coroutine.resume(coroutine.create(function() |
| 4745 | - | local eff = Instance.new("ParticleEmitter",dis) |
| 4745 | + | local eff = Instance.new("ParticleEmitter",dis)
|
| 4746 | - | eff.Texture = "rbxassetid://695499847" |
| 4746 | + | eff.Texture = "rbxassetid://695499847" |
| 4747 | - | eff.LightEmission = 1 |
| 4747 | + | eff.LightEmission = 1 |
| 4748 | - | eff.Color = ColorSequence.new(dis.Color) |
| 4748 | + | eff.Color = ColorSequence.new(dis.Color) |
| 4749 | - | eff.Rate = 500000 |
| 4749 | + | eff.Rate = 500000 |
| 4750 | - | eff.Lifetime = NumberRange.new(0.5,2) |
| 4750 | + | eff.Lifetime = NumberRange.new(0.5,2) |
| 4751 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) |
| 4751 | + | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 4752 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 4752 | + | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 4753 | - | eff.Speed = NumberRange.new(20,150) |
| 4753 | + | eff.Speed = NumberRange.new(20,150) |
| 4754 | - | eff.Drag = 5 |
| 4754 | + | eff.Drag = 5 |
| 4755 | - | eff.Rotation = NumberRange.new(-500,500) |
| 4755 | + | eff.Rotation = NumberRange.new(-500,500) |
| 4756 | - | eff.VelocitySpread = 9000 |
| 4756 | + | eff.VelocitySpread = 9000 |
| 4757 | - | eff.RotSpeed = NumberRange.new(-150,150) |
| 4757 | + | eff.RotSpeed = NumberRange.new(-150,150) |
| 4758 | - | wait(0.5) |
| 4758 | + | wait(0.5) |
| 4759 | - | eff.Enabled = false |
| 4759 | + | eff.Enabled = false |
| 4760 | - | end)) |
| 4760 | + | end)) |
| 4761 | - | dis.Anchored = true |
| 4761 | + | dis.Anchored = true |
| 4762 | - | dis.Transparency = 1 |
| 4762 | + | dis.Transparency = 1 |
| 4763 | - | wait(8) |
| 4763 | + | wait(8) |
| 4764 | - | dis:Destroy() |
| 4764 | + | dis:Destroy() |
| 4765 | end | |
| 4766 | - | end) |
| 4766 | + | end) |
| 4767 | - | end)) |
| 4767 | + | end)) |
| 4768 | - | end)) |
| 4768 | + | end)) |
| 4769 | end | |
| 4770 | - | end)) |
| 4770 | + | end)) |
| 4771 | - | coroutine.resume(coroutine.create(function() |
| 4771 | + | coroutine.resume(coroutine.create(function() |
| 4772 | - | local eff = Instance.new("ParticleEmitter",root) |
| 4772 | + | local eff = Instance.new("ParticleEmitter",root)
|
| 4773 | - | eff.Texture = "rbxassetid://695499847" |
| 4773 | + | eff.Texture = "rbxassetid://695499847" |
| 4774 | - | eff.LightEmission = 0 |
| 4774 | + | eff.LightEmission = 0 |
| 4775 | - | eff.Color = ColorSequence.new(BrickColor.new("Crimson").Color) |
| 4775 | + | eff.Color = ColorSequence.new(BrickColor.new("Crimson").Color)
|
| 4776 | - | eff.Rate = 500000 |
| 4776 | + | eff.Rate = 500000 |
| 4777 | - | eff.Lifetime = NumberRange.new(0.5,2) |
| 4777 | + | eff.Lifetime = NumberRange.new(0.5,2) |
| 4778 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,3,0),NumberSequenceKeypoint.new(1,0,0)}) |
| 4778 | + | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,3,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 4779 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
| 4779 | + | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 4780 | - | eff.Speed = NumberRange.new(30,250) |
| 4780 | + | eff.Speed = NumberRange.new(30,250) |
| 4781 | - | eff.Drag = 5 |
| 4781 | + | eff.Drag = 5 |
| 4782 | - | eff.Rotation = NumberRange.new(-500,500) |
| 4782 | + | eff.Rotation = NumberRange.new(-500,500) |
| 4783 | - | eff.VelocitySpread = 9000 |
| 4783 | + | eff.VelocitySpread = 9000 |
| 4784 | - | eff.RotSpeed = NumberRange.new(-150,150) |
| 4784 | + | eff.RotSpeed = NumberRange.new(-150,150) |
| 4785 | - | wait(1.5) |
| 4785 | + | wait(1.5) |
| 4786 | - | eff.Enabled = false |
| 4786 | + | eff.Enabled = false |
| 4787 | - | end)) |
| 4787 | + | end)) |
| 4788 | - | local eval2 = 1 |
| 4788 | + | local eval2 = 1 |
| 4789 | - | sphere2(1,"Add",root.CFrame,vt(12.5,1,12.5),-0.05,3,-0.05,keptcolor) |
| 4789 | + | sphere2(1,"Add",root.CFrame,vt(12.5,1,12.5),-0.05,3,-0.05,keptcolor) |
| 4790 | - | sphere2(1,"Add",root.CFrame,vt(25,1,25),-0.1,6,-0.1,keptcolor2) |
| 4790 | + | sphere2(1,"Add",root.CFrame,vt(25,1,25),-0.1,6,-0.1,keptcolor2) |
| 4791 | - | CamShakeAll({ |
| 4791 | + | CamShakeAll({
|
| 4792 | - | Duration=0.6; -- Lasts for .1 seconds |
| 4792 | + | Duration=0.6; -- Lasts for .1 seconds |
| 4793 | - | Intensity=2; -- Intensity of 5 |
| 4793 | + | Intensity=2; -- Intensity of 5 |
| 4794 | - | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4794 | + | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4795 | - | Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation) |
| 4795 | + | Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation) |
| 4796 | - | DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4796 | + | DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4797 | - | IneffectiveDist=165; -- Camera dist from origin when the shake goes away |
| 4797 | + | IneffectiveDist=165; -- Camera dist from origin when the shake goes away |
| 4798 | - | Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4798 | + | Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4799 | - | }) |
| 4799 | + | }) |
| 4800 | - | for i = 0,9,0.1 do |
| 4800 | + | for i = 0,9,0.1 do |
| 4801 | - | swait() |
| 4801 | + | swait() |
| 4802 | - | rval = rval + 20 |
| 4802 | + | rval = rval + 20 |
| 4803 | - | eval = eval + 1.5 |
| 4803 | + | eval = eval + 1.5 |
| 4804 | - | eval2 = eval2 + 10 |
| 4804 | + | eval2 = eval2 + 10 |
| 4805 | - | slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*eval2/60,0.002,0.01*eval2/60),math.random(5,20)/250,MAINRUINCOLOR) |
| 4805 | + | slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*eval2/60,0.002,0.01*eval2/60),math.random(5,20)/250,MAINRUINCOLOR) |
| 4806 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1) |
| 4806 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1) |
| 4807 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1) |
| 4807 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1) |
| 4808 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) |
| 4808 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) |
| 4809 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
| 4809 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
| 4810 | - | RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1) |
| 4810 | + | RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1) |
| 4811 | - | LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1) |
| 4811 | + | LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1) |
| 4812 | end | |
| 4813 | - | attack = false |
| 4813 | + | attack = false |
| 4814 | - | hum.WalkSpeed = storehumanoidWS |
| 4814 | + | hum.WalkSpeed = storehumanoidWS |
| 4815 | end | |
| 4816 | - | |
| 4816 | + | |
| 4817 | - | |
| 4817 | + | |
| 4818 | - | function CursedSlash() |
| 4818 | + | function CursedSlash() |
| 4819 | - | attack = true |
| 4819 | + | attack = true |
| 4820 | - | hum.WalkSpeed = 2 |
| 4820 | + | hum.WalkSpeed = 2 |
| 4821 | - | local keptcolor = BrickColor.new("Black") |
| 4821 | + | local keptcolor = BrickColor.new("Black")
|
| 4822 | - | local keptcolor2 = SECONDRUINCOLOR |
| 4822 | + | local keptcolor2 = SECONDRUINCOLOR |
| 4823 | - | for i = 0,3,0.1 do |
| 4823 | + | for i = 0,3,0.1 do |
| 4824 | - | swait() |
| 4824 | + | swait() |
| 4825 | - | slash(math.random(80,90),90,true,"Round","Add","In",sword.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-90,90))),vt(0.01*2/60,0.002,0.01*2/60),math.random(5,20)/250,MAINRUINCOLOR) |
| 4825 | + | slash(math.random(80,90),90,true,"Round","Add","In",sword.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-90,90))),vt(0.01*2/60,0.002,0.01*2/60),math.random(5,20)/250,MAINRUINCOLOR) |
| 4826 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1) |
| 4826 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1) |
| 4827 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1) |
| 4827 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1) |
| 4828 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1) |
| 4828 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1) |
| 4829 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0 - 1.5 * math.cos(sine / 32)), math.rad(0 - 0.5 * math.cos(sine / 32)), math.rad(0 - 0.5 * math.cos(sine / 32))), 0.1) |
| 4829 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0 - 1.5 * math.cos(sine / 32)), math.rad(0 - 0.5 * math.cos(sine / 32)), math.rad(0 - 0.5 * math.cos(sine / 32))), 0.1) |
| 4830 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(162 - 2 * math.cos(sine / 32)), math.rad(35), math.rad(-5 + 1.5 * math.cos(sine / 32))), 0.1) |
| 4830 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(162 - 2 * math.cos(sine / 32)), math.rad(35), math.rad(-5 + 1.5 * math.cos(sine / 32))), 0.1) |
| 4831 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(15 - 2 * math.cos(sine / 32)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 32))), 0.1) |
| 4831 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(15 - 2 * math.cos(sine / 32)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 32))), 0.1) |
| 4832 | end | |
| 4833 | - | MagniDamage(sword, 2, 15,30, 0, "Normal") |
| 4833 | + | MagniDamage(sword, 2, 15,30, 0, "Normal") |
| 4834 | - | CamShakeAll({ |
| 4834 | + | CamShakeAll({
|
| 4835 | - | Duration=0.6; -- Lasts for .1 seconds |
| 4835 | + | Duration=0.6; -- Lasts for .1 seconds |
| 4836 | - | Intensity=2; -- Intensity of 5 |
| 4836 | + | Intensity=2; -- Intensity of 5 |
| 4837 | - | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4837 | + | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4838 | - | Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation) |
| 4838 | + | Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation) |
| 4839 | - | DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4839 | + | DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4840 | - | IneffectiveDist=165; -- Camera dist from origin when the shake goes away |
| 4840 | + | IneffectiveDist=165; -- Camera dist from origin when the shake goes away |
| 4841 | - | Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4841 | + | Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4842 | - | }) |
| 4842 | + | }) |
| 4843 | - | for i = 0,9,0.1 do |
| 4843 | + | for i = 0,9,0.1 do |
| 4844 | - | swait() |
| 4844 | + | swait() |
| 4845 | - | slash(math.random(40,70)/10,5,true,"Round","Add","Out",sword.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-90,90))),vt(0.01*2/60,0.002,0.01*2/60),math.random(5,20)/250,MAINRUINCOLOR) |
| 4845 | + | slash(math.random(40,70)/10,5,true,"Round","Add","Out",sword.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-90,90))),vt(0.01*2/60,0.002,0.01*2/60),math.random(5,20)/250,MAINRUINCOLOR) |
| 4846 | - | MagniDamage(sword, 10, 1,5, 0, "Normal") |
| 4846 | + | MagniDamage(sword, 10, 1,5, 0, "Normal") |
| 4847 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1) |
| 4847 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1) |
| 4848 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1) |
| 4848 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1) |
| 4849 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1) |
| 4849 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1) |
| 4850 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
| 4850 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
| 4851 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),-0.2)*angles(math.rad(17),math.rad(-360),math.rad(-15)),.1) |
| 4851 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),-0.2)*angles(math.rad(17),math.rad(-360),math.rad(-15)),.1) |
| 4852 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1) |
| 4852 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1) |
| 4853 | end | |
| 4854 | - | attack = false |
| 4854 | + | attack = false |
| 4855 | - | hum.WalkSpeed = storehumanoidWS |
| 4855 | + | hum.WalkSpeed = storehumanoidWS |
| 4856 | end | |
| 4857 | - | function desstomp() |
| 4857 | + | function desstomp() |
| 4858 | - | attack = true |
| 4858 | + | attack = true |
| 4859 | - | bosschatfunc("To the depths of hell...",MAINRUINCOLOR.Color,4) |
| 4859 | + | bosschatfunc("To the depths of hell...",MAINRUINCOLOR.Color,4)
|
| 4860 | - | for i = 0, 8, 0.1 do |
| 4860 | + | for i = 0, 8, 0.1 do |
| 4861 | - | swait() |
| 4861 | + | swait() |
| 4862 | - | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
| 4862 | + | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
| 4863 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
| 4863 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
| 4864 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
| 4864 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
| 4865 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
| 4865 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
| 4866 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) |
| 4866 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) |
| 4867 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) |
| 4867 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) |
| 4868 | end | |
| 4869 | - | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) |
| 4869 | + | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
|
| 4870 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) |
| 4870 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
|
| 4871 | - | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do |
| 4871 | + | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do |
| 4872 | - | if v:FindFirstChild('Head') then |
| 4872 | + | if v:FindFirstChild('Head') then
|
| 4873 | - | dmg(v) |
| 4873 | + | dmg(v) |
| 4874 | end | |
| 4875 | end | |
| 4876 | - | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR) |
| 4876 | + | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR) |
| 4877 | - | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR) |
| 4877 | + | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR) |
| 4878 | - | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR) |
| 4878 | + | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR) |
| 4879 | - | bosschatfunc("YOU GO!",MAINRUINCOLOR.Color,4) |
| 4879 | + | bosschatfunc("YOU GO!",MAINRUINCOLOR.Color,4)
|
| 4880 | - | CamShakeAll({ |
| 4880 | + | CamShakeAll({
|
| 4881 | - | Duration=0.2; -- Lasts for .1 seconds |
| 4881 | + | Duration=0.2; -- Lasts for .1 seconds |
| 4882 | - | Intensity=4; -- Intensity of 5 |
| 4882 | + | Intensity=4; -- Intensity of 5 |
| 4883 | - | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4883 | + | Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position) |
| 4884 | - | Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation) |
| 4884 | + | Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation) |
| 4885 | - | DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4885 | + | DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker |
| 4886 | - | IneffectiveDist=250; -- Camera dist from origin when the shake goes away |
| 4886 | + | IneffectiveDist=250; -- Camera dist from origin when the shake goes away |
| 4887 | - | Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4887 | + | Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3) |
| 4888 | - | }) |
| 4888 | + | }) |
| 4889 | - | for i = 0, 6, 0.1 do |
| 4889 | + | for i = 0, 6, 0.1 do |
| 4890 | - | swait() |
| 4890 | + | swait() |
| 4891 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) |
| 4891 | + | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) |
| 4892 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) |
| 4892 | + | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) |
| 4893 | - | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
| 4893 | + | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
| 4894 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
| 4894 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
| 4895 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
| 4895 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
| 4896 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0)),.4) |
| 4896 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0)),.4) |
| 4897 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4) |
| 4897 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4) |
| 4898 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4) |
| 4898 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4) |
| 4899 | end | |
| 4900 | - | attack = false |
| 4900 | + | attack = false |
| 4901 | end | |
| 4902 | - | function destaunt() |
| 4902 | + | function destaunt() |
| 4903 | - | attack = true |
| 4903 | + | attack = true |
| 4904 | - | bosschatfunc("Did you expect a different and more recognisable name? My bad.",MAINRUINCOLOR.Color,4) |
| 4904 | + | bosschatfunc("Did you expect a different and more recognisable name? My bad.",MAINRUINCOLOR.Color,4)
|
| 4905 | - | for i = 0,20,0.1 do |
| 4905 | + | for i = 0,20,0.1 do |
| 4906 | - | swait() |
| 4906 | + | swait() |
| 4907 | - | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) |
| 4907 | + | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) |
| 4908 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 4908 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 4909 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1) |
| 4909 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1) |
| 4910 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 5 * math.cos(sine / 10)),math.rad(0),math.rad(34)),.1) |
| 4910 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 5 * math.cos(sine / 10)),math.rad(0),math.rad(34)),.1) |
| 4911 | - | RW.C0=clerp(RW.C0,cf(1.3,0.5 + 0.1 * math.cos(sine / 70),-0.9)*angles(math.rad(120 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(-90 + 1 * math.cos(sine / 0.0001))),.1) |
| 4911 | + | RW.C0=clerp(RW.C0,cf(1.3,0.5 + 0.1 * math.cos(sine / 70),-0.9)*angles(math.rad(120 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(-90 + 1 * math.cos(sine / 0.0001))),.1) |
| 4912 | - | LW.C0=clerp(LW.C0,cf(-1.1,0.6 + 0.1 * math.cos(sine / 28),0.2)*angles(math.rad(220),math.rad(0),math.rad(45 + 1 * math.cos(sine / 50))),.1) |
| 4912 | + | LW.C0=clerp(LW.C0,cf(-1.1,0.6 + 0.1 * math.cos(sine / 28),0.2)*angles(math.rad(220),math.rad(0),math.rad(45 + 1 * math.cos(sine / 50))),.1) |
| 4913 | end | |
| 4914 | - | attack = false |
| 4914 | + | attack = false |
| 4915 | end | |
| 4916 | - | ------------------------------------- |
| 4916 | + | ------------------------------------- |
| 4917 | - | |
| 4917 | + | |
| 4918 | - | if Humanoid:findFirstChild("Animator")~=nil then |
| 4918 | + | if Humanoid:findFirstChild("Animator")~=nil then
|
| 4919 | - | Humanoid:findFirstChild("Animator").Parent=nil |
| 4919 | + | Humanoid:findFirstChild("Animator").Parent=nil
|
| 4920 | end | |
| 4921 | - | |
| 4921 | + | |
| 4922 | - | if Character:findFirstChild("Animate")~=nil then |
| 4922 | + | if Character:findFirstChild("Animate")~=nil then
|
| 4923 | - | Character:findFirstChild("Animate").Parent=nil |
| 4923 | + | Character:findFirstChild("Animate").Parent=nil
|
| 4924 | end | |
| 4925 | - | local TransformCD = false |
| 4925 | + | local TransformCD = false |
| 4926 | - | hum.WalkSpeed = 16 |
| 4926 | + | hum.WalkSpeed = 16 |
| 4927 | - | ------------------------------------- |
| 4927 | + | ------------------------------------- |
| 4928 | - | |
| 4928 | + | |
| 4929 | - | local NewInstance = function(instance,parent,properties) |
| 4929 | + | local NewInstance = function(instance,parent,properties) |
| 4930 | - | local inst = Instance.new(instance,parent) |
| 4930 | + | local inst = Instance.new(instance,parent) |
| 4931 | - | if(properties)then |
| 4931 | + | if(properties)then |
| 4932 | - | for i,v in next, properties do |
| 4932 | + | for i,v in next, properties do |
| 4933 | - | pcall(function() inst[i] = v end) |
| 4933 | + | pcall(function() inst[i] = v end) |
| 4934 | - | end |
| 4934 | + | end |
| 4935 | - | end |
| 4935 | + | end |
| 4936 | - | return inst; |
| 4936 | + | return inst; |
| 4937 | - | end |
| 4937 | + | end |
| 4938 | - | |
| 4938 | + | |
| 4939 | - | local attacktype = 1 |
| 4939 | + | local attacktype = 1 |
| 4940 | - | mouse.Button1Down:connect(function() |
| 4940 | + | mouse.Button1Down:connect(function() |
| 4941 | - | if attack == false and attacktype == 1 then |
| 4941 | + | if attack == false and attacktype == 1 then |
| 4942 | - | attacktype = 2 |
| 4942 | + | attacktype = 2 |
| 4943 | - | attackone() |
| 4943 | + | attackone() |
| 4944 | - | elseif attack == false and attacktype == 2 then |
| 4944 | + | elseif attack == false and attacktype == 2 then |
| 4945 | - | attacktype = 3 |
| 4945 | + | attacktype = 3 |
| 4946 | - | attacktwo() |
| 4946 | + | attacktwo() |
| 4947 | - | elseif attack == false and attacktype == 3 then |
| 4947 | + | elseif attack == false and attacktype == 3 then |
| 4948 | - | attacktype = 1 |
| 4948 | + | attacktype = 1 |
| 4949 | - | attackthree() |
| 4949 | + | attackthree() |
| 4950 | - | elseif attack == false and attacktype == 4 then |
| 4950 | + | elseif attack == false and attacktype == 4 then |
| 4951 | - | attacktype = 1 |
| 4951 | + | attacktype = 1 |
| 4952 | - | --attackfour() |
| 4952 | + | --attackfour() |
| 4953 | - | end |
| 4953 | + | end |
| 4954 | - | end) |
| 4954 | + | end) |
| 4955 | - | |
| 4955 | + | |
| 4956 | - | local modeInformation={ |
| 4956 | + | local modeInformation={
|
| 4957 | - | {Name='COMMOTIAUS',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://2071274388",Volume=1.2,TextColor=BrickColor.new("Bright bluish green").Color,Stroke=Color3.new(0,0.3,1),Font='SciFi',MainColor=BrickColor.new("Bright bluish green"),SecColor=BrickColor.new("Pastel light blue"),WingColor1=BrickColor.new("Bright bluish green"),WingColor2=BrickColor.new("Bright bluish green"),ExWing1={Trans=1,Color=BrickColor.new("Bright bluish green")},ExWing2={Trans=1,Color=BrickColor.new("Bright bluish green")},SecondWing=true,SecondTrail=false,MainTrail=false}; |
| 4957 | + | {Name='COMMOTIAUS',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://2071274388",Volume=1.2,TextColor=BrickColor.new("Bright bluish green").Color,Stroke=Color3.new(0,0.3,1),Font='SciFi',MainColor=BrickColor.new("Bright bluish green"),SecColor=BrickColor.new("Pastel light blue"),WingColor1=BrickColor.new("Bright bluish green"),WingColor2=BrickColor.new("Bright bluish green"),ExWing1={Trans=1,Color=BrickColor.new("Bright bluish green")},ExWing2={Trans=1,Color=BrickColor.new("Bright bluish green")},SecondWing=true,SecondTrail=false,MainTrail=false};
|
| 4958 | - | {Name='DURABITINE',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://692083837",Volume=1.2,TextColor=BrickColor.new("Earth green").Color,Stroke=BrickColor.new("Forest green").Color,Font='Bodoni',MainColor=BrickColor.new("Earth green"),SecColor=BrickColor.new("Forest green"),WingColor1=BrickColor.new("Earth green"),WingColor2=BrickColor.new("Forest green"),ExWing1={Trans=1,Color=BrickColor.new("Earth green")},ExWing2={Trans=1,Color=BrickColor.new("Earth green")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4958 | + | {Name='DURABITINE',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://692083837",Volume=1.2,TextColor=BrickColor.new("Earth green").Color,Stroke=BrickColor.new("Forest green").Color,Font='Bodoni',MainColor=BrickColor.new("Earth green"),SecColor=BrickColor.new("Forest green"),WingColor1=BrickColor.new("Earth green"),WingColor2=BrickColor.new("Forest green"),ExWing1={Trans=1,Color=BrickColor.new("Earth green")},ExWing2={Trans=1,Color=BrickColor.new("Earth green")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4959 | - | {Name='ENCHANTER',ThemePitch=1,Walkspeed=19,Rainbow=false,Chaos=false,Theme="rbxassetid://436447939",Volume=1.2,TextColor=Color3.new(0.1,0.1,0.1),Stroke=BrickColor.new"Royal purple".Color,Font='Antique',MainColor=BrickColor.new("Mulberry"),SecColor=BrickColor.new("Royal purple"),WingColor1=BrickColor.new("Mulberry"),WingColor2=BrickColor.new("Royal purple"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4959 | + | {Name='ENCHANTER',ThemePitch=1,Walkspeed=19,Rainbow=false,Chaos=false,Theme="rbxassetid://436447939",Volume=1.2,TextColor=Color3.new(0.1,0.1,0.1),Stroke=BrickColor.new"Royal purple".Color,Font='Antique',MainColor=BrickColor.new("Mulberry"),SecColor=BrickColor.new("Royal purple"),WingColor1=BrickColor.new("Mulberry"),WingColor2=BrickColor.new("Royal purple"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4960 | - | {Name='LACONISM',ThemePitch=.8,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://2668496921",Volume=1.3,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4960 | + | {Name='LACONISM',ThemePitch=.8,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://2668496921",Volume=1.3,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4961 | - | {Name='METALEMPSYSIS',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1880845619",Volume=1.1,TextColor=Color3.new(0,0,0),Stroke=Color3.new(0.02,0.02,0.02),Font='SciFi',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4961 | + | {Name='METALEMPSYSIS',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1880845619",Volume=1.1,TextColor=Color3.new(0,0,0),Stroke=Color3.new(0.02,0.02,0.02),Font='SciFi',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4962 | - | {Name='AMBUSTUME',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1290419263",Volume=0.9,TextColor=Color3.new(143/255, 76/255, 42/255),Stroke=Color3.new(86/255, 36/255, 36/255),Font='Bodoni',MainColor=BrickColor.new("Rust"),SecColor=BrickColor.new("Cocoa"),WingColor1=BrickColor.new("Rust"),WingColor2=BrickColor.new("Rust"),ExWing1={Trans=1,Color=BrickColor.new("Cocoa")},ExWing2={Trans=1,Color=BrickColor.new("Cocoa")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4962 | + | {Name='AMBUSTUME',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1290419263",Volume=0.9,TextColor=Color3.new(143/255, 76/255, 42/255),Stroke=Color3.new(86/255, 36/255, 36/255),Font='Bodoni',MainColor=BrickColor.new("Rust"),SecColor=BrickColor.new("Cocoa"),WingColor1=BrickColor.new("Rust"),WingColor2=BrickColor.new("Rust"),ExWing1={Trans=1,Color=BrickColor.new("Cocoa")},ExWing2={Trans=1,Color=BrickColor.new("Cocoa")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4963 | - | {Name='CURSED',ThemePitch=0.5,Walkspeed=20,Rainbow=false,Chaos=false,Theme="rbxassetid://343860759",Volume=1.2,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new"Dark stone grey".Color,Font='Bodoni',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=false}; |
| 4963 | + | {Name='CURSED',ThemePitch=0.5,Walkspeed=20,Rainbow=false,Chaos=false,Theme="rbxassetid://343860759",Volume=1.2,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new"Dark stone grey".Color,Font='Bodoni',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=false};
|
| 4964 | - | {Name='ACCESSIONIST',ThemePitch=1,Walkspeed=100,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",Volume=1.2,TextColor=Color3.new(239/255, 184/255, 56/255),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4964 | + | {Name='ACCESSIONIST',ThemePitch=1,Walkspeed=100,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",Volume=1.2,TextColor=Color3.new(239/255, 184/255, 56/255),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4965 | - | {Name='DESCENTED',ThemePitch=0.81,Walkspeed=55,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",Volume=1.2,TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4965 | + | {Name='DESCENTED',ThemePitch=0.81,Walkspeed=55,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",Volume=1.2,TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4966 | - | {Name='DISGUITIVE',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://189701469",Volume=1.2,TextColor=Color3.new(0,0,0.5),Stroke=BrickColor.new"Really blue".Color,Font='Arcade',MainColor=BrickColor.new("Navy blue"),SecColor=BrickColor.new("Navy blue"),WingColor1=BrickColor.new("Navy blue"),WingColor2=BrickColor.new("Really blue"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=false,SecondTrail=false,MainTrail=true}; |
| 4966 | + | {Name='DISGUITIVE',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://189701469",Volume=1.2,TextColor=Color3.new(0,0,0.5),Stroke=BrickColor.new"Really blue".Color,Font='Arcade',MainColor=BrickColor.new("Navy blue"),SecColor=BrickColor.new("Navy blue"),WingColor1=BrickColor.new("Navy blue"),WingColor2=BrickColor.new("Really blue"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=false,SecondTrail=false,MainTrail=true};
|
| 4967 | - | {Name='SHAMBOLIACY',ThemePitch=1,Walkspeed=65,Rainbow=false,Chaos=false,Theme="rbxassetid://668243190",Volume=1.25,TextColor=Color3.new(0.1,0.1,0.1),Stroke=Color3.new(0.35,0,0),Font='SciFi',MainColor=BrickColor.new("Maroon"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Maroon"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4967 | + | {Name='SHAMBOLIACY',ThemePitch=1,Walkspeed=65,Rainbow=false,Chaos=false,Theme="rbxassetid://668243190",Volume=1.25,TextColor=Color3.new(0.1,0.1,0.1),Stroke=Color3.new(0.35,0,0),Font='SciFi',MainColor=BrickColor.new("Maroon"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Maroon"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4968 | - | {Name='STEALTH',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://1119453744",Volume=0.8,TextColor=Color3.new(0.15,0.15,0.15),Stroke=Color3.new(0.3,0.3,0.3),Font='Antique',MainColor=BrickColor.new("Dark stone grey"),SecColor=BrickColor.new("Light blue"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("Light blue"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4968 | + | {Name='STEALTH',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://1119453744",Volume=0.8,TextColor=Color3.new(0.15,0.15,0.15),Stroke=Color3.new(0.3,0.3,0.3),Font='Antique',MainColor=BrickColor.new("Dark stone grey"),SecColor=BrickColor.new("Light blue"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("Light blue"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4969 | - | {Name='RETINENTIA',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://579259104",Volume=0.8,TextColor=Color3.new(.8,.8,.8),Stroke=Color3.new(0.1,0.1,0.1),Font='Bodoni',MainColor=BrickColor.new("Medium stone grey"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=false,SecondTrail=false,MainTrail=true}; |
| 4969 | + | {Name='RETINENTIA',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://579259104",Volume=0.8,TextColor=Color3.new(.8,.8,.8),Stroke=Color3.new(0.1,0.1,0.1),Font='Bodoni',MainColor=BrickColor.new("Medium stone grey"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=false,SecondTrail=false,MainTrail=true};
|
| 4970 | - | {Name='SYMBOLICITY',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://899090278",Volume=1.25,TextColor=Color3.new(1,0,0),Stroke=Color3.new(1,1,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("White"),WingColor1=BrickColor.new("Really red"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4970 | + | {Name='SYMBOLICITY',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://899090278",Volume=1.25,TextColor=Color3.new(1,0,0),Stroke=Color3.new(1,1,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("White"),WingColor1=BrickColor.new("Really red"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4971 | - | {Name='ANTECEDENT',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://657143125",Volume=1.25,TextColor=Color3.new(1,0,.31),Stroke=Color3.new(1,0,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("Hot pink"),WingColor1=Color3.new(1,0,.31),WingColor2=Color3.new(1,0,.31),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4971 | + | {Name='ANTECEDENT',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://657143125",Volume=1.25,TextColor=Color3.new(1,0,.31),Stroke=Color3.new(1,0,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("Hot pink"),WingColor1=Color3.new(1,0,.31),WingColor2=Color3.new(1,0,.31),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4972 | - | {Name='EQUILIBRIUM',ThemePitch=1,Walkspeed=32,Rainbow=false,Chaos=false,Theme="rbxassetid://837090776",Volume=1.25,TextColor=Color3.new(1,1,1),Stroke=Color3.new(0,0,0),Font='Gotham',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Institutional white"),WingColor1=Color3.new(0,0,0),WingColor2=Color3.new(1,1,1),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4972 | + | {Name='EQUILIBRIUM',ThemePitch=1,Walkspeed=32,Rainbow=false,Chaos=false,Theme="rbxassetid://837090776",Volume=1.25,TextColor=Color3.new(1,1,1),Stroke=Color3.new(0,0,0),Font='Gotham',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Institutional white"),WingColor1=Color3.new(0,0,0),WingColor2=Color3.new(1,1,1),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4973 | - | } |
| 4973 | + | } |
| 4974 | - | |
| 4974 | + | |
| 4975 | - | |
| 4975 | + | |
| 4976 | - | --Ench 565863302 |
| 4976 | + | --Ench 565863302 |
| 4977 | - | |
| 4977 | + | |
| 4978 | - | --407122850 2128439818 1134696007 |
| 4978 | + | --407122850 2128439818 1134696007 |
| 4979 | - | --^ die |
| 4979 | + | --^ die |
| 4980 | - | |
| 4980 | + | |
| 4981 | - | --[[local modeInformation2={ v v v for future flying modetypes |
| 4981 | + | --[[local modeInformation2={ v v v for future flying modetypes
|
| 4982 | - | {Name='SILENTIAC',ThemePitch=1,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://209322206",TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4982 | + | {Name='SILENTIAC',ThemePitch=1,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://209322206",TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4983 | - | {Name='ACCESSION',ThemePitch=1,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",TextColor=Color3.new(239, 184, 56),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4983 | + | {Name='ACCESSION',ThemePitch=1,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",TextColor=Color3.new(239, 184, 56),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4984 | - | {Name='DESCENTED',ThemePitch=0.81,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true}; |
| 4984 | + | {Name='DESCENTED',ThemePitch=0.81,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true};
|
| 4985 | - | }]] |
| 4985 | + | }]] |
| 4986 | - | |
| 4986 | + | |
| 4987 | - | RecolorTextAndRename("COMMOTIAUS",MAINRUINCOLOR.Color,Color3.new(0,0.3,1),Enum.Font.SciFi) |
| 4987 | + | RecolorTextAndRename("COMMOTIAUS",MAINRUINCOLOR.Color,Color3.new(0,0.3,1),Enum.Font.SciFi)
|
| 4988 | - | |
| 4988 | + | |
| 4989 | - | mouse.KeyDown:connect(function(k) |
| 4989 | + | mouse.KeyDown:connect(function(k) |
| 4990 | - | if stealth==false and k == "q" and attack == false and TransformCD == false or stealth==false and k == "e" and attack == false and FlyingTypes==false and TransformCD == false then |
| 4990 | + | if stealth==false and k == "q" and attack == false and TransformCD == false or stealth==false and k == "e" and attack == false and FlyingTypes==false and TransformCD == false then |
| 4991 | - | local pmode=ModeOfGlitch |
| 4991 | + | local pmode=ModeOfGlitch |
| 4992 | - | attack = true |
| 4992 | + | attack = true |
| 4993 | - | hum.WalkSpeed = 5 |
| 4993 | + | hum.WalkSpeed = 5 |
| 4994 | - | TransformCD = true |
| 4994 | + | TransformCD = true |
| 4995 | - | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.8) |
| 4995 | + | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.8)
|
| 4996 | - | |
| 4996 | + | |
| 4997 | - | for i = 0,2,0.1 do |
| 4997 | + | for i = 0,2,0.1 do |
| 4998 | - | swait() |
| 4998 | + | swait() |
| 4999 | - | sphereMK(5,-4.5,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,225) |
| 4999 | + | sphereMK(5,-4.5,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,225) |
| 5000 | - | sphereMK(5,-4.5,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,225) |
| 5000 | + | sphereMK(5,-4.5,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,225) |
| 5001 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.1)* angles(math.rad(20),math.rad(0),math.rad(0)),0.3) |
| 5001 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.1)* angles(math.rad(20),math.rad(0),math.rad(0)),0.3) |
| 5002 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(35),math.rad(0),math.rad(0)),.3) |
| 5002 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(35),math.rad(0),math.rad(0)),.3) |
| 5003 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) |
| 5003 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) |
| 5004 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
| 5004 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
| 5005 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.3) |
| 5005 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.3) |
| 5006 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.3) |
| 5006 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.3) |
| 5007 | end | |
| 5008 | - | swait(4) |
| 5008 | + | swait(4) |
| 5009 | - | if k == "e" then |
| 5009 | + | if k == "e" then |
| 5010 | - | ModeOfGlitch = ModeOfGlitch + 1 |
| 5010 | + | ModeOfGlitch = ModeOfGlitch + 1 |
| 5011 | - | elseif k == "q" then |
| 5011 | + | elseif k == "q" then |
| 5012 | - | ModeOfGlitch = ModeOfGlitch - 1 |
| 5012 | + | ModeOfGlitch = ModeOfGlitch - 1 |
| 5013 | end | |
| 5014 | - | if ModeOfGlitch > #modeInformation then |
| 5014 | + | if ModeOfGlitch > #modeInformation then |
| 5015 | - | ModeOfGlitch = 1 |
| 5015 | + | ModeOfGlitch = 1 |
| 5016 | end | |
| 5017 | - | if ModeOfGlitch < 1 then |
| 5017 | + | if ModeOfGlitch < 1 then |
| 5018 | - | ModeOfGlitch = #modeInformation |
| 5018 | + | ModeOfGlitch = #modeInformation |
| 5019 | end | |
| 5020 | - | local info = modeInformation[ModeOfGlitch] |
| 5020 | + | local info = modeInformation[ModeOfGlitch] |
| 5021 | - | if(info and pmode~=ModeOfGlitch)then |
| 5021 | + | if(info and pmode~=ModeOfGlitch)then |
| 5022 | - | storehumanoidWS = info.Walkspeed |
| 5022 | + | storehumanoidWS = info.Walkspeed |
| 5023 | - | hum.WalkSpeed = info.Walkspeed |
| 5023 | + | hum.WalkSpeed = info.Walkspeed |
| 5024 | - | MAINRUINCOLOR = info.MainColor |
| 5024 | + | MAINRUINCOLOR = info.MainColor |
| 5025 | - | SECONDRUINCOLOR = info.SecColor |
| 5025 | + | SECONDRUINCOLOR = info.SecColor |
| 5026 | - | sphere2(3,"Add",tors.CFrame,vt(1,1,1),0.25,0.25,0.25,MAINRUINCOLOR) |
| 5026 | + | sphere2(3,"Add",tors.CFrame,vt(1,1,1),0.25,0.25,0.25,MAINRUINCOLOR) |
| 5027 | - | sphere2(4,"Add",tors.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR) |
| 5027 | + | sphere2(4,"Add",tors.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR) |
| 5028 | - | sphere2(5,"Add",tors.CFrame,vt(1,1,1),0.75,0.75,0.75,MAINRUINCOLOR) |
| 5028 | + | sphere2(5,"Add",tors.CFrame,vt(1,1,1),0.75,0.75,0.75,MAINRUINCOLOR) |
| 5029 | - | for i = 0, 24 do |
| 5029 | + | for i = 0, 24 do |
| 5030 | - | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,MAINRUINCOLOR) |
| 5030 | + | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,MAINRUINCOLOR) |
| 5031 | end | |
| 5032 | - | CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1) |
| 5032 | + | CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
|
| 5033 | - | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1) |
| 5033 | + | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
|
| 5034 | - | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1) |
| 5034 | + | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
|
| 5035 | - | CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9) |
| 5035 | + | CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
|
| 5036 | - | hum.WalkSpeed = storehumanoidWS |
| 5036 | + | hum.WalkSpeed = storehumanoidWS |
| 5037 | - | rainbowmode = info.Rainbow |
| 5037 | + | rainbowmode = info.Rainbow |
| 5038 | - | chaosmode = info.Chaos |
| 5038 | + | chaosmode = info.Chaos |
| 5039 | - | cp = info.Theme:gsub("rbxassetid://","") |
| 5039 | + | cp = info.Theme:gsub("rbxassetid://","")
|
| 5040 | - | newTheme(info.Theme,0,info.ThemePitch,info.Volume) |
| 5040 | + | newTheme(info.Theme,0,info.ThemePitch,info.Volume) |
| 5041 | - | RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font) |
| 5041 | + | RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font) |
| 5042 | - | RecolorThing(info.WingColor1,info.WingColor2,info.WingColor1,info.WingColor1,info.WingColor1,info.ExWing1.Trans,info.ExWing1.Color,info.ExWing2.Trans,info.ExWing1.Color,info.SecondWing,info.SecondTrail,info.MainTrail) |
| 5042 | + | RecolorThing(info.WingColor1,info.WingColor2,info.WingColor1,info.WingColor1,info.WingColor1,info.ExWing1.Trans,info.ExWing1.Color,info.ExWing2.Trans,info.ExWing1.Color,info.SecondWing,info.SecondTrail,info.MainTrail) |
| 5043 | - | if ModeOfGlitch==11 then |
| 5043 | + | if ModeOfGlitch==11 then |
| 5044 | - | for i, v in pairs(mw2:GetDescendants()) do |
| 5044 | + | for i, v in pairs(mw2:GetDescendants()) do |
| 5045 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 5045 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 5046 | - | v.Color = Color3.new(0.35,0,0) |
| 5046 | + | v.Color = Color3.new(0.35,0,0) |
| 5047 | - | v.Material = "Neon" |
| 5047 | + | v.Material = "Neon" |
| 5048 | - | v.Transparency = 0 |
| 5048 | + | v.Transparency = 0 |
| 5049 | - | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then |
| 5049 | + | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
|
| 5050 | - | v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0)) |
| 5050 | + | v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0)) |
| 5051 | - | v.Enabled = true |
| 5051 | + | v.Enabled = true |
| 5052 | end | |
| 5053 | end | |
| 5054 | end | |
| 5055 | - | for i = 0,2.5,0.1 do |
| 5055 | + | for i = 0,2.5,0.1 do |
| 5056 | - | swait() |
| 5056 | + | swait() |
| 5057 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,-0.1)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.3) |
| 5057 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,-0.1)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.3) |
| 5058 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.3) |
| 5058 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.3) |
| 5059 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(35)), 0.3) |
| 5059 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(35)), 0.3) |
| 5060 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-35)), 0.3) |
| 5060 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-35)), 0.3) |
| 5061 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.3) |
| 5061 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.3) |
| 5062 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.3) |
| 5062 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.3) |
| 5063 | end | |
| 5064 | - | attack = false |
| 5064 | + | attack = false |
| 5065 | - | wait(0.3) |
| 5065 | + | wait(0.3) |
| 5066 | - | TransformCD = false |
| 5066 | + | TransformCD = false |
| 5067 | end | |
| 5068 | end | |
| 5069 | - | if k == "i" and mutedtog == false then |
| 5069 | + | if k == "i" and mutedtog == false then |
| 5070 | - | mutedtog = true |
| 5070 | + | mutedtog = true |
| 5071 | - | kan.Volume = 0 |
| 5071 | + | kan.Volume = 0 |
| 5072 | - | elseif k == "i" and mutedtog == true then |
| 5072 | + | elseif k == "i" and mutedtog == true then |
| 5073 | - | mutedtog = false |
| 5073 | + | mutedtog = false |
| 5074 | - | kan.Volume = 1.25 |
| 5074 | + | kan.Volume = 1.25 |
| 5075 | end | |
| 5076 | - | if k == "h" then |
| 5076 | + | if k == "h" then |
| 5077 | - | local ggagag=math.random(1,4) |
| 5077 | + | local ggagag=math.random(1,4) |
| 5078 | - | if ggagag==1 then |
| 5078 | + | if ggagag==1 then |
| 5079 | - | newbosschatfunc("ok.",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200) |
| 5079 | + | newbosschatfunc("ok.",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
|
| 5080 | - | elseif ggagag==2 then |
| 5080 | + | elseif ggagag==2 then |
| 5081 | - | newbosschatfunc("s",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200) |
| 5081 | + | newbosschatfunc("s",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
|
| 5082 | - | elseif ggagag==3 then |
| 5082 | + | elseif ggagag==3 then |
| 5083 | - | newbosschatfunc("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200) |
| 5083 | + | newbosschatfunc("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
|
| 5084 | - | elseif ggagag==4 then |
| 5084 | + | elseif ggagag==4 then |
| 5085 | - | newbosschatfunc("g",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200) |
| 5085 | + | newbosschatfunc("g",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
|
| 5086 | end | |
| 5087 | end | |
| 5088 | - | if k == "z" and attack == false and ModeOfGlitch == 1 then |
| 5088 | + | if k == "z" and attack == false and ModeOfGlitch == 1 then |
| 5089 | - | ExtinctiveHeartbreak() |
| 5089 | + | ExtinctiveHeartbreak() |
| 5090 | - | elseif k == "z" and attack == false and ModeOfGlitch == 12 then |
| 5090 | + | elseif k == "z" and attack == false and ModeOfGlitch == 12 then |
| 5091 | - | StealthWarped() |
| 5091 | + | StealthWarped() |
| 5092 | - | elseif k == "z" and attack == false and ModeOfGlitch == 11 then |
| 5092 | + | elseif k == "z" and attack == false and ModeOfGlitch == 11 then |
| 5093 | - | Ballesta_Shards() |
| 5093 | + | Ballesta_Shards() |
| 5094 | - | elseif k == "z" and attack == false and ModeOfGlitch == 7 then |
| 5094 | + | elseif k == "z" and attack == false and ModeOfGlitch == 7 then |
| 5095 | - | CursedSlash() |
| 5095 | + | CursedSlash() |
| 5096 | - | elseif k == "z" and attack == false and ModeOfGlitch == 9 then |
| 5096 | + | elseif k == "z" and attack == false and ModeOfGlitch == 9 then |
| 5097 | - | QuickSnap() |
| 5097 | + | QuickSnap() |
| 5098 | - | elseif k == "z" and attack == false and ModeOfGlitch == 10 then |
| 5098 | + | elseif k == "z" and attack == false and ModeOfGlitch == 10 then |
| 5099 | - | desstomp() |
| 5099 | + | desstomp() |
| 5100 | - | elseif k == "b" and attack == false and ModeOfGlitch == 10 then |
| 5100 | + | elseif k == "b" and attack == false and ModeOfGlitch == 10 then |
| 5101 | - | destaunt() |
| 5101 | + | destaunt() |
| 5102 | end | |
| 5103 | - | end) |
| 5103 | + | end) |
| 5104 | - | |
| 5104 | + | |
| 5105 | - | plr.Chatted:connect(function(message) |
| 5105 | + | plr.Chatted:connect(function(message) |
| 5106 | - | newbosschatfunc(message,MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200) |
| 5106 | + | newbosschatfunc(message,MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200) |
| 5107 | - | end) |
| 5107 | + | end) |
| 5108 | - | |
| 5108 | + | |
| 5109 | - | local no=0 |
| 5109 | + | local no=0 |
| 5110 | - | local no2=0 |
| 5110 | + | local no2=0 |
| 5111 | - | local spin=0 |
| 5111 | + | local spin=0 |
| 5112 | - | coroutine.resume(coroutine.create(function() |
| 5112 | + | coroutine.resume(coroutine.create(function() |
| 5113 | - | while true do |
| 5113 | + | while true do |
| 5114 | - | swait() |
| 5114 | + | swait() |
| 5115 | - | spin=spin+1 |
| 5115 | + | spin=spin+1 |
| 5116 | - | |
| 5116 | + | |
| 5117 | - | |
| 5117 | + | |
| 5118 | - | if ModeOfGlitch ~= 7 then |
| 5118 | + | if ModeOfGlitch ~= 7 then |
| 5119 | - | for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do |
| 5119 | + | for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do |
| 5120 | - | if v:IsA("Part") then |
| 5120 | + | if v:IsA("Part") then
|
| 5121 | - | v.Transparency = 1 |
| 5121 | + | v.Transparency = 1 |
| 5122 | end | |
| 5123 | end | |
| 5124 | - | elseif ModeOfGlitch == 7 then |
| 5124 | + | elseif ModeOfGlitch == 7 then |
| 5125 | - | for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do |
| 5125 | + | for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do |
| 5126 | - | if v:IsA("Part") then |
| 5126 | + | if v:IsA("Part") then
|
| 5127 | - | v.Transparency = 0 |
| 5127 | + | v.Transparency = 0 |
| 5128 | end | |
| 5129 | end | |
| 5130 | end | |
| 5131 | - | |
| 5131 | + | |
| 5132 | - | |
| 5132 | + | |
| 5133 | - | |
| 5133 | + | |
| 5134 | - | if ModeOfGlitch == 5 and attack==false or ModeOfGlitch==10 and attack==false then |
| 5134 | + | if ModeOfGlitch == 5 and attack==false or ModeOfGlitch==10 and attack==false then |
| 5135 | - | no=no+1 |
| 5135 | + | no=no+1 |
| 5136 | - | if no>3 then |
| 5136 | + | if no>3 then |
| 5137 | - | no=0 |
| 5137 | + | no=0 |
| 5138 | - | local rsiz = math.random(1,3) |
| 5138 | + | local rsiz = math.random(1,3) |
| 5139 | - | sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
| 5139 | + | sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
| 5140 | - | sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0) |
| 5140 | + | sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0) |
| 5141 | end | |
| 5142 | end | |
| 5143 | - | |
| 5143 | + | |
| 5144 | - | |
| 5144 | + | |
| 5145 | - | if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch==12 or ModeOfGlitch==14 then |
| 5145 | + | if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch==12 or ModeOfGlitch==14 then |
| 5146 | - | effar.Enabled = true |
| 5146 | + | effar.Enabled = true |
| 5147 | - | effar.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5147 | + | effar.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5148 | - | rotperm = rotperm + 2 |
| 5148 | + | rotperm = rotperm + 2 |
| 5149 | - | no2=no2+1 |
| 5149 | + | no2=no2+1 |
| 5150 | - | if no2>4 then |
| 5150 | + | if no2>4 then |
| 5151 | - | no2=0 |
| 5151 | + | no2=0 |
| 5152 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5152 | + | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5153 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5153 | + | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5154 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5154 | + | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5155 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5155 | + | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5156 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5156 | + | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5157 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5157 | + | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5158 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5158 | + | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5159 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5159 | + | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5160 | end | |
| 5161 | - | if ModeOfGlitch==10 then |
| 5161 | + | if ModeOfGlitch==10 then |
| 5162 | - | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15+GetClientProperty(kan,'PlaybackLoudness')/850,0.01,0.15+GetClientProperty(kan,'PlaybackLoudness')/850,SECONDRUINCOLOR) |
| 5162 | + | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15+GetClientProperty(kan,'PlaybackLoudness')/850,0.01,0.15+GetClientProperty(kan,'PlaybackLoudness')/850,SECONDRUINCOLOR) |
| 5163 | - | else |
| 5163 | + | else |
| 5164 | - | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15,0.01,0.15,SECONDRUINCOLOR) |
| 5164 | + | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15,0.01,0.15,SECONDRUINCOLOR) |
| 5165 | end | |
| 5166 | - | else |
| 5166 | + | else |
| 5167 | - | effar.Enabled = false |
| 5167 | + | effar.Enabled = false |
| 5168 | end | |
| 5169 | - | |
| 5169 | + | |
| 5170 | - | if ModeOfGlitch == 1 then |
| 5170 | + | if ModeOfGlitch == 1 then |
| 5171 | - | local hitfloor2,posfloor2=rayCast(RootPart.Position,-RootPart.CFrame.upVector,100,Character) |
| 5171 | + | local hitfloor2,posfloor2=rayCast(RootPart.Position,-RootPart.CFrame.upVector,100,Character) |
| 5172 | - | if hitfloor2 then |
| 5172 | + | if hitfloor2 then |
| 5173 | - | sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,-1) |
| 5173 | + | sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,-1) |
| 5174 | - | sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(90+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0) |
| 5174 | + | sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(90+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0) |
| 5175 | - | sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(180+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0) |
| 5175 | + | sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(180+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0) |
| 5176 | - | sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(270+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0) |
| 5176 | + | sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(270+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0) |
| 5177 | end | |
| 5178 | - | elseif ModeOfGlitch == 4 then |
| 5178 | + | elseif ModeOfGlitch == 4 then |
| 5179 | - | block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color) |
| 5179 | + | block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color) |
| 5180 | - | block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color) |
| 5180 | + | block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color) |
| 5181 | - | elseif ModeOfGlitch == 8 or ModeOfGlitch == 10 or ModeOfGlitch==12 or ModeOfGlitch==14 then |
| 5181 | + | elseif ModeOfGlitch == 8 or ModeOfGlitch == 10 or ModeOfGlitch==12 or ModeOfGlitch==14 then |
| 5182 | - | sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,MAINRUINCOLOR,0) |
| 5182 | + | sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,MAINRUINCOLOR,0) |
| 5183 | - | sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,SECONDRUINCOLOR,0) |
| 5183 | + | sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,SECONDRUINCOLOR,0) |
| 5184 | - | elseif ModeOfGlitch == 11 then |
| 5184 | + | elseif ModeOfGlitch == 11 then |
| 5185 | - | if hitfloor ~= nil then |
| 5185 | + | if hitfloor ~= nil then |
| 5186 | - | sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,MAINRUINCOLOR,0) |
| 5186 | + | sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,MAINRUINCOLOR,0) |
| 5187 | - | sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,SECONDRUINCOLOR,0) |
| 5187 | + | sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,SECONDRUINCOLOR,0) |
| 5188 | end | |
| 5189 | - | elseif ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch==5 or ModeOfGlitch==6 then |
| 5189 | + | elseif ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch==5 or ModeOfGlitch==6 then |
| 5190 | - | sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.2,0.2,3,0,MAINRUINCOLOR,0) |
| 5190 | + | sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.2,0.2,3,0,MAINRUINCOLOR,0) |
| 5191 | - | elseif ModeOfGlitch == 13 then |
| 5191 | + | elseif ModeOfGlitch == 13 then |
| 5192 | - | no=no+1 |
| 5192 | + | no=no+1 |
| 5193 | - | if no>4 then |
| 5193 | + | if no>4 then |
| 5194 | - | no=0 |
| 5194 | + | no=0 |
| 5195 | - | sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,MAINRUINCOLOR,0) |
| 5195 | + | sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,MAINRUINCOLOR,0) |
| 5196 | - | sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,SECONDRUINCOLOR,0) |
| 5196 | + | sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,SECONDRUINCOLOR,0) |
| 5197 | end | |
| 5198 | - | elseif ModeOfGlitch==15 and GetClientProperty(kan,'PlaybackLoudness')/850 > .4 then |
| 5198 | + | elseif ModeOfGlitch==15 and GetClientProperty(kan,'PlaybackLoudness')/850 > .4 then |
| 5199 | - | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,0.01,0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,SECONDRUINCOLOR) |
| 5199 | + | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,0.01,0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,SECONDRUINCOLOR) |
| 5200 | - | |
| 5200 | + | |
| 5201 | - | elseif ModeOfGlitch==16 then |
| 5201 | + | elseif ModeOfGlitch==16 then |
| 5202 | - | sphere2(8,"Add",root.CFrame*CFrame.new(-2+4*math.sin(sine / 24)+.5*math.sin(sine/8),1.4+3*math.cos(sine / 28)+2*math.sin(sine / 34),1-3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5202 | + | sphere2(8,"Add",root.CFrame*CFrame.new(-2+4*math.sin(sine / 24)+.5*math.sin(sine/8),1.4+3*math.cos(sine / 28)+2*math.sin(sine / 34),1-3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR) |
| 5203 | - | sphere2(8,"Add",root.CFrame*CFrame.new(2-4*math.sin(sine / 24)-.5*math.sin(sine/8),-1.4-3*math.cos(sine / 28)-2*math.sin(sine / 34),-1+3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5203 | + | sphere2(8,"Add",root.CFrame*CFrame.new(2-4*math.sin(sine / 24)-.5*math.sin(sine/8),-1.4-3*math.cos(sine / 28)-2*math.sin(sine / 34),-1+3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR) |
| 5204 | - | |
| 5204 | + | |
| 5205 | end | |
| 5206 | end | |
| 5207 | - | end)) |
| 5207 | + | end)) |
| 5208 | - | |
| 5208 | + | |
| 5209 | - | |
| 5209 | + | |
| 5210 | - | for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do |
| 5210 | + | for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do |
| 5211 | - | v.Anchored = false |
| 5211 | + | v.Anchored = false |
| 5212 | end | |
| 5213 | - | |
| 5213 | + | |
| 5214 | - | rotperm = 0 |
| 5214 | + | rotperm = 0 |
| 5215 | - | |
| 5215 | + | |
| 5216 | - | |
| 5216 | + | |
| 5217 | - | Humanoid.Name = "ETHEREAL" |
| 5217 | + | Humanoid.Name = "ETHEREAL" |
| 5218 | - | Humanoid.MaxHealth = math.huge |
| 5218 | + | Humanoid.MaxHealth = math.huge |
| 5219 | - | Humanoid.Health = math.huge |
| 5219 | + | Humanoid.Health = math.huge |
| 5220 | - | Instance.new("ForceField",char).Visible = false |
| 5220 | + | Instance.new("ForceField",char).Visible = false
|
| 5221 | - | |
| 5221 | + | |
| 5222 | - | local bguis = Instance.new("BillboardGui",tors) |
| 5222 | + | local bguis = Instance.new("BillboardGui",tors)
|
| 5223 | - | bguis.Size = UDim2.new(25, 0, 25, 0) |
| 5223 | + | bguis.Size = UDim2.new(25, 0, 25, 0) |
| 5224 | - | local imgca = Instance.new("ImageLabel",bguis) |
| 5224 | + | local imgca = Instance.new("ImageLabel",bguis)
|
| 5225 | - | imgca.BackgroundTransparency = 1 |
| 5225 | + | imgca.BackgroundTransparency = 1 |
| 5226 | - | imgca.ImageTransparency = 1 |
| 5226 | + | imgca.ImageTransparency = 1 |
| 5227 | - | imgca.Size = UDim2.new(1,0,1,0) |
| 5227 | + | imgca.Size = UDim2.new(1,0,1,0) |
| 5228 | - | imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904 |
| 5228 | + | imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904 |
| 5229 | - | imgca.ImageColor3 = Color3.new(0,0,0) |
| 5229 | + | imgca.ImageColor3 = Color3.new(0,0,0) |
| 5230 | - | local rvalu = 0 |
| 5230 | + | local rvalu = 0 |
| 5231 | - | |
| 5231 | + | |
| 5232 | - | idleanim=.4 |
| 5232 | + | idleanim=.4 |
| 5233 | - | local hai=0 |
| 5233 | + | local hai=0 |
| 5234 | - | local hai2=1 |
| 5234 | + | local hai2=1 |
| 5235 | - | local khhkh=0 |
| 5235 | + | local khhkh=0 |
| 5236 | - | local asine1=0 |
| 5236 | + | local asine1=0 |
| 5237 | - | local asine2=0 |
| 5237 | + | local asine2=0 |
| 5238 | - | local asine3=0 |
| 5238 | + | local asine3=0 |
| 5239 | - | local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"} |
| 5239 | + | local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"}
|
| 5240 | - | while true do |
| 5240 | + | while true do |
| 5241 | - | ggg() |
| 5241 | + | ggg() |
| 5242 | - | if ModeOfGlitch==5 then |
| 5242 | + | if ModeOfGlitch==5 then |
| 5243 | - | hai=hai+1 |
| 5243 | + | hai=hai+1 |
| 5244 | - | if hai>math.random(2,5) then |
| 5244 | + | if hai>math.random(2,5) then |
| 5245 | - | hai=0 |
| 5245 | + | hai=0 |
| 5246 | - | if hai2==1 then |
| 5246 | + | if hai2==1 then |
| 5247 | - | hai2=2 |
| 5247 | + | hai2=2 |
| 5248 | - | MAINRUINCOLOR = BrickColor.new("Really black") |
| 5248 | + | MAINRUINCOLOR = BrickColor.new("Really black")
|
| 5249 | - | SECONDRUINCOLOR = BrickColor.new("Really black") |
| 5249 | + | SECONDRUINCOLOR = BrickColor.new("Really black")
|
| 5250 | - | else |
| 5250 | + | else |
| 5251 | - | hai2=1 |
| 5251 | + | hai2=1 |
| 5252 | - | MAINRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)]) |
| 5252 | + | MAINRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)]) |
| 5253 | - | SECONDRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)]) |
| 5253 | + | SECONDRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)]) |
| 5254 | end | |
| 5255 | end | |
| 5256 | end | |
| 5257 | - | if khhkh<50 then |
| 5257 | + | if khhkh<50 then |
| 5258 | - | khhkh=khhkh+1 |
| 5258 | + | khhkh=khhkh+1 |
| 5259 | end | |
| 5260 | - | |
| 5260 | + | |
| 5261 | - | if khhkh>12 then |
| 5261 | + | if khhkh>12 then |
| 5262 | - | |
| 5262 | + | |
| 5263 | - | asine1=asine1+change |
| 5263 | + | asine1=asine1+change |
| 5264 | end | |
| 5265 | - | |
| 5265 | + | |
| 5266 | - | if khhkh>24 then |
| 5266 | + | if khhkh>24 then |
| 5267 | - | asine2=asine2+change |
| 5267 | + | asine2=asine2+change |
| 5268 | end | |
| 5269 | - | |
| 5269 | + | |
| 5270 | - | if khhkh>36 then |
| 5270 | + | if khhkh>36 then |
| 5271 | - | asine3=asine3+change |
| 5271 | + | asine3=asine3+change |
| 5272 | end | |
| 5273 | - | if mutedtog == false then |
| 5273 | + | if mutedtog == false then |
| 5274 | - | kan.Volume = currentVol |
| 5274 | + | kan.Volume = currentVol |
| 5275 | - | elseif mutedtog == true then |
| 5275 | + | elseif mutedtog == true then |
| 5276 | - | kan.Volume = 0 |
| 5276 | + | kan.Volume = 0 |
| 5277 | end | |
| 5278 | - | local what = math.random()*0.6 |
| 5278 | + | local what = math.random()*0.6 |
| 5279 | - | if ModeOfGlitch == 5 then |
| 5279 | + | if ModeOfGlitch == 5 then |
| 5280 | - | modet.TextStrokeColor3 = Color3.new(what,0,0) |
| 5280 | + | modet.TextStrokeColor3 = Color3.new(what,0,0) |
| 5281 | - | modet.TextColor3 = Color3.new(math.random(0,255)/255,0,0) |
| 5281 | + | modet.TextColor3 = Color3.new(math.random(0,255)/255,0,0) |
| 5282 | - | for i, v in pairs(mwY:GetChildren()) do |
| 5282 | + | for i, v in pairs(mwY:GetChildren()) do |
| 5283 | - | if v:IsA("Part") then |
| 5283 | + | if v:IsA("Part") then
|
| 5284 | - | v.Color = Color3.new(MRANDOM(0,1),0,0) |
| 5284 | + | v.Color = Color3.new(MRANDOM(0,1),0,0) |
| 5285 | - | v.Material = "Neon" |
| 5285 | + | v.Material = "Neon" |
| 5286 | end | |
| 5287 | end | |
| 5288 | - | for i, v in pairs(mw2:GetDescendants()) do |
| 5288 | + | for i, v in pairs(mw2:GetDescendants()) do |
| 5289 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 5289 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 5290 | - | v.Color = Color3.new(what,0,0) |
| 5290 | + | v.Color = Color3.new(what,0,0) |
| 5291 | - | v.Material = "Neon" |
| 5291 | + | v.Material = "Neon" |
| 5292 | - | v.Transparency = 0 |
| 5292 | + | v.Transparency = 0 |
| 5293 | - | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then |
| 5293 | + | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
|
| 5294 | - | v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0)) |
| 5294 | + | v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0)) |
| 5295 | - | v.Enabled = true |
| 5295 | + | v.Enabled = true |
| 5296 | end | |
| 5297 | end | |
| 5298 | - | for i, v in pairs(mw1:GetDescendants()) do |
| 5298 | + | for i, v in pairs(mw1:GetDescendants()) do |
| 5299 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 5299 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 5300 | - | v.Color = Color3.new(MRANDOM(0,1),0,0) |
| 5300 | + | v.Color = Color3.new(MRANDOM(0,1),0,0) |
| 5301 | - | v.Material = "Neon" |
| 5301 | + | v.Material = "Neon" |
| 5302 | - | v.Transparency = 0 |
| 5302 | + | v.Transparency = 0 |
| 5303 | - | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then |
| 5303 | + | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
|
| 5304 | - | v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0)) |
| 5304 | + | v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0)) |
| 5305 | - | v.Enabled = true |
| 5305 | + | v.Enabled = true |
| 5306 | end | |
| 5307 | end | |
| 5308 | end | |
| 5309 | - | local what = math.random()*0.6 |
| 5309 | + | local what = math.random()*0.6 |
| 5310 | - | if ModeOfGlitch == 4 then |
| 5310 | + | if ModeOfGlitch == 4 then |
| 5311 | - | local gay = math.random() |
| 5311 | + | local gay = math.random() |
| 5312 | - | modet.TextStrokeColor3 = Color3.new(gay,gay,gay) |
| 5312 | + | modet.TextStrokeColor3 = Color3.new(gay,gay,gay) |
| 5313 | - | modet.TextColor3 = Color3.new(gay,gay,gay) |
| 5313 | + | modet.TextColor3 = Color3.new(gay,gay,gay) |
| 5314 | - | for i, v in pairs(mwY:GetChildren()) do |
| 5314 | + | for i, v in pairs(mwY:GetChildren()) do |
| 5315 | - | if v:IsA("Part") then |
| 5315 | + | if v:IsA("Part") then
|
| 5316 | - | v.Color = Color3.new(gay,gay,gay) |
| 5316 | + | v.Color = Color3.new(gay,gay,gay) |
| 5317 | - | v.Material = "Neon" |
| 5317 | + | v.Material = "Neon" |
| 5318 | end | |
| 5319 | end | |
| 5320 | - | for i, v in pairs(mw2:GetDescendants()) do |
| 5320 | + | for i, v in pairs(mw2:GetDescendants()) do |
| 5321 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 5321 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 5322 | - | v.Color = Color3.new(gay,gay,gay) |
| 5322 | + | v.Color = Color3.new(gay,gay,gay) |
| 5323 | - | v.Material = "Neon" |
| 5323 | + | v.Material = "Neon" |
| 5324 | - | v.Transparency = 0 |
| 5324 | + | v.Transparency = 0 |
| 5325 | - | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then |
| 5325 | + | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
|
| 5326 | - | v.Color = ColorSequence.new(Color3.new(gay,gay,gay)) |
| 5326 | + | v.Color = ColorSequence.new(Color3.new(gay,gay,gay)) |
| 5327 | - | v.Enabled = true |
| 5327 | + | v.Enabled = true |
| 5328 | end | |
| 5329 | end | |
| 5330 | - | for i, v in pairs(mw1:GetDescendants()) do |
| 5330 | + | for i, v in pairs(mw1:GetDescendants()) do |
| 5331 | - | if v:IsA("Part") or v:IsA("BasePart") then |
| 5331 | + | if v:IsA("Part") or v:IsA("BasePart") then
|
| 5332 | - | v.Color = Color3.new(gay,gay,gay) |
| 5332 | + | v.Color = Color3.new(gay,gay,gay) |
| 5333 | - | v.Material = "Neon" |
| 5333 | + | v.Material = "Neon" |
| 5334 | - | v.Transparency = 0 |
| 5334 | + | v.Transparency = 0 |
| 5335 | - | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then |
| 5335 | + | elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
|
| 5336 | - | v.Color = ColorSequence.new(Color3.new(gay,gay,gay)) |
| 5336 | + | v.Color = ColorSequence.new(Color3.new(gay,gay,gay)) |
| 5337 | - | v.Enabled = true |
| 5337 | + | v.Enabled = true |
| 5338 | end | |
| 5339 | end | |
| 5340 | end | |
| 5341 | - | kan:ClearAllChildren() |
| 5341 | + | kan:ClearAllChildren() |
| 5342 | - | local succ = pcall(function() |
| 5342 | + | local succ = pcall(function() |
| 5343 | - | kan.PlaybackSpeed = currentPitch |
| 5343 | + | kan.PlaybackSpeed = currentPitch |
| 5344 | - | end) |
| 5344 | + | end) |
| 5345 | - | if(not succ)then |
| 5345 | + | if(not succ)then |
| 5346 | - | local tp = kan.TimePosition |
| 5346 | + | local tp = kan.TimePosition |
| 5347 | - | kan = Instance.new("Sound",Torso) |
| 5347 | + | kan = Instance.new("Sound",Torso)
|
| 5348 | - | kan.PlaybackSpeed = currentPitch |
| 5348 | + | kan.PlaybackSpeed = currentPitch |
| 5349 | - | kan.TimePosition = tp |
| 5349 | + | kan.TimePosition = tp |
| 5350 | - | kan.Name = "wrecked" |
| 5350 | + | kan.Name = "wrecked" |
| 5351 | - | kan.Looped = true |
| 5351 | + | kan.Looped = true |
| 5352 | - | kan:Play() |
| 5352 | + | kan:Play() |
| 5353 | end | |
| 5354 | - | pcall(function() |
| 5354 | + | pcall(function() |
| 5355 | - | kan.Pitch = currentPitch |
| 5355 | + | kan.Pitch = currentPitch |
| 5356 | - | kan.Volume = currentVol |
| 5356 | + | kan.Volume = currentVol |
| 5357 | - | kan.SoundId = currentThemePlaying |
| 5357 | + | kan.SoundId = currentThemePlaying |
| 5358 | - | kan.Looped = true |
| 5358 | + | kan.Looped = true |
| 5359 | - | kan.Parent = Torso |
| 5359 | + | kan.Parent = Torso |
| 5360 | - | kan:Resume() |
| 5360 | + | kan:Resume() |
| 5361 | - | end) |
| 5361 | + | end) |
| 5362 | - | if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 090 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then |
| 5362 | + | if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 090 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then |
| 5363 | - | imgca.ImageTransparency = 1 |
| 5363 | + | imgca.ImageTransparency = 1 |
| 5364 | - | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 101 or ModeOfGlitch == 103 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then |
| 5364 | + | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 101 or ModeOfGlitch == 103 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then |
| 5365 | - | imgca.ImageColor3 = MAINRUINCOLOR.Color |
| 5365 | + | imgca.ImageColor3 = MAINRUINCOLOR.Color |
| 5366 | - | imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) |
| 5366 | + | imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) |
| 5367 | - | elseif ModeOfGlitch == 090 then |
| 5367 | + | elseif ModeOfGlitch == 090 then |
| 5368 | - | imgca.ImageColor3 = Color3.new(r/255,g/255,b/255) |
| 5368 | + | imgca.ImageColor3 = Color3.new(r/255,g/255,b/255) |
| 5369 | - | imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) |
| 5369 | + | imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) |
| 5370 | end | |
| 5371 | - | imgca.Rotation = imgca.Rotation + 5 + GetClientProperty(kan,'PlaybackLoudness')/100 |
| 5371 | + | imgca.Rotation = imgca.Rotation + 5 + GetClientProperty(kan,'PlaybackLoudness')/100 |
| 5372 | - | bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0) |
| 5372 | + | bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0) |
| 5373 | - | modet.Rotation = - 5 * math.cos(sine / 32) |
| 5373 | + | modet.Rotation = - 5 * math.cos(sine / 32) |
| 5374 | - | nedf.Rotation = 0 - 2 * math.cos(sine / 24) |
| 5374 | + | nedf.Rotation = 0 - 2 * math.cos(sine / 24) |
| 5375 | - | --nedf.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45)) |
| 5375 | + | --nedf.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45)) |
| 5376 | - | fullscreenz.BackgroundColor3 = SECONDRUINCOLOR.Color |
| 5376 | + | fullscreenz.BackgroundColor3 = SECONDRUINCOLOR.Color |
| 5377 | - | fullscreenz.BorderColor3 = MAINRUINCOLOR.Color |
| 5377 | + | fullscreenz.BorderColor3 = MAINRUINCOLOR.Color |
| 5378 | - | hh1.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5378 | + | hh1.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5379 | - | hh2.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5379 | + | hh2.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5380 | - | hh3.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5380 | + | hh3.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5381 | - | hh1.Position=UDim2.new(-.1-.02*math.cos(asine3/66), 0, .5, 0) |
| 5381 | + | hh1.Position=UDim2.new(-.1-.02*math.cos(asine3/66), 0, .5, 0) |
| 5382 | - | hh2.Position=UDim2.new(-.14-.02*math.cos(asine2/66), 0, .5, 0) |
| 5382 | + | hh2.Position=UDim2.new(-.14-.02*math.cos(asine2/66), 0, .5, 0) |
| 5383 | - | hh3.Position=UDim2.new(-.16-.02*math.cos(asine1/66), 0, .5, 0) |
| 5383 | + | hh3.Position=UDim2.new(-.16-.02*math.cos(asine1/66), 0, .5, 0) |
| 5384 | - | hh1.Rotation=0+.8*math.sin(asine1/66) |
| 5384 | + | hh1.Rotation=0+.8*math.sin(asine1/66) |
| 5385 | - | hh2.Rotation=0+.8*math.sin(asine2/66) |
| 5385 | + | hh2.Rotation=0+.8*math.sin(asine2/66) |
| 5386 | - | nedf.TextColor3=SECONDRUINCOLOR.Color |
| 5386 | + | nedf.TextColor3=SECONDRUINCOLOR.Color |
| 5387 | - | nedf.TextStrokeColor3=MAINRUINCOLOR.Color |
| 5387 | + | nedf.TextStrokeColor3=MAINRUINCOLOR.Color |
| 5388 | - | fullscreenz.Rotation=0+.8*math.sin(sine/66) |
| 5388 | + | fullscreenz.Rotation=0+.8*math.sin(sine/66) |
| 5389 | - | vis1.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5389 | + | vis1.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5390 | - | vis2.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5390 | + | vis2.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5391 | - | vis3.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5391 | + | vis3.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5392 | - | vis4.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5392 | + | vis4.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5393 | - | vis5.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5393 | + | vis5.BackgroundColor3 = MAINRUINCOLOR.Color |
| 5394 | - | |
| 5394 | + | |
| 5395 | - | vis1.Size = UDim2.new(.1, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/330, 0) |
| 5395 | + | vis1.Size = UDim2.new(.1, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/330, 0) |
| 5396 | - | vis2.Size = UDim2.new(.07, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/410, 0) |
| 5396 | + | vis2.Size = UDim2.new(.07, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/410, 0) |
| 5397 | - | vis3.Size = UDim2.new(.045, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/470, 0) |
| 5397 | + | vis3.Size = UDim2.new(.045, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/470, 0) |
| 5398 | - | vis4.Size = UDim2.new(.03, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/540, 0) |
| 5398 | + | vis4.Size = UDim2.new(.03, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/540, 0) |
| 5399 | - | vis5.Size = UDim2.new(.012, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/590, 0) |
| 5399 | + | vis5.Size = UDim2.new(.012, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/590, 0) |
| 5400 | - | |
| 5400 | + | |
| 5401 | - | CameraManager() |
| 5401 | + | CameraManager() |
| 5402 | - | swait() |
| 5402 | + | swait() |
| 5403 | - | kan:Resume() |
| 5403 | + | kan:Resume() |
| 5404 | - | if ModeOfGlitch == 2 or ModeOfGlitch == 15 or ModeOfGlitch == 16 then |
| 5404 | + | if ModeOfGlitch == 2 or ModeOfGlitch == 15 or ModeOfGlitch == 16 then |
| 5405 | - | rvalu = rvalu + 0.25 + GetClientProperty(kan,'PlaybackLoudness')/90 |
| 5405 | + | rvalu = rvalu + 0.25 + GetClientProperty(kan,'PlaybackLoudness')/90 |
| 5406 | - | else |
| 5406 | + | else |
| 5407 | - | rvalu = rvalu + 0.5 |
| 5407 | + | rvalu = rvalu + 0.5 |
| 5408 | end | |
| 5409 | - | if ModeOfGlitch==2 then |
| 5409 | + | if ModeOfGlitch==2 then |
| 5410 | - | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5410 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5411 | - | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5411 | + | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5412 | - | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 + rvalu)),.3) |
| 5412 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 + rvalu)),.3) |
| 5413 | - | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 + rvalu)),.3) |
| 5413 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 + rvalu)),.3) |
| 5414 | - | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 + rvalu)),.3) |
| 5414 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 + rvalu)),.3) |
| 5415 | - | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 - rvalu)),.3) |
| 5415 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 - rvalu)),.3) |
| 5416 | - | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 - rvalu)),.3) |
| 5416 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 - rvalu)),.3) |
| 5417 | - | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 - rvalu)),.3) |
| 5417 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 - rvalu)),.3) |
| 5418 | - | elseif ModeOfGlitch == 3 or ModeOfGlitch==16 then |
| 5418 | + | elseif ModeOfGlitch == 3 or ModeOfGlitch==16 then |
| 5419 | - | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5419 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5420 | - | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5420 | + | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5421 | - | rwing1weld.C1=clerp(rwing1weld.C1,cf(-5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3) |
| 5421 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(-5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3) |
| 5422 | - | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,-6 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 47))),.3) |
| 5422 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,-6 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 47))),.3) |
| 5423 | - | rwing3weld.C1=clerp(rwing3weld.C1,cf(5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3) |
| 5423 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3) |
| 5424 | - | lwing1weld.C1=clerp(lwing1weld.C1,cf(-3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3) |
| 5424 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(-3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3) |
| 5425 | - | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 10 * math.cos(sine / 47))),.3) |
| 5425 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 10 * math.cos(sine / 47))),.3) |
| 5426 | - | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3) |
| 5426 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3) |
| 5427 | - | elseif ModeOfGlitch==4 then |
| 5427 | + | elseif ModeOfGlitch==4 then |
| 5428 | - | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5428 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5429 | - | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5429 | + | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5430 | - | lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5430 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5431 | - | lwing2weld.C1=clerp(lwing2weld.C1,cf(5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5431 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5432 | - | lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5432 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5433 | - | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5433 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5434 | - | rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5434 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5435 | - | rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5435 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3) |
| 5436 | - | elseif ModeOfGlitch == 5 then |
| 5436 | + | elseif ModeOfGlitch == 5 then |
| 5437 | - | lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3) |
| 5437 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3) |
| 5438 | - | lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3) |
| 5438 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3) |
| 5439 | - | lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3) |
| 5439 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3) |
| 5440 | - | rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3) |
| 5440 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3) |
| 5441 | - | rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3) |
| 5441 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3) |
| 5442 | - | rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3) |
| 5442 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3) |
| 5443 | - | elseif ModeOfGlitch==11 then |
| 5443 | + | elseif ModeOfGlitch==11 then |
| 5444 | - | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5444 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5445 | - | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5445 | + | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5446 | - | lwing1weld.C1=clerp(lwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 - 7.5 * math.cos(sine / 16))),.3) |
| 5446 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 - 7.5 * math.cos(sine / 16))),.3) |
| 5447 | - | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180)),.3) |
| 5447 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180)),.3) |
| 5448 | - | lwing3weld.C1=clerp(lwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3) |
| 5448 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3) |
| 5449 | - | rwing1weld.C1=clerp(rwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 - 7.5 * math.cos(sine / 16))),.3) |
| 5449 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 - 7.5 * math.cos(sine / 16))),.3) |
| 5450 | - | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5450 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5451 | - | rwing3weld.C1=clerp(rwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 7.5 * math.cos(sine / 16))),.3) |
| 5451 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 7.5 * math.cos(sine / 16))),.3) |
| 5452 | - | elseif ModeOfGlitch==12 or ModeOfGlitch==13 then |
| 5452 | + | elseif ModeOfGlitch==12 or ModeOfGlitch==13 then |
| 5453 | - | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5453 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5454 | - | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5454 | + | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5455 | - | lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25-0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 16))),.3) |
| 5455 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25-0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 16))),.3) |
| 5456 | - | lwing2weld.C1=clerp(lwing2weld.C1,cf(5-0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3) |
| 5456 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(5-0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3) |
| 5457 | - | lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75-0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 16))),.3) |
| 5457 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75-0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 16))),.3) |
| 5458 | - | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 16))),.3) |
| 5458 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 16))),.3) |
| 5459 | - | rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 16))),.3) |
| 5459 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 16))),.3) |
| 5460 | - | rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 16))),.3) |
| 5460 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 16))),.3) |
| 5461 | - | elseif ModeOfGlitch==14 then |
| 5461 | + | elseif ModeOfGlitch==14 then |
| 5462 | - | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5462 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5463 | - | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5463 | + | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5464 | - | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 - 3600 * math.cos(sine / 360))),.3) |
| 5464 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 - 3600 * math.cos(sine / 360))),.3) |
| 5465 | - | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 - 3600 * math.cos(sine / 360))),.3) |
| 5465 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 - 3600 * math.cos(sine / 360))),.3) |
| 5466 | - | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 - 3600 * math.cos(sine / 360))),.3) |
| 5466 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 - 3600 * math.cos(sine / 360))),.3) |
| 5467 | - | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 + 3600 * math.cos(sine / 360))),.3) |
| 5467 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 + 3600 * math.cos(sine / 360))),.3) |
| 5468 | - | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 + 3600 * math.cos(sine / 360))),.3) |
| 5468 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 + 3600 * math.cos(sine / 360))),.3) |
| 5469 | - | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 + 3600 * math.cos(sine / 360))),.3) |
| 5469 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 + 3600 * math.cos(sine / 360))),.3) |
| 5470 | - | elseif ModeOfGlitch==15 then |
| 5470 | + | elseif ModeOfGlitch==15 then |
| 5471 | - | for i = 6, 2, -1 do |
| 5471 | + | for i = 6, 2, -1 do |
| 5472 | - | visWings[i]=visWings[i-1] |
| 5472 | + | visWings[i]=visWings[i-1] |
| 5473 | end | |
| 5474 | - | visWings[1]=GetClientProperty(kan,'PlaybackLoudness')/250 |
| 5474 | + | visWings[1]=GetClientProperty(kan,'PlaybackLoudness')/250 |
| 5475 | - | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5475 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5476 | - | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5476 | + | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5477 | - | lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0+visWings[3],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.25 * math.cos(sine / 32))),.3) |
| 5477 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0+visWings[3],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.25 * math.cos(sine / 32))),.3) |
| 5478 | - | lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0+visWings[2],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.875 * math.cos(sine / 32))),.3) |
| 5478 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0+visWings[2],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.875 * math.cos(sine / 32))),.3) |
| 5479 | - | lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0+visWings[1],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 2.5 * math.cos(sine / 32))),.3) |
| 5479 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0+visWings[1],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 2.5 * math.cos(sine / 32))),.3) |
| 5480 | - | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0+visWings[6],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.25 * math.cos(sine / 32))),.3) |
| 5480 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0+visWings[6],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.25 * math.cos(sine / 32))),.3) |
| 5481 | - | rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0+visWings[5],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.875 * math.cos(sine / 32))),.3) |
| 5481 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0+visWings[5],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.875 * math.cos(sine / 32))),.3) |
| 5482 | - | rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0+visWings[4],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 2.5 * math.cos(sine / 32))),.3) |
| 5482 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0+visWings[4],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 2.5 * math.cos(sine / 32))),.3) |
| 5483 | - | |
| 5483 | + | |
| 5484 | - | else |
| 5484 | + | else |
| 5485 | - | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5485 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5486 | - | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5486 | + | handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 5487 | - | lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 32))),.3) |
| 5487 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 32))),.3) |
| 5488 | - | lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3) |
| 5488 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3) |
| 5489 | - | lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 32))),.3) |
| 5489 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 32))),.3) |
| 5490 | - | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 32))),.3) |
| 5490 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 32))),.3) |
| 5491 | - | rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 32))),.3) |
| 5491 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 32))),.3) |
| 5492 | - | rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 32))),.3) |
| 5492 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 32))),.3) |
| 5493 | end | |
| 5494 | - | sine = sine + change |
| 5494 | + | sine = sine + change |
| 5495 | - | SINE=SINE+change |
| 5495 | + | SINE=SINE+change |
| 5496 | - | if(ModeOfGlitch==16)then |
| 5496 | + | if(ModeOfGlitch==16)then |
| 5497 | - | |
| 5497 | + | |
| 5498 | end | |
| 5499 | - | |
| 5499 | + | |
| 5500 | - | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude |
| 5500 | + | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude |
| 5501 | - | local velderp=RootPart.Velocity.y |
| 5501 | + | local velderp=RootPart.Velocity.y |
| 5502 | - | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) |
| 5502 | + | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) |
| 5503 | - | if equipped==true or equipped==false then |
| 5503 | + | if equipped==true or equipped==false then |
| 5504 | - | if attack==false then |
| 5504 | + | if attack==false then |
| 5505 | - | idle=idle+1 |
| 5505 | + | idle=idle+1 |
| 5506 | - | else |
| 5506 | + | else |
| 5507 | - | idle=0 |
| 5507 | + | idle=0 |
| 5508 | end | |
| 5509 | - | if idle>=500 then |
| 5509 | + | if idle>=500 then |
| 5510 | - | if attack==false then |
| 5510 | + | if attack==false then |
| 5511 | - | --Sheath() |
| 5511 | + | --Sheath() |
| 5512 | end | |
| 5513 | end | |
| 5514 | - | if RootPart.Velocity.y > 1 and hitfloor==nil then |
| 5514 | + | if RootPart.Velocity.y > 1 and hitfloor==nil then |
| 5515 | - | Anim="Jump" |
| 5515 | + | Anim="Jump" |
| 5516 | - | if attack==false then |
| 5516 | + | if attack==false then |
| 5517 | - | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) |
| 5517 | + | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) |
| 5518 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) |
| 5518 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) |
| 5519 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) |
| 5519 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) |
| 5520 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) |
| 5520 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) |
| 5521 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1) |
| 5521 | + | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1) |
| 5522 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1) |
| 5522 | + | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1) |
| 5523 | end | |
| 5524 | - | elseif RootPart.Velocity.y < -1 and hitfloor==nil then |
| 5524 | + | elseif RootPart.Velocity.y < -1 and hitfloor==nil then |
| 5525 | - | Anim="Fall" |
| 5525 | + | Anim="Fall" |
| 5526 | - | if attack==false then |
| 5526 | + | if attack==false then |
| 5527 | - | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) |
| 5527 | + | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) |
| 5528 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) |
| 5528 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) |
| 5529 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) |
| 5529 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) |
| 5530 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) |
| 5530 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) |
| 5531 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1) |
| 5531 | + | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1) |
| 5532 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1) |
| 5532 | + | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1) |
| 5533 | end | |
| 5534 | - | elseif torvel<1 and hitfloor~=nil then |
| 5534 | + | elseif torvel<1 and hitfloor~=nil then |
| 5535 | - | Anim="Idle" |
| 5535 | + | Anim="Idle" |
| 5536 | - | if attack==false then |
| 5536 | + | if attack==false then |
| 5537 | - | if ModeOfGlitch == 2 then |
| 5537 | + | if ModeOfGlitch == 2 then |
| 5538 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) |
| 5538 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) |
| 5539 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5539 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5540 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) |
| 5540 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) |
| 5541 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(0),math.rad(0 - 5 * math.sin(sine / 95))),0.1) |
| 5541 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(0),math.rad(0 - 5 * math.sin(sine / 95))),0.1) |
| 5542 | - | RW.C0=clerp(RW.C0,cf(1,0.4,-0.45)*angles(math.rad(82 + 6 * math.cos(sine / 72)),math.rad(3 - 1 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) |
| 5542 | + | RW.C0=clerp(RW.C0,cf(1,0.4,-0.45)*angles(math.rad(82 + 6 * math.cos(sine / 72)),math.rad(3 - 1 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) |
| 5543 | - | LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1) |
| 5543 | + | LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1) |
| 5544 | - | elseif ModeOfGlitch == 3 then |
| 5544 | + | elseif ModeOfGlitch == 3 then |
| 5545 | - | local snap = math.random(1,32) |
| 5545 | + | local snap = math.random(1,32) |
| 5546 | - | if snap == 1 then |
| 5546 | + | if snap == 1 then |
| 5547 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-35,15)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-65,65)),math.rad(0 - 30 * math.cos(sine / 47)+MRANDOM(-65,65))),.4) |
| 5547 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-35,15)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-65,65)),math.rad(0 - 30 * math.cos(sine / 47)+MRANDOM(-65,65))),.4) |
| 5548 | end | |
| 5549 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) |
| 5549 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) |
| 5550 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5550 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5551 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) |
| 5551 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) |
| 5552 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 30 * math.cos(sine / 47))),.1) |
| 5552 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 30 * math.cos(sine / 47))),.1) |
| 5553 | - | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 - 10 * math.cos(sine / 47))),.1) |
| 5553 | + | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 - 10 * math.cos(sine / 47))),.1) |
| 5554 | - | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 10 * math.cos(sine / 47))),.1) |
| 5554 | + | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 10 * math.cos(sine / 47))),.1) |
| 5555 | - | elseif ModeOfGlitch == 4 then |
| 5555 | + | elseif ModeOfGlitch == 4 then |
| 5556 | - | local snap = math.random(1,24) |
| 5556 | + | local snap = math.random(1,24) |
| 5557 | - | if snap == 1 then |
| 5557 | + | if snap == 1 then |
| 5558 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5) |
| 5558 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5) |
| 5559 | end | |
| 5560 | - | local snap = math.random(1,78) |
| 5560 | + | local snap = math.random(1,78) |
| 5561 | - | if snap == 1 then |
| 5561 | + | if snap == 1 then |
| 5562 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5) |
| 5562 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5) |
| 5563 | end | |
| 5564 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3.5+ 1 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1) |
| 5564 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3.5+ 1 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1) |
| 5565 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3.5+ 1 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1) |
| 5565 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3.5+ 1 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1) |
| 5566 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 45),1 + 0.25 * math.cos(sine / 45))*angles(math.rad(0 - 2 * math.cos(sine / 45)+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1) |
| 5566 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 45),1 + 0.25 * math.cos(sine / 45))*angles(math.rad(0 - 2 * math.cos(sine / 45)+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1) |
| 5567 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)+math.random(-5,5)),math.rad(0 + 1 * math.cos(sine / 58)+math.random(-5,5)),math.rad(0 + 2 * math.cos(sine / 53)+math.random(-5,5))),.1) |
| 5567 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)+math.random(-5,5)),math.rad(0 + 1 * math.cos(sine / 58)+math.random(-5,5)),math.rad(0 + 2 * math.cos(sine / 53)+math.random(-5,5))),.1) |
| 5568 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(2 + 5 * math.cos(sine / 74)+math.random(-5,5)),math.rad(1 - 3 * math.cos(sine / 53)+math.random(-5,5)),math.rad(14 + 5 * math.sin(sine / 45)+math.random(-5,5))),.1) |
| 5568 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(2 + 5 * math.cos(sine / 74)+math.random(-5,5)),math.rad(1 - 3 * math.cos(sine / 53)+math.random(-5,5)),math.rad(14 + 5 * math.sin(sine / 45)+math.random(-5,5))),.1) |
| 5569 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5 - 3 * math.cos(sine / 73)+math.random(-5,5)),math.rad(2 - 1 * math.cos(sine / 55)+math.random(-5,5)),math.rad(-14 - 6 * math.sin(sine / 45)+math.random(-5,5))),.1) |
| 5569 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5 - 3 * math.cos(sine / 73)+math.random(-5,5)),math.rad(2 - 1 * math.cos(sine / 55)+math.random(-5,5)),math.rad(-14 - 6 * math.sin(sine / 45)+math.random(-5,5))),.1) |
| 5570 | - | elseif ModeOfGlitch == 5 then |
| 5570 | + | elseif ModeOfGlitch == 5 then |
| 5571 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) |
| 5571 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) |
| 5572 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5572 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5573 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) |
| 5573 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) |
| 5574 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1) |
| 5574 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1) |
| 5575 | - | RW.C0=clerp(RW.C0,cf(1.35,0.4 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(25 + 3 * math.cos(sine / 30)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 30))),.1) |
| 5575 | + | RW.C0=clerp(RW.C0,cf(1.35,0.4 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(25 + 3 * math.cos(sine / 30)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 30))),.1) |
| 5576 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(-25 + 2 * math.cos(sine / 30)),math.rad(0),math.rad(-12 + 5 * math.cos(sine / 30))),.1) |
| 5576 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(-25 + 2 * math.cos(sine / 30)),math.rad(0),math.rad(-12 + 5 * math.cos(sine / 30))),.1) |
| 5577 | - | elseif ModeOfGlitch == 6 then -- soon to change anim |
| 5577 | + | elseif ModeOfGlitch == 6 then -- soon to change anim |
| 5578 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(5.5 - 2 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) |
| 5578 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(5.5 - 2 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) |
| 5579 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(-22 - 2 * math.cos(sine / 56)),math.rad(12 + 2 * math.cos(sine / 32))),.1) |
| 5579 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(-22 - 2 * math.cos(sine / 56)),math.rad(12 + 2 * math.cos(sine / 32))),.1) |
| 5580 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(22 + 2 * math.cos(sine / 56))),.1) |
| 5580 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(22 + 2 * math.cos(sine / 56))),.1) |
| 5581 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(-22 - 2 * math.cos(sine / 56))),.1) |
| 5581 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(-22 - 2 * math.cos(sine / 56))),.1) |
| 5582 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1) |
| 5582 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1) |
| 5583 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1) |
| 5583 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1) |
| 5584 | - | elseif ModeOfGlitch == 7 then -- Cursed by Unfair |
| 5584 | + | elseif ModeOfGlitch == 7 then -- Cursed by Unfair |
| 5585 | - | local rsiz = math.random(1,2) |
| 5585 | + | local rsiz = math.random(1,2) |
| 5586 | - | sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
| 5586 | + | sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
| 5587 | - | sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0) |
| 5587 | + | sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0) |
| 5588 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1) |
| 5588 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1) |
| 5589 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1) |
| 5589 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1) |
| 5590 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1) |
| 5590 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1) |
| 5591 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-5,5)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-5,5)),math.rad(20 + 10 * math.cos(sine / 47)+MRANDOM(-5,5))),.1) |
| 5591 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-5,5)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-5,5)),math.rad(20 + 10 * math.cos(sine / 47)+MRANDOM(-5,5))),.1) |
| 5592 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 3 * math.cos(sine / 43)),math.rad(35 - 2 * math.cos(sine / 52)),math.rad(13 + 0.9 * math.cos(sine / 45))),.1) |
| 5592 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 3 * math.cos(sine / 43)),math.rad(35 - 2 * math.cos(sine / 52)),math.rad(13 + 0.9 * math.cos(sine / 45))),.1) |
| 5593 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(134 - 0.2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(47 - 0.2 * math.cos(sine / 45))),.1) |
| 5593 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(134 - 0.2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(47 - 0.2 * math.cos(sine / 45))),.1) |
| 5594 | - | elseif ModeOfGlitch == 8 then -- Accession by Unfair |
| 5594 | + | elseif ModeOfGlitch == 8 then -- Accession by Unfair |
| 5595 | - | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1) |
| 5595 | + | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1) |
| 5596 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1) |
| 5596 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1) |
| 5597 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) |
| 5597 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) |
| 5598 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 0.3 * math.cos(sine / 47))),.1) |
| 5598 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 0.3 * math.cos(sine / 47))),.1) |
| 5599 | - | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3) |
| 5599 | + | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3) |
| 5600 | - | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3) |
| 5600 | + | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3) |
| 5601 | - | elseif ModeOfGlitch == 9 then -- Descented by Unfair |
| 5601 | + | elseif ModeOfGlitch == 9 then -- Descented by Unfair |
| 5602 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) |
| 5602 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) |
| 5603 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5603 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5604 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) |
| 5604 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) |
| 5605 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
| 5605 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
| 5606 | - | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.05 * math.cos(sine / 45),0.45)*angles(math.rad(-23 + 6 * math.cos(sine / 74)),math.rad(1 - 2 * math.cos(sine / 53)),math.rad(-53 + 3 * math.cos(sine / 45))),.1) |
| 5606 | + | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.05 * math.cos(sine / 45),0.45)*angles(math.rad(-23 + 6 * math.cos(sine / 74)),math.rad(1 - 2 * math.cos(sine / 53)),math.rad(-53 + 3 * math.cos(sine / 45))),.1) |
| 5607 | - | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.05 * math.cos(sine / 45),-0.5)*angles(math.rad(84 - 3 * math.cos(sine / 73)),math.rad(8 - 5 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.1) |
| 5607 | + | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.05 * math.cos(sine / 45),-0.5)*angles(math.rad(84 - 3 * math.cos(sine / 73)),math.rad(8 - 5 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.1) |
| 5608 | - | elseif ModeOfGlitch == 10 then |
| 5608 | + | elseif ModeOfGlitch == 10 then |
| 5609 | - | local snap = math.random(1,100) |
| 5609 | + | local snap = math.random(1,100) |
| 5610 | - | if snap == 1 then |
| 5610 | + | if snap == 1 then |
| 5611 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1) |
| 5611 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1) |
| 5612 | end | |
| 5613 | - | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) |
| 5613 | + | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) |
| 5614 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5614 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5615 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1) |
| 5615 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1) |
| 5616 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(34)),.1) |
| 5616 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(34)),.1) |
| 5617 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 70),0)*angles(math.rad(0 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(10 + 1 * math.cos(sine / 0.0001))),.1) |
| 5617 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 70),0)*angles(math.rad(0 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(10 + 1 * math.cos(sine / 0.0001))),.1) |
| 5618 | - | LW.C0=clerp(LW.C0,cf(-1.1,0.6 + 0.1 * math.cos(sine / 28),0.2)*angles(math.rad(220),math.rad(0),math.rad(45 + 1 * math.cos(sine / 50))),.1) |
| 5618 | + | LW.C0=clerp(LW.C0,cf(-1.1,0.6 + 0.1 * math.cos(sine / 28),0.2)*angles(math.rad(220),math.rad(0),math.rad(45 + 1 * math.cos(sine / 50))),.1) |
| 5619 | - | elseif ModeOfGlitch == 11 then |
| 5619 | + | elseif ModeOfGlitch == 11 then |
| 5620 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) |
| 5620 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) |
| 5621 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5621 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5622 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 4 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) |
| 5622 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 4 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) |
| 5623 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 6 * math.cos(sine / 32)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 5 * math.sin(sine / 32))),.1) |
| 5623 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 6 * math.cos(sine / 32)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 5 * math.sin(sine / 32))),.1) |
| 5624 | - | RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1) |
| 5624 | + | RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1) |
| 5625 | - | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) |
| 5625 | + | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) |
| 5626 | - | elseif ModeOfGlitch == 12 then |
| 5626 | + | elseif ModeOfGlitch == 12 then |
| 5627 | - | RH.C0=clerp(RH.C0,cf(1,-1.3,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(30),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 - 2 * math.cos(sine / 39))),.1) |
| 5627 | + | RH.C0=clerp(RH.C0,cf(1,-1.3,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(30),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 - 2 * math.cos(sine / 39))),.1) |
| 5628 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 6 * math.cos(sine / 31))),.1) |
| 5628 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 6 * math.cos(sine / 31))),.1) |
| 5629 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-66 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) |
| 5629 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-66 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) |
| 5630 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
| 5630 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
| 5631 | - | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1) |
| 5631 | + | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1) |
| 5632 | - | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1) |
| 5632 | + | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1) |
| 5633 | - | elseif ModeOfGlitch == 13 then |
| 5633 | + | elseif ModeOfGlitch == 13 then |
| 5634 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) |
| 5634 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) |
| 5635 | - | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1) |
| 5635 | + | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1) |
| 5636 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
| 5636 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
| 5637 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(20),math.rad(0)),.1) |
| 5637 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(20),math.rad(0)),.1) |
| 5638 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(180),math.rad(45),math.rad(0)),.1) |
| 5638 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(180),math.rad(45),math.rad(0)),.1) |
| 5639 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(10)),.1) |
| 5639 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(10)),.1) |
| 5640 | - | elseif ModeOfGlitch == 14 then |
| 5640 | + | elseif ModeOfGlitch == 14 then |
| 5641 | - | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) |
| 5641 | + | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) |
| 5642 | - | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) |
| 5642 | + | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) |
| 5643 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 32),2 + 0.35 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 18)),math.rad(0),math.rad(0)),.1) |
| 5643 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 32),2 + 0.35 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 18)),math.rad(0),math.rad(0)),.1) |
| 5644 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-15 - 5 * math.cos(sine / 62))),.1) |
| 5644 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-15 - 5 * math.cos(sine / 62))),.1) |
| 5645 | - | RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.1) |
| 5645 | + | RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.1) |
| 5646 | - | LW.C0=clerp(LW.C0,cf(-1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(20)),.1) |
| 5646 | + | LW.C0=clerp(LW.C0,cf(-1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(20)),.1) |
| 5647 | - | |
| 5647 | + | |
| 5648 | - | elseif(ModeOfGlitch == 15)then -- Antecedent |
| 5648 | + | elseif(ModeOfGlitch == 15)then -- Antecedent |
| 5649 | - | local snap = math.random(1,10) |
| 5649 | + | local snap = math.random(1,10) |
| 5650 | - | if snap == 1 then |
| 5650 | + | if snap == 1 then |
| 5651 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(0 + math.random(-5,5))),1) |
| 5651 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(0 + math.random(-5,5))),1) |
| 5652 | end | |
| 5653 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) |
| 5653 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) |
| 5654 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(-10 +10 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5654 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(-10 +10 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5655 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10-10 * math.cos(sine / 56))),.1) |
| 5655 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10-10 * math.cos(sine / 56))),.1) |
| 5656 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(-10 + 10 * math.cos(sine / 56))),.1) |
| 5656 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(-10 + 10 * math.cos(sine / 56))),.1) |
| 5657 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-3 + 9 * math.cos(sine / 45))),.1) |
| 5657 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-3 + 9 * math.cos(sine / 45))),.1) |
| 5658 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0+.1*math.sin(sine/52))*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(-10+10 * math.cos(sine / 52)),math.rad(-12 + 5 * math.cos(sine / 45))),.1) |
| 5658 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0+.1*math.sin(sine/52))*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(-10+10 * math.cos(sine / 52)),math.rad(-12 + 5 * math.cos(sine / 45))),.1) |
| 5659 | - | elseif(ModeOfGlitch == 16)then -- Balanced |
| 5659 | + | elseif(ModeOfGlitch == 16)then -- Balanced |
| 5660 | - | --Balanced Anim by Derpz |
| 5660 | + | --Balanced Anim by Derpz |
| 5661 | - | -- ^ thanks Derpz |
| 5661 | + | -- ^ thanks Derpz |
| 5662 | - | local color = math.random(0,1) |
| 5662 | + | local color = math.random(0,1) |
| 5663 | - | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new(Color3.new(color,color,color)),Color3.new(color,color,color)) |
| 5663 | + | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new(Color3.new(color,color,color)),Color3.new(color,color,color)) |
| 5664 | - | |
| 5664 | + | |
| 5665 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1) |
| 5665 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1) |
| 5666 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1) |
| 5666 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1) |
| 5667 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 30))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
| 5667 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 30))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
| 5668 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1) |
| 5668 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1) |
| 5669 | - | RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 50),0.3)*angles(math.rad(-50),math.rad(0),math.rad(-50 - 5 * math.cos(sine / 50))),.1) |
| 5669 | + | RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 50),0.3)*angles(math.rad(-50),math.rad(0),math.rad(-50 - 5 * math.cos(sine / 50))),.1) |
| 5670 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 50),0)*angles(math.rad(180),math.rad(0),math.rad(-20 + 5 * math.cos(sine / 50))),.1) |
| 5670 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 50),0)*angles(math.rad(180),math.rad(0),math.rad(-20 + 5 * math.cos(sine / 50))),.1) |
| 5671 | - | |
| 5671 | + | |
| 5672 | - | else |
| 5672 | + | else |
| 5673 | - | local snap = math.random(1,10) |
| 5673 | + | local snap = math.random(1,10) |
| 5674 | - | if snap == 1 then |
| 5674 | + | if snap == 1 then |
| 5675 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1) |
| 5675 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1) |
| 5676 | end | |
| 5677 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) |
| 5677 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) |
| 5678 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5678 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) |
| 5679 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) |
| 5679 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) |
| 5680 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1) |
| 5680 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1) |
| 5681 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1) |
| 5681 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1) |
| 5682 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1) |
| 5682 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1) |
| 5683 | end | |
| 5684 | end | |
| 5685 | - | elseif torvel>2 and Humanoid.WalkSpeed<32 and hitfloor~=nil then |
| 5685 | + | elseif torvel>2 and Humanoid.WalkSpeed<32 and hitfloor~=nil then |
| 5686 | - | Anim="Walk" |
| 5686 | + | Anim="Walk" |
| 5687 | - | if attack==false then |
| 5687 | + | if attack==false then |
| 5688 | - | if ModeOfGlitch == 3 then |
| 5688 | + | if ModeOfGlitch == 3 then |
| 5689 | - | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5689 | + | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5690 | - | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5690 | + | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5691 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) |
| 5691 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) |
| 5692 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8) - 30 * math.cos(sine / 47))),.1) |
| 5692 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8) - 30 * math.cos(sine / 47))),.1) |
| 5693 | - | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 - 10 * math.cos(sine / 47))),.1) |
| 5693 | + | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 - 10 * math.cos(sine / 47))),.1) |
| 5694 | - | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 10 * math.cos(sine / 47))),.1) |
| 5694 | + | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 10 * math.cos(sine / 47))),.1) |
| 5695 | - | elseif ModeOfGlitch == 4 then |
| 5695 | + | elseif ModeOfGlitch == 4 then |
| 5696 | - | local snap = math.random(1,24) |
| 5696 | + | local snap = math.random(1,24) |
| 5697 | - | if snap == 1 then |
| 5697 | + | if snap == 1 then |
| 5698 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5) |
| 5698 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5) |
| 5699 | end | |
| 5700 | - | local snap = math.random(1,48) |
| 5700 | + | local snap = math.random(1,48) |
| 5701 | - | if snap == 1 then |
| 5701 | + | if snap == 1 then |
| 5702 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5) |
| 5702 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5) |
| 5703 | end | |
| 5704 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
| 5704 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
| 5705 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
| 5705 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
| 5706 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1+ 0.1 * math.cos(sine / 29))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) |
| 5706 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1+ 0.1 * math.cos(sine / 29))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) |
| 5707 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35),math.rad(10),math.rad(0)),0.5) |
| 5707 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35),math.rad(10),math.rad(0)),0.5) |
| 5708 | - | RW.C0=clerp(RW.C0,cf(1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1) |
| 5708 | + | RW.C0=clerp(RW.C0,cf(1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1) |
| 5709 | - | LW.C0=clerp(LW.C0,cf(-1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1) |
| 5709 | + | LW.C0=clerp(LW.C0,cf(-1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1) |
| 5710 | - | elseif ModeOfGlitch == 7 then |
| 5710 | + | elseif ModeOfGlitch == 7 then |
| 5711 | - | local rsiz = math.random(1,2) |
| 5711 | + | local rsiz = math.random(1,2) |
| 5712 | - | sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
| 5712 | + | sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
| 5713 | - | sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0) |
| 5713 | + | sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0) |
| 5714 | - | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5714 | + | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5715 | - | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5715 | + | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5716 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) |
| 5716 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) |
| 5717 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 3 * math.cos(sine / 4)+MRANDOM(-5,5)),math.rad(0 + root.RotVelocity.Y/1.5+MRANDOM(-5,5)),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8)+MRANDOM(-5,5))),.1) |
| 5717 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 3 * math.cos(sine / 4)+MRANDOM(-5,5)),math.rad(0 + root.RotVelocity.Y/1.5+MRANDOM(-5,5)),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8)+MRANDOM(-5,5))),.1) |
| 5718 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.025 * math.cos(sine / 8))*angles(math.rad(-25 - 5 * math.cos(sine / 4)),math.rad(0),math.rad(25 - 0.015 * math.cos(sine / 4))),.1) |
| 5718 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.025 * math.cos(sine / 8))*angles(math.rad(-25 - 5 * math.cos(sine / 4)),math.rad(0),math.rad(25 - 0.015 * math.cos(sine / 4))),.1) |
| 5719 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 15 * math.cos(sine / 4))),.1) |
| 5719 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 15 * math.cos(sine / 4))),.1) |
| 5720 | - | elseif ModeOfGlitch==12 then |
| 5720 | + | elseif ModeOfGlitch==12 then |
| 5721 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1) |
| 5721 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1) |
| 5722 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1) |
| 5722 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1) |
| 5723 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.45 * math.cos(sine / 49),0,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05) |
| 5723 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.45 * math.cos(sine / 49),0,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05) |
| 5724 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1) |
| 5724 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1) |
| 5725 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1) |
| 5725 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1) |
| 5726 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1) |
| 5726 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1) |
| 5727 | - | else |
| 5727 | + | else |
| 5728 | - | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5728 | + | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5729 | - | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5729 | + | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) |
| 5730 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) |
| 5730 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) |
| 5731 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1) |
| 5731 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1) |
| 5732 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 15 * math.cos(sine / 4))),.1) |
| 5732 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 15 * math.cos(sine / 4))),.1) |
| 5733 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 15 * math.cos(sine / 4))),.1) |
| 5733 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 15 * math.cos(sine / 4))),.1) |
| 5734 | end | |
| 5735 | end | |
| 5736 | - | elseif torvel>=4 and Humanoid.WalkSpeed>=32 and hitfloor~=nil then |
| 5736 | + | elseif torvel>=4 and Humanoid.WalkSpeed>=32 and hitfloor~=nil then |
| 5737 | - | Anim="Run" |
| 5737 | + | Anim="Run" |
| 5738 | - | if attack==false then |
| 5738 | + | if attack==false then |
| 5739 | - | if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch == 14 or ModeOfGlitch==12 then |
| 5739 | + | if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch == 14 or ModeOfGlitch==12 then |
| 5740 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1) |
| 5740 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1) |
| 5741 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1) |
| 5741 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1) |
| 5742 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 29),0 + 0.125 * math.cos(sine / 34),1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05) |
| 5742 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 29),0 + 0.125 * math.cos(sine / 34),1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05) |
| 5743 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1) |
| 5743 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1) |
| 5744 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1) |
| 5744 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1) |
| 5745 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1) |
| 5745 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1) |
| 5746 | - | else |
| 5746 | + | else |
| 5747 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) |
| 5747 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) |
| 5748 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) |
| 5748 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) |
| 5749 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1) |
| 5749 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1) |
| 5750 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1) |
| 5750 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1) |
| 5751 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1) |
| 5751 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1) |
| 5752 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1) |
| 5752 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1) |
| 5753 | - | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0) |
| 5753 | + | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0) |
| 5754 | - | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0) |
| 5754 | + | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0) |
| 5755 | end | |
| 5756 | end | |
| 5757 | end | |
| 5758 | end | |
| 5759 | end |