SHOW:
|
|
- or go back to the newest paste.
| 1 | - | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
|
| 1 | + | warn([[Star Glitcher Loaded. |
| 2 | - | print("FE Compatibility: by WaverlyCole & Mokiros")
|
| 2 | + | All purpose switcher... -- wat |
| 3 | - | InternalData = {}
|
| 3 | + | |
| 4 | - | do |
| 4 | + | It's not over yet. |
| 5 | - | script.Parent = owner.Character |
| 5 | + | The faith is among us. |
| 6 | - | local Event = Instance.new("RemoteEvent")
|
| 6 | + | And yet you still haven't defeated me. |
| 7 | - | Event.Name = "UserInput" |
| 7 | + | Now is my chance to destroy you. |
| 8 | - | local function NewFakeEvent() |
| 8 | + | Then you're out of the world. |
| 9 | - | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
|
| 9 | + | With the elemental being struggling to gain power. |
| 10 | - | return Fake |
| 10 | + | This is the result. |
| 11 | Very unstable and powerful. | |
| 12 | - | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
|
| 12 | + | A insanely chaotic being. |
| 13 | - | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
|
| 13 | + | Who haven't ever known that one could hold this power. |
| 14 | - | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
|
| 14 | + | It's the one that has been created by an unknown being. |
| 15 | - | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
|
| 15 | + | You'll know this name already. |
| 16 | - | end};ContextActionService.UnBindAction = ContextActionService.BindAction |
| 16 | + | Till now. |
| 17 | - | local function TriggerEvent(self,Event,...) |
| 17 | + | The power is inside your body. |
| 18 | - | local Trigger = Mouse[Event] |
| 18 | + | You will decide things with this. |
| 19 | - | if Trigger and Trigger.fakeEvent and Trigger.Function then |
| 19 | + | And the future changes within the power. |
| 20 | - | Trigger.Function(...) |
| 20 | + | For now, you'll decide your own. |
| 21 | You're one of them who holds this power. | |
| 22 | And so on, you would get chaotic to everyone else. | |
| 23 | - | Mouse.TrigEvent = TriggerEvent |
| 23 | + | You seem to dont trust everyone else, but one. |
| 24 | - | UserInputService.TrigEvent = TriggerEvent |
| 24 | + | That one... you can't know. |
| 25 | - | Event.OnServerEvent:Connect(function(FiredBy,Input) |
| 25 | + | It's only your decision. |
| 26 | - | if FiredBy.Name ~= owner.Name then end |
| 26 | + | At yourself. |
| 27 | - | if Input.MouseEvent then |
| 27 | + | No mercy, or spare. |
| 28 | - | Mouse.Target = Input.Target |
| 28 | + | |
| 29 | - | Mouse.Hit = Input.Hit |
| 29 | + | |
| 30 | Created by NoobyGames12 ye... soryy i remake it: 1x1x1x1IAMbck | |
| 31 | - | local Begin = Input.UserInputState == Enum.UserInputState.Begin |
| 31 | + | ]]) |
| 32 | - | if Input.UserInputType == Enum.UserInputType.MouseButton1 then |
| 32 | + | print([[Icons: |
| 33 | - | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") |
| 33 | + | ! = New |
| 34 | ? = Spoilers | |
| 35 | - | for _,Action in pairs(ContextActionService.Actions) do |
| 35 | + | * = Exclusivity |
| 36 | - | for _,Key in pairs(Action.Keys) do |
| 36 | + | ]]) |
| 37 | - | if Key==Input.KeyCode then |
| 37 | + | warn([[V 3.3 (ON PROGRESS) Update Log: |
| 38 | - | Action.Function(Action.Name,Input.UserInputState,Input) |
| 38 | + | ! - Calamity's "Z" has changed |
| 39 | - | end |
| 39 | + | ! - Starfall EX added. |
| 40 | ! - Mayhem has DESTRUCTION mode, which is new. | |
| 41 | * - Destruction will be an ultimate exclusivity. | |
| 42 | - | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) |
| 42 | + | ! - Corruption now has teleportation move "X" |
| 43 | - | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) |
| 43 | + | ? - Divinity has a move named Judgement, which is made by danny19990. |
| 44 | ! - Exclusive secrets :v | |
| 45 | ! - Chaos theme has been changed | |
| 46 | - | InternalData["Mouse"] = Mouse |
| 46 | + | ! - Purity's theme has been extended |
| 47 | - | InternalData["ContextActionService"] = ContextActionService |
| 47 | + | ? - Corruption's "Z" will have animation sooner |
| 48 | - | InternalData["UserInputService"] = UserInputService |
| 48 | + | ! - Calamity's "X" is added, named Starfall |
| 49 | - | Event.Parent = NLS([[ |
| 49 | + | * - Mayhem now has MAJOR exclusivity, so far its still wip and yet to be done. |
| 50 | - | local Player = owner |
| 50 | + | * - Catastrophe's "Z" coming soon, same as Calamity's "Z" but more powerful.]]) |
| 51 | - | local Event = script:WaitForChild("UserInput")
|
| 51 | + | --- its obs smooth af do not touch |
| 52 | - | local UserInputService = game:GetService("UserInputService")
|
| 52 | + | ---- Sources and functions might be taken from others |
| 53 | - | local Mouse = Player:GetMouse() |
| 53 | + | plr = game:GetService("Players").LocalPlayer
|
| 54 | - | local Input = function(Input,gameProcessedEvent) |
| 54 | + | |
| 55 | - | if gameProcessedEvent then return end |
| 55 | + | |
| 56 | - | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
|
| 56 | + | |
| 57 | local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
| |
| 58 | - | UserInputService.InputBegan:Connect(Input) |
| 58 | + | |
| 59 | - | UserInputService.InputEnded:Connect(Input) |
| 59 | + | |
| 60 | - | local Hit,Target |
| 60 | + | |
| 61 | - | while wait(1/30) do |
| 61 | + | |
| 62 | - | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then |
| 62 | + | |
| 63 | - | Hit,Target = Mouse.Hit,Mouse.Target |
| 63 | + | |
| 64 | - | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
|
| 64 | + | |
| 65 | ra = char["Right Arm"] | |
| 66 | la = char["Left Arm"] | |
| 67 | - | ]],owner.Character) |
| 67 | + | |
| 68 | ll = char["Left Leg"] | |
| 69 | - | RealGame = game;game = setmetatable({},{
|
| 69 | + | |
| 70 | - | __index = function (self,Index) |
| 70 | + | |
| 71 | - | local Sandbox = function (Thing) |
| 71 | + | |
| 72 | - | if Thing:IsA("Player") then
|
| 72 | + | |
| 73 | - | local RealPlayer = Thing |
| 73 | + | |
| 74 | - | return setmetatable({},{
|
| 74 | + | |
| 75 | - | __index = function (self,Index) |
| 75 | + | |
| 76 | - | local Type = type(RealPlayer[Index]) |
| 76 | + | |
| 77 | - | if Type == "function" then |
| 77 | + | |
| 78 | - | if Index:lower() == "getmouse" or Index:lower() == "mouse" then |
| 78 | + | |
| 79 | - | return function (self) |
| 79 | + | |
| 80 | - | return InternalData["Mouse"] |
| 80 | + | |
| 81 | Euler = CFrame.fromEulerAnglesXYZ | |
| 82 | vt = Vector3.new | |
| 83 | - | return function (self,...) |
| 83 | + | |
| 84 | - | return RealPlayer[Index](RealPlayer,...) |
| 84 | + | |
| 85 | it = Instance.new | |
| 86 | - | else |
| 86 | + | |
| 87 | - | if Index == "PlrObj" then |
| 87 | + | local eff = true |
| 88 | - | return RealPlayer |
| 88 | + | local shielding = false |
| 89 | ||
| 90 | - | return RealPlayer[Index] |
| 90 | + | local Booleans = {
|
| 91 | - | end |
| 91 | + | CamFollow = true, |
| 92 | - | end; |
| 92 | + | GyroUse = true |
| 93 | - | __tostring = function(self) |
| 93 | + | |
| 94 | - | return RealPlayer.Name |
| 94 | + | |
| 95 | - | end |
| 95 | + | |
| 96 | - | }) |
| 96 | + | return object:lerp(newCFrame, alpha) |
| 97 | end | |
| 98 | ||
| 99 | - | if RealGame[Index] then |
| 99 | + | |
| 100 | - | local Type = type(RealGame[Index]) |
| 100 | + | |
| 101 | - | if Type == "function" then |
| 101 | + | |
| 102 | - | if Index:lower() == "getservice" or Index:lower() == "service" then |
| 102 | + | |
| 103 | - | return function (self,Service) |
| 103 | + | |
| 104 | - | if Service:lower() == "players" then |
| 104 | + | |
| 105 | - | return setmetatable({},{
|
| 105 | + | |
| 106 | - | __index = function (self2,Index2) |
| 106 | + | |
| 107 | - | local RealService = RealGame:GetService(Service) |
| 107 | + | |
| 108 | - | local Type2 = type(Index2) |
| 108 | + | |
| 109 | - | if Type2 == "function" then |
| 109 | + | |
| 110 | - | return function (self,...) |
| 110 | + | |
| 111 | - | return RealService[Index2](RealService,...) |
| 111 | + | kan = Instance.new("Sound",char)
|
| 112 | kan.Volume = 1.25 | |
| 113 | - | else |
| 113 | + | |
| 114 | - | if Index2:lower() == "localplayer" then |
| 114 | + | |
| 115 | - | return Sandbox(owner) |
| 115 | + | |
| 116 | kan.SoundId = "rbxassetid://180324932" | |
| 117 | - | return RealService[Index2] |
| 117 | + | |
| 118 | kan.Looped = true | |
| 119 | - | end; |
| 119 | + | |
| 120 | - | __tostring = function(self) |
| 120 | + | |
| 121 | - | return RealGame:GetService(Service).Name |
| 121 | + | function newTheme(ID,timepos,pitch,vol) |
| 122 | local kanz = kan | |
| 123 | - | }) |
| 123 | + | --kanz:Stop() |
| 124 | - | elseif Service:lower() == "contextactionservice" then |
| 124 | + | --kanz.Volume = vol |
| 125 | - | return InternalData["ContextActionService"] |
| 125 | + | --kanz.TimePosition = timepos |
| 126 | - | elseif Service:lower() == "contextactionservice" then |
| 126 | + | kanz.PlaybackSpeed = pitch |
| 127 | - | return InternalData["UserInputService"] |
| 127 | + | kanz.Pitch = pitch |
| 128 | - | elseif Service:lower() == "runservice" then |
| 128 | + | kanz.SoundId = ID |
| 129 | - | return setmetatable({},{
|
| 129 | + | kanz.Name = "wrecked" |
| 130 | - | __index = function(self2,Index2) |
| 130 | + | kanz.Looped = true |
| 131 | - | local RealService = RealGame:GetService(Service) |
| 131 | + | kanz.Volume = 0.3 |
| 132 | - | local Type2 = type(Index2) |
| 132 | + | --kanz:Play() |
| 133 | - | if Type2 == "function" then |
| 133 | + | --coroutine.resume(coroutine.create(function() |
| 134 | - | return function (self,...) |
| 134 | + | --wait(0.05) |
| 135 | - | return RealService[Index2](RealService,...) |
| 135 | + | --end)) |
| 136 | end | |
| 137 | - | else |
| 137 | + | |
| 138 | - | if Index2:lower() == "bindtorenderstep" then |
| 138 | + | function newThemeCust(ID,timepos,pitch,vol) |
| 139 | - | return function (self,Name,Priority,Function) |
| 139 | + | local kanz = kan |
| 140 | - | return RealGame:GetService("RunService").Stepped:Connect(Function)
|
| 140 | + | kanz:Stop() |
| 141 | - | end |
| 141 | + | kanz.Volume = vol |
| 142 | kanz.TimePosition = timepos | |
| 143 | - | if Index2:lower() == "renderstepped" then |
| 143 | + | kanz.PlaybackSpeed = pitch |
| 144 | - | return RealService["Stepped"] |
| 144 | + | kanz.Pitch = pitch |
| 145 | kanz.SoundId = ID | |
| 146 | - | return RealService[Index2] |
| 146 | + | kanz.Name = "wrecked" |
| 147 | kanz.Looped = true | |
| 148 | kanz:Play() | |
| 149 | - | }) |
| 149 | + | |
| 150 | - | else |
| 150 | + | wait(0.05) |
| 151 | - | return RealGame:GetService(Service) |
| 151 | + | |
| 152 | - | end |
| 152 | + | |
| 153 | - | end |
| 153 | + | |
| 154 | ||
| 155 | - | return function (self,...) |
| 155 | + | |
| 156 | - | return RealGame[Index](RealGame,...) |
| 156 | + | |
| 157 | coroutine.resume(coroutine.create(function() | |
| 158 | FV = Instance.new("BoolValue", PlayerTarget)
| |
| 159 | - | if game:GetService(Index) then |
| 159 | + | FV.Name = "CameraShake" |
| 160 | - | return game:GetService(Index) |
| 160 | + | for ShakeNum=1,Times do |
| 161 | swait() | |
| 162 | - | return RealGame[Index] |
| 162 | + | local ef=Power |
| 163 | if ef>=1 then | |
| 164 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 165 | - | return nil |
| 165 | + | else |
| 166 | ef=Power*10 | |
| 167 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 168 | - | });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
|
| 168 | + | end |
| 169 | - | print("Complete! Running...")
|
| 169 | + | |
| 170 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 171 | FV:Destroy() | |
| 172 | - | --//Paste script below this line. |
| 172 | + | |
| 173 | end | |
| 174 | - | warn("Star Glitcher Loaded.")
|
| 174 | + | |
| 175 | - | warn("All purpose switcher...")
|
| 175 | + | function CameraEnshaking(Length,Intensity) |
| 176 | - | warn("Edit By Frepix.")
|
| 176 | + | |
| 177 | - | warn("Minor Edit By UndeniableInfinity.")
|
| 177 | + | local intensity = 1*Intensity |
| 178 | - | warn("Please Support The Original Creator Of This Script.")
|
| 178 | + | local rotM = 0.01*Intensity |
| 179 | - | plr = game.Players.LocalPlayer |
| 179 | + | for i = 0, Length, 0.1 do |
| 180 | swait() | |
| 181 | intensity = intensity - 0.05*Intensity/Length | |
| 182 | rotM = rotM - 0.0005*Intensity/Length | |
| 183 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 184 | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) | |
| 185 | end | |
| 186 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 187 | end)) | |
| 188 | end | |
| 189 | CamShake=function(Part,Distan,Power,Times) | |
| 190 | local de=Part.Position | |
| 191 | for i,v in pairs(workspace:children()) do | |
| 192 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 193 | for _,c in pairs(v:children()) do | |
| 194 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
| 195 | local Noob=v.Humanoid | |
| 196 | if Noob~=nil then | |
| 197 | coroutine.resume(coroutine.create(function() | |
| 198 | FV = Instance.new("BoolValue", Noob)
| |
| 199 | FV.Name = "CameraShake" | |
| 200 | for ShakeNum=1,Times do | |
| 201 | swait() | |
| 202 | local ef=Power | |
| 203 | if ef>=1 then | |
| 204 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 205 | else | |
| 206 | ef=Power*10 | |
| 207 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 208 | end | |
| 209 | end | |
| 210 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 211 | FV:Destroy() | |
| 212 | - | local Booleans = {CamFollow = true, GyroUse = true}
|
| 212 | + | |
| 213 | CameraShake(Times, Power, Noob) | |
| 214 | - | return object:lerp(newCFrame, alpha) |
| 214 | + | |
| 215 | end | |
| 216 | end | |
| 217 | - | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
|
| 217 | + | |
| 218 | - | ff.Visible = false |
| 218 | + | |
| 219 | end | |
| 220 | ||
| 221 | function chatfunc(text,color) | |
| 222 | local chat = coroutine.wrap(function() | |
| 223 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 224 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 225 | end | |
| 226 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 227 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 228 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 229 | naeeym2.Adornee = Character.Head | |
| 230 | naeeym2.Name = "TalkingBillBoard" | |
| 231 | - | kan = Instance.new("Sound", char)
|
| 231 | + | local tecks2 = Instance.new("TextLabel",naeeym2)
|
| 232 | - | kan.Volume = 1.98 |
| 232 | + | tecks2.BackgroundTransparency = 1 |
| 233 | tecks2.BorderSizePixel = 0 | |
| 234 | tecks2.Text = "" | |
| 235 | tecks2.Font = "SciFi" | |
| 236 | - | kan.SoundId = "rbxassetid://415898123" |
| 236 | + | tecks2.TextSize = 30 |
| 237 | tecks2.TextStrokeTransparency = 0 | |
| 238 | tecks2.TextColor3 = color | |
| 239 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 240 | - | function newTheme(ID, timepos, pitch, vol) |
| 240 | + | tecks2.Size = UDim2.new(1,0,0.5,0) |
| 241 | - | local kanz = kan |
| 241 | + | local tecks3 = Instance.new("TextLabel",naeeym2)
|
| 242 | - | kanz.PlaybackSpeed = pitch |
| 242 | + | tecks3.BackgroundTransparency = 1 |
| 243 | - | kanz.Pitch = pitch |
| 243 | + | tecks3.BorderSizePixel = 0 |
| 244 | - | kanz.SoundId = ID |
| 244 | + | tecks3.Text = "" |
| 245 | - | kanz.Name = "wrecked" |
| 245 | + | tecks3.Font = "SciFi" |
| 246 | - | kanz.Looped = true |
| 246 | + | tecks3.TextSize = 30 |
| 247 | tecks3.TextStrokeTransparency = 0 | |
| 248 | tecks3.TextColor3 = Color3.new(0,0,0) | |
| 249 | tecks3.TextStrokeColor3 = color | |
| 250 | - | FV = Instance.new("BoolValue", PlayerTarget)
|
| 250 | + | tecks3.Size = UDim2.new(1,0,0.5,0) |
| 251 | - | FV.Name = "CameraShake" |
| 251 | + | |
| 252 | - | for ShakeNum = 1, Times do |
| 252 | + | |
| 253 | - | swait() |
| 253 | + | swait(1) |
| 254 | - | local ef = Power |
| 254 | + | plr.Character.wrecked.Volume = 0.3 |
| 255 | - | if ef >= 1 then |
| 255 | + | if chaosmode == true then |
| 256 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef)) |
| 256 | + | tecks2.TextColor3 = BrickColor.random().Color |
| 257 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
| 258 | - | ef = Power * 10 |
| 258 | + | |
| 259 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10) |
| 259 | + | tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) |
| 260 | tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
| 261 | tecks2.Rotation = math.random(-5,5) | |
| 262 | - | Humanoid.CameraOffset = Vector3.new(0, 0, 0) |
| 262 | + | tecks3.Rotation = math.random(-5,5) |
| 263 | - | FV:Destroy() |
| 263 | + | |
| 264 | end)) | |
| 265 | for i = 1,string.len(text),1 do | |
| 266 | - | function CameraEnshaking(Length, Intensity) |
| 266 | + | CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
|
| 267 | tecks2.Text = string.sub(text,1,i) | |
| 268 | - | local intensity = 1 * Intensity |
| 268 | + | tecks3.Text = string.sub(text,1,i) |
| 269 | - | local rotM = 0.01 * Intensity |
| 269 | + | swait(1) |
| 270 | - | for i = 0, Length, 0.1 do |
| 270 | + | |
| 271 | - | swait() |
| 271 | + | wait(1) |
| 272 | - | intensity = intensity - 0.05 * Intensity / Length |
| 272 | + | local randomrot = math.random(1,2) |
| 273 | - | rotM = rotM - 5.0E-4 * Intensity / Length |
| 273 | + | if randomrot == 1 then |
| 274 | - | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) |
| 274 | + | for i = 1, 50 do |
| 275 | - | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) |
| 275 | + | swait() |
| 276 | tecks2.Rotation = tecks2.Rotation - .75 | |
| 277 | - | Humanoid.CameraOffset = Vec3(0, 0, 0) |
| 277 | + | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 278 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 279 | tecks3.Rotation = tecks2.Rotation + .75 | |
| 280 | - | function CamShake(Part, Distan, Power, Times) |
| 280 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 281 | - | local de = Part.Position |
| 281 | + | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
| 282 | - | for i, v in pairs(workspace:children()) do |
| 282 | + | |
| 283 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then
|
| 283 | + | elseif randomrot == 2 then |
| 284 | - | for _, c in pairs(v:children()) do |
| 284 | + | for i = 1, 50 do |
| 285 | - | if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then |
| 285 | + | swait() |
| 286 | - | do |
| 286 | + | tecks2.Rotation = tecks2.Rotation + .75 |
| 287 | - | local Noob = v.Humanoid |
| 287 | + | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 288 | - | if Noob ~= nil then |
| 288 | + | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
| 289 | - | coroutine.resume(coroutine.create(function() |
| 289 | + | tecks3.Rotation = tecks2.Rotation - .75 |
| 290 | - | FV = Instance.new("BoolValue", Noob)
|
| 290 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
| 291 | - | FV.Name = "CameraShake" |
| 291 | + | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
| 292 | - | for ShakeNum = 1, Times do |
| 292 | + | |
| 293 | - | swait() |
| 293 | + | |
| 294 | - | local ef = Power |
| 294 | + | naeeym2:Destroy() |
| 295 | - | if ef >= 1 then |
| 295 | + | |
| 296 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef)) |
| 296 | + | chat() |
| 297 | - | else |
| 297 | + | |
| 298 | - | ef = Power * 10 |
| 298 | + | |
| 299 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10) |
| 299 | + | |
| 300 | local Create = LoadLibrary("RbxUtility").Create
| |
| 301 | ||
| 302 | - | Humanoid.CameraOffset = Vector3.new(0, 0, 0) |
| 302 | + | CFuncs = {
|
| 303 | - | FV:Destroy() |
| 303 | + | ["Part"] = {
|
| 304 | - | end)) |
| 304 | + | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 305 | - | CameraShake(Times, Power, Noob) |
| 305 | + | local Part = Create("Part"){
|
| 306 | - | end |
| 306 | + | Parent = Parent, |
| 307 | - | end |
| 307 | + | Reflectance = Reflectance, |
| 308 | Transparency = Transparency, | |
| 309 | CanCollide = false, | |
| 310 | Locked = true, | |
| 311 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 312 | Name = Name, | |
| 313 | - | function chatfunc(text, color) |
| 313 | + | Size = Size, |
| 314 | - | local chat = coroutine.wrap(function() |
| 314 | + | Material = Material, |
| 315 | - | if Character:FindFirstChild("TalkingBillBoard") ~= nil then
|
| 315 | + | } |
| 316 | - | Character:FindFirstChild("TalkingBillBoard"):destroy()
|
| 316 | + | RemoveOutlines(Part) |
| 317 | return Part | |
| 318 | - | local naeeym2 = Instance.new("BillboardGui", Character)
|
| 318 | + | end; |
| 319 | - | naeeym2.Size = UDim2.new(0, 100, 0, 40) |
| 319 | + | }; |
| 320 | - | naeeym2.StudsOffset = Vector3.new(0, 3, 0) |
| 320 | + | |
| 321 | - | naeeym2.Adornee = Character.Head |
| 321 | + | ["Mesh"] = {
|
| 322 | - | naeeym2.Name = "TalkingBillBoard" |
| 322 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 323 | - | local tecks2 = Instance.new("TextLabel", naeeym2)
|
| 323 | + | local Msh = Create(Mesh){
|
| 324 | - | tecks2.BackgroundTransparency = 1 |
| 324 | + | Parent = Part, |
| 325 | - | tecks2.BorderSizePixel = 0 |
| 325 | + | Offset = OffSet, |
| 326 | - | tecks2.Text = "" |
| 326 | + | Scale = Scale, |
| 327 | - | tecks2.Font = "SciFi" |
| 327 | + | } |
| 328 | - | tecks2.TextSize = 30 |
| 328 | + | if Mesh == "SpecialMesh" then |
| 329 | - | tecks2.TextStrokeTransparency = 0 |
| 329 | + | Msh.MeshType = MeshType |
| 330 | - | tecks2.TextColor3 = color |
| 330 | + | Msh.MeshId = MeshId |
| 331 | - | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) |
| 331 | + | end |
| 332 | - | tecks2.Size = UDim2.new(1, 0, 0.5, 0) |
| 332 | + | return Msh |
| 333 | - | local tecks3 = Instance.new("TextLabel", naeeym2)
|
| 333 | + | end; |
| 334 | - | tecks3.BackgroundTransparency = 1 |
| 334 | + | }; |
| 335 | - | tecks3.BorderSizePixel = 0 |
| 335 | + | |
| 336 | - | tecks3.Text = "" |
| 336 | + | ["Mesh"] = {
|
| 337 | - | tecks3.Font = "SciFi" |
| 337 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 338 | - | tecks3.TextSize = 30 |
| 338 | + | local Msh = Create(Mesh){
|
| 339 | - | tecks3.TextStrokeTransparency = 0 |
| 339 | + | Parent = Part, |
| 340 | - | tecks3.TextColor3 = Color3.new(0, 0, 0) |
| 340 | + | Offset = OffSet, |
| 341 | - | tecks3.TextStrokeColor3 = color |
| 341 | + | Scale = Scale, |
| 342 | - | tecks3.Size = UDim2.new(1, 0, 0.5, 0) |
| 342 | + | } |
| 343 | - | coroutine.resume(coroutine.create(function() |
| 343 | + | if Mesh == "SpecialMesh" then |
| 344 | - | while true do |
| 344 | + | Msh.MeshType = MeshType |
| 345 | - | swait(1) |
| 345 | + | Msh.MeshId = MeshId |
| 346 | - | if chaosmode == true then |
| 346 | + | end |
| 347 | - | tecks2.TextColor3 = BrickColor.random().Color |
| 347 | + | return Msh |
| 348 | - | tecks3.TextStrokeColor3 = BrickColor.random().Color |
| 348 | + | end; |
| 349 | }; | |
| 350 | - | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) |
| 350 | + | |
| 351 | - | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) |
| 351 | + | ["Weld"] = {
|
| 352 | - | tecks2.Rotation = math.random(-5, 5) |
| 352 | + | Create = function(Parent, Part0, Part1, C0, C1) |
| 353 | - | tecks3.Rotation = math.random(-5, 5) |
| 353 | + | local Weld = Create("Weld"){
|
| 354 | Parent = Parent, | |
| 355 | - | end)) |
| 355 | + | Part0 = Part0, |
| 356 | - | for i = 1, string.len(text) do |
| 356 | + | Part1 = Part1, |
| 357 | - | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
|
| 357 | + | C0 = C0, |
| 358 | - | tecks2.Text = string.sub(text, 1, i) |
| 358 | + | C1 = C1, |
| 359 | - | tecks3.Text = string.sub(text, 1, i) |
| 359 | + | } |
| 360 | - | swait(1) |
| 360 | + | return Weld |
| 361 | end; | |
| 362 | - | wait(1) |
| 362 | + | }; |
| 363 | - | local randomrot = math.random(1, 2) |
| 363 | + | |
| 364 | - | if randomrot == 1 then |
| 364 | + | ["Sound"] = {
|
| 365 | - | for i = 1, 50 do |
| 365 | + | Create = function(id, par, vol, pit) |
| 366 | - | swait() |
| 366 | + | coroutine.resume(coroutine.create(function() |
| 367 | - | tecks2.Rotation = tecks2.Rotation - 0.75 |
| 367 | + | local S = Create("Sound"){
|
| 368 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
| 368 | + | Volume = vol, |
| 369 | - | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 |
| 369 | + | Name = "EffectSoundo", |
| 370 | - | tecks3.Rotation = tecks2.Rotation + 0.75 |
| 370 | + | Pitch = pit or 1, |
| 371 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
| 371 | + | SoundId = id, |
| 372 | - | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 |
| 372 | + | Parent = par or workspace, |
| 373 | } | |
| 374 | - | elseif randomrot == 2 then |
| 374 | + | wait() |
| 375 | - | for i = 1, 50 do |
| 375 | + | S:play() |
| 376 | - | swait() |
| 376 | + | game:GetService("Debris"):AddItem(S, 10)
|
| 377 | - | tecks2.Rotation = tecks2.Rotation + 0.75 |
| 377 | + | end)) |
| 378 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
| 378 | + | end; |
| 379 | - | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 |
| 379 | + | }; |
| 380 | - | tecks3.Rotation = tecks2.Rotation - 0.75 |
| 380 | + | |
| 381 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
| 381 | + | ["LongSound"] = {
|
| 382 | - | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 |
| 382 | + | Create = function(id, par, vol, pit) |
| 383 | coroutine.resume(coroutine.create(function() | |
| 384 | local S = Create("Sound"){
| |
| 385 | - | naeeym2:Destroy() |
| 385 | + | Volume = vol, |
| 386 | Pitch = pit or 1, | |
| 387 | - | chat() |
| 387 | + | SoundId = id, |
| 388 | Parent = par or workspace, | |
| 389 | } | |
| 390 | - | CFuncs = {
|
| 390 | + | wait() |
| 391 | - | Part = {
|
| 391 | + | S:play() |
| 392 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 392 | + | game:GetService("Debris"):AddItem(S, 30)
|
| 393 | - | local Part = Create("Part")({
|
| 393 | + | end)) |
| 394 | - | Parent = Parent, |
| 394 | + | end; |
| 395 | - | Reflectance = Reflectance, |
| 395 | + | }; |
| 396 | - | Transparency = Transparency, |
| 396 | + | |
| 397 | - | CanCollide = false, |
| 397 | + | ["ParticleEmitter"] = {
|
| 398 | - | Locked = true, |
| 398 | + | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
| 399 | - | BrickColor = BrickColor.new(tostring(BColor)), |
| 399 | + | local fp = Create("ParticleEmitter"){
|
| 400 | - | Name = Name, |
| 400 | + | Parent = Parent, |
| 401 | - | Size = Size, |
| 401 | + | Color = ColorSequence.new(Color1, Color2), |
| 402 | - | Material = Material |
| 402 | + | LightEmission = LightEmission, |
| 403 | - | }) |
| 403 | + | Size = Size, |
| 404 | - | RemoveOutlines(Part) |
| 404 | + | Texture = Texture, |
| 405 | - | return Part |
| 405 | + | Transparency = Transparency, |
| 406 | ZOffset = ZOffset, | |
| 407 | - | }, |
| 407 | + | Acceleration = Accel, |
| 408 | - | Mesh = {
|
| 408 | + | Drag = Drag, |
| 409 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 409 | + | LockedToPart = LockedToPart, |
| 410 | - | local Msh = Create(Mesh)({
|
| 410 | + | VelocityInheritance = VelocityInheritance, |
| 411 | - | Parent = Part, |
| 411 | + | EmissionDirection = EmissionDirection, |
| 412 | - | Offset = OffSet, |
| 412 | + | Enabled = Enabled, |
| 413 | - | Scale = Scale |
| 413 | + | Lifetime = LifeTime, |
| 414 | - | }) |
| 414 | + | Rate = Rate, |
| 415 | - | if Mesh == "SpecialMesh" then |
| 415 | + | Rotation = Rotation, |
| 416 | - | Msh.MeshType = MeshType |
| 416 | + | RotSpeed = RotSpeed, |
| 417 | - | Msh.MeshId = MeshId |
| 417 | + | Speed = Speed, |
| 418 | VelocitySpread = VelocitySpread, | |
| 419 | - | return Msh |
| 419 | + | } |
| 420 | return fp | |
| 421 | - | }, |
| 421 | + | end; |
| 422 | - | Mesh = {
|
| 422 | + | }; |
| 423 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 423 | + | |
| 424 | - | local Msh = Create(Mesh)({
|
| 424 | + | CreateTemplate = {
|
| 425 | - | Parent = Part, |
| 425 | + | |
| 426 | - | Offset = OffSet, |
| 426 | + | }; |
| 427 | - | Scale = Scale |
| 427 | + | |
| 428 | - | }) |
| 428 | + | |
| 429 | - | if Mesh == "SpecialMesh" then |
| 429 | + | |
| 430 | - | Msh.MeshType = MeshType |
| 430 | + | |
| 431 | - | Msh.MeshId = MeshId |
| 431 | + | New = function(Object, Parent, Name, Data) |
| 432 | local Object = Instance.new(Object) | |
| 433 | - | return Msh |
| 433 | + | for Index, Value in pairs(Data or {}) do
|
| 434 | Object[Index] = Value | |
| 435 | - | }, |
| 435 | + | end |
| 436 | - | Weld = {
|
| 436 | + | Object.Parent = Parent |
| 437 | - | Create = function(Parent, Part0, Part1, C0, C1) |
| 437 | + | Object.Name = Name |
| 438 | - | local Weld = Create("Weld")({
|
| 438 | + | return Object |
| 439 | - | Parent = Parent, |
| 439 | + | |
| 440 | - | Part0 = Part0, |
| 440 | + | |
| 441 | - | Part1 = Part1, |
| 441 | + | local halocolor2 = BrickColor.new("Cool yellow")
|
| 442 | - | C0 = C0, |
| 442 | + | local starcolor = BrickColor.new("Bright yellow")
|
| 443 | - | C1 = C1 |
| 443 | + | |
| 444 | - | }) |
| 444 | + | |
| 445 | - | return Weld |
| 445 | + | |
| 446 | local maincolor = BrickColor.new("Really black")
| |
| 447 | - | }, |
| 447 | + | local m = Instance.new("Model",char)
|
| 448 | - | Sound = {
|
| 448 | + | local m2 = Instance.new("Model",char)
|
| 449 | - | Create = function(id, par, vol, pit) |
| 449 | + | local m3 = Instance.new("Model",char)
|
| 450 | - | coroutine.resume(coroutine.create(function() |
| 450 | + | local mw1 = Instance.new("Model",char)
|
| 451 | - | local S = Create("Sound")({
|
| 451 | + | local mw2 = Instance.new("Model",char)
|
| 452 | - | Volume = vol, |
| 452 | + | |
| 453 | - | Pitch = pit or 1, |
| 453 | + | local extrawingmod1 = Instance.new("Model",char)
|
| 454 | - | SoundId = id, |
| 454 | + | local extrawingmod2 = Instance.new("Model",char)
|
| 455 | - | Parent = par or workspace |
| 455 | + | |
| 456 | - | }) |
| 456 | + | function CreateParta(parent,transparency,reflectance,material,brickcolor) |
| 457 | - | wait() |
| 457 | + | local p = Instance.new("Part")
|
| 458 | - | S:play() |
| 458 | + | p.TopSurface = 0 |
| 459 | - | game:GetService("Debris"):AddItem(S, 10)
|
| 459 | + | p.BottomSurface = 0 |
| 460 | - | end)) |
| 460 | + | p.Parent = parent |
| 461 | p.Size = Vector3.new(0.1,0.1,0.1) | |
| 462 | - | }, |
| 462 | + | p.Transparency = transparency |
| 463 | - | LongSound = {
|
| 463 | + | p.Reflectance = reflectance |
| 464 | - | Create = function(id, par, vol, pit) |
| 464 | + | p.CanCollide = false |
| 465 | - | coroutine.resume(coroutine.create(function() |
| 465 | + | p.Locked = true |
| 466 | - | local S = Create("Sound")({
|
| 466 | + | p.BrickColor = brickcolor |
| 467 | - | Volume = vol, |
| 467 | + | p.Material = material |
| 468 | - | Pitch = pit or 1, |
| 468 | + | return p |
| 469 | - | SoundId = id, |
| 469 | + | |
| 470 | - | Parent = par or workspace |
| 470 | + | |
| 471 | - | }) |
| 471 | + | function CreateMesh(parent,meshtype,x1,y1,z1) |
| 472 | - | wait() |
| 472 | + | local mesh = Instance.new("SpecialMesh",parent)
|
| 473 | - | S:play() |
| 473 | + | mesh.MeshType = meshtype |
| 474 | - | game:GetService("Debris"):AddItem(S, 30)
|
| 474 | + | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) |
| 475 | - | end)) |
| 475 | + | return mesh |
| 476 | end | |
| 477 | - | }, |
| 477 | + | |
| 478 | - | ParticleEmitter = {
|
| 478 | + | function CreateSpecialMesh(parent,meshid,x1,y1,z1) |
| 479 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
| 479 | + | local mesh = Instance.new("SpecialMesh",parent)
|
| 480 | - | local fp = Create("ParticleEmitter")({
|
| 480 | + | mesh.MeshType = "FileMesh" |
| 481 | - | Parent = Parent, |
| 481 | + | mesh.MeshId = meshid |
| 482 | - | Color = ColorSequence.new(Color1, Color2), |
| 482 | + | mesh.Scale = Vector3.new(x1,y1,z1) |
| 483 | - | LightEmission = LightEmission, |
| 483 | + | return mesh |
| 484 | - | Size = Size, |
| 484 | + | |
| 485 | - | Texture = Texture, |
| 485 | + | |
| 486 | - | Transparency = Transparency, |
| 486 | + | |
| 487 | - | ZOffset = ZOffset, |
| 487 | + | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) |
| 488 | - | Acceleration = Accel, |
| 488 | + | local mesh = Instance.new("SpecialMesh",parent)
|
| 489 | - | Drag = Drag, |
| 489 | + | mesh.MeshType = "FileMesh" |
| 490 | - | LockedToPart = LockedToPart, |
| 490 | + | mesh.MeshId = meshid |
| 491 | - | VelocityInheritance = VelocityInheritance, |
| 491 | + | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" |
| 492 | - | EmissionDirection = EmissionDirection, |
| 492 | + | mesh.Scale = Vector3.new(x1,y1,z1) |
| 493 | - | Enabled = Enabled, |
| 493 | + | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) |
| 494 | - | Lifetime = LifeTime, |
| 494 | + | return mesh |
| 495 | - | Rate = Rate, |
| 495 | + | |
| 496 | - | Rotation = Rotation, |
| 496 | + | |
| 497 | - | RotSpeed = RotSpeed, |
| 497 | + | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) |
| 498 | - | Speed = Speed, |
| 498 | + | local weld = Instance.new("Weld")
|
| 499 | - | VelocitySpread = VelocitySpread |
| 499 | + | weld.Parent = parent |
| 500 | - | }) |
| 500 | + | weld.Part0 = part0 |
| 501 | - | return fp |
| 501 | + | weld.Part1 = part1 |
| 502 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 503 | - | }, |
| 503 | + | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) |
| 504 | - | CreateTemplate = {}
|
| 504 | + | return weld |
| 505 | end | |
| 506 | - | function New(Object, Parent, Name, Data) |
| 506 | + | |
| 507 | - | local Object = Instance.new(Object) |
| 507 | + | |
| 508 | - | for Index, Value in pairs(Data or {}) do
|
| 508 | + | -------------- |
| 509 | - | Object[Index] = Value |
| 509 | + | local secondchar = Instance.new("Model",char)
|
| 510 | local GhostCol = BrickColor.new("Really red")
| |
| 511 | - | Object.Parent = Parent |
| 511 | + | local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol) |
| 512 | - | Object.Name = Name |
| 512 | + | CreateMesh(sectors,"Brick",2*8,2*8,1*8) |
| 513 | - | return Object |
| 513 | + | local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 514 | ||
| 515 | local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 516 | - | local halocolor2 = BrickColor.new("Really black")
|
| 516 | + | CreateMesh(seclarm,"Brick",1*8,2*8,1*8) |
| 517 | - | local starcolor = BrickColor.new("Really black")
|
| 517 | + | local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 518 | ||
| 519 | local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 520 | CreateMesh(secrarm,"Brick",1*8,2*8,1*8) | |
| 521 | local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 522 | - | local m = Instance.new("Model", char)
|
| 522 | + | |
| 523 | - | local m2 = Instance.new("Model", char)
|
| 523 | + | local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol) |
| 524 | - | local m3 = Instance.new("Model", char)
|
| 524 | + | CreateMesh(seclleg,"Brick",1*8,2*8,1*8) |
| 525 | - | local mw1 = Instance.new("Model", char)
|
| 525 | + | local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 526 | - | local mw2 = Instance.new("Model", char)
|
| 526 | + | |
| 527 | - | local extrawingmod1 = Instance.new("Model", char)
|
| 527 | + | local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol) |
| 528 | - | local extrawingmod2 = Instance.new("Model", char)
|
| 528 | + | CreateMesh(secrleg,"Brick",1*8,2*8,1*8) |
| 529 | - | function CreateParta(parent, transparency, reflectance, material, brickcolor) |
| 529 | + | local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 530 | - | local p = Instance.new("Part")
|
| 530 | + | |
| 531 | - | p.TopSurface = 0 |
| 531 | + | local seched = CreateParta(secondchar,1,0,"Neon",GhostCol) |
| 532 | - | p.BottomSurface = 0 |
| 532 | + | CreateMesh(seched,"Brick",1*8,1*8,1*8) |
| 533 | - | p.Parent = parent |
| 533 | + | local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 534 | - | p.Size = Vector3.new(0.1, 0.1, 0.1) |
| 534 | + | -------------- |
| 535 | - | p.Transparency = transparency |
| 535 | + | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
| 536 | - | p.Reflectance = reflectance |
| 536 | + | 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)) |
| 537 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 538 | - | p.Locked = true |
| 538 | + | 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)) |
| 539 | - | p.BrickColor = brickcolor |
| 539 | + | |
| 540 | - | p.Material = material |
| 540 | + | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) |
| 541 | - | return p |
| 541 | + | CreateMesh(handle,"Brick",0,0,0) |
| 542 | 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)) | |
| 543 | - | function CreateMesh(parent, meshtype, x1, y1, z1) |
| 543 | + | |
| 544 | - | local mesh = Instance.new("SpecialMesh", parent)
|
| 544 | + | |
| 545 | - | mesh.MeshType = meshtype |
| 545 | + | |
| 546 | - | mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10) |
| 546 | + | rn = CreateParta(mw2,0,0,"Neon",halocolor) |
| 547 | - | return mesh |
| 547 | + | CreateMesh(rn,"Brick",0.25,0.1,0.1) |
| 548 | 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)) | |
| 549 | - | function CreateSpecialMesh(parent, meshid, x1, y1, z1) |
| 549 | + | |
| 550 | - | local mesh = Instance.new("SpecialMesh", parent)
|
| 550 | + | |
| 551 | - | mesh.MeshType = "FileMesh" |
| 551 | + | handlex = CreateParta(mw2,1,1,"Neon",maincolor) |
| 552 | - | mesh.MeshId = meshid |
| 552 | + | CreateMesh(handle,"Brick",0,0,0) |
| 553 | - | mesh.Scale = Vector3.new(x1, y1, z1) |
| 553 | + | CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 554 | - | return mesh |
| 554 | + | |
| 555 | for i = 0, 49 do | |
| 556 | - | function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1) |
| 556 | + | |
| 557 | - | local mesh = Instance.new("SpecialMesh", parent)
|
| 557 | + | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 558 | - | mesh.MeshType = "FileMesh" |
| 558 | + | CreateMesh(rn,"Brick",0.5,0.2,0.2) |
| 559 | - | mesh.MeshId = meshid |
| 559 | + | CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 560 | - | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" |
| 560 | + | |
| 561 | - | mesh.Scale = Vector3.new(x1, y1, z1) |
| 561 | + | |
| 562 | - | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) |
| 562 | + | |
| 563 | - | return mesh |
| 563 | + | local handle = CreateParta(m,1,1,"Neon",maincolor) |
| 564 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 565 | - | function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za) |
| 565 | + | 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)) |
| 566 | - | local weld = Instance.new("Weld")
|
| 566 | + | |
| 567 | - | weld.Parent = parent |
| 567 | + | --- Left wing. |
| 568 | - | weld.Part0 = part0 |
| 568 | + | |
| 569 | - | weld.Part1 = part1 |
| 569 | + | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) |
| 570 | - | weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za) |
| 570 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 571 | - | weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za) |
| 571 | + | local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 572 | - | return weld |
| 572 | + | |
| 573 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 574 | - | local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor) |
| 574 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 575 | - | CreateMesh(handle, "Brick", 0, 0, 0) |
| 575 | + | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 576 | - | 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)) |
| 576 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 577 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 578 | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 579 | A0 = Instance.new('Attachment',wed)
| |
| 580 | - | rn = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 580 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 581 | - | CreateMesh(rn, "Brick", 0.25, 0.1, 0.1) |
| 581 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 582 | - | 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)) |
| 582 | + | CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 583 | A1 = Instance.new('Attachment',wed)
| |
| 584 | - | local handle = CreateParta(m, 1, 1, "Neon", maincolor) |
| 584 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 585 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 585 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 586 | - | 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)) |
| 586 | + | CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 587 | - | local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 587 | + | |
| 588 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 588 | + | tl1 = Instance.new('Trail',wed)
|
| 589 | - | local lwing1weld = CreateWeld(lwing1, handle, lwing1, 3, 0, 0, math.rad(5), math.rad(0), math.rad(12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 589 | + | tl1.Attachment0 = A0 |
| 590 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 590 | + | tl1.Attachment1 = A1 |
| 591 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 591 | + | --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 592 | - | CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 592 | + | tl1.LightEmission = 1 |
| 593 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 593 | + | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 594 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 594 | + | tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 595 | - | CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 595 | + | tl1.Lifetime = 0.6 |
| 596 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 596 | + | |
| 597 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 597 | + | |
| 598 | - | CreateWeld(wed, lwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 598 | + | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) |
| 599 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 599 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 600 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 600 | + | local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 601 | - | CreateWeld(wed, lwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 601 | + | |
| 602 | - | local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 602 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 603 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 603 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 604 | - | local lwing2weld = CreateWeld(lwing2, handle, lwing2, 4, 1, 0, math.rad(10), math.rad(0), math.rad(25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 604 | + | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 605 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 605 | + | A0 = Instance.new('Attachment',wed)
|
| 606 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 606 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 607 | - | CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 607 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 608 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 608 | + | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 609 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 609 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 610 | - | CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 610 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 611 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 611 | + | CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 612 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 612 | + | A1 = Instance.new('Attachment',wed)
|
| 613 | - | CreateWeld(wed, lwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 613 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 614 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 614 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 615 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 615 | + | CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 616 | - | CreateWeld(wed, lwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 616 | + | |
| 617 | - | local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 617 | + | tl2 = Instance.new('Trail',wed)
|
| 618 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 618 | + | tl2.Attachment0 = A0 |
| 619 | - | local lwing3weld = CreateWeld(lwing3, handle, lwing3, 4.75, 2, 0, math.rad(15), math.rad(0), math.rad(37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 619 | + | tl2.Attachment1 = A1 |
| 620 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 620 | + | --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 621 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 621 | + | tl2.LightEmission = 1 |
| 622 | - | CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 622 | + | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 623 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 623 | + | tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 624 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 624 | + | tl2.Lifetime = 0.6 |
| 625 | - | CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 625 | + | |
| 626 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 626 | + | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) |
| 627 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 627 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 628 | - | CreateWeld(wed, lwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 628 | + | local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 629 | - | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
| 629 | + | |
| 630 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 630 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 631 | - | CreateWeld(wed, lwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 631 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 632 | - | local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 632 | + | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 633 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 633 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 634 | - | 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)) |
| 634 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 635 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 635 | + | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 636 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 636 | + | A0 = Instance.new('Attachment',wed)
|
| 637 | - | CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 637 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 638 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 638 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 639 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 639 | + | CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 640 | - | CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 640 | + | A1 = Instance.new('Attachment',wed)
|
| 641 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 641 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
| 642 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 642 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 643 | - | CreateWeld(wed, lwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 643 | + | CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 644 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 644 | + | |
| 645 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 645 | + | tl3 = Instance.new('Trail',wed)
|
| 646 | - | CreateWeld(wed, lwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 646 | + | tl3.Attachment0 = A0 |
| 647 | - | local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 647 | + | tl3.Attachment1 = A1 |
| 648 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 648 | + | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 649 | - | 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)) |
| 649 | + | tl3.LightEmission = 1 |
| 650 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 650 | + | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 651 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 651 | + | tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 652 | - | CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 652 | + | tl3.Lifetime = 0.6 |
| 653 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 653 | + | |
| 654 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 654 | + | tl1.Enabled = false |
| 655 | - | CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 655 | + | tl2.Enabled = false |
| 656 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 656 | + | tl3.Enabled = false |
| 657 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 657 | + | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) |
| 658 | - | CreateWeld(wed, lwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 658 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 659 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 659 | + | 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)) |
| 660 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 660 | + | |
| 661 | - | CreateWeld(wed, lwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 661 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 662 | - | local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 662 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 663 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 663 | + | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 664 | - | 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)) |
| 664 | + | A1 = Instance.new('Attachment',wed)
|
| 665 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 665 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 666 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 666 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 667 | - | CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 667 | + | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 668 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 668 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 669 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 669 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 670 | - | CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 670 | + | CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 671 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 671 | + | A0 = Instance.new('Attachment',wed)
|
| 672 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 672 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 673 | - | CreateWeld(wed, lwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 673 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 674 | - | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
| 674 | + | CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 675 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 675 | + | |
| 676 | - | CreateWeld(wed, lwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 676 | + | |
| 677 | - | local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 677 | + | tl4 = Instance.new('Trail',wed)
|
| 678 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 678 | + | tl4.Attachment0 = A0 |
| 679 | - | local rwing1weld = CreateWeld(rwing1, handle, rwing1, -3, 0, 0, math.rad(5), math.rad(0), math.rad(-12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 679 | + | tl4.Attachment1 = A1 |
| 680 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 680 | + | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 681 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 681 | + | tl4.LightEmission = 1 |
| 682 | - | CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 682 | + | tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 683 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 683 | + | tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 684 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 684 | + | tl4.Lifetime = 0.6 |
| 685 | - | CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 685 | + | |
| 686 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 686 | + | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) |
| 687 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 687 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 688 | - | CreateWeld(wed, rwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 688 | + | 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)) |
| 689 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 689 | + | |
| 690 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 690 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 691 | - | CreateWeld(wed, rwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 691 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 692 | - | local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 692 | + | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 693 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 693 | + | A0 = Instance.new('Attachment',wed)
|
| 694 | - | local rwing2weld = CreateWeld(rwing2, handle, rwing2, -4, 1, 0, math.rad(10), math.rad(0), math.rad(-25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 694 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 695 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 695 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 696 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 696 | + | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 697 | - | CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 697 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 698 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 698 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 699 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 699 | + | CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 700 | - | CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 700 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 701 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 701 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 702 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 702 | + | CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 703 | - | CreateWeld(wed, rwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 703 | + | A1 = Instance.new('Attachment',wed)
|
| 704 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 704 | + | |
| 705 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 705 | + | tl5 = Instance.new('Trail',wed)
|
| 706 | - | CreateWeld(wed, rwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 706 | + | tl5.Attachment0 = A0 |
| 707 | - | local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 707 | + | tl5.Attachment1 = A1 |
| 708 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 708 | + | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 709 | - | local rwing3weld = CreateWeld(rwing3, handle, rwing3, -4.75, 2, 0, math.rad(15), math.rad(0), math.rad(-37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 709 | + | tl5.LightEmission = 1 |
| 710 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 710 | + | tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 711 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 711 | + | tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 712 | - | CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 712 | + | tl5.Lifetime = 0.6 |
| 713 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 713 | + | |
| 714 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 714 | + | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) |
| 715 | - | CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 715 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 716 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 716 | + | 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)) |
| 717 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 717 | + | |
| 718 | - | CreateWeld(wed, rwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 718 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 719 | - | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
| 719 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 720 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 720 | + | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 721 | - | CreateWeld(wed, rwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 721 | + | A0 = Instance.new('Attachment',wed)
|
| 722 | - | local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 722 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 723 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 723 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 724 | - | 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)) |
| 724 | + | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 725 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 725 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 726 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 726 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 727 | - | CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 727 | + | CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 728 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 728 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
| 729 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 729 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 730 | - | CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 730 | + | CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 731 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 731 | + | A1 = Instance.new('Attachment',wed)
|
| 732 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 732 | + | |
| 733 | - | CreateWeld(wed, rwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 733 | + | tl6 = Instance.new('Trail',wed)
|
| 734 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 734 | + | tl6.Attachment0 = A0 |
| 735 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 735 | + | tl6.Attachment1 = A1 |
| 736 | - | CreateWeld(wed, rwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 736 | + | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 737 | - | local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 737 | + | tl6.LightEmission = 1 |
| 738 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 738 | + | tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 739 | - | 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)) |
| 739 | + | tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 740 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 740 | + | tl6.Lifetime = 0.6 |
| 741 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 741 | + | |
| 742 | - | CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 742 | + | -- Right wing. |
| 743 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 743 | + | |
| 744 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 744 | + | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) |
| 745 | - | CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 745 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 746 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 746 | + | local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 747 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 747 | + | |
| 748 | - | CreateWeld(wed, rwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 748 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 749 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 749 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 750 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 750 | + | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 751 | - | CreateWeld(wed, rwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 751 | + | A0 = Instance.new('Attachment',wed)
|
| 752 | - | local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 752 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 753 | - | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
| 753 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 754 | - | 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)) |
| 754 | + | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 755 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 755 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 756 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 756 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 757 | - | CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 757 | + | CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 758 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 758 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 759 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
| 759 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 760 | - | CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 760 | + | CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 761 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 761 | + | A1 = Instance.new('Attachment',wed)
|
| 762 | - | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
| 762 | + | |
| 763 | - | CreateWeld(wed, rwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 763 | + | tr1 = Instance.new('Trail',wed)
|
| 764 | - | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
| 764 | + | tr1.Attachment0 = A0 |
| 765 | - | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
| 765 | + | tr1.Attachment1 = A1 |
| 766 | - | CreateWeld(wed, rwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 766 | + | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 767 | - | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) |
| 767 | + | tr1.LightEmission = 1 |
| 768 | - | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) |
| 768 | + | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 769 | - | 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)) |
| 769 | + | tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 770 | - | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 770 | + | tr1.Lifetime = 0.6 |
| 771 | - | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) |
| 771 | + | |
| 772 | - | 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)) |
| 772 | + | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) |
| 773 | - | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 773 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 774 | - | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) |
| 774 | + | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 775 | - | 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)) |
| 775 | + | |
| 776 | - | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 776 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 777 | - | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) |
| 777 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 778 | - | 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)) |
| 778 | + | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 779 | - | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 779 | + | A0 = Instance.new('Attachment',wed)
|
| 780 | - | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) |
| 780 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 781 | - | 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)) |
| 781 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 782 | - | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) |
| 782 | + | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 783 | - | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) |
| 783 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 784 | - | 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)) |
| 784 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 785 | - | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) |
| 785 | + | CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 786 | - | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) |
| 786 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 787 | - | 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)) |
| 787 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 788 | - | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) |
| 788 | + | CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 789 | - | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) |
| 789 | + | A1 = Instance.new('Attachment',wed)
|
| 790 | - | 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)) |
| 790 | + | |
| 791 | - | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 791 | + | tr2 = Instance.new('Trail',wed)
|
| 792 | - | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) |
| 792 | + | tr2.Attachment0 = A0 |
| 793 | - | 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)) |
| 793 | + | tr2.Attachment1 = A1 |
| 794 | - | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) |
| 794 | + | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 795 | - | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) |
| 795 | + | tr2.LightEmission = 1 |
| 796 | - | 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)) |
| 796 | + | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 797 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 797 | + | tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 798 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 798 | + | tr2.Lifetime = 0.6 |
| 799 | - | CreateWeld(dotsec, larm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 799 | + | |
| 800 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 800 | + | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) |
| 801 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 801 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 802 | - | CreateWeld(dotseca, larm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 802 | + | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 803 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 803 | + | |
| 804 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 804 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 805 | - | CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 805 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 806 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 806 | + | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 807 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 807 | + | A0 = Instance.new('Attachment',wed)
|
| 808 | - | CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 808 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 809 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 809 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 810 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 810 | + | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 811 | - | CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 811 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 812 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 812 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 813 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 813 | + | CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 814 | - | CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 814 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
| 815 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 815 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 816 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 816 | + | CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 817 | - | CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 817 | + | A1 = Instance.new('Attachment',wed)
|
| 818 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 818 | + | |
| 819 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 819 | + | tr3 = Instance.new('Trail',wed)
|
| 820 | - | CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 820 | + | tr3.Attachment0 = A0 |
| 821 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 821 | + | tr3.Attachment1 = A1 |
| 822 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 822 | + | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 823 | - | CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 823 | + | tr3.LightEmission = 1 |
| 824 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 824 | + | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 825 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 825 | + | tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 826 | - | CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 826 | + | tr3.Lifetime = 0.6 |
| 827 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 827 | + | |
| 828 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 828 | + | |
| 829 | - | CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 829 | + | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) |
| 830 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 830 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 831 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 831 | + | 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)) |
| 832 | - | CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 832 | + | |
| 833 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 833 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 834 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 834 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 835 | - | CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 835 | + | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 836 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 836 | + | A0 = Instance.new('Attachment',wed)
|
| 837 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 837 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 838 | - | CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 838 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 839 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 839 | + | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 840 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 840 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 841 | - | CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 841 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 842 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 842 | + | CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 843 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 843 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 844 | - | CreateWeld(dotsec, larm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 844 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 845 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 845 | + | CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 846 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 846 | + | A1 = Instance.new('Attachment',wed)
|
| 847 | - | CreateWeld(dotseca, larm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 847 | + | |
| 848 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 848 | + | tr4 = Instance.new('Trail',wed)
|
| 849 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 849 | + | tr4.Attachment0 = A0 |
| 850 | - | CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 850 | + | tr4.Attachment1 = A1 |
| 851 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 851 | + | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 852 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 852 | + | tr4.LightEmission = 1 |
| 853 | - | CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 853 | + | tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 854 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 854 | + | tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 855 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 855 | + | tr4.Lifetime = 0.6 |
| 856 | - | CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 856 | + | |
| 857 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 857 | + | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) |
| 858 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 858 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 859 | - | CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 859 | + | 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)) |
| 860 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 860 | + | |
| 861 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 861 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 862 | - | CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 862 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 863 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 863 | + | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 864 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 864 | + | A0 = Instance.new('Attachment',wed)
|
| 865 | - | CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 865 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 866 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 866 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 867 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 867 | + | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 868 | - | CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 868 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 869 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 869 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 870 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 870 | + | CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 871 | - | CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 871 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 872 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 872 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 873 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 873 | + | CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 874 | - | CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 874 | + | A1 = Instance.new('Attachment',wed)
|
| 875 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 875 | + | |
| 876 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 876 | + | tr5 = Instance.new('Trail',wed)
|
| 877 | - | CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 877 | + | tr5.Attachment0 = A0 |
| 878 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 878 | + | tr5.Attachment1 = A1 |
| 879 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 879 | + | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 880 | - | CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 880 | + | tr5.LightEmission = 1 |
| 881 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 881 | + | tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 882 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 882 | + | tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 883 | - | CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 883 | + | tr5.Lifetime = 0.6 |
| 884 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 884 | + | |
| 885 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 885 | + | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) |
| 886 | - | CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 886 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
| 887 | - | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) |
| 887 | + | 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)) |
| 888 | - | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) |
| 888 | + | |
| 889 | - | 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)) |
| 889 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 890 | - | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 890 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 891 | - | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) |
| 891 | + | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 892 | - | 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)) |
| 892 | + | A0 = Instance.new('Attachment',wed)
|
| 893 | - | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 893 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 894 | - | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) |
| 894 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
| 895 | - | 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)) |
| 895 | + | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 896 | - | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 896 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 897 | - | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) |
| 897 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
| 898 | - | 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)) |
| 898 | + | CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 899 | - | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 899 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
| 900 | - | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) |
| 900 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
| 901 | - | 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)) |
| 901 | + | CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
| 902 | - | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) |
| 902 | + | A1 = Instance.new('Attachment',wed)
|
| 903 | - | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) |
| 903 | + | |
| 904 | - | 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)) |
| 904 | + | tr6 = Instance.new('Trail',wed)
|
| 905 | - | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) |
| 905 | + | tr6.Attachment0 = A0 |
| 906 | - | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) |
| 906 | + | tr6.Attachment1 = A1 |
| 907 | - | 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)) |
| 907 | + | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 908 | - | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) |
| 908 | + | tr6.LightEmission = 1 |
| 909 | - | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) |
| 909 | + | tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 910 | - | 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)) |
| 910 | + | tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
|
| 911 | - | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 911 | + | tr6.Lifetime = 0.6 |
| 912 | - | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) |
| 912 | + | |
| 913 | - | 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)) |
| 913 | + | ---- HERES THE RING |
| 914 | - | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) |
| 914 | + | |
| 915 | - | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) |
| 915 | + | |
| 916 | - | 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)) |
| 916 | + | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
| 917 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 917 | + | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
| 918 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 918 | + | 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)) |
| 919 | - | CreateWeld(dotsec, rarm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 919 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 920 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 920 | + | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
| 921 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 921 | + | 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)) |
| 922 | - | CreateWeld(dotseca, rarm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 922 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 923 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 923 | + | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
| 924 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 924 | + | 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)) |
| 925 | - | CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 925 | + | |
| 926 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 926 | + | |
| 927 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 927 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 928 | - | CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 928 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 929 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 929 | + | 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)) |
| 930 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 930 | + | |
| 931 | - | CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 931 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 932 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 932 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 933 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 933 | + | 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)) |
| 934 | - | CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 934 | + | |
| 935 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 935 | + | |
| 936 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 936 | + | |
| 937 | - | CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 937 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 938 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 938 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 939 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 939 | + | 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)) |
| 940 | - | CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 940 | + | |
| 941 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 941 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 942 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 942 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 943 | - | CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 943 | + | 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)) |
| 944 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 944 | + | |
| 945 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 945 | + | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
| 946 | - | CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 946 | + | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
| 947 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 947 | + | 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)) |
| 948 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 948 | + | |
| 949 | - | CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 949 | + | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 950 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 950 | + | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
| 951 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 951 | + | 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)) |
| 952 | - | CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 952 | + | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
| 953 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 953 | + | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
| 954 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 954 | + | 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)) |
| 955 | - | CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 955 | + | |
| 956 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 956 | + | --- second ring |
| 957 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 957 | + | |
| 958 | - | CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 958 | + | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
| 959 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 959 | + | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
| 960 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 960 | + | 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)) |
| 961 | - | CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 961 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 962 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 962 | + | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
| 963 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 963 | + | 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)) |
| 964 | - | CreateWeld(dotsec, rarm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 964 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 965 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 965 | + | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
| 966 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 966 | + | 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)) |
| 967 | - | CreateWeld(dotseca, rarm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 967 | + | |
| 968 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 968 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 969 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 969 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 970 | - | CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 970 | + | 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)) |
| 971 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 971 | + | |
| 972 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 972 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 973 | - | CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 973 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
| 974 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 974 | + | 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)) |
| 975 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 975 | + | |
| 976 | - | CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 976 | + | |
| 977 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 977 | + | |
| 978 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 978 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 979 | - | CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 979 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 980 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 980 | + | 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)) |
| 981 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 981 | + | |
| 982 | - | CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 982 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
| 983 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 983 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
| 984 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 984 | + | 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)) |
| 985 | - | CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 985 | + | |
| 986 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 986 | + | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
| 987 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 987 | + | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
| 988 | - | CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 988 | + | 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)) |
| 989 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 989 | + | |
| 990 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 990 | + | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
| 991 | - | CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 991 | + | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
| 992 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 992 | + | 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)) |
| 993 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 993 | + | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
| 994 | - | CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 994 | + | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
| 995 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 995 | + | 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))]]-- |
| 996 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 996 | + | |
| 997 | - | CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 997 | + | |
| 998 | - | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
| 998 | + | |
| 999 | - | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
| 999 | + | |
| 1000 | - | CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 1000 | + | if v:IsA("Part") then
|
| 1001 | - | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
| 1001 | + | v.BrickColor = BrickColor.new("Really black")
|
| 1002 | - | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
| 1002 | + | v.Material = "Glass" |
| 1003 | - | CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 1003 | + | |
| 1004 | - | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
| 1004 | + | |
| 1005 | - | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
| 1005 | + | |
| 1006 | - | CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 1006 | + | if v:IsA("Part") then
|
| 1007 | v.BrickColor = BrickColor.new("Crimson")
| |
| 1008 | - | if v:IsA("Part") then
|
| 1008 | + | v.Material = "Granite" |
| 1009 | - | v.BrickColor = BrickColor.new("Really black")
|
| 1009 | + | |
| 1010 | - | v.Material = "Glass" |
| 1010 | + | |
| 1011 | for i, v in pairs(m3:GetChildren()) do | |
| 1012 | if v:IsA("Part") then
| |
| 1013 | v.BrickColor = BrickColor.new("Really red")
| |
| 1014 | - | if v:IsA("Part") then
|
| 1014 | + | v.Material = "Neon" |
| 1015 | - | v.BrickColor = BrickColor.new("Crimson")
|
| 1015 | + | |
| 1016 | - | v.Material = "Granite" |
| 1016 | + | |
| 1017 | for i, v in pairs(mw2:GetChildren()) do | |
| 1018 | if v:IsA("Part") then
| |
| 1019 | v.BrickColor = BrickColor.new("Really red")
| |
| 1020 | - | if v:IsA("Part") then
|
| 1020 | + | v.Material = "Neon" |
| 1021 | - | v.BrickColor = BrickColor.new("Really red")
|
| 1021 | + | |
| 1022 | - | v.Material = "Neon" |
| 1022 | + | |
| 1023 | for i, v in pairs(mw1:GetChildren()) do | |
| 1024 | if v:IsA("Part") then
| |
| 1025 | v.Transparency = 1 | |
| 1026 | - | if v:IsA("Part") then
|
| 1026 | + | v.BrickColor = BrickColor.new("Really red")
|
| 1027 | - | v.BrickColor = BrickColor.new("Really red")
|
| 1027 | + | v.Material = "Neon" |
| 1028 | - | v.Material = "Neon" |
| 1028 | + | |
| 1029 | end | |
| 1030 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 1031 | if v:IsA("Part") then
| |
| 1032 | - | if v:IsA("Part") then
|
| 1032 | + | v.Transparency = 1 |
| 1033 | - | v.Transparency = 1 |
| 1033 | + | v.BrickColor = BrickColor.new("White")
|
| 1034 | - | v.BrickColor = BrickColor.new("Really red")
|
| 1034 | + | v.Material = "Neon" |
| 1035 | - | v.Material = "Neon" |
| 1035 | + | |
| 1036 | end | |
| 1037 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 1038 | if v:IsA("Part") then
| |
| 1039 | - | if v:IsA("Part") then
|
| 1039 | + | v.Transparency = 1 |
| 1040 | - | v.Transparency = 1 |
| 1040 | + | v.BrickColor = BrickColor.new("White")
|
| 1041 | - | v.BrickColor = BrickColor.new("White")
|
| 1041 | + | v.Material = "Neon" |
| 1042 | - | v.Material = "Neon" |
| 1042 | + | |
| 1043 | end | |
| 1044 | local MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 1045 | ------ | |
| 1046 | - | if v:IsA("Part") then
|
| 1046 | + | |
| 1047 | - | v.Transparency = 1 |
| 1047 | + | |
| 1048 | - | v.BrickColor = BrickColor.new("White")
|
| 1048 | + | |
| 1049 | - | v.Material = "Neon" |
| 1049 | + | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
| 1050 | end | |
| 1051 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1052 | local Part = Create("Part")({
| |
| 1053 | - | FHead = New("Part",char,"FHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 1053 | + | Parent = Parent, |
| 1054 | - | Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
|
| 1054 | + | Reflectance = Reflectance, |
| 1055 | - | Weld = New("Weld",FHead,"mot",{Part0 = FHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
|
| 1055 | + | Transparency = Transparency, |
| 1056 | - | FHead.CanCollide = false |
| 1056 | + | CanCollide = false, |
| 1057 | Locked = true, | |
| 1058 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1059 | Name = Name, | |
| 1060 | Size = Size, | |
| 1061 | Material = Material | |
| 1062 | - | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
| 1062 | + | }) |
| 1063 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1064 | RemoveOutlines(Part) | |
| 1065 | - | local Part = Create("Part")({
|
| 1065 | + | return Part |
| 1066 | - | Parent = Parent, |
| 1066 | + | |
| 1067 | - | Reflectance = Reflectance, |
| 1067 | + | |
| 1068 | - | Transparency = Transparency, |
| 1068 | + | local Msh = Create(Mesh)({
|
| 1069 | - | CanCollide = false, |
| 1069 | + | Parent = Part, |
| 1070 | - | Locked = true, |
| 1070 | + | Offset = OffSet, |
| 1071 | - | BrickColor = BrickColor.new(tostring(BColor)), |
| 1071 | + | Scale = Scale |
| 1072 | - | Name = Name, |
| 1072 | + | }) |
| 1073 | - | Size = Size, |
| 1073 | + | if Mesh == "SpecialMesh" then |
| 1074 | - | Material = Material |
| 1074 | + | Msh.MeshType = MeshType |
| 1075 | - | }) |
| 1075 | + | Msh.MeshId = MeshId |
| 1076 | - | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) |
| 1076 | + | end |
| 1077 | - | RemoveOutlines(Part) |
| 1077 | + | return Msh |
| 1078 | - | return Part |
| 1078 | + | |
| 1079 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 1080 | local Weld = Create("Weld")({
| |
| 1081 | - | local Msh = Create(Mesh)({
|
| 1081 | + | Parent = Parent, |
| 1082 | - | Parent = Part, |
| 1082 | + | Part0 = Part0, |
| 1083 | - | Offset = OffSet, |
| 1083 | + | Part1 = Part1, |
| 1084 | - | Scale = Scale |
| 1084 | + | C0 = C0, |
| 1085 | - | }) |
| 1085 | + | C1 = C1 |
| 1086 | - | if Mesh == "SpecialMesh" then |
| 1086 | + | }) |
| 1087 | - | Msh.MeshType = MeshType |
| 1087 | + | return Weld |
| 1088 | - | Msh.MeshId = MeshId |
| 1088 | + | |
| 1089 | ||
| 1090 | - | return Msh |
| 1090 | + | Player=game:GetService("Players").plytalent
|
| 1091 | Character=Player.Character | |
| 1092 | PlayerGui=Player.PlayerGui | |
| 1093 | - | local Weld = Create("Weld")({
|
| 1093 | + | Backpack=Player.Backpack |
| 1094 | - | Parent = Parent, |
| 1094 | + | Torso=Character.Torso |
| 1095 | - | Part0 = Part0, |
| 1095 | + | Head=Character.Head |
| 1096 | - | Part1 = Part1, |
| 1096 | + | Humanoid=Character.Humanoid |
| 1097 | - | C0 = C0, |
| 1097 | + | m=Instance.new('Model',Character)
|
| 1098 | - | C1 = C1 |
| 1098 | + | LeftArm=Character["Left Arm"] |
| 1099 | - | }) |
| 1099 | + | LeftLeg=Character["Left Leg"] |
| 1100 | - | return Weld |
| 1100 | + | RightArm=Character["Right Arm"] |
| 1101 | RightLeg=Character["Right Leg"] | |
| 1102 | - | Player = game:GetService("Players").LocalPlayer
|
| 1102 | + | LS=Torso["Left Shoulder"] |
| 1103 | - | Character = Player.Character |
| 1103 | + | LH=Torso["Left Hip"] |
| 1104 | - | PlayerGui = Player.PlayerGui |
| 1104 | + | RS=Torso["Right Shoulder"] |
| 1105 | - | Backpack = Player.Backpack |
| 1105 | + | RH=Torso["Right Hip"] |
| 1106 | - | Torso = Character.Torso |
| 1106 | + | |
| 1107 | - | Head = Character.Head |
| 1107 | + | Neck=Torso.Neck |
| 1108 | - | Humanoid = Character.Humanoid |
| 1108 | + | it=Instance.new |
| 1109 | - | m = Instance.new("Model", Character)
|
| 1109 | + | attacktype=1 |
| 1110 | - | LeftArm = Character["Left Arm"] |
| 1110 | + | vt=Vector3.new |
| 1111 | - | LeftLeg = Character["Left Leg"] |
| 1111 | + | cf=CFrame.new |
| 1112 | - | RightArm = Character["Right Arm"] |
| 1112 | + | euler=CFrame.fromEulerAnglesXYZ |
| 1113 | - | RightLeg = Character["Right Leg"] |
| 1113 | + | angles=CFrame.Angles |
| 1114 | - | LS = Torso["Left Shoulder"] |
| 1114 | + | cloaked=false |
| 1115 | - | LH = Torso["Left Hip"] |
| 1115 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 1116 | - | RS = Torso["Right Shoulder"] |
| 1116 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 1117 | - | RH = Torso["Right Hip"] |
| 1117 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
| 1118 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1119 | - | Neck = Torso.Neck |
| 1119 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
| 1120 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1121 | - | attacktype = 1 |
| 1121 | + | RootPart=Character.HumanoidRootPart |
| 1122 | RootJoint=RootPart.RootJoint | |
| 1123 | RootCF=euler(-1.57,0,3.14) | |
| 1124 | - | euler = CFrame.fromEulerAnglesXYZ |
| 1124 | + | attack = false |
| 1125 | - | angles = CFrame.Angles |
| 1125 | + | attackdebounce = false |
| 1126 | - | cloaked = false |
| 1126 | + | deb=false |
| 1127 | - | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
| 1127 | + | equipped=true |
| 1128 | - | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
| 1128 | + | hand=false |
| 1129 | - | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 1129 | + | MMouse=nil |
| 1130 | - | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 1130 | + | combo=0 |
| 1131 | - | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 1131 | + | mana=0 |
| 1132 | - | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 1132 | + | trispeed=.2 |
| 1133 | - | RootPart = Character.HumanoidRootPart |
| 1133 | + | attackmode='none' |
| 1134 | - | RootJoint = RootPart.RootJoint |
| 1134 | + | local idle=0 |
| 1135 | - | RootCF = euler(-1.57, 0, 3.14) |
| 1135 | + | local Anim="Idle" |
| 1136 | local Effects={}
| |
| 1137 | - | attackdebounce = false |
| 1137 | + | local gun=false |
| 1138 | - | deb = false |
| 1138 | + | local shoot=false |
| 1139 | - | equipped = true |
| 1139 | + | |
| 1140 | - | hand = false |
| 1140 | + | |
| 1141 | - | MMouse = nil |
| 1141 | + | local stop = false |
| 1142 | - | combo = 0 |
| 1142 | + | player=nil |
| 1143 | - | mana = 0 |
| 1143 | + | |
| 1144 | - | trispeed = 0.2 |
| 1144 | + | |
| 1145 | - | attackmode = "none" |
| 1145 | + | |
| 1146 | - | local idle = 0 |
| 1146 | + | |
| 1147 | - | local Anim = "Idle" |
| 1147 | + | |
| 1148 | - | local Effects = {}
|
| 1148 | + | |
| 1149 | - | local gun = false |
| 1149 | + | |
| 1150 | - | local shoot = false |
| 1150 | + | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) |
| 1151 | local text = Instance.new("TextLabel", txt)
| |
| 1152 | text.Size = UDim2.new(10/2, 0, 7/2, 0) | |
| 1153 | - | player = nil |
| 1153 | + | |
| 1154 | text.TextScaled = true | |
| 1155 | text.TextTransparency = 0 | |
| 1156 | text.BackgroundTransparency = 1 | |
| 1157 | text.TextTransparency = 0 | |
| 1158 | text.TextStrokeTransparency = 0 | |
| 1159 | - | txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0) |
| 1159 | + | |
| 1160 | text.TextStrokeColor3 = Color3.new(1,0,0) | |
| 1161 | - | text.Size = UDim2.new(5, 0, 3.5, 0) |
| 1161 | + | text.TextColor3 = Color3.new(0,0,0) |
| 1162 | text.Text = "Mayhem" | |
| 1163 | ||
| 1164 | function RecolorTextAndRename(name,col1,col2) | |
| 1165 | - | text.BackgroundTransparency = 1 |
| 1165 | + | text.TextStrokeColor3 = col2 |
| 1166 | text.TextColor3 = col1 | |
| 1167 | text.Text = name | |
| 1168 | end | |
| 1169 | - | text.TextStrokeColor3 = Color3.new(1, 0, 0) |
| 1169 | + | mouse=Player:GetMouse() |
| 1170 | - | text.TextColor3 = Color3.new(0, 0, 0) |
| 1170 | + | --save shoulders |
| 1171 | - | text.Text = "Sweet Dreams" |
| 1171 | + | RSH, LSH=nil, nil |
| 1172 | - | function RecolorTextAndRename(name, col1, col2) |
| 1172 | + | --welds |
| 1173 | - | text.TextStrokeColor3 = col2 |
| 1173 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld")
|
| 1174 | - | text.TextColor3 = col1 |
| 1174 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
| 1175 | - | text.Text = name |
| 1175 | + | LH=Torso["Left Hip"] |
| 1176 | RH=Torso["Right Hip"] | |
| 1177 | - | mouse = Player:GetMouse() |
| 1177 | + | TorsoColor=Torso.BrickColor |
| 1178 | - | RSH, LSH = nil, nil |
| 1178 | + | |
| 1179 | - | RW, LW = Instance.new("Weld"), Instance.new("Weld")
|
| 1179 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
| 1180 | - | RW.Name = "Right Shoulder" |
| 1180 | + | |
| 1181 | - | LW.Name = "Left Shoulder" |
| 1181 | + | player=Player |
| 1182 | - | LH = Torso["Left Hip"] |
| 1182 | + | ch=Character |
| 1183 | - | RH = Torso["Right Hip"] |
| 1183 | + | RSH=ch.Torso["Right Shoulder"] |
| 1184 | - | TorsoColor = Torso.BrickColor |
| 1184 | + | LSH=ch.Torso["Left Shoulder"] |
| 1185 | -- | |
| 1186 | - | Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10 |
| 1186 | + | RSH.Parent=nil |
| 1187 | LSH.Parent=nil | |
| 1188 | - | player = Player |
| 1188 | + | -- |
| 1189 | - | ch = Character |
| 1189 | + | RW.Name="Right Shoulder" |
| 1190 | - | RSH = ch.Torso["Right Shoulder"] |
| 1190 | + | RW.Part0=ch.Torso |
| 1191 | - | LSH = ch.Torso["Left Shoulder"] |
| 1191 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
| 1192 | - | RSH.Parent = nil |
| 1192 | + | RW.C1=cf(0, 0.5, 0) |
| 1193 | - | LSH.Parent = nil |
| 1193 | + | RW.Part1=ch["Right Arm"] |
| 1194 | - | RW.Name = "Right Shoulder" |
| 1194 | + | RW.Parent=ch.Torso |
| 1195 | - | RW.Part0 = ch.Torso |
| 1195 | + | -- |
| 1196 | - | RW.C0 = cf(1.5, 0.5, 0) |
| 1196 | + | LW.Name="Left Shoulder" |
| 1197 | - | RW.C1 = cf(0, 0.5, 0) |
| 1197 | + | LW.Part0=ch.Torso |
| 1198 | - | RW.Part1 = ch["Right Arm"] |
| 1198 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
| 1199 | - | RW.Parent = ch.Torso |
| 1199 | + | LW.C1=cf(0, 0.5, 0) |
| 1200 | - | LW.Name = "Left Shoulder" |
| 1200 | + | LW.Part1=ch["Left Arm"] |
| 1201 | - | LW.Part0 = ch.Torso |
| 1201 | + | LW.Parent=ch.Torso |
| 1202 | - | LW.C0 = cf(-1.5, 0.5, 0) |
| 1202 | + | |
| 1203 | - | LW.C1 = cf(0, 0.5, 0) |
| 1203 | + | local Stats=Instance.new("BoolValue")
|
| 1204 | - | LW.Part1 = ch["Left Arm"] |
| 1204 | + | Stats.Name="Stats" |
| 1205 | - | LW.Parent = ch.Torso |
| 1205 | + | Stats.Parent=Character |
| 1206 | - | local Stats = Instance.new("BoolValue")
|
| 1206 | + | local Atk=Instance.new("NumberValue")
|
| 1207 | - | Stats.Name = "Stats" |
| 1207 | + | Atk.Name="Damage" |
| 1208 | - | Stats.Parent = Character |
| 1208 | + | Atk.Parent=Stats |
| 1209 | - | local Atk = Instance.new("NumberValue")
|
| 1209 | + | Atk.Value=1 |
| 1210 | - | Atk.Name = "Damage" |
| 1210 | + | local Def=Instance.new("NumberValue")
|
| 1211 | - | Atk.Parent = Stats |
| 1211 | + | Def.Name="Defense" |
| 1212 | - | Atk.Value = 1 |
| 1212 | + | Def.Parent=Stats |
| 1213 | - | local Def = Instance.new("NumberValue")
|
| 1213 | + | Def.Value=1 |
| 1214 | - | Def.Name = "Defense" |
| 1214 | + | local Speed=Instance.new("NumberValue")
|
| 1215 | - | Def.Parent = Stats |
| 1215 | + | Speed.Name="Speed" |
| 1216 | - | Def.Value = 1 |
| 1216 | + | Speed.Parent=Stats |
| 1217 | - | local Speed = Instance.new("NumberValue")
|
| 1217 | + | Speed.Value=1 |
| 1218 | - | Speed.Name = "Speed" |
| 1218 | + | local Mvmt=Instance.new("NumberValue")
|
| 1219 | - | Speed.Parent = Stats |
| 1219 | + | Mvmt.Name="Movement" |
| 1220 | - | Speed.Value = 1 |
| 1220 | + | Mvmt.Parent=Stats |
| 1221 | - | local Mvmt = Instance.new("NumberValue")
|
| 1221 | + | Mvmt.Value=1 |
| 1222 | - | Mvmt.Name = "Movement" |
| 1222 | + | |
| 1223 | - | Mvmt.Parent = Stats |
| 1223 | + | local donum=0 |
| 1224 | - | Mvmt.Value = 1 |
| 1224 | + | |
| 1225 | - | local donum = 0 |
| 1225 | + | |
| 1226 | - | function part(formfactor, parent, reflectance, transparency, brickcolor, name, size) |
| 1226 | + | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) |
| 1227 | - | local fp = it("Part")
|
| 1227 | + | local fp=it("Part")
|
| 1228 | - | fp.formFactor = formfactor |
| 1228 | + | fp.formFactor=formfactor |
| 1229 | - | fp.Parent = parent |
| 1229 | + | fp.Parent=parent |
| 1230 | - | fp.Reflectance = reflectance |
| 1230 | + | fp.Reflectance=reflectance |
| 1231 | - | fp.Transparency = transparency |
| 1231 | + | fp.Transparency=transparency |
| 1232 | - | fp.CanCollide = false |
| 1232 | + | fp.CanCollide=false |
| 1233 | - | fp.Locked = true |
| 1233 | + | fp.Locked=true |
| 1234 | - | fp.BrickColor = brickcolor |
| 1234 | + | fp.BrickColor=brickcolor |
| 1235 | - | fp.Name = name |
| 1235 | + | fp.Name=name |
| 1236 | - | fp.Size = size |
| 1236 | + | fp.Size=size |
| 1237 | - | fp.Position = Torso.Position |
| 1237 | + | fp.Position=Torso.Position |
| 1238 | - | NoOutline(fp) |
| 1238 | + | NoOutline(fp) |
| 1239 | - | fp.Material = "SmoothPlastic" |
| 1239 | + | fp.Material="SmoothPlastic" |
| 1240 | - | fp:BreakJoints() |
| 1240 | + | fp:BreakJoints() |
| 1241 | - | return fp |
| 1241 | + | return fp |
| 1242 | end | |
| 1243 | - | function mesh(Mesh, part, meshtype, meshid, offset, scale) |
| 1243 | + | |
| 1244 | - | local mesh = it(Mesh) |
| 1244 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 1245 | - | mesh.Parent = part |
| 1245 | + | local mesh=it(Mesh) |
| 1246 | - | if Mesh == "SpecialMesh" then |
| 1246 | + | mesh.Parent=part |
| 1247 | - | mesh.MeshType = meshtype |
| 1247 | + | if Mesh=="SpecialMesh" then |
| 1248 | - | if meshid ~= "nil" then |
| 1248 | + | mesh.MeshType=meshtype |
| 1249 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid |
| 1249 | + | if meshid~="nil" then |
| 1250 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 1251 | end | |
| 1252 | - | mesh.Offset = offset |
| 1252 | + | |
| 1253 | - | mesh.Scale = scale |
| 1253 | + | mesh.Offset=offset |
| 1254 | - | return mesh |
| 1254 | + | mesh.Scale=scale |
| 1255 | return mesh | |
| 1256 | - | function weld(parent, part0, part1, c0) |
| 1256 | + | |
| 1257 | - | local weld = it("Weld")
|
| 1257 | + | |
| 1258 | - | weld.Parent = parent |
| 1258 | + | function weld(parent,part0,part1,c0) |
| 1259 | - | weld.Part0 = part0 |
| 1259 | + | local weld=it("Weld")
|
| 1260 | - | weld.Part1 = part1 |
| 1260 | + | weld.Parent=parent |
| 1261 | - | weld.C0 = c0 |
| 1261 | + | weld.Part0=part0 |
| 1262 | - | return weld |
| 1262 | + | weld.Part1=part1 |
| 1263 | weld.C0=c0 | |
| 1264 | - | local Color1 = Torso.BrickColor |
| 1264 | + | return weld |
| 1265 | - | local bodvel = Instance.new("BodyVelocity")
|
| 1265 | + | |
| 1266 | - | local bg = Instance.new("BodyGyro")
|
| 1266 | + | |
| 1267 | local Color1=Torso.BrickColor | |
| 1268 | - | if num == 0 or num == nil then |
| 1268 | + | |
| 1269 | - | game:service("RunService").Stepped:wait(0)
|
| 1269 | + | local bodvel=Instance.new("BodyVelocity")
|
| 1270 | local bg=Instance.new("BodyGyro")
| |
| 1271 | - | for i = 0, num do |
| 1271 | + | |
| 1272 | - | game:service("RunService").Stepped:wait(0)
|
| 1272 | + | |
| 1273 | if num==0 or num==nil then | |
| 1274 | game:service'RunService'.Stepped:wait(0) | |
| 1275 | else | |
| 1276 | for i=0,num do | |
| 1277 | game:service'RunService'.Stepped:wait(0) | |
| 1278 | end | |
| 1279 | end | |
| 1280 | - | while wait() do |
| 1280 | + | |
| 1281 | - | for i = 0, 50.8 do |
| 1281 | + | |
| 1282 | - | swait() |
| 1282 | + | -------- RAINBOW LEAVE IT TO ME |
| 1283 | - | g = g + 5 |
| 1283 | + | |
| 1284 | local g = 0 | |
| 1285 | - | for i = 0, 50.8 do |
| 1285 | + | |
| 1286 | - | swait() |
| 1286 | + | |
| 1287 | - | r = r - 5 |
| 1287 | + | while wait() do |
| 1288 | for i = 0, 254/5 do | |
| 1289 | - | for i = 0, 50.8 do |
| 1289 | + | |
| 1290 | - | swait() |
| 1290 | + | g = g + 5 |
| 1291 | - | b = b + 5 |
| 1291 | + | |
| 1292 | for i = 0, 254/5 do | |
| 1293 | - | for i = 0, 50.8 do |
| 1293 | + | |
| 1294 | - | swait() |
| 1294 | + | r = r - 5 |
| 1295 | - | g = g - 5 |
| 1295 | + | |
| 1296 | for i = 0, 254/5 do | |
| 1297 | - | for i = 0, 50.8 do |
| 1297 | + | |
| 1298 | - | swait() |
| 1298 | + | b = b + 5 |
| 1299 | - | r = r + 5 |
| 1299 | + | |
| 1300 | for i = 0, 254/5 do | |
| 1301 | - | for i = 0, 50.8 do |
| 1301 | + | |
| 1302 | - | swait() |
| 1302 | + | g = g - 5 |
| 1303 | - | b = b - 5 |
| 1303 | + | |
| 1304 | for i = 0, 254/5 do | |
| 1305 | swait() | |
| 1306 | r = r + 5 | |
| 1307 | - | function so(id, par, vol, pit) |
| 1307 | + | |
| 1308 | for i = 0, 254/5 do | |
| 1309 | - | local sou = Instance.new("Sound", par or workspace)
|
| 1309 | + | |
| 1310 | - | sou.Volume = vol |
| 1310 | + | b = b - 5 |
| 1311 | - | sou.Pitch = pit or 1 |
| 1311 | + | |
| 1312 | - | sou.SoundId = id |
| 1312 | + | |
| 1313 | end)) | |
| 1314 | - | sou:play() |
| 1314 | + | |
| 1315 | - | game:GetService("Debris"):AddItem(sou, 6)
|
| 1315 | + | |
| 1316 | so = function(id,par,vol,pit) | |
| 1317 | coroutine.resume(coroutine.create(function() | |
| 1318 | - | function clerp(a, b, t) |
| 1318 | + | local sou = Instance.new("Sound",par or workspace)
|
| 1319 | - | local qa = {
|
| 1319 | + | sou.Volume=vol |
| 1320 | - | QuaternionFromCFrame(a) |
| 1320 | + | sou.Pitch=pit or 1 |
| 1321 | - | } |
| 1321 | + | sou.SoundId=id |
| 1322 | - | local qb = {
|
| 1322 | + | swait() |
| 1323 | - | QuaternionFromCFrame(b) |
| 1323 | + | sou:play() |
| 1324 | - | } |
| 1324 | + | game:GetService("Debris"):AddItem(sou,6)
|
| 1325 | - | local ax, ay, az = a.x, a.y, a.z |
| 1325 | + | |
| 1326 | - | local bx, by, bz = b.x, b.y, b.z |
| 1326 | + | |
| 1327 | - | local _t = 1 - t |
| 1327 | + | |
| 1328 | - | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
| 1328 | + | |
| 1329 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 1330 | - | function QuaternionFromCFrame(cf) |
| 1330 | + | local startInterp, finishInterp; |
| 1331 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 1331 | + | if cosTheta >= 0.0001 then |
| 1332 | - | local trace = m00 + m11 + m22 |
| 1332 | + | if (1 - cosTheta) > 0.0001 then |
| 1333 | - | if trace > 0 then |
| 1333 | + | local theta = ACOS(cosTheta) |
| 1334 | - | local s = math.sqrt(1 + trace) |
| 1334 | + | local invSinTheta = 1 / SIN(theta) |
| 1335 | - | local recip = 0.5 / s |
| 1335 | + | startInterp = SIN((1 - t) * theta) * invSinTheta |
| 1336 | - | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
| 1336 | + | finishInterp = SIN(t * theta) * invSinTheta |
| 1337 | else | |
| 1338 | - | local i = 0 |
| 1338 | + | |
| 1339 | - | if m00 < m11 then |
| 1339 | + | |
| 1340 | - | i = 1 |
| 1340 | + | |
| 1341 | else | |
| 1342 | - | if m22 > (i == 0 and m00 or m11) then |
| 1342 | + | if (1 + cosTheta) > 0.0001 then |
| 1343 | - | i = 2 |
| 1343 | + | local theta = ACOS(-cosTheta) |
| 1344 | local invSinTheta = 1 / SIN(theta) | |
| 1345 | - | if i == 0 then |
| 1345 | + | startInterp = SIN((t - 1) * theta) * invSinTheta |
| 1346 | - | local s = math.sqrt(m00 - m11 - m22 + 1) |
| 1346 | + | finishInterp = SIN(t * theta) * invSinTheta |
| 1347 | - | local recip = 0.5 / s |
| 1347 | + | |
| 1348 | - | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
| 1348 | + | startInterp = t - 1 |
| 1349 | - | elseif i == 1 then |
| 1349 | + | |
| 1350 | - | local s = math.sqrt(m11 - m22 - m00 + 1) |
| 1350 | + | |
| 1351 | - | local recip = 0.5 / s |
| 1351 | + | |
| 1352 | - | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
| 1352 | + | |
| 1353 | - | elseif i == 2 then |
| 1353 | + | |
| 1354 | - | local s = math.sqrt(m22 - m00 - m11 + 1) |
| 1354 | + | |
| 1355 | - | local recip = 0.5 / s |
| 1355 | + | function Clerp(a,b,t) |
| 1356 | - | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
| 1356 | + | local qa = {QuaternionFromCFrame(a)}
|
| 1357 | local qb = {QuaternionFromCFrame(b)}
| |
| 1358 | local ax, ay, az = a.x, a.y, a.z | |
| 1359 | local bx, by, bz = b.x, b.y, b.z | |
| 1360 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 1360 | + | local _t = 1-t |
| 1361 | - | local xs, ys, zs = x + x, y + y, z + z |
| 1361 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
| 1362 | - | local wx, wy, wz = w * xs, w * ys, w * zs |
| 1362 | + | end |
| 1363 | - | local xx = x * xs |
| 1363 | + | |
| 1364 | - | local xy = x * ys |
| 1364 | + | function QuaternionFromCFrame(cf) |
| 1365 | - | local xz = x * zs |
| 1365 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 1366 | - | local yy = y * ys |
| 1366 | + | local trace = m00 + m11 + m22 |
| 1367 | - | local yz = y * zs |
| 1367 | + | if trace > 0 then |
| 1368 | - | local zz = z * zs |
| 1368 | + | local s = math.sqrt(1 + trace) |
| 1369 | - | 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)) |
| 1369 | + | local recip = 0.5/s |
| 1370 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 1371 | else | |
| 1372 | local i = 0 | |
| 1373 | - | local startInterp, finishInterp |
| 1373 | + | if m11 > m00 then |
| 1374 | - | if cosTheta >= 1.0E-4 then |
| 1374 | + | i = 1 |
| 1375 | - | if 1 - cosTheta > 1.0E-4 then |
| 1375 | + | |
| 1376 | - | local theta = math.acos(cosTheta) |
| 1376 | + | if m22 > (i == 0 and m00 or m11) then |
| 1377 | - | local invSinTheta = 1 / math.sin(theta) |
| 1377 | + | i = 2 |
| 1378 | - | startInterp = math.sin((1 - t) * theta) * invSinTheta |
| 1378 | + | end |
| 1379 | - | finishInterp = math.sin(t * theta) * invSinTheta |
| 1379 | + | if i == 0 then |
| 1380 | local s = math.sqrt(m00-m11-m22+1) | |
| 1381 | local recip = 0.5/s | |
| 1382 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 1383 | elseif i == 1 then | |
| 1384 | - | elseif 1 + cosTheta > 1.0E-4 then |
| 1384 | + | local s = math.sqrt(m11-m22-m00+1) |
| 1385 | - | local theta = math.acos(-cosTheta) |
| 1385 | + | local recip = 0.5/s |
| 1386 | - | local invSinTheta = 1 / math.sin(theta) |
| 1386 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
| 1387 | - | startInterp = math.sin((t - 1) * theta) * invSinTheta |
| 1387 | + | elseif i == 2 then |
| 1388 | - | finishInterp = math.sin(t * theta) * invSinTheta |
| 1388 | + | local s = math.sqrt(m22-m00-m11+1) |
| 1389 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 1390 | - | startInterp = t - 1 |
| 1390 | + | end |
| 1391 | - | finishInterp = t |
| 1391 | + | end |
| 1392 | end | |
| 1393 | ||
| 1394 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1395 | - | local CFrameFromTopBack = function(at, top, back) |
| 1395 | + | local xs, ys, zs = x + x, y + y, z + z |
| 1396 | - | local right = top:Cross(back) |
| 1396 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
| 1397 | - | return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) |
| 1397 | + | local xx = x*xs |
| 1398 | local xy = x*ys | |
| 1399 | local xz = x*zs | |
| 1400 | - | local edg1 = (c - a):Dot((b - a).unit) |
| 1400 | + | local yy = y*ys |
| 1401 | - | local edg2 = (a - b):Dot((c - b).unit) |
| 1401 | + | local yz = y*zs |
| 1402 | - | local edg3 = (b - c):Dot((a - c).unit) |
| 1402 | + | local zz = z*zs |
| 1403 | - | if edg1 <= (b - a).magnitude and edg1 >= 0 then |
| 1403 | + | 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)) |
| 1404 | - | a, b = a, b |
| 1404 | + | |
| 1405 | - | elseif edg2 <= (c - b).magnitude and edg2 >= 0 then |
| 1405 | + | |
| 1406 | - | a, b, c = b, c, a |
| 1406 | + | function QuaternionSlerp(a, b, t) |
| 1407 | - | elseif edg3 <= (a - c).magnitude and edg3 >= 0 then |
| 1407 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
| 1408 | - | a, b, c = c, a, b |
| 1408 | + | local startInterp, finishInterp; |
| 1409 | if cosTheta >= 0.0001 then | |
| 1410 | - | assert(false, "unreachable") |
| 1410 | + | if (1 - cosTheta) > 0.0001 then |
| 1411 | local theta = math.acos(cosTheta) | |
| 1412 | - | local len1 = (c - a):Dot((b - a).unit) |
| 1412 | + | local invSinTheta = 1/math.sin(theta) |
| 1413 | - | local len2 = (b - a).magnitude - len1 |
| 1413 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
| 1414 | - | local width = (a + (b - a).unit * len1 - c).magnitude |
| 1414 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 1415 | - | local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit) |
| 1415 | + | else |
| 1416 | - | local list = {}
|
| 1416 | + | startInterp = 1-t |
| 1417 | - | if len1 > 0.01 then |
| 1417 | + | finishInterp = t |
| 1418 | - | local w1 = Instance.new("WedgePart", m)
|
| 1418 | + | end |
| 1419 | - | game:GetService("Debris"):AddItem(w1, 5)
|
| 1419 | + | else |
| 1420 | - | w1.Material = "SmoothPlastic" |
| 1420 | + | if (1+cosTheta) > 0.0001 then |
| 1421 | - | w1.FormFactor = "Custom" |
| 1421 | + | local theta = math.acos(-cosTheta) |
| 1422 | - | w1.BrickColor = BrickColor.new("Really red")
|
| 1422 | + | local invSinTheta = 1/math.sin(theta) |
| 1423 | - | w1.Transparency = 0 |
| 1423 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
| 1424 | - | w1.Reflectance = 0 |
| 1424 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 1425 | - | w1.Material = "SmoothPlastic" |
| 1425 | + | else |
| 1426 | - | w1.CanCollide = false |
| 1426 | + | startInterp = t-1 |
| 1427 | - | local l1 = Instance.new("PointLight", w1)
|
| 1427 | + | finishInterp = t |
| 1428 | - | l1.Color = Color3.new(170, 0, 0) |
| 1428 | + | end |
| 1429 | - | NoOutline(w1) |
| 1429 | + | end |
| 1430 | - | local sz = Vector3.new(0.2, width, len1) |
| 1430 | + | 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 |
| 1431 | - | w1.Size = sz |
| 1431 | + | |
| 1432 | - | local sp = Instance.new("SpecialMesh", w1)
|
| 1432 | + | |
| 1433 | - | sp.MeshType = "Wedge" |
| 1433 | + | local function CFrameFromTopBack(at, top, back) |
| 1434 | - | sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size |
| 1434 | + | local right = top:Cross(back) |
| 1435 | - | w1:BreakJoints() |
| 1435 | + | return CFrame.new(at.x, at.y, at.z, |
| 1436 | - | w1.Anchored = true |
| 1436 | + | right.x, top.x, back.x, |
| 1437 | - | w1.Parent = workspace |
| 1437 | + | right.y, top.y, back.y, |
| 1438 | - | w1.Transparency = 0.7 |
| 1438 | + | right.z, top.z, back.z) |
| 1439 | - | table.insert(Effects, {
|
| 1439 | + | |
| 1440 | - | w1, |
| 1440 | + | |
| 1441 | - | "Disappear", |
| 1441 | + | |
| 1442 | - | 0.01 |
| 1442 | + | local edg1 = (c-a):Dot((b-a).unit) |
| 1443 | - | }) |
| 1443 | + | local edg2 = (a-b):Dot((c-b).unit) |
| 1444 | - | w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2) |
| 1444 | + | local edg3 = (b-c):Dot((a-c).unit) |
| 1445 | - | table.insert(list, w1) |
| 1445 | + | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
| 1446 | a, b, c = a, b, c | |
| 1447 | - | if len2 > 0.01 then |
| 1447 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
| 1448 | - | local w2 = Instance.new("WedgePart", m)
|
| 1448 | + | a, b, c = b, c, a |
| 1449 | - | game:GetService("Debris"):AddItem(w2, 5)
|
| 1449 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
| 1450 | - | w2.Material = "SmoothPlastic" |
| 1450 | + | a, b, c = c, a, b |
| 1451 | - | w2.FormFactor = "Custom" |
| 1451 | + | else |
| 1452 | - | w2.BrickColor = BrickColor.new("Really red")
|
| 1452 | + | assert(false, "unreachable") |
| 1453 | - | w2.Transparency = 0 |
| 1453 | + | |
| 1454 | - | w2.Reflectance = 0 |
| 1454 | + | |
| 1455 | - | w2.Material = "SmoothPlastic" |
| 1455 | + | local len1 = (c-a):Dot((b-a).unit) |
| 1456 | - | w2.CanCollide = false |
| 1456 | + | local len2 = (b-a).magnitude - len1 |
| 1457 | - | local l2 = Instance.new("PointLight", w2)
|
| 1457 | + | local width = (a + (b-a).unit*len1 - c).magnitude |
| 1458 | - | l2.Color = Color3.new(170, 0, 0) |
| 1458 | + | |
| 1459 | - | NoOutline(w2) |
| 1459 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
| 1460 | - | local sz = Vector3.new(0.2, width, len2) |
| 1460 | + | |
| 1461 | - | w2.Size = sz |
| 1461 | + | local list = {}
|
| 1462 | - | local sp = Instance.new("SpecialMesh", w2)
|
| 1462 | + | |
| 1463 | - | sp.MeshType = "Wedge" |
| 1463 | + | if len1 > 0.01 then |
| 1464 | - | sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size |
| 1464 | + | local w1 = Instance.new('WedgePart', m)
|
| 1465 | - | w2:BreakJoints() |
| 1465 | + | game:GetService("Debris"):AddItem(w1,5)
|
| 1466 | - | w2.Anchored = true |
| 1466 | + | w1.Material = "SmoothPlastic" |
| 1467 | - | w2.Parent = workspace |
| 1467 | + | w1.FormFactor = 'Custom' |
| 1468 | - | w2.Transparency = 0.7 |
| 1468 | + | w1.BrickColor = BrickColor.new("Really red")
|
| 1469 | - | table.insert(Effects, {
|
| 1469 | + | w1.Transparency = 0 |
| 1470 | - | w2, |
| 1470 | + | w1.Reflectance = 0 |
| 1471 | - | "Disappear", |
| 1471 | + | w1.Material = "SmoothPlastic" |
| 1472 | - | 0.01 |
| 1472 | + | w1.CanCollide = false |
| 1473 | - | }) |
| 1473 | + | local l1 = Instance.new("PointLight",w1)
|
| 1474 | - | w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2) |
| 1474 | + | l1.Color = Color3.new(170,0,0) |
| 1475 | - | table.insert(list, w2) |
| 1475 | + | NoOutline(w1) |
| 1476 | local sz = Vector3.new(0.2, width, len1) | |
| 1477 | - | return unpack(list) |
| 1477 | + | w1.Size = sz |
| 1478 | local sp = Instance.new("SpecialMesh",w1)
| |
| 1479 | sp.MeshType = "Wedge" | |
| 1480 | - | if hit.Parent == nil then |
| 1480 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
| 1481 | - | return |
| 1481 | + | w1:BreakJoints() |
| 1482 | w1.Anchored = true | |
| 1483 | - | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
|
| 1483 | + | w1.Parent = workspace |
| 1484 | - | for _, v in pairs(hit.Parent:children()) do |
| 1484 | + | w1.Transparency = 0.7 |
| 1485 | - | if v:IsA("Humanoid") then
|
| 1485 | + | table.insert(Effects,{w1,"Disappear",.01})
|
| 1486 | - | h = v |
| 1486 | + | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
| 1487 | table.insert(list,w1) | |
| 1488 | end | |
| 1489 | - | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
|
| 1489 | + | |
| 1490 | - | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
|
| 1490 | + | if len2 > 0.01 then |
| 1491 | - | return |
| 1491 | + | local w2 = Instance.new('WedgePart', m)
|
| 1492 | game:GetService("Debris"):AddItem(w2,5)
| |
| 1493 | - | local c = Create("ObjectValue")({
|
| 1493 | + | w2.Material = "SmoothPlastic" |
| 1494 | - | Name = "creator", |
| 1494 | + | w2.FormFactor = 'Custom' |
| 1495 | - | Value = RealGame:service("Players")[owner.Name],
|
| 1495 | + | w2.BrickColor = BrickColor.new("Really red")
|
| 1496 | - | Parent = h |
| 1496 | + | w2.Transparency = 0 |
| 1497 | - | }) |
| 1497 | + | w2.Reflectance = 0 |
| 1498 | - | game:GetService("Debris"):AddItem(c, 0.5)
|
| 1498 | + | w2.Material = "SmoothPlastic" |
| 1499 | - | if HitSound ~= nil and HitPitch ~= nil then |
| 1499 | + | w2.CanCollide = false |
| 1500 | - | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
| 1500 | + | local l2 = Instance.new("PointLight",w2)
|
| 1501 | l2.Color = Color3.new(170,0,0) | |
| 1502 | - | local Damage = math.random(minim, maxim) |
| 1502 | + | NoOutline(w2) |
| 1503 | - | local blocked = false |
| 1503 | + | local sz = Vector3.new(0.2, width, len2) |
| 1504 | - | local block = hit.Parent:findFirstChild("Block")
|
| 1504 | + | w2.Size = sz |
| 1505 | - | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
| 1505 | + | local sp = Instance.new("SpecialMesh",w2)
|
| 1506 | - | blocked = true |
| 1506 | + | sp.MeshType = "Wedge" |
| 1507 | - | block.Value = block.Value - 1 |
| 1507 | + | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
| 1508 | - | print(block.Value) |
| 1508 | + | w2:BreakJoints() |
| 1509 | w2.Anchored = true | |
| 1510 | - | if blocked == false then |
| 1510 | + | w2.Parent = workspace |
| 1511 | - | HitHealth = h.Health |
| 1511 | + | w2.Transparency = 0.7 |
| 1512 | - | h.Health = h.Health - Damage |
| 1512 | + | table.insert(Effects,{w2,"Disappear",.01})
|
| 1513 | - | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then |
| 1513 | + | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
| 1514 | - | print("gained kill")
|
| 1514 | + | table.insert(list,w2) |
| 1515 | end | |
| 1516 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
| 1516 | + | return unpack(list) |
| 1517 | end | |
| 1518 | - | h.Health = h.Health - Damage / 2 |
| 1518 | + | |
| 1519 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
| 1519 | + | |
| 1520 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1521 | - | if Type == "Knockdown" then |
| 1521 | + | if hit.Parent == nil then |
| 1522 | - | local hum = hit.Parent.Humanoid |
| 1522 | + | return |
| 1523 | - | hum.PlatformStand = true |
| 1523 | + | end |
| 1524 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
| 1524 | + | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
|
| 1525 | - | swait(1) |
| 1525 | + | for _, v in pairs(hit.Parent:children()) do |
| 1526 | - | HHumanoid.PlatformStand = false |
| 1526 | + | if v:IsA("Humanoid") then
|
| 1527 | - | end), hum) |
| 1527 | + | h = v |
| 1528 | - | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit |
| 1528 | + | end |
| 1529 | - | local bodvol = Create("BodyVelocity")({
|
| 1529 | + | end |
| 1530 | - | velocity = angle * knockback, |
| 1530 | + | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
|
| 1531 | - | P = 5000, |
| 1531 | + | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
|
| 1532 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 1532 | + | return |
| 1533 | - | Parent = hit |
| 1533 | + | end |
| 1534 | - | }) |
| 1534 | + | local c = Create("ObjectValue")({
|
| 1535 | - | local rl = Create("BodyAngularVelocity")({
|
| 1535 | + | Name = "creator", |
| 1536 | - | P = 3000, |
| 1536 | + | Value = game:service("Players").LocalPlayer,
|
| 1537 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 1537 | + | Parent = h |
| 1538 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 1538 | + | }) |
| 1539 | - | Parent = hit |
| 1539 | + | game:GetService("Debris"):AddItem(c, 0.5)
|
| 1540 | - | }) |
| 1540 | + | if HitSound ~= nil and HitPitch ~= nil then |
| 1541 | - | game:GetService("Debris"):AddItem(bodvol, 0.5)
|
| 1541 | + | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
| 1542 | - | game:GetService("Debris"):AddItem(rl, 0.5)
|
| 1542 | + | end |
| 1543 | - | elseif Type == "Normal" then |
| 1543 | + | local Damage = math.random(0, 0) |
| 1544 | - | local vp = Create("BodyVelocity")({
|
| 1544 | + | local blocked = false |
| 1545 | - | P = 500, |
| 1545 | + | local block = hit.Parent:findFirstChild("Block")
|
| 1546 | - | maxForce = Vector3.new(math.huge, 0, math.huge), |
| 1546 | + | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
| 1547 | - | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 |
| 1547 | + | blocked = true |
| 1548 | - | }) |
| 1548 | + | block.Value = block.Value - 1 |
| 1549 | - | if knockback > 0 then |
| 1549 | + | print(block.Value) |
| 1550 | - | vp.Parent = hit.Parent.Head |
| 1550 | + | end |
| 1551 | if blocked == false then | |
| 1552 | - | game:GetService("Debris"):AddItem(vp, 0.5)
|
| 1552 | + | HitHealth = h.Health |
| 1553 | - | elseif Type == "Up" then |
| 1553 | + | h.Health = h.Health == Damage |
| 1554 | - | local bodyVelocity = Create("BodyVelocity")({
|
| 1554 | + | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then |
| 1555 | - | velocity = Vector3.new(0, 20, 0), |
| 1555 | + | print("gained kill")
|
| 1556 | - | P = 5000, |
| 1556 | + | end |
| 1557 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 1557 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
| 1558 | - | Parent = hit |
| 1558 | + | else |
| 1559 | - | }) |
| 1559 | + | h.Health = h.Health - Damage / 2 |
| 1560 | - | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
|
| 1560 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
| 1561 | - | local bodyVelocity = Create("BodyVelocity")({
|
| 1561 | + | end |
| 1562 | - | velocity = Vector3.new(0, 20, 0), |
| 1562 | + | if Type == "Knockdown" then |
| 1563 | - | P = 5000, |
| 1563 | + | local hum = hit.Parent.Humanoid |
| 1564 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 1564 | + | hum.PlatformStand = true |
| 1565 | - | Parent = hit |
| 1565 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
| 1566 | - | }) |
| 1566 | + | swait(1) |
| 1567 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 1567 | + | HHumanoid.PlatformStand = false |
| 1568 | - | elseif Type == "Leech" then |
| 1568 | + | end), hum) |
| 1569 | - | local hum = hit.Parent.Humanoid |
| 1569 | + | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit |
| 1570 | - | if hum ~= nil then |
| 1570 | + | local bodvol = Create("BodyVelocity")({
|
| 1571 | - | for i = 0, 2 do |
| 1571 | + | velocity = angle * knockback, |
| 1572 | - | 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)
|
| 1572 | + | P = 5000, |
| 1573 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1574 | - | Humanoid.Health = Humanoid.Health + 10 |
| 1574 | + | Parent = hit |
| 1575 | }) | |
| 1576 | - | elseif Type == "UpKnock" then |
| 1576 | + | local rl = Create("BodyAngularVelocity")({
|
| 1577 | - | local hum = hit.Parent.Humanoid |
| 1577 | + | P = 3000, |
| 1578 | - | hum.PlatformStand = true |
| 1578 | + | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 1579 | - | if hum ~= nil then |
| 1579 | + | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 1580 | - | hitr = true |
| 1580 | + | Parent = hit |
| 1581 | }) | |
| 1582 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
| 1582 | + | game:GetService("Debris"):AddItem(bodvol, 0.5)
|
| 1583 | - | swait(5) |
| 1583 | + | game:GetService("Debris"):AddItem(rl, 0.5)
|
| 1584 | - | HHumanoid.PlatformStand = false |
| 1584 | + | elseif Type == "Normal" then |
| 1585 | - | hitr = false |
| 1585 | + | local vp = Create("BodyVelocity")({
|
| 1586 | - | end), hum) |
| 1586 | + | P = 500, |
| 1587 | - | local bodyVelocity = Create("BodyVelocity")({
|
| 1587 | + | maxForce = Vector3.new(math.huge, 0, math.huge), |
| 1588 | - | velocity = Vector3.new(0, 20, 0), |
| 1588 | + | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 |
| 1589 | - | P = 5000, |
| 1589 | + | }) |
| 1590 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 1590 | + | if knockback > 0 then |
| 1591 | - | Parent = hit |
| 1591 | + | vp.Parent = hit.Parent.Head |
| 1592 | - | }) |
| 1592 | + | end |
| 1593 | - | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
|
| 1593 | + | game:GetService("Debris"):AddItem(vp, 0.5)
|
| 1594 | - | local bodyVelocity = Create("BodyVelocity")({
|
| 1594 | + | elseif Type == "Up" then |
| 1595 | - | velocity = Vector3.new(0, 20, 0), |
| 1595 | + | local bodyVelocity = Create("BodyVelocity")({
|
| 1596 | - | P = 5000, |
| 1596 | + | velocity = Vector3.new(0, 20, 0), |
| 1597 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 1597 | + | P = 5000, |
| 1598 | - | Parent = hit |
| 1598 | + | maxForce = Vector3.new(8000, 8000, 8000), |
| 1599 | - | }) |
| 1599 | + | Parent = hit |
| 1600 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 1600 | + | }) |
| 1601 | - | elseif Type == "Snare" then |
| 1601 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
|
| 1602 | - | local bp = Create("BodyPosition")({
|
| 1602 | + | local bodyVelocity = Create("BodyVelocity")({
|
| 1603 | - | P = 2000, |
| 1603 | + | velocity = Vector3.new(0, 20, 0), |
| 1604 | - | D = 100, |
| 1604 | + | P = 5000, |
| 1605 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1605 | + | maxForce = Vector3.new(8000, 8000, 8000), |
| 1606 | - | position = hit.Parent.Torso.Position, |
| 1606 | + | Parent = hit |
| 1607 | - | Parent = hit.Parent.Torso |
| 1607 | + | }) |
| 1608 | - | }) |
| 1608 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 1609 | - | game:GetService("Debris"):AddItem(bp, 1)
|
| 1609 | + | elseif Type == "Leech" then |
| 1610 | - | elseif Type == "Slashnare" then |
| 1610 | + | local hum = hit.Parent.Humanoid |
| 1611 | - | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
|
| 1611 | + | if hum ~= nil then |
| 1612 | - | for i = 1, math.random(4, 5) do |
| 1612 | + | for i = 0, 2 do |
| 1613 | - | 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)
|
| 1613 | + | 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)
|
| 1614 | end | |
| 1615 | - | local bp = Create("BodyPosition")({
|
| 1615 | + | Humanoid.Health = Humanoid.Health + 10 |
| 1616 | - | P = 2000, |
| 1616 | + | end |
| 1617 | - | D = 100, |
| 1617 | + | elseif Type == "UpKnock" then |
| 1618 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1618 | + | local hum = hit.Parent.Humanoid |
| 1619 | - | position = hit.Parent.Torso.Position, |
| 1619 | + | hum.PlatformStand = true |
| 1620 | - | Parent = hit.Parent.Torso |
| 1620 | + | if hum ~= nil then |
| 1621 | - | }) |
| 1621 | + | hitr = true |
| 1622 | - | game:GetService("Debris"):AddItem(bp, 1)
|
| 1622 | + | end |
| 1623 | - | elseif Type == "Spike" then |
| 1623 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
| 1624 | - | CreateBigIceSword(hit.Parent.Torso.CFrame) |
| 1624 | + | swait(5) |
| 1625 | - | local bp = Create("BodyPosition")({
|
| 1625 | + | HHumanoid.PlatformStand = false |
| 1626 | - | P = 2000, |
| 1626 | + | hitr = false |
| 1627 | - | D = 100, |
| 1627 | + | end), hum) |
| 1628 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1628 | + | local bodyVelocity = Create("BodyVelocity")({
|
| 1629 | - | position = hit.Parent.Torso.Position, |
| 1629 | + | velocity = Vector3.new(0, 20, 0), |
| 1630 | - | Parent = hit.Parent.Torso |
| 1630 | + | P = 5000, |
| 1631 | - | }) |
| 1631 | + | maxForce = Vector3.new(8000, 8000, 8000), |
| 1632 | - | game:GetService("Debris"):AddItem(bp, 1)
|
| 1632 | + | Parent = hit |
| 1633 | - | elseif Type == "Freeze" then |
| 1633 | + | }) |
| 1634 | - | local BodPos = Create("BodyPosition")({
|
| 1634 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
|
| 1635 | - | P = 50000, |
| 1635 | + | local bodyVelocity = Create("BodyVelocity")({
|
| 1636 | - | D = 1000, |
| 1636 | + | velocity = Vector3.new(0, 20, 0), |
| 1637 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1637 | + | P = 5000, |
| 1638 | - | position = hit.Parent.Torso.Position, |
| 1638 | + | maxForce = Vector3.new(8000, 8000, 8000), |
| 1639 | - | Parent = hit.Parent.Torso |
| 1639 | + | Parent = hit |
| 1640 | - | }) |
| 1640 | + | }) |
| 1641 | - | local BodGy = Create("BodyGyro")({
|
| 1641 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 1642 | - | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, |
| 1642 | + | elseif Type == "Snare" then |
| 1643 | - | P = 20000, |
| 1643 | + | local bp = Create("BodyPosition")({
|
| 1644 | - | Parent = hit.Parent.Torso, |
| 1644 | + | P = 2000, |
| 1645 | - | cframe = hit.Parent.Torso.CFrame |
| 1645 | + | D = 100, |
| 1646 | - | }) |
| 1646 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1647 | - | hit.Parent.Torso.Anchored = true |
| 1647 | + | position = hit.Parent.Torso.Position, |
| 1648 | - | coroutine.resume(coroutine.create(function(Part) |
| 1648 | + | Parent = hit.Parent.Torso |
| 1649 | - | swait(1.5) |
| 1649 | + | }) |
| 1650 | - | Part.Anchored = false |
| 1650 | + | game:GetService("Debris"):AddItem(bp, 1)
|
| 1651 | - | end), hit.Parent.Torso) |
| 1651 | + | elseif Type == "Slashnare" then |
| 1652 | - | game:GetService("Debris"):AddItem(BodPos, 3)
|
| 1652 | + | 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)
|
| 1653 | - | game:GetService("Debris"):AddItem(BodGy, 3)
|
| 1653 | + | for i = 1, math.random(4, 5) do |
| 1654 | 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)
| |
| 1655 | - | local debounce = Create("BoolValue")({
|
| 1655 | + | end |
| 1656 | - | Name = "DebounceHit", |
| 1656 | + | local bp = Create("BodyPosition")({
|
| 1657 | - | Parent = hit.Parent, |
| 1657 | + | P = 2000, |
| 1658 | - | Value = true |
| 1658 | + | D = 100, |
| 1659 | - | }) |
| 1659 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1660 | - | game:GetService("Debris"):AddItem(debounce, Delay)
|
| 1660 | + | position = hit.Parent.Torso.Position, |
| 1661 | - | c = Instance.new("ObjectValue")
|
| 1661 | + | Parent = hit.Parent.Torso |
| 1662 | - | c.Name = "creator" |
| 1662 | + | }) |
| 1663 | - | c.Value = RealGame:service("Players")[owner.Name];
|
| 1663 | + | game:GetService("Debris"):AddItem(bp, 1)
|
| 1664 | - | c.Parent = h |
| 1664 | + | elseif Type == "Spike" then |
| 1665 | - | game:GetService("Debris"):AddItem(c, 0.5)
|
| 1665 | + | CreateBigIceSword(hit.Parent.Torso.CFrame) |
| 1666 | local bp = Create("BodyPosition")({
| |
| 1667 | P = 2000, | |
| 1668 | D = 100, | |
| 1669 | - | local Rate = 0.03333333333333333 |
| 1669 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1670 | - | local Pos = Pos or Vector3.new(0, 0, 0) |
| 1670 | + | position = hit.Parent.Torso.Position, |
| 1671 | - | local Text = Text or "" |
| 1671 | + | Parent = hit.Parent.Torso |
| 1672 | - | local Time = Time or 2 |
| 1672 | + | }) |
| 1673 | - | local Color = Color or Color3.new(1, 0, 1) |
| 1673 | + | game:GetService("Debris"):AddItem(bp, 1)
|
| 1674 | - | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
| 1674 | + | elseif Type == "Freeze" then |
| 1675 | - | EffectPart.Anchored = true |
| 1675 | + | local BodPos = Create("BodyPosition")({
|
| 1676 | - | local BillboardGui = Create("BillboardGui")({
|
| 1676 | + | P = 50000, |
| 1677 | - | Size = UDim2.new(3, 0, 3, 0), |
| 1677 | + | D = 1000, |
| 1678 | - | Adornee = EffectPart, |
| 1678 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1679 | - | Parent = EffectPart |
| 1679 | + | position = hit.Parent.Torso.Position, |
| 1680 | - | }) |
| 1680 | + | Parent = hit.Parent.Torso |
| 1681 | - | local TextLabel = Create("TextLabel")({
|
| 1681 | + | }) |
| 1682 | - | BackgroundTransparency = 1, |
| 1682 | + | local BodGy = Create("BodyGyro")({
|
| 1683 | - | Size = UDim2.new(1, 0, 1, 0), |
| 1683 | + | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, |
| 1684 | - | Text = Text, |
| 1684 | + | P = 20000, |
| 1685 | - | TextColor3 = Color, |
| 1685 | + | Parent = hit.Parent.Torso, |
| 1686 | - | TextScaled = true, |
| 1686 | + | cframe = hit.Parent.Torso.CFrame |
| 1687 | - | Font = Enum.Font.ArialBold, |
| 1687 | + | }) |
| 1688 | - | Parent = BillboardGui |
| 1688 | + | hit.Parent.Torso.Anchored = true |
| 1689 | - | }) |
| 1689 | + | coroutine.resume(coroutine.create(function(Part) |
| 1690 | - | game.Debris:AddItem(EffectPart, Time + 0.1) |
| 1690 | + | swait(1.5) |
| 1691 | - | EffectPart.Parent = game:GetService("Workspace")
|
| 1691 | + | Part.Anchored = false |
| 1692 | - | delay(0, function() |
| 1692 | + | end), hit.Parent.Torso) |
| 1693 | - | local Frames = Time / Rate |
| 1693 | + | game:GetService("Debris"):AddItem(BodPos, 3)
|
| 1694 | - | for Frame = 1, Frames do |
| 1694 | + | game:GetService("Debris"):AddItem(BodGy, 3)
|
| 1695 | - | wait(Rate) |
| 1695 | + | end |
| 1696 | - | local Percent = Frame / Frames |
| 1696 | + | local debounce = Create("BoolValue")({
|
| 1697 | - | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
| 1697 | + | Name = "DebounceHit", |
| 1698 | - | TextLabel.TextTransparency = Percent |
| 1698 | + | Parent = hit.Parent, |
| 1699 | Value = true | |
| 1700 | - | if EffectPart and EffectPart.Parent then |
| 1700 | + | }) |
| 1701 | - | EffectPart:Destroy() |
| 1701 | + | game:GetService("Debris"):AddItem(debounce, Delay)
|
| 1702 | c = Instance.new("ObjectValue")
| |
| 1703 | c.Name = "creator" | |
| 1704 | c.Value = Player | |
| 1705 | c.Parent = h | |
| 1706 | - | for _, c in pairs(workspace:children()) do |
| 1706 | + | game:GetService("Debris"):AddItem(c, 0.5)
|
| 1707 | - | local hum = c:findFirstChildOfClass("Humanoid")
|
| 1707 | + | end |
| 1708 | - | if hum ~= nil then |
| 1708 | + | |
| 1709 | - | local head = c:findFirstChild("Head")
|
| 1709 | + | |
| 1710 | - | if head ~= nil then |
| 1710 | + | local Rate = 0.03333333333333333 |
| 1711 | - | local targ = head.Position - Part.Position |
| 1711 | + | local Pos = Pos or Vector3.new(0, 0, 0) |
| 1712 | - | local mag = targ.magnitude |
| 1712 | + | local Text = Text or "" |
| 1713 | - | if magni >= mag and c.Name ~= Player.Name then |
| 1713 | + | local Time = Time or 2 |
| 1714 | - | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
| 1714 | + | local Color = Color or Color3.new(1, 0, 1) |
| 1715 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1716 | EffectPart.Anchored = true | |
| 1717 | local BillboardGui = Create("BillboardGui")({
| |
| 1718 | Size = UDim2.new(3, 0, 3, 0), | |
| 1719 | Adornee = EffectPart, | |
| 1720 | Parent = EffectPart | |
| 1721 | - | for _, c in pairs(workspace:children()) do |
| 1721 | + | }) |
| 1722 | - | local hum = c:findFirstChild("Humanoid")
|
| 1722 | + | local TextLabel = Create("TextLabel")({
|
| 1723 | - | if hum ~= nil then |
| 1723 | + | BackgroundTransparency = 1, |
| 1724 | - | local head = c:findFirstChild("Torso")
|
| 1724 | + | Size = UDim2.new(1, 0, 1, 0), |
| 1725 | - | if head ~= nil then |
| 1725 | + | Text = Text, |
| 1726 | - | local targ = head.Position - Part.Position |
| 1726 | + | TextColor3 = Color, |
| 1727 | - | local mag = targ.magnitude |
| 1727 | + | TextScaled = true, |
| 1728 | - | if magni >= mag and c.Name ~= Player.Name then |
| 1728 | + | Font = Enum.Font.ArialBold, |
| 1729 | - | MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
|
| 1729 | + | Parent = BillboardGui |
| 1730 | - | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
| 1730 | + | }) |
| 1731 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 1732 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1733 | delay(0, function() | |
| 1734 | local Frames = Time / Rate | |
| 1735 | for Frame = 1, Frames do | |
| 1736 | - | function rayCast(Pos, Dir, Max, Ignore) |
| 1736 | + | wait(Rate) |
| 1737 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
|
| 1737 | + | local Percent = Frame / Frames |
| 1738 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1739 | - | function SkullEffect(brickcolor, cframe, x1, y1, z1, delay) |
| 1739 | + | TextLabel.TextTransparency = Percent |
| 1740 | - | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1740 | + | end |
| 1741 | - | prt.Anchored = true |
| 1741 | + | if EffectPart and EffectPart.Parent then |
| 1742 | - | prt.CFrame = cframe |
| 1742 | + | EffectPart:Destroy() |
| 1743 | - | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1743 | + | end |
| 1744 | - | game:GetService("Debris"):AddItem(prt, 2)
|
| 1744 | + | end) |
| 1745 | - | CF = prt.CFrame |
| 1745 | + | |
| 1746 | - | coroutine.resume(coroutine.create(function(Part, Mesh, TehCF) |
| 1746 | + | |
| 1747 | - | for i = 0, 1, 0.2 do |
| 1747 | + | for _, c in pairs(workspace:children()) do |
| 1748 | - | wait() |
| 1748 | + | local hum = c:findFirstChildOfClass("Humanoid")
|
| 1749 | - | Part.CFrame = CF * cf(0, 0, -0.4) |
| 1749 | + | if hum ~= nil then |
| 1750 | local head = c:findFirstChild("Head")
| |
| 1751 | - | for i = 0, 1, delay do |
| 1751 | + | if head ~= nil then |
| 1752 | - | wait() |
| 1752 | + | local targ = head.Position - Part.Position |
| 1753 | - | Mesh.Scale = Mesh.Scale |
| 1753 | + | local mag = targ.magnitude |
| 1754 | if magni >= mag and c.Name ~= Player.Name then | |
| 1755 | - | for i = 0, 1, 0.1 do |
| 1755 | + | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
| 1756 | - | wait() |
| 1756 | + | end |
| 1757 | - | Part.Transparency = i |
| 1757 | + | end |
| 1758 | end | |
| 1759 | - | Part.Parent = nil |
| 1759 | + | end |
| 1760 | - | end), prt, msh, CF) |
| 1760 | + | |
| 1761 | ||
| 1762 | - | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1762 | + | |
| 1763 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1763 | + | for _, c in pairs(workspace:children()) do |
| 1764 | - | prt.Anchored = true |
| 1764 | + | local hum = c:findFirstChild("Humanoid")
|
| 1765 | - | prt.Material = "Neon" |
| 1765 | + | if hum ~= nil then |
| 1766 | - | prt.CFrame = cframe |
| 1766 | + | local head = c:findFirstChild("Torso")
|
| 1767 | - | prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
| 1767 | + | if head ~= nil then |
| 1768 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1768 | + | local targ = head.Position - Part.Position |
| 1769 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1769 | + | local mag = targ.magnitude |
| 1770 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1770 | + | if magni >= mag and c.Name ~= Player.Name then |
| 1771 | - | for i = 0, 1, delay do |
| 1771 | + | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
|
| 1772 | - | swait() |
| 1772 | + | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
| 1773 | - | Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
| 1773 | + | end |
| 1774 | - | Part.Transparency = i |
| 1774 | + | end |
| 1775 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 1775 | + | end |
| 1776 | end | |
| 1777 | - | Part.Parent = nil |
| 1777 | + | |
| 1778 | - | end), prt, msh) |
| 1778 | + | |
| 1779 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 1780 | - | function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) |
| 1780 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
|
| 1781 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1781 | + | end |
| 1782 | - | prt.Anchored = true |
| 1782 | + | |
| 1783 | - | prt.Material = "Neon" |
| 1783 | + | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) |
| 1784 | - | prt.CFrame = cframe |
| 1784 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1785 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1785 | + | prt.Anchored=true |
| 1786 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1786 | + | prt.CFrame=cframe |
| 1787 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1787 | + | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
|
| 1788 | - | local rtype = rottype |
| 1788 | + | --http://www.roblox.com/asset/?id=4770560 |
| 1789 | - | for i = 0, 1, delay do |
| 1789 | + | game:GetService("Debris"):AddItem(prt,2)
|
| 1790 | - | swait() |
| 1790 | + | CF=prt.CFrame |
| 1791 | - | if rtype == 1 then |
| 1791 | + | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) |
| 1792 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
| 1792 | + | for i=0,1,0.2 do |
| 1793 | - | elseif rtype == 2 then |
| 1793 | + | wait() |
| 1794 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
| 1794 | + | Part.CFrame=CF*cf(0,0,-0.4) |
| 1795 | end | |
| 1796 | - | Part.Transparency = i |
| 1796 | + | for i=0,1,delay do |
| 1797 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 1797 | + | wait() |
| 1798 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
| 1799 | - | Part.Parent = nil |
| 1799 | + | Mesh.Scale=Mesh.Scale |
| 1800 | - | end), prt, msh) |
| 1800 | + | |
| 1801 | for i=0,1,0.1 do | |
| 1802 | - | function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1802 | + | wait() |
| 1803 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1803 | + | Part.Transparency=i |
| 1804 | - | prt.Anchored = true |
| 1804 | + | |
| 1805 | - | prt.CFrame = cframe |
| 1805 | + | Part.Parent=nil |
| 1806 | - | prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
| 1806 | + | end),prt,msh,CF) |
| 1807 | - | msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1807 | + | |
| 1808 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1808 | + | |
| 1809 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1809 | + | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
| 1810 | - | for i = 0, 1, delay do |
| 1810 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1811 | - | wait() |
| 1811 | + | prt.Anchored=true |
| 1812 | - | Part.Transparency = i |
| 1812 | + | prt.Material = "Neon" |
| 1813 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 1813 | + | prt.CFrame=cframe |
| 1814 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1815 | - | Part.Parent = nil |
| 1815 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
|
| 1816 | - | end), prt, msh) |
| 1816 | + | game:GetService("Debris"):AddItem(prt,5)
|
| 1817 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1818 | - | function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) |
| 1818 | + | for i=0,1,delay do |
| 1819 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1819 | + | swait() |
| 1820 | - | prt.Anchored = true |
| 1820 | + | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
| 1821 | - | prt.Material = "Neon" |
| 1821 | + | Part.Transparency=i |
| 1822 | - | prt.CFrame = cframe |
| 1822 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 1823 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1823 | + | |
| 1824 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1824 | + | Part.Parent=nil |
| 1825 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1825 | + | end),prt,msh) |
| 1826 | - | local rtype = rottype |
| 1826 | + | |
| 1827 | - | for i = 0, 1, delay do |
| 1827 | + | |
| 1828 | - | swait() |
| 1828 | + | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) |
| 1829 | - | if rtype == 1 then |
| 1829 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1830 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
| 1830 | + | prt.Anchored=true |
| 1831 | - | elseif rtype == 2 then |
| 1831 | + | prt.Material = "Neon" |
| 1832 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
| 1832 | + | prt.CFrame=cframe |
| 1833 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1834 | - | Part.Transparency = i |
| 1834 | + | game:GetService("Debris"):AddItem(prt,5)
|
| 1835 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 1835 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 1836 | local rtype = rottype | |
| 1837 | - | Part.Parent = nil |
| 1837 | + | for i=0,1,delay do |
| 1838 | - | end), prt, msh) |
| 1838 | + | swait() |
| 1839 | if rtype == 1 then | |
| 1840 | - | function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) |
| 1840 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
| 1841 | - | local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1841 | + | elseif rtype == 2 then |
| 1842 | - | prt.Anchored = true |
| 1842 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
| 1843 | - | prt.Material = "Neon" |
| 1843 | + | |
| 1844 | - | prt.CFrame = cframe |
| 1844 | + | Part.Transparency=i |
| 1845 | - | local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt) |
| 1845 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 1846 | - | local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt) |
| 1846 | + | |
| 1847 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
|
| 1847 | + | Part.Parent=nil |
| 1848 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1848 | + | end),prt,msh) |
| 1849 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1849 | + | |
| 1850 | - | local rtype = rottype |
| 1850 | + | |
| 1851 | - | for i = 0, 1, delay do |
| 1851 | + | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
| 1852 | - | swait() |
| 1852 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1853 | - | if rtype == 1 then |
| 1853 | + | prt.Anchored=true |
| 1854 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
| 1854 | + | prt.CFrame=cframe |
| 1855 | - | elseif rtype == 2 then |
| 1855 | + | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
| 1856 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
| 1856 | + | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
|
| 1857 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1858 | - | dec.Transparency = i |
| 1858 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 1859 | - | dec2.Transparency = i |
| 1859 | + | for i=0,1,delay do |
| 1860 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) |
| 1860 | + | wait() |
| 1861 | Part.Transparency=i | |
| 1862 | - | Part.Parent = nil |
| 1862 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 1863 | - | end), prt, msh) |
| 1863 | + | |
| 1864 | Part.Parent=nil | |
| 1865 | - | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) |
| 1865 | + | end),prt,msh) |
| 1866 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1866 | + | |
| 1867 | - | prt.Anchored = true |
| 1867 | + | |
| 1868 | - | prt.Material = "Neon" |
| 1868 | + | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) |
| 1869 | - | prt.CFrame = cframe |
| 1869 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1870 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
|
| 1870 | + | prt.Anchored=true |
| 1871 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1871 | + | prt.Material = "Neon" |
| 1872 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1872 | + | prt.CFrame=cframe |
| 1873 | - | local rtype = rottype |
| 1873 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
|
| 1874 | - | for i = 0, 1, delay do |
| 1874 | + | game:GetService("Debris"):AddItem(prt,5)
|
| 1875 | - | swait() |
| 1875 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 1876 | - | if rtype == 1 then |
| 1876 | + | local rtype = rottype |
| 1877 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
| 1877 | + | for i=0,1,delay do |
| 1878 | - | elseif rtype == 2 then |
| 1878 | + | swait() |
| 1879 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
| 1879 | + | if rtype == 1 then |
| 1880 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1881 | - | prt.Transparency = i |
| 1881 | + | elseif rtype == 2 then |
| 1882 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) |
| 1882 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
| 1883 | end | |
| 1884 | - | Part.Parent = nil |
| 1884 | + | Part.Transparency=i |
| 1885 | - | end), prt, msh) |
| 1885 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 1886 | end | |
| 1887 | - | function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype) |
| 1887 | + | Part.Parent=nil |
| 1888 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1888 | + | end),prt,msh) |
| 1889 | - | prt.Anchored = true |
| 1889 | + | |
| 1890 | - | prt.Material = "Neon" |
| 1890 | + | |
| 1891 | - | prt.CFrame = cframe |
| 1891 | + | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) |
| 1892 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
|
| 1892 | + | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1893 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1893 | + | prt.Anchored=true |
| 1894 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1894 | + | prt.Material = "Neon" |
| 1895 | - | local rtype = rottype |
| 1895 | + | prt.CFrame=cframe |
| 1896 | - | for i = 0, 1, delay do |
| 1896 | + | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) |
| 1897 | - | swait() |
| 1897 | + | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) |
| 1898 | - | if rtype == 1 then |
| 1898 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
|
| 1899 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0) |
| 1899 | + | game:GetService("Debris"):AddItem(prt,5)
|
| 1900 | - | elseif rtype == 2 then |
| 1900 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 1901 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0) |
| 1901 | + | local rtype = rottype |
| 1902 | for i=0,1,delay do | |
| 1903 | - | prt.Transparency = i |
| 1903 | + | swait() |
| 1904 | - | Mesh.Scale = Mesh.Scale + vt(x3, 0, z3) |
| 1904 | + | if rtype == 1 then |
| 1905 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1906 | - | Part.Parent = nil |
| 1906 | + | elseif rtype == 2 then |
| 1907 | - | end), prt, msh) |
| 1907 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
| 1908 | end | |
| 1909 | - | function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype) |
| 1909 | + | dec.Transparency=i |
| 1910 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1910 | + | dec2.Transparency=i |
| 1911 | - | prt.Anchored = true |
| 1911 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) |
| 1912 | - | prt.Material = "Neon" |
| 1912 | + | |
| 1913 | - | prt.CFrame = cframe |
| 1913 | + | Part.Parent=nil |
| 1914 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1914 | + | end),prt,msh) |
| 1915 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1915 | + | |
| 1916 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1916 | + | |
| 1917 | - | local rtype = rottype |
| 1917 | + | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) |
| 1918 | - | for i = 0, 1, delay do |
| 1918 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1919 | - | swait() |
| 1919 | + | prt.Anchored=true |
| 1920 | - | if rtype == 1 then |
| 1920 | + | prt.Material = "Neon" |
| 1921 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
| 1921 | + | prt.CFrame=cframe |
| 1922 | - | elseif rtype == 2 then |
| 1922 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
|
| 1923 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
| 1923 | + | game:GetService("Debris"):AddItem(prt,5)
|
| 1924 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1925 | - | prt.Transparency = i |
| 1925 | + | local rtype = rottype |
| 1926 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) |
| 1926 | + | for i=0,1,delay do |
| 1927 | swait() | |
| 1928 | - | Part.Parent = nil |
| 1928 | + | if rtype == 1 then |
| 1929 | - | end), prt, msh) |
| 1929 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
| 1930 | elseif rtype == 2 then | |
| 1931 | - | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) |
| 1931 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
| 1932 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1932 | + | |
| 1933 | - | prt.Anchored = true |
| 1933 | + | prt.Transparency=i |
| 1934 | - | prt.Material = "Neon" |
| 1934 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) |
| 1935 | - | prt.CFrame = cframe |
| 1935 | + | |
| 1936 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1936 | + | Part.Parent=nil |
| 1937 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1937 | + | end),prt,msh) |
| 1938 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1938 | + | |
| 1939 | - | local rtype = rottype |
| 1939 | + | |
| 1940 | - | for i = 0, 1, delay do |
| 1940 | + | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) |
| 1941 | - | swait() |
| 1941 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1942 | - | if rtype == 1 then |
| 1942 | + | prt.Anchored=true |
| 1943 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
| 1943 | + | prt.Material = "Neon" |
| 1944 | - | elseif rtype == 2 then |
| 1944 | + | prt.CFrame=cframe |
| 1945 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
| 1945 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
|
| 1946 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1947 | - | prt.Transparency = i |
| 1947 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 1948 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 1948 | + | local rtype = rottype |
| 1949 | for i=0,1,delay do | |
| 1950 | - | Part.Parent = nil |
| 1950 | + | swait() |
| 1951 | - | end), prt, msh) |
| 1951 | + | if rtype == 1 then |
| 1952 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
| 1953 | - | function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay) |
| 1953 | + | elseif rtype == 2 then |
| 1954 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1954 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) |
| 1955 | - | prt.Anchored = false |
| 1955 | + | |
| 1956 | - | prt.CFrame = cframe |
| 1956 | + | prt.Transparency=i |
| 1957 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1957 | + | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) |
| 1958 | - | local wld = weld(prt, prt, Parent, cframe) |
| 1958 | + | |
| 1959 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1959 | + | Part.Parent=nil |
| 1960 | - | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) |
| 1960 | + | end),prt,msh) |
| 1961 | - | for i = 0, 1, delay do |
| 1961 | + | |
| 1962 | - | wait() |
| 1962 | + | |
| 1963 | - | Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe |
| 1963 | + | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) |
| 1964 | - | Part.Transparency = i |
| 1964 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1965 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 1965 | + | prt.Anchored=true |
| 1966 | prt.Material = "Neon" | |
| 1967 | - | Part.Parent = nil |
| 1967 | + | prt.CFrame=cframe |
| 1968 | - | end), prt, msh, wld) |
| 1968 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
|
| 1969 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1970 | - | function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay) |
| 1970 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 1971 | - | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1971 | + | local rtype = rottype |
| 1972 | - | prt.Anchored = false |
| 1972 | + | for i=0,1,delay do |
| 1973 | - | prt.CFrame = cframe |
| 1973 | + | swait() |
| 1974 | - | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1974 | + | if rtype == 1 then |
| 1975 | - | local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0)) |
| 1975 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
| 1976 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 1976 | + | elseif rtype == 2 then |
| 1977 | - | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) |
| 1977 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
| 1978 | - | for i = 0, 1, delay do |
| 1978 | + | |
| 1979 | - | wait() |
| 1979 | + | prt.Transparency=i |
| 1980 | - | Weld.C0 = euler(i * 20, 0, 0) |
| 1980 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) |
| 1981 | - | Part.Transparency = i |
| 1981 | + | |
| 1982 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 1982 | + | Part.Parent=nil |
| 1983 | end),prt,msh) | |
| 1984 | - | Part.Parent = nil |
| 1984 | + | |
| 1985 | - | end), prt, msh, wld) |
| 1985 | + | |
| 1986 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 1987 | - | function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1987 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 1988 | - | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1988 | + | prt.Anchored=true |
| 1989 | - | prt.Anchored = true |
| 1989 | + | prt.Material = "Neon" |
| 1990 | - | prt.CFrame = cframe |
| 1990 | + | prt.CFrame=cframe |
| 1991 | - | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 1991 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
|
| 1992 | - | game:GetService("Debris"):AddItem(prt, 2)
|
| 1992 | + | game:GetService("Debris"):AddItem(prt,5)
|
| 1993 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1993 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 1994 | - | for i = 0, 1, delay do |
| 1994 | + | local rtype = rottype |
| 1995 | - | wait() |
| 1995 | + | for i=0,1,delay do |
| 1996 | - | Part.CFrame = Part.CFrame |
| 1996 | + | swait() |
| 1997 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 1997 | + | if rtype == 1 then |
| 1998 | - | local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 1998 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
| 1999 | - | prt2.Anchored = true |
| 1999 | + | elseif rtype == 2 then |
| 2000 | - | prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
| 2000 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
| 2001 | - | local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
|
| 2001 | + | |
| 2002 | - | game:GetService("Debris"):AddItem(prt2, 2)
|
| 2002 | + | prt.Transparency=i |
| 2003 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 2003 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 2004 | - | for i = 0, 1, 0.1 do |
| 2004 | + | |
| 2005 | - | wait() |
| 2005 | + | Part.Parent=nil |
| 2006 | - | Part.CFrame = Part.CFrame * cf(0, 0.5, 0) |
| 2006 | + | end),prt,msh) |
| 2007 | end | |
| 2008 | - | Part.Parent = nil |
| 2008 | + | |
| 2009 | - | end), prt2, msh2) |
| 2009 | + | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
| 2010 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2011 | - | for i = 0, 1, delay * 2 do |
| 2011 | + | prt.Anchored=false |
| 2012 | - | wait() |
| 2012 | + | prt.CFrame=cframe |
| 2013 | - | Part.CFrame = Part.CFrame |
| 2013 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
|
| 2014 | - | Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i) |
| 2014 | + | local wld=weld(prt,prt,Parent,cframe) |
| 2015 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2016 | - | Part.Parent = nil |
| 2016 | + | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
| 2017 | - | end), prt, msh) |
| 2017 | + | for i=0,1,delay do |
| 2018 | wait() | |
| 2019 | - | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 2019 | + | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe |
| 2020 | - | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 2020 | + | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
| 2021 | - | prt.Anchored = true |
| 2021 | + | Part.Transparency=i |
| 2022 | - | prt.CFrame = cframe |
| 2022 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 2023 | - | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 2023 | + | |
| 2024 | - | game:GetService("Debris"):AddItem(prt, 2)
|
| 2024 | + | Part.Parent=nil |
| 2025 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 2025 | + | end),prt,msh,wld) |
| 2026 | - | for i = 0, 1, delay do |
| 2026 | + | |
| 2027 | - | wait() |
| 2027 | + | |
| 2028 | - | Part.CFrame = Part.CFrame |
| 2028 | + | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
| 2029 | - | Part.Transparency = i |
| 2029 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 2030 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 2030 | + | prt.Anchored=false |
| 2031 | prt.CFrame=cframe | |
| 2032 | - | Part.Parent = nil |
| 2032 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
|
| 2033 | - | end), prt, msh) |
| 2033 | + | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) |
| 2034 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2035 | - | function BreakEffect(brickcolor, cframe, x1, y1, z1) |
| 2035 | + | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
| 2036 | - | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 2036 | + | for i=0,1,delay do |
| 2037 | - | prt.Anchored = true |
| 2037 | + | wait() |
| 2038 | - | prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
| 2038 | + | Weld.C0=euler(i*20,0,0) |
| 2039 | - | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
|
| 2039 | + | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
| 2040 | - | game:GetService("Debris"):AddItem(prt, 2)
|
| 2040 | + | Part.Transparency=i |
| 2041 | - | coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb) |
| 2041 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 2042 | - | CF = Part.CFrame |
| 2042 | + | |
| 2043 | - | Numbb = 0 |
| 2043 | + | Part.Parent=nil |
| 2044 | - | randnumb = math.random() / 10 |
| 2044 | + | end),prt,msh,wld) |
| 2045 | - | rand1 = math.random() / 10 |
| 2045 | + | |
| 2046 | - | for i = 0, 1, rand1 do |
| 2046 | + | |
| 2047 | - | wait() |
| 2047 | + | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
| 2048 | - | CF = CF * cf(0, math.random() / 2, 0) |
| 2048 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 2049 | - | Part.CFrame = CF * euler(Numbb, 0, 0) |
| 2049 | + | prt.Anchored=true |
| 2050 | - | Part.Transparency = i |
| 2050 | + | prt.CFrame=cframe |
| 2051 | - | Numbb = Numbb + randnumb |
| 2051 | + | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
|
| 2052 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2053 | - | Part.Parent = nil |
| 2053 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 2054 | - | end), prt, CF, Numbb, randnumb) |
| 2054 | + | for i=0,1,delay do |
| 2055 | wait() | |
| 2056 | - | function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 2056 | + | Part.CFrame=Part.CFrame |
| 2057 | - | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 2057 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 2058 | - | prt.Anchored = true |
| 2058 | + | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 2059 | - | prt.CFrame = cframe |
| 2059 | + | prt2.Anchored=true |
| 2060 | - | msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
|
| 2060 | + | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
| 2061 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 2061 | + | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
|
| 2062 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 2062 | + | game:GetService("Debris"):AddItem(prt2,2)
|
| 2063 | - | for i = 0, 1, delay do |
| 2063 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 2064 | - | wait() |
| 2064 | + | for i=0,1,0.1 do |
| 2065 | - | Part.CFrame = Part.CFrame * euler(0, 0.7, 0) |
| 2065 | + | wait() |
| 2066 | - | Part.Transparency = i |
| 2066 | + | Part.CFrame=Part.CFrame*cf(0,0.5,0) |
| 2067 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 2067 | + | |
| 2068 | Part.Parent=nil | |
| 2069 | - | Part.Parent = nil |
| 2069 | + | end),prt2,msh2) |
| 2070 | - | end), prt, msh) |
| 2070 | + | |
| 2071 | for i=0,1,delay*2 do | |
| 2072 | - | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 2072 | + | wait() |
| 2073 | - | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 2073 | + | Part.CFrame=Part.CFrame |
| 2074 | - | prt.Anchored = true |
| 2074 | + | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) |
| 2075 | - | prt.CFrame = cframe |
| 2075 | + | |
| 2076 | - | msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
|
| 2076 | + | Part.Parent=nil |
| 2077 | - | game:GetService("Debris"):AddItem(prt, 2)
|
| 2077 | + | end),prt,msh) |
| 2078 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 2078 | + | |
| 2079 | - | for i = 0, 1, delay do |
| 2079 | + | |
| 2080 | - | wait() |
| 2080 | + | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
| 2081 | - | Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0) |
| 2081 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 2082 | - | Part.Transparency = i |
| 2082 | + | prt.Anchored=true |
| 2083 | - | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
| 2083 | + | prt.CFrame=cframe |
| 2084 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2085 | - | Part.Parent = nil |
| 2085 | + | game:GetService("Debris"):AddItem(prt,2)
|
| 2086 | - | end), prt, msh) |
| 2086 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 2087 | for i=0,1,delay do | |
| 2088 | - | function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay) |
| 2088 | + | wait() |
| 2089 | - | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
| 2089 | + | Part.CFrame=Part.CFrame |
| 2090 | - | prt.Anchored = true |
| 2090 | + | Part.Transparency=i |
| 2091 | - | prt.CFrame = cframe * cf(x, y, z) |
| 2091 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 2092 | - | msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
|
| 2092 | + | |
| 2093 | - | game:GetService("Debris"):AddItem(prt, 5)
|
| 2093 | + | Part.Parent=nil |
| 2094 | - | coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee) |
| 2094 | + | end),prt,msh) |
| 2095 | - | local num = math.random() |
| 2095 | + | |
| 2096 | - | local num2 = math.random(-3, 2) + math.random() |
| 2096 | + | |
| 2097 | - | local numm = 0 |
| 2097 | + | function BreakEffect(brickcolor,cframe,x1,y1,z1) |
| 2098 | - | for i = 0, 1, delay * 2 do |
| 2098 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 2099 | - | swait() |
| 2099 | + | prt.Anchored=true |
| 2100 | - | Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0) |
| 2100 | + | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
| 2101 | - | Part.Transparency = i |
| 2101 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
|
| 2102 | - | numm = numm + 0.01 |
| 2102 | + | game:GetService("Debris"):AddItem(prt,2)
|
| 2103 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 2104 | - | Part.Parent = nil |
| 2104 | + | CF=Part.CFrame |
| 2105 | - | Mesh.Parent = nil |
| 2105 | + | Numbb=0 |
| 2106 | - | end), prt, msh, x, y, z) |
| 2106 | + | randnumb=math.random()/10 |
| 2107 | rand1=math.random()/10 | |
| 2108 | - | function dmgstart(dmg, what) |
| 2108 | + | for i=0,1,rand1 do |
| 2109 | wait() | |
| 2110 | CF=CF*cf(0,math.random()/2,0) | |
| 2111 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 2112 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 2113 | Part.Transparency=i | |
| 2114 | Numbb=Numbb+randnumb | |
| 2115 | end | |
| 2116 | Part.Parent=nil | |
| 2117 | end),prt,CF,Numbb,randnumb) | |
| 2118 | end | |
| 2119 | ||
| 2120 | - | Face.Parent = nil |
| 2120 | + | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
| 2121 | - | cloaked = true |
| 2121 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
| 2122 | - | for _, v in pairs(Torso.Parent:children()) do |
| 2122 | + | prt.Anchored=true |
| 2123 | - | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then |
| 2123 | + | prt.CFrame=cframe |
| 2124 | - | coroutine.resume(coroutine.create(function() |
| 2124 | + | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
|
| 2125 | - | for i = 0, 1, 0.2 do |
| 2125 | + | game:GetService("Debris"):AddItem(prt,5)
|
| 2126 | - | wait() |
| 2126 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 2127 | - | v.Transparency = i |
| 2127 | + | for i=0,1,delay do |
| 2128 | wait() | |
| 2129 | - | v.Transparency = 1 |
| 2129 | + | Part.CFrame=Part.CFrame*euler(0,0.7,0) |
| 2130 | - | end)) |
| 2130 | + | Part.Transparency=i |
| 2131 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2132 | - | if v.className == "Hat" then |
| 2132 | + | |
| 2133 | - | hatp = v.Handle |
| 2133 | + | Part.Parent=nil |
| 2134 | - | coroutine.resume(coroutine.create(function(derp) |
| 2134 | + | end),prt,msh) |
| 2135 | - | for i = 0, 1, 0.2 do |
| 2135 | + | |
| 2136 | - | wait() |
| 2136 | + | |
| 2137 | - | derp.Transparency = i |
| 2137 | + | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
| 2138 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2139 | - | derp.Transparency = 1 |
| 2139 | + | prt.Anchored=true |
| 2140 | - | end), hatp) |
| 2140 | + | prt.CFrame=cframe |
| 2141 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 2142 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2143 | - | for _, v in pairs(m:children()) do |
| 2143 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 2144 | - | if v.className == "Part" then |
| 2144 | + | for i=0,1,delay do |
| 2145 | - | coroutine.resume(coroutine.create(function() |
| 2145 | + | wait() |
| 2146 | - | for i = 0, 1, 0.2 do |
| 2146 | + | Part.CFrame=Part.CFrame*cf(0,y3/2,0) |
| 2147 | - | wait() |
| 2147 | + | Part.Transparency=i |
| 2148 | - | v.Transparency = i |
| 2148 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 2149 | end | |
| 2150 | - | v.Transparency = 1 |
| 2150 | + | Part.Parent=nil |
| 2151 | - | end)) |
| 2151 | + | end),prt,msh) |
| 2152 | end | |
| 2153 | ||
| 2154 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 2155 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2156 | - | so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
|
| 2156 | + | prt.Anchored=true |
| 2157 | - | Face.Parent = Head |
| 2157 | + | prt.CFrame=cframe*cf(x,y,z) |
| 2158 | - | cloaked = false |
| 2158 | + | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
|
| 2159 | - | for _, v in pairs(Torso.Parent:children()) do |
| 2159 | + | game:GetService("Debris"):AddItem(prt,5)
|
| 2160 | - | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then |
| 2160 | + | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) |
| 2161 | - | coroutine.resume(coroutine.create(function() |
| 2161 | + | local num=math.random() |
| 2162 | - | for i = 0, 1, 0.1 do |
| 2162 | + | local num2=math.random(-3,2)+math.random() |
| 2163 | - | wait() |
| 2163 | + | local numm=0 |
| 2164 | - | v.Transparency = v.Transparency - 0.1 |
| 2164 | + | for i=0,1,delay*2 do |
| 2165 | swait() | |
| 2166 | - | v.Transparency = 0 |
| 2166 | + | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) |
| 2167 | - | end)) |
| 2167 | + | Part.Transparency=i |
| 2168 | numm=numm+0.01 | |
| 2169 | - | if v.className == "Hat" then |
| 2169 | + | |
| 2170 | - | hatp = v.Handle |
| 2170 | + | Part.Parent=nil |
| 2171 | - | coroutine.resume(coroutine.create(function(derp) |
| 2171 | + | Mesh.Parent=nil |
| 2172 | - | for i = 0, 1, 0.1 do |
| 2172 | + | end),prt,msh,x,y,z) |
| 2173 | - | wait() |
| 2173 | + | |
| 2174 | - | derp.Transparency = derp.Transparency - 0.1 |
| 2174 | + | |
| 2175 | function dmgstart(dmg,what) | |
| 2176 | - | derp.Transparency = 0 |
| 2176 | + | |
| 2177 | - | end), hatp) |
| 2177 | + | |
| 2178 | if hum and not hum:IsDescendantOf(Character) then | |
| 2179 | hum:TakeDamage(dmg) | |
| 2180 | - | for _, v in pairs(m:children()) do |
| 2180 | + | |
| 2181 | - | if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then |
| 2181 | + | |
| 2182 | - | coroutine.resume(coroutine.create(function() |
| 2182 | + | |
| 2183 | - | for i = 0, 1, 0.1 do |
| 2183 | + | |
| 2184 | - | wait() |
| 2184 | + | |
| 2185 | - | v.Transparency = v.Transparency - 0.1 |
| 2185 | + | |
| 2186 | end | |
| 2187 | - | v.Transparency = 0 |
| 2187 | + | |
| 2188 | - | end)) |
| 2188 | + | |
| 2189 | - | v.Transparency = 0 |
| 2189 | + | Face.Parent=nil |
| 2190 | cloaked=true | |
| 2191 | for _,v in pairs(Torso.Parent:children()) do | |
| 2192 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2193 | coroutine.resume(coroutine.create(function() | |
| 2194 | - | function Explode(rad, par, pitch, vol, mindam, maxdam) |
| 2194 | + | for i=0,1,0.2 do |
| 2195 | - | local expart = Instance.new("Part", char)
|
| 2195 | + | wait() |
| 2196 | - | local expart2 = Instance.new("Part", char)
|
| 2196 | + | v.Transparency=i |
| 2197 | - | local rin = Instance.new("Part", char)
|
| 2197 | + | end |
| 2198 | - | local rin2 = Instance.new("Part", char)
|
| 2198 | + | v.Transparency=1 |
| 2199 | - | local partMesh = Instance.new("SpecialMesh", expart)
|
| 2199 | + | end)) |
| 2200 | end | |
| 2201 | - | local partMesh2 = Instance.new("SpecialMesh", expart2)
|
| 2201 | + | if v.className=="Hat" then |
| 2202 | hatp=v.Handle | |
| 2203 | - | local partMesh3 = Instance.new("SpecialMesh", rin)
|
| 2203 | + | coroutine.resume(coroutine.create(function(derp) |
| 2204 | for i=0,1,0.2 do | |
| 2205 | - | local partMesh4 = Instance.new("SpecialMesh", rin2)
|
| 2205 | + | wait() |
| 2206 | derp.Transparency=i | |
| 2207 | - | CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
|
| 2207 | + | end |
| 2208 | - | partMesh.Scale = vt(rad, rad, rad) |
| 2208 | + | derp.Transparency=1 |
| 2209 | - | expart.Size = vt(1, 1, 1) |
| 2209 | + | end),hatp) |
| 2210 | end | |
| 2211 | end | |
| 2212 | for _,v in pairs(m:children()) do | |
| 2213 | if v.className=="Part" then | |
| 2214 | coroutine.resume(coroutine.create(function() | |
| 2215 | - | partMesh2.Scale = vt(rad, rad, rad) |
| 2215 | + | for i=0,1,0.2 do |
| 2216 | - | expart2.Size = vt(1.15, 1.15, 1.15) |
| 2216 | + | wait() |
| 2217 | v.Transparency=i | |
| 2218 | end | |
| 2219 | v.Transparency=1 | |
| 2220 | end)) | |
| 2221 | end | |
| 2222 | - | rin.Size = vt(1.15, 1.15, 1.15) |
| 2222 | + | end |
| 2223 | end | |
| 2224 | ||
| 2225 | function UnCloak() | |
| 2226 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
| |
| 2227 | - | rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))) |
| 2227 | + | Face.Parent=Head |
| 2228 | - | rin2.Size = vt(1.15, 1.15, 1.15) |
| 2228 | + | cloaked=false |
| 2229 | for _,v in pairs(Torso.Parent:children()) do | |
| 2230 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2231 | coroutine.resume(coroutine.create(function() | |
| 2232 | for i=0,1,0.1 do | |
| 2233 | - | rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))) |
| 2233 | + | wait() |
| 2234 | - | partMesh3.Scale = vt(0, 1, 0) |
| 2234 | + | v.Transparency=v.Transparency-0.1 |
| 2235 | - | partMesh4.Scale = vt(0, 1, 0) |
| 2235 | + | end |
| 2236 | - | local dec2 = Instance.new("Decal", rin)
|
| 2236 | + | v.Transparency=0 |
| 2237 | - | dec2.Face = "Top" |
| 2237 | + | end)) |
| 2238 | - | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" |
| 2238 | + | end |
| 2239 | - | dec2.Parent = rin |
| 2239 | + | if v.className=="Hat" then |
| 2240 | - | local dec2b = dec2:Clone() |
| 2240 | + | hatp=v.Handle |
| 2241 | - | dec2b.Face = "Bottom" |
| 2241 | + | coroutine.resume(coroutine.create(function(derp) |
| 2242 | - | dec2b.Parent = rin |
| 2242 | + | for i=0,1,0.1 do |
| 2243 | - | local dec2a = Instance.new("Decal", rin2)
|
| 2243 | + | wait() |
| 2244 | - | dec2a.Face = "Top" |
| 2244 | + | derp.Transparency=derp.Transparency-0.1 |
| 2245 | - | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" |
| 2245 | + | end |
| 2246 | - | dec2a.Parent = rin2 |
| 2246 | + | derp.Transparency=0 |
| 2247 | - | local dec2ab = dec2a:Clone() |
| 2247 | + | end),hatp) |
| 2248 | - | dec2ab.Face = "Bottom" |
| 2248 | + | end |
| 2249 | - | dec2ab.Parent = rin2 |
| 2249 | + | end |
| 2250 | for _,v in pairs(m:children()) do | |
| 2251 | - | expart2.CanCollide = false |
| 2251 | + | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then |
| 2252 | - | rin.CanCollide = false |
| 2252 | + | coroutine.resume(coroutine.create(function() |
| 2253 | - | rin2.CanCollide = false |
| 2253 | + | for i=0,1,0.1 do |
| 2254 | - | MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal") |
| 2254 | + | wait() |
| 2255 | - | local value = 1 * rad / 6.5 |
| 2255 | + | v.Transparency=v.Transparency-0.1 |
| 2256 | end | |
| 2257 | - | partMesh.Scale = partMesh.Scale + vt(value, value, value) |
| 2257 | + | v.Transparency=0 |
| 2258 | end)) | |
| 2259 | - | partMesh2.Scale = partMesh2.Scale + vt(value, value, value) |
| 2259 | + | v.Transparency=0 |
| 2260 | end | |
| 2261 | - | value = value - 0.035 * rad / 30 |
| 2261 | + | end |
| 2262 | - | if value < 7.5 then |
| 2262 | + | |
| 2263 | - | partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5) |
| 2263 | + | |
| 2264 | - | rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0) |
| 2264 | + | |
| 2265 | - | partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5) |
| 2265 | + | ---- This section of explosions. |
| 2266 | - | rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0) |
| 2266 | + | function Explode(rad,par,pitch,vol,mindam,maxdam) |
| 2267 | local expart = Instance.new("Part",char)
| |
| 2268 | - | if value < 0 then |
| 2268 | + | local expart2 = Instance.new("Part",char)
|
| 2269 | - | dec2.Transparency = dec2.Transparency + 0.025 |
| 2269 | + | local rin = Instance.new("Part",char)
|
| 2270 | - | dec2a.Transparency = dec2a.Transparency + 0.025 |
| 2270 | + | local rin2 = Instance.new("Part",char)
|
| 2271 | - | dec2b.Transparency = dec2b.Transparency + 0.025 |
| 2271 | + | local partMesh = Instance.new("SpecialMesh",expart)
|
| 2272 | - | dec2ab.Transparency = dec2ab.Transparency + 0.025 |
| 2272 | + | |
| 2273 | - | expart.Transparency = expart.Transparency + 0.025 |
| 2273 | + | local partMesh2 = Instance.new("SpecialMesh",expart2)
|
| 2274 | - | expart2.Transparency = expart2.Transparency + 0.025 |
| 2274 | + | |
| 2275 | - | rin.Transparency = rin.Transparency + 0.025 |
| 2275 | + | local partMesh3 = Instance.new("SpecialMesh",rin)
|
| 2276 | - | rin2.Transparency = rin2.Transparency + 0.025 |
| 2276 | + | |
| 2277 | local partMesh4 = Instance.new("SpecialMesh",rin2)
| |
| 2278 | partMesh4.MeshType = "Brick" | |
| 2279 | CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
| |
| 2280 | - | game:GetService("Debris"):AddItem(expart, 1)
|
| 2280 | + | partMesh.Scale = vt(rad,rad,rad) |
| 2281 | - | game:GetService("Debris"):AddItem(expart2, 1)
|
| 2281 | + | expart.Size = vt(1,1,1) |
| 2282 | - | game:GetService("Debris"):AddItem(rin, 1)
|
| 2282 | + | |
| 2283 | - | game:GetService("Debris"):AddItem(rin2, 1)
|
| 2283 | + | |
| 2284 | expart.Material = "Neon" | |
| 2285 | - | function ExplodeShort(rad, par, pitch, vol, mindam, maxdam) |
| 2285 | + | |
| 2286 | - | local expart = Instance.new("Part", char)
|
| 2286 | + | |
| 2287 | - | local expart2 = Instance.new("Part", char)
|
| 2287 | + | partMesh2.Scale = vt(rad,rad,rad) |
| 2288 | - | local partMesh = Instance.new("SpecialMesh", expart)
|
| 2288 | + | expart2.Size = vt(1.15,1.15,1.15) |
| 2289 | expart2.Transparency = 0.5 | |
| 2290 | - | local partMesh2 = Instance.new("SpecialMesh", expart2)
|
| 2290 | + | |
| 2291 | expart2.Material = "Neon" | |
| 2292 | - | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
|
| 2292 | + | |
| 2293 | - | partMesh.Scale = vt(rad, rad, rad) |
| 2293 | + | |
| 2294 | - | expart.Size = vt(1, 1, 1) |
| 2294 | + | rin.Size = vt(1.15,1.15,1.15) |
| 2295 | rin.Transparency = 1 | |
| 2296 | rin.Anchored = true | |
| 2297 | rin.Material = "Neon" | |
| 2298 | rin.BrickColor = par.BrickColor | |
| 2299 | rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 2300 | - | partMesh2.Scale = vt(rad, rad, rad) |
| 2300 | + | rin2.Size = vt(1.15,1.15,1.15) |
| 2301 | - | expart2.Size = vt(1.15, 1.15, 1.15) |
| 2301 | + | |
| 2302 | rin2.Anchored = true | |
| 2303 | rin2.Material = "Neon" | |
| 2304 | rin2.BrickColor = par.BrickColor | |
| 2305 | rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 2306 | partMesh3.Scale = vt(0,1,0) | |
| 2307 | partMesh4.Scale = vt(0,1,0) | |
| 2308 | - | expart2.CanCollide = false |
| 2308 | + | local dec2 = Instance.new("Decal", rin)
|
| 2309 | - | MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal") |
| 2309 | + | dec2.Face = "Top" |
| 2310 | - | local value = 1 * rad / 6.5 |
| 2310 | + | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" |
| 2311 | dec2.Parent = rin | |
| 2312 | - | partMesh.Scale = partMesh.Scale + vt(value, value, value) |
| 2312 | + | local dec2b = dec2:Clone() |
| 2313 | dec2b.Face = "Bottom" | |
| 2314 | - | partMesh2.Scale = partMesh2.Scale + vt(value, value, value) |
| 2314 | + | dec2b.Parent = rin |
| 2315 | ||
| 2316 | - | value = value - 0.035 * rad / 5 |
| 2316 | + | local dec2a = Instance.new("Decal", rin2)
|
| 2317 | - | if value < 0 then |
| 2317 | + | dec2a.Face = "Top" |
| 2318 | - | value = 0 |
| 2318 | + | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" |
| 2319 | - | expart.Transparency = expart.Transparency + 0.05 |
| 2319 | + | dec2a.Parent = rin2 |
| 2320 | - | expart2.Transparency = expart2.Transparency + 0.05 |
| 2320 | + | local dec2ab = dec2a:Clone() |
| 2321 | dec2ab.Face = "Bottom" | |
| 2322 | dec2ab.Parent = rin2 | |
| 2323 | expart.CanCollide = false | |
| 2324 | - | game:GetService("Debris"):AddItem(expart, 1)
|
| 2324 | + | expart2.CanCollide = false |
| 2325 | - | game:GetService("Debris"):AddItem(expart2, 1)
|
| 2325 | + | rin.CanCollide = false |
| 2326 | rin2.CanCollide = false | |
| 2327 | - | function AreaDanger(rad, par, mindam, maxdam) |
| 2327 | + | MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal") |
| 2328 | - | local expart = Instance.new("Part", char)
|
| 2328 | + | local value = 1*rad/6.5 |
| 2329 | - | local partMesh = Instance.new("SpecialMesh", expart)
|
| 2329 | + | |
| 2330 | - | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
|
| 2330 | + | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
| 2331 | expart.CFrame = expart.CFrame | |
| 2332 | - | partMesh.Scale = vt(rad, rad, rad) |
| 2332 | + | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) |
| 2333 | - | expart.Size = vt(1, 1, 1) |
| 2333 | + | |
| 2334 | value = value - 0.035*rad/30 | |
| 2335 | if value < 7.5 then | |
| 2336 | partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5) | |
| 2337 | rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0) | |
| 2338 | partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5) | |
| 2339 | rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0) | |
| 2340 | - | local value = 1 * rad / 5 |
| 2340 | + | |
| 2341 | - | MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1) |
| 2341 | + | if value < 0 then |
| 2342 | dec2.Transparency = dec2.Transparency + 0.025 | |
| 2343 | dec2a.Transparency = dec2a.Transparency + 0.025 | |
| 2344 | - | partMesh.Scale = partMesh.Scale + vt(value, value, value) |
| 2344 | + | dec2b.Transparency = dec2b.Transparency + 0.025 |
| 2345 | dec2ab.Transparency = dec2ab.Transparency + 0.025 | |
| 2346 | - | value = value - 0.035 * rad |
| 2346 | + | expart.Transparency = expart.Transparency + 0.025 |
| 2347 | - | if value < 0 then |
| 2347 | + | expart2.Transparency = expart2.Transparency + 0.025 |
| 2348 | - | value = 0 |
| 2348 | + | rin.Transparency = rin.Transparency + 0.025 |
| 2349 | rin2.Transparency = rin2.Transparency + 0.025 | |
| 2350 | end | |
| 2351 | swait() | |
| 2352 | - | CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
|
| 2352 | + | |
| 2353 | - | wait(0.5) |
| 2353 | + | game:GetService("Debris"):AddItem(expart, 1)
|
| 2354 | - | CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
|
| 2354 | + | game:GetService("Debris"):AddItem(expart2, 1)
|
| 2355 | - | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
|
| 2355 | + | game:GetService("Debris"):AddItem(rin, 1)
|
| 2356 | - | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") |
| 2356 | + | game:GetService("Debris"):AddItem(rin2, 1)
|
| 2357 | - | MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025) |
| 2357 | + | |
| 2358 | ||
| 2359 | function ExplodeShort(rad,par,pitch,vol,mindam,maxdam) | |
| 2360 | - | partMesh.Scale = partMesh.Scale + vt(value, value, value) |
| 2360 | + | local expart = Instance.new("Part",char)
|
| 2361 | local expart2 = Instance.new("Part",char)
| |
| 2362 | - | value = value - 0.035 * rad / 2 |
| 2362 | + | local partMesh = Instance.new("SpecialMesh",expart)
|
| 2363 | partMesh.MeshType = "Sphere" | |
| 2364 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 2365 | - | game:GetService("Debris"):AddItem(expart, 5)
|
| 2365 | + | |
| 2366 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
| |
| 2367 | - | function Swarmsplosions(negrad, rad, par, mindam, maxdam) |
| 2367 | + | partMesh.Scale = vt(rad,rad,rad) |
| 2368 | - | CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
|
| 2368 | + | expart.Size = vt(1,1,1) |
| 2369 | - | CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
|
| 2369 | + | |
| 2370 | - | CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
|
| 2370 | + | |
| 2371 | - | CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
|
| 2371 | + | |
| 2372 | - | MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal") |
| 2372 | + | |
| 2373 | - | MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025) |
| 2373 | + | |
| 2374 | partMesh2.Scale = vt(rad,rad,rad) | |
| 2375 | - | MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 25, 0.005, math.random(1, 2)) |
| 2375 | + | expart2.Size = vt(1.15,1.15,1.15) |
| 2376 | expart2.Transparency = 0.5 | |
| 2377 | expart2.Anchored = true | |
| 2378 | - | local expart = Instance.new("Part", char)
|
| 2378 | + | |
| 2379 | - | expart.Transparency = 1 |
| 2379 | + | |
| 2380 | - | expart.Anchored = true |
| 2380 | + | |
| 2381 | - | expart.CanCollide = false |
| 2381 | + | expart.CanCollide = false |
| 2382 | - | expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad)) |
| 2382 | + | expart2.CanCollide = false |
| 2383 | - | CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
|
| 2383 | + | MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal") |
| 2384 | - | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
|
| 2384 | + | local value = 1*rad/6.5 |
| 2385 | - | MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal") |
| 2385 | + | |
| 2386 | - | MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025) |
| 2386 | + | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
| 2387 | - | for i = 0, 9 do |
| 2387 | + | |
| 2388 | - | MagicShockTrailAlt2(origcolor, expart.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 5, 0.05, math.random(1, 2)) |
| 2388 | + | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) |
| 2389 | expart2.CFrame = expart.CFrame | |
| 2390 | - | game:GetService("Debris"):AddItem(expart, 2)
|
| 2390 | + | value = value - 0.035*rad/5 |
| 2391 | - | wait(0.1) |
| 2391 | + | if value < 0 then |
| 2392 | value = 0 | |
| 2393 | expart.Transparency = expart.Transparency + 0.05 | |
| 2394 | expart2.Transparency = expart2.Transparency + 0.05 | |
| 2395 | - | CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
|
| 2395 | + | end |
| 2396 | - | CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
|
| 2396 | + | |
| 2397 | - | CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
|
| 2397 | + | |
| 2398 | - | CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
|
| 2398 | + | game:GetService("Debris"):AddItem(expart, 1)
|
| 2399 | - | MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal") |
| 2399 | + | game:GetService("Debris"):AddItem(expart2, 1)
|
| 2400 | - | MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005) |
| 2400 | + | |
| 2401 | - | MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1) |
| 2401 | + | |
| 2402 | function AreaDanger(rad,par,mindam,maxdam) | |
| 2403 | - | MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.5, -0.5, 500, 0.1, math.random(1, 2)) |
| 2403 | + | local expart = Instance.new("Part",char)
|
| 2404 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2405 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
| |
| 2406 | - | MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.25, -0.25, 50, 0.005, math.random(1, 2)) |
| 2406 | + | |
| 2407 | partMesh.Scale = vt(rad,rad,rad) | |
| 2408 | expart.Size = vt(1,1,1) | |
| 2409 | - | function ring(type, pos, scale, value) |
| 2409 | + | |
| 2410 | - | local type = type |
| 2410 | + | |
| 2411 | - | local rng = Instance.new("Part", char)
|
| 2411 | + | |
| 2412 | - | rng.Anchored = true |
| 2412 | + | |
| 2413 | - | rng.BrickColor = origcolor |
| 2413 | + | |
| 2414 | - | rng.CanCollide = false |
| 2414 | + | |
| 2415 | - | rng.FormFactor = 3 |
| 2415 | + | local value = 1*rad/5 |
| 2416 | - | rng.Name = "Ring" |
| 2416 | + | MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1) |
| 2417 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2417 | + | |
| 2418 | - | rng.Transparency = 0 |
| 2418 | + | |
| 2419 | - | rng.TopSurface = 0 |
| 2419 | + | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
| 2420 | - | rng.BottomSurface = 0 |
| 2420 | + | |
| 2421 | - | rng.CFrame = pos |
| 2421 | + | value = value - 0.035*rad |
| 2422 | - | local rngm = Instance.new("SpecialMesh", rng)
|
| 2422 | + | if value < 0 then |
| 2423 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
| 2423 | + | value = 0 |
| 2424 | - | rngm.Scale = scale |
| 2424 | + | |
| 2425 | - | local scaler2 = 1 |
| 2425 | + | |
| 2426 | - | if type == "Add" then |
| 2426 | + | |
| 2427 | - | scaler2 = 1 * value |
| 2427 | + | CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
|
| 2428 | - | elseif type == "Divide" then |
| 2428 | + | wait(0.5) |
| 2429 | - | scaler2 = 1 / value |
| 2429 | + | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
|
| 2430 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
| |
| 2431 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
| 2432 | - | for i = 0, 10, 0.1 do |
| 2432 | + | MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025) |
| 2433 | - | swait() |
| 2433 | + | for i = 0, 14 do |
| 2434 | - | if type == "Add" then |
| 2434 | + | |
| 2435 | - | scaler2 = scaler2 - 0.01 * value |
| 2435 | + | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
| 2436 | - | elseif type == "Divide" then |
| 2436 | + | |
| 2437 | - | scaler2 = scaler2 - 0.01 / value |
| 2437 | + | value = value - 0.035*rad/2 |
| 2438 | end | |
| 2439 | - | rng.Transparency = rng.Transparency + 0.01 |
| 2439 | + | expart.Transparency = 1 |
| 2440 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) |
| 2440 | + | game:GetService("Debris"):AddItem(expart, 5)
|
| 2441 | end | |
| 2442 | - | rng:Destroy() |
| 2442 | + | |
| 2443 | function Swarmsplosions(negrad,rad,par,mindam,maxdam) | |
| 2444 | CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
| |
| 2445 | - | function wave(type, pos, scale, value) |
| 2445 | + | CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
|
| 2446 | - | local type = type |
| 2446 | + | CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
|
| 2447 | - | local rng = Instance.new("Part", char)
|
| 2447 | + | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
|
| 2448 | - | rng.Anchored = true |
| 2448 | + | MagniDamageWithEffect(par, 25, 5,10, 0, "Normal") |
| 2449 | - | rng.BrickColor = origcolor |
| 2449 | + | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025) |
| 2450 | - | rng.CanCollide = false |
| 2450 | + | |
| 2451 | - | rng.FormFactor = 3 |
| 2451 | + | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2)) |
| 2452 | - | rng.Name = "Ring" |
| 2452 | + | |
| 2453 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2453 | + | |
| 2454 | - | rng.Transparency = 0 |
| 2454 | + | local expart = Instance.new("Part",char)
|
| 2455 | - | rng.TopSurface = 0 |
| 2455 | + | |
| 2456 | - | rng.BottomSurface = 0 |
| 2456 | + | |
| 2457 | - | rng.CFrame = pos |
| 2457 | + | |
| 2458 | - | local rngm = Instance.new("SpecialMesh", rng)
|
| 2458 | + | expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad)) |
| 2459 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" |
| 2459 | + | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
|
| 2460 | - | rngm.Scale = scale |
| 2460 | + | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
|
| 2461 | - | local scaler2 = 1 |
| 2461 | + | MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal") |
| 2462 | - | if type == "Add" then |
| 2462 | + | MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025) |
| 2463 | - | scaler2 = 1 * value |
| 2463 | + | for i = 0, 9 do |
| 2464 | - | elseif type == "Divide" then |
| 2464 | + | MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2)) |
| 2465 | - | scaler2 = 1 / value |
| 2465 | + | |
| 2466 | game:GetService("Debris"):AddItem(expart, 2)
| |
| 2467 | wait(0.1) | |
| 2468 | - | for i = 0, 10, 0.1 do |
| 2468 | + | |
| 2469 | - | swait() |
| 2469 | + | |
| 2470 | - | if type == "Add" then |
| 2470 | + | |
| 2471 | - | scaler2 = scaler2 - 0.01 * value |
| 2471 | + | |
| 2472 | - | elseif type == "Divide" then |
| 2472 | + | CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
|
| 2473 | - | scaler2 = scaler2 - 0.01 / value |
| 2473 | + | CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
|
| 2474 | CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
| |
| 2475 | - | rng.Transparency = rng.Transparency + 0.01 |
| 2475 | + | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
|
| 2476 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 2476 | + | MagniDamageWithEffect(par, 500, 80,99, 0, "Normal") |
| 2477 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005) | |
| 2478 | - | rng:Destroy() |
| 2478 | + | MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1) |
| 2479 | for i = 0, 24 do | |
| 2480 | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2)) | |
| 2481 | - | function wind(type, pos, scale, value, speed) |
| 2481 | + | |
| 2482 | - | local type = type |
| 2482 | + | |
| 2483 | - | local rng = Instance.new("Part", char)
|
| 2483 | + | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2)) |
| 2484 | - | rng.Anchored = true |
| 2484 | + | |
| 2485 | - | rng.BrickColor = origcolor |
| 2485 | + | |
| 2486 | - | rng.CanCollide = false |
| 2486 | + | ---- |
| 2487 | - | rng.FormFactor = 3 |
| 2487 | + | |
| 2488 | - | rng.Name = "Ring" |
| 2488 | + | |
| 2489 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2489 | + | function ring(type,pos,scale,value) |
| 2490 | - | rng.Transparency = 0 |
| 2490 | + | local type = type |
| 2491 | - | rng.TopSurface = 0 |
| 2491 | + | local rng = Instance.new("Part", char)
|
| 2492 | - | rng.BottomSurface = 0 |
| 2492 | + | rng.Anchored = true |
| 2493 | - | rng.CFrame = pos |
| 2493 | + | rng.BrickColor = origcolor |
| 2494 | - | local rngm = Instance.new("SpecialMesh", rng)
|
| 2494 | + | rng.CanCollide = false |
| 2495 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
| 2495 | + | rng.FormFactor = 3 |
| 2496 | - | rngm.Scale = scale |
| 2496 | + | rng.Name = "Ring" |
| 2497 | - | local scaler2 = 1 |
| 2497 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2498 | - | if type == "Add" then |
| 2498 | + | rng.Transparency = 0 |
| 2499 | - | scaler2 = 1 * value |
| 2499 | + | rng.TopSurface = 0 |
| 2500 | - | elseif type == "Divide" then |
| 2500 | + | rng.BottomSurface = 0 |
| 2501 | - | scaler2 = 1 / value |
| 2501 | + | rng.CFrame = pos |
| 2502 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2503 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2504 | - | for i = 0, 10, 0.1 do |
| 2504 | + | rngm.Scale = scale |
| 2505 | - | swait() |
| 2505 | + | local scaler2 = 1 |
| 2506 | - | if type == "Add" then |
| 2506 | + | if type == "Add" then |
| 2507 | - | scaler2 = scaler2 - 0.01 * value |
| 2507 | + | scaler2 = 1*value |
| 2508 | - | elseif type == "Divide" then |
| 2508 | + | elseif type == "Divide" then |
| 2509 | - | scaler2 = scaler2 - 0.01 / value |
| 2509 | + | scaler2 = 1/value |
| 2510 | end | |
| 2511 | - | rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0) |
| 2511 | + | |
| 2512 | - | rng.Transparency = rng.Transparency + 0.01 |
| 2512 | + | for i = 0,10,0.1 do |
| 2513 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 2513 | + | swait() |
| 2514 | if type == "Add" then | |
| 2515 | - | rng:Destroy() |
| 2515 | + | scaler2 = scaler2 - 0.01*value |
| 2516 | elseif type == "Divide" then | |
| 2517 | scaler2 = scaler2 - 0.01/value | |
| 2518 | - | function groundwind(type, pos, scale, value, speed) |
| 2518 | + | |
| 2519 | - | local type = type |
| 2519 | + | rng.Transparency = rng.Transparency + 0.01 |
| 2520 | - | local rng = Instance.new("Part", char)
|
| 2520 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) |
| 2521 | - | rng.Anchored = true |
| 2521 | + | |
| 2522 | - | rng.BrickColor = origcolor |
| 2522 | + | rng:Destroy() |
| 2523 | - | rng.CanCollide = false |
| 2523 | + | |
| 2524 | - | rng.FormFactor = 3 |
| 2524 | + | |
| 2525 | - | rng.Name = "Ring" |
| 2525 | + | |
| 2526 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2526 | + | |
| 2527 | - | rng.Transparency = 0 |
| 2527 | + | function wave(type,pos,scale,value) |
| 2528 | - | rng.TopSurface = 0 |
| 2528 | + | local type = type |
| 2529 | - | rng.BottomSurface = 0 |
| 2529 | + | local rng = Instance.new("Part", char)
|
| 2530 | - | rng.CFrame = pos |
| 2530 | + | rng.Anchored = true |
| 2531 | - | local rngm = Instance.new("SpecialMesh", rng)
|
| 2531 | + | rng.BrickColor = origcolor |
| 2532 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
| 2532 | + | rng.CanCollide = false |
| 2533 | - | rngm.Scale = scale |
| 2533 | + | rng.FormFactor = 3 |
| 2534 | - | local scaler2 = 1 |
| 2534 | + | rng.Name = "Ring" |
| 2535 | - | if type == "Add" then |
| 2535 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2536 | - | scaler2 = 1 * value |
| 2536 | + | rng.Transparency = 0 |
| 2537 | - | elseif type == "Divide" then |
| 2537 | + | rng.TopSurface = 0 |
| 2538 | - | scaler2 = 1 / value |
| 2538 | + | rng.BottomSurface = 0 |
| 2539 | rng.CFrame = pos | |
| 2540 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2541 | - | for i = 0, 10, 0.1 do |
| 2541 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" |
| 2542 | - | swait() |
| 2542 | + | rngm.Scale = scale |
| 2543 | - | if type == "Add" then |
| 2543 | + | local scaler2 = 1 |
| 2544 | - | scaler2 = scaler2 - 0.01 * value |
| 2544 | + | if type == "Add" then |
| 2545 | - | elseif type == "Divide" then |
| 2545 | + | scaler2 = 1*value |
| 2546 | - | scaler2 = scaler2 - 0.01 / value |
| 2546 | + | elseif type == "Divide" then |
| 2547 | scaler2 = 1/value | |
| 2548 | - | rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0) |
| 2548 | + | |
| 2549 | - | rng.Transparency = rng.Transparency + 0.01 |
| 2549 | + | |
| 2550 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2) |
| 2550 | + | for i = 0,10,0.1 do |
| 2551 | swait() | |
| 2552 | - | rng:Destroy() |
| 2552 | + | if type == "Add" then |
| 2553 | scaler2 = scaler2 - 0.01*value | |
| 2554 | elseif type == "Divide" then | |
| 2555 | scaler2 = scaler2 - 0.01/value | |
| 2556 | - | if TwoD and not CamInterrupt then |
| 2556 | + | |
| 2557 | - | if Humanoid.Health > 0 then |
| 2557 | + | rng.Transparency = rng.Transparency + 0.01 |
| 2558 | - | Camera.CameraSubject = Humanoid |
| 2558 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 2559 | - | Camera.CameraType = "Scriptable" |
| 2559 | + | |
| 2560 | - | Humanoid.AutoRotate = false |
| 2560 | + | rng:Destroy() |
| 2561 | - | if Booleans.GyroUse then |
| 2561 | + | |
| 2562 | - | Directer.MaxTorque = Vec3(0, huge, 0) |
| 2562 | + | |
| 2563 | ||
| 2564 | - | Directer.MaxTorque = Vec3(0, 0, 0) |
| 2564 | + | function wind(type,pos,scale,value,speed) |
| 2565 | local type = type | |
| 2566 | - | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then |
| 2566 | + | local rng = Instance.new("Part", char)
|
| 2567 | - | if Booleans.CamFollow then |
| 2567 | + | rng.Anchored = true |
| 2568 | - | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) |
| 2568 | + | rng.BrickColor = origcolor |
| 2569 | - | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) |
| 2569 | + | rng.CanCollide = false |
| 2570 | rng.FormFactor = 3 | |
| 2571 | - | CPart.Position = RootPart.Position |
| 2571 | + | rng.Name = "Ring" |
| 2572 | rng.Size = Vector3.new(1, 1, 1) | |
| 2573 | rng.Transparency = 0 | |
| 2574 | - | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p |
| 2574 | + | rng.TopSurface = 0 |
| 2575 | - | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) |
| 2575 | + | rng.BottomSurface = 0 |
| 2576 | rng.CFrame = pos | |
| 2577 | - | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) |
| 2577 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2578 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2579 | - | Camera.CameraSubject = Humanoid |
| 2579 | + | rngm.Scale = scale |
| 2580 | - | Camera.CameraType = "Custom" |
| 2580 | + | local scaler2 = 1 |
| 2581 | if type == "Add" then | |
| 2582 | scaler2 = 1*value | |
| 2583 | elseif type == "Divide" then | |
| 2584 | - | function sphere(bonuspeed, type, pos, scale, value, color) |
| 2584 | + | scaler2 = 1/value |
| 2585 | - | local type = type |
| 2585 | + | |
| 2586 | - | local rng = Instance.new("Part", char)
|
| 2586 | + | |
| 2587 | - | rng.Anchored = true |
| 2587 | + | for i = 0,10,0.1 do |
| 2588 | - | rng.BrickColor = color |
| 2588 | + | swait() |
| 2589 | - | rng.CanCollide = false |
| 2589 | + | if type == "Add" then |
| 2590 | - | rng.FormFactor = 3 |
| 2590 | + | scaler2 = scaler2 - 0.01*value |
| 2591 | - | rng.Name = "Ring" |
| 2591 | + | elseif type == "Divide" then |
| 2592 | - | rng.Material = "Neon" |
| 2592 | + | scaler2 = scaler2 - 0.01/value |
| 2593 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2593 | + | |
| 2594 | - | rng.Transparency = 0 |
| 2594 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
| 2595 | - | rng.TopSurface = 0 |
| 2595 | + | rng.Transparency = rng.Transparency + 0.01 |
| 2596 | - | rng.BottomSurface = 0 |
| 2596 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
| 2597 | - | rng.CFrame = pos |
| 2597 | + | |
| 2598 | - | local rngm = Instance.new("SpecialMesh", rng)
|
| 2598 | + | rng:Destroy() |
| 2599 | - | rngm.MeshType = "Sphere" |
| 2599 | + | |
| 2600 | - | rngm.Scale = scale |
| 2600 | + | |
| 2601 | - | if rainbowmode == true then |
| 2601 | + | |
| 2602 | - | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
| 2602 | + | function groundwind(type,pos,scale,value,speed) |
| 2603 | local type = type | |
| 2604 | - | local scaler2 = 1 |
| 2604 | + | local rng = Instance.new("Part", char)
|
| 2605 | - | if type == "Add" then |
| 2605 | + | rng.Anchored = true |
| 2606 | - | scaler2 = 1 * value |
| 2606 | + | rng.BrickColor = origcolor |
| 2607 | - | elseif type == "Divide" then |
| 2607 | + | rng.CanCollide = false |
| 2608 | - | scaler2 = 1 / value |
| 2608 | + | rng.FormFactor = 3 |
| 2609 | rng.Name = "Ring" | |
| 2610 | rng.Size = Vector3.new(1, 1, 1) | |
| 2611 | - | for i = 0, 10 / bonuspeed, 0.1 do |
| 2611 | + | rng.Transparency = 0 |
| 2612 | - | swait() |
| 2612 | + | rng.TopSurface = 0 |
| 2613 | - | if rainbowmode == true then |
| 2613 | + | rng.BottomSurface = 0 |
| 2614 | - | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
| 2614 | + | rng.CFrame = pos |
| 2615 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2616 | - | if type == "Add" then |
| 2616 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
| 2617 | - | scaler2 = scaler2 - 0.01 * value / bonuspeed |
| 2617 | + | rngm.Scale = scale |
| 2618 | - | elseif type == "Divide" then |
| 2618 | + | local scaler2 = 1 |
| 2619 | - | scaler2 = scaler2 - 0.01 / value * bonuspeed |
| 2619 | + | if type == "Add" then |
| 2620 | scaler2 = 1*value | |
| 2621 | - | if chaosmode == true then |
| 2621 | + | elseif type == "Divide" then |
| 2622 | - | rng.BrickColor = BrickColor.random() |
| 2622 | + | scaler2 = 1/value |
| 2623 | end | |
| 2624 | - | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
| 2624 | + | |
| 2625 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) |
| 2625 | + | for i = 0,10,0.1 do |
| 2626 | swait() | |
| 2627 | - | rng:Destroy() |
| 2627 | + | if type == "Add" then |
| 2628 | scaler2 = scaler2 - 0.01*value | |
| 2629 | elseif type == "Divide" then | |
| 2630 | - | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) |
| 2630 | + | scaler2 = scaler2 - 0.01/value |
| 2631 | - | local type = type |
| 2631 | + | |
| 2632 | - | local rng = Instance.new("Part", char)
|
| 2632 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
| 2633 | - | rng.Anchored = true |
| 2633 | + | rng.Transparency = rng.Transparency + 0.01 |
| 2634 | - | rng.BrickColor = color |
| 2634 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) |
| 2635 | - | rng.CanCollide = false |
| 2635 | + | |
| 2636 | - | rng.FormFactor = 3 |
| 2636 | + | rng:Destroy() |
| 2637 | - | rng.Name = "Ring" |
| 2637 | + | |
| 2638 | - | rng.Material = "Neon" |
| 2638 | + | |
| 2639 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2639 | + | |
| 2640 | - | rng.Transparency = 0 |
| 2640 | + | |
| 2641 | - | rng.TopSurface = 0 |
| 2641 | + | if TwoD and not CamInterrupt then |
| 2642 | - | rng.BottomSurface = 0 |
| 2642 | + | if Humanoid.Health > 0 then |
| 2643 | - | rng.CFrame = pos |
| 2643 | + | Camera.CameraSubject = Humanoid |
| 2644 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos |
| 2644 | + | Camera.CameraType = "Scriptable" |
| 2645 | - | local rngm = Instance.new("SpecialMesh", rng)
|
| 2645 | + | Humanoid.AutoRotate = false |
| 2646 | - | rngm.MeshType = "Sphere" |
| 2646 | + | if Booleans.GyroUse then |
| 2647 | - | rngm.Scale = vt(x1, y1, z1) |
| 2647 | + | Directer.MaxTorque = Vec3(0, huge, 0) |
| 2648 | - | if rainbowmode == true then |
| 2648 | + | else |
| 2649 | - | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
| 2649 | + | Directer.MaxTorque = Vec3(0, 0, 0) |
| 2650 | end | |
| 2651 | - | local scaler2 = 1 |
| 2651 | + | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then |
| 2652 | - | local speeder = FastSpeed |
| 2652 | + | if Booleans.CamFollow then |
| 2653 | - | if type == "Add" then |
| 2653 | + | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) |
| 2654 | - | scaler2 = 1 * value |
| 2654 | + | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) |
| 2655 | - | elseif type == "Divide" then |
| 2655 | + | else |
| 2656 | - | scaler2 = 1 / value |
| 2656 | + | CPart.Position = RootPart.Position |
| 2657 | end | |
| 2658 | else | |
| 2659 | - | for i = 0, 10 / bonuspeed, 0.1 do |
| 2659 | + | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p |
| 2660 | - | swait() |
| 2660 | + | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) |
| 2661 | - | if rainbowmode == true then |
| 2661 | + | end |
| 2662 | - | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
| 2662 | + | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) |
| 2663 | else | |
| 2664 | - | if type == "Add" then |
| 2664 | + | Camera.CameraSubject = Humanoid |
| 2665 | - | scaler2 = scaler2 - 0.01 * value / bonuspeed |
| 2665 | + | Camera.CameraType = "Custom" |
| 2666 | - | elseif type == "Divide" then |
| 2666 | + | Controller.Disabled = false |
| 2667 | - | scaler2 = scaler2 - 0.01 / value * bonuspeed |
| 2667 | + | end |
| 2668 | end | |
| 2669 | - | if chaosmode == true then |
| 2669 | + | |
| 2670 | - | rng.BrickColor = BrickColor.random() |
| 2670 | + | |
| 2671 | function sphere(bonuspeed,type,pos,scale,value,color) | |
| 2672 | - | speeder = speeder - 0.01 * FastSpeed * bonuspeed |
| 2672 | + | local type = type |
| 2673 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed |
| 2673 | + | local rng = Instance.new("Part", char)
|
| 2674 | - | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
| 2674 | + | rng.Anchored = true |
| 2675 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) |
| 2675 | + | rng.BrickColor = color |
| 2676 | rng.CanCollide = false | |
| 2677 | - | rng:Destroy() |
| 2677 | + | rng.FormFactor = 3 |
| 2678 | rng.Name = "Ring" | |
| 2679 | rng.Material = "Neon" | |
| 2680 | - | function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) |
| 2680 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2681 | - | local type = type |
| 2681 | + | rng.Transparency = 0 |
| 2682 | - | local rng = Instance.new("Part", char)
|
| 2682 | + | rng.TopSurface = 0 |
| 2683 | - | rng.Anchored = true |
| 2683 | + | rng.BottomSurface = 0 |
| 2684 | - | rng.BrickColor = color |
| 2684 | + | rng.CFrame = pos |
| 2685 | - | rng.CanCollide = false |
| 2685 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2686 | - | rng.FormFactor = 3 |
| 2686 | + | rngm.MeshType = "Sphere" |
| 2687 | - | rng.Name = "Ring" |
| 2687 | + | rngm.Scale = scale |
| 2688 | - | rng.Material = "Neon" |
| 2688 | + | if rainbowmode == true then |
| 2689 | - | rng.Size = Vector3.new(1, 1, 1) |
| 2689 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2690 | - | rng.Transparency = 1 |
| 2690 | + | |
| 2691 | - | rng.TopSurface = 0 |
| 2691 | + | local scaler2 = 1 |
| 2692 | - | rng.BottomSurface = 0 |
| 2692 | + | if type == "Add" then |
| 2693 | - | rng.CFrame = pos |
| 2693 | + | scaler2 = 1*value |
| 2694 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos |
| 2694 | + | elseif type == "Divide" then |
| 2695 | - | local rngm = Instance.new("SpecialMesh", rng)
|
| 2695 | + | scaler2 = 1/value |
| 2696 | - | rngm.MeshType = "Sphere" |
| 2696 | + | |
| 2697 | - | rngm.Scale = vt(x1, y1, z1) |
| 2697 | + | |
| 2698 | - | if rainbowmode == true then |
| 2698 | + | for i = 0,10/bonuspeed,0.1 do |
| 2699 | - | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
| 2699 | + | swait() |
| 2700 | if rainbowmode == true then | |
| 2701 | - | local scaler2 = 1 |
| 2701 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2702 | - | local speeder = FastSpeed |
| 2702 | + | |
| 2703 | - | if type == "Add" then |
| 2703 | + | if type == "Add" then |
| 2704 | - | scaler2 = 1 * value |
| 2704 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 2705 | - | elseif type == "Divide" then |
| 2705 | + | elseif type == "Divide" then |
| 2706 | - | scaler2 = 1 / value |
| 2706 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 2707 | end | |
| 2708 | if chaosmode == true then | |
| 2709 | - | for i = 0, 10 / bonuspeed, 0.1 do |
| 2709 | + | rng.BrickColor = BrickColor.random() |
| 2710 | - | swait() |
| 2710 | + | |
| 2711 | - | if rainbowmode == true then |
| 2711 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 2712 | - | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
| 2712 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 2713 | end | |
| 2714 | - | if type == "Add" then |
| 2714 | + | rng:Destroy() |
| 2715 | - | scaler2 = scaler2 - 0.01 * value / bonuspeed |
| 2715 | + | |
| 2716 | - | elseif type == "Divide" then |
| 2716 | + | |
| 2717 | - | scaler2 = scaler2 - 0.01 / value * bonuspeed |
| 2717 | + | |
| 2718 | function spherew(bonuspeed,type,pos,scale,value,color) | |
| 2719 | - | if chaosmode == true then |
| 2719 | + | local type = type |
| 2720 | - | rng.BrickColor = BrickColor.random() |
| 2720 | + | local rng = Instance.new("Part", workspace)
|
| 2721 | rng.Anchored = true | |
| 2722 | - | speeder = speeder - 0.01 * FastSpeed * bonuspeed |
| 2722 | + | rng.BrickColor = color |
| 2723 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed |
| 2723 | + | rng.CanCollide = false |
| 2724 | - | rng.Transparency = rng.Transparency - 0.01 * bonuspeed |
| 2724 | + | rng.FormFactor = 3 |
| 2725 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) |
| 2725 | + | rng.Name = "Ring" |
| 2726 | rng.Material = "Neon" | |
| 2727 | - | rng:Destroy() |
| 2727 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2728 | rng.Transparency = 0 | |
| 2729 | rng.TopSurface = 0 | |
| 2730 | rng.BottomSurface = 0 | |
| 2731 | - | if dude.Name ~= Character then |
| 2731 | + | rng.CFrame = pos |
| 2732 | - | local bgf = Instance.new("BodyGyro", dude.Head)
|
| 2732 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2733 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0) |
| 2733 | + | rngm.MeshType = "Sphere" |
| 2734 | - | local val = Instance.new("BoolValue", dude)
|
| 2734 | + | rngm.Scale = scale |
| 2735 | - | val.Name = "IsHit" |
| 2735 | + | if rainbowmode == true then |
| 2736 | - | local ds = coroutine.wrap(function() |
| 2736 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2737 | - | dude:WaitForChild("Head"):BreakJoints()
|
| 2737 | + | |
| 2738 | - | wait(0.5) |
| 2738 | + | local scaler2 = 1 |
| 2739 | - | targetted = nil |
| 2739 | + | if type == "Add" then |
| 2740 | - | CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
|
| 2740 | + | scaler2 = 1*value |
| 2741 | - | coroutine.resume(coroutine.create(function() |
| 2741 | + | elseif type == "Divide" then |
| 2742 | - | for i, v in pairs(dude:GetChildren()) do |
| 2742 | + | scaler2 = 1/value |
| 2743 | - | if v:IsA("Accessory") then
|
| 2743 | + | |
| 2744 | - | v:Destroy() |
| 2744 | + | |
| 2745 | - | end |
| 2745 | + | for i = 0,10/bonuspeed,0.1 do |
| 2746 | - | if v:IsA("Humanoid") then
|
| 2746 | + | swait() |
| 2747 | - | v:Destroy() |
| 2747 | + | if rainbowmode == true then |
| 2748 | - | end |
| 2748 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2749 | - | if v:IsA("CharacterMesh") then
|
| 2749 | + | |
| 2750 | - | v:Destroy() |
| 2750 | + | if type == "Add" then |
| 2751 | - | end |
| 2751 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 2752 | - | if v:IsA("Model") then
|
| 2752 | + | elseif type == "Divide" then |
| 2753 | - | v:Destroy() |
| 2753 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 2754 | - | end |
| 2754 | + | |
| 2755 | - | if v:IsA("Part") or v:IsA("MeshPart") then
|
| 2755 | + | if chaosmode == true then |
| 2756 | - | for x, o in pairs(v:GetChildren()) do |
| 2756 | + | rng.BrickColor = BrickColor.random() |
| 2757 | - | if o:IsA("Decal") then
|
| 2757 | + | |
| 2758 | - | o:Destroy() |
| 2758 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 2759 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2760 | - | end |
| 2760 | + | |
| 2761 | - | coroutine.resume(coroutine.create(function() |
| 2761 | + | rng:Destroy() |
| 2762 | - | v.Material = "Neon" |
| 2762 | + | |
| 2763 | - | v.CanCollide = false |
| 2763 | + | |
| 2764 | - | local bld = Instance.new("ParticleEmitter", v)
|
| 2764 | + | |
| 2765 | - | bld.LightEmission = 1 |
| 2765 | + | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 2766 | - | bld.Texture = "rbxassetid://284205403" |
| 2766 | + | local type = type |
| 2767 | - | bld.Color = ColorSequence.new(Color3.new(1, 1, 1)) |
| 2767 | + | local rng = Instance.new("Part", char)
|
| 2768 | - | bld.Rate = 50 |
| 2768 | + | rng.Anchored = true |
| 2769 | - | bld.Lifetime = NumberRange.new(1) |
| 2769 | + | rng.BrickColor = color |
| 2770 | - | bld.Size = NumberSequence.new({
|
| 2770 | + | rng.CanCollide = false |
| 2771 | - | NumberSequenceKeypoint.new(0, 0.75, 0), |
| 2771 | + | rng.FormFactor = 3 |
| 2772 | - | NumberSequenceKeypoint.new(1, 0, 0) |
| 2772 | + | rng.Name = "Ring" |
| 2773 | - | }) |
| 2773 | + | rng.Material = "Neon" |
| 2774 | - | bld.Transparency = NumberSequence.new({
|
| 2774 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2775 | - | NumberSequenceKeypoint.new(0, 0, 0), |
| 2775 | + | rng.Transparency = 0 |
| 2776 | - | NumberSequenceKeypoint.new(1, 1, 0) |
| 2776 | + | rng.TopSurface = 0 |
| 2777 | - | }) |
| 2777 | + | rng.BottomSurface = 0 |
| 2778 | - | bld.Speed = NumberRange.new(0, 0) |
| 2778 | + | rng.CFrame = pos |
| 2779 | - | bld.VelocitySpread = 50000 |
| 2779 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 2780 | - | bld.Rotation = NumberRange.new(-500, 500) |
| 2780 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2781 | - | bld.RotSpeed = NumberRange.new(-500, 500) |
| 2781 | + | rngm.MeshType = "Brick" |
| 2782 | - | local sbs = Instance.new("BodyPosition", v)
|
| 2782 | + | rngm.Scale = vt(x1,y1,z1) |
| 2783 | - | sbs.P = 3000 |
| 2783 | + | if rainbowmode == true then |
| 2784 | - | sbs.D = 1000 |
| 2784 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2785 | - | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
| 2785 | + | |
| 2786 | - | sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) |
| 2786 | + | local scaler2 = 1 |
| 2787 | - | v.Color = Color3.new(1, 1, 1) |
| 2787 | + | local speeder = FastSpeed/10 |
| 2788 | - | coroutine.resume(coroutine.create(function() |
| 2788 | + | if type == "Add" then |
| 2789 | - | for i = 0, 49 do |
| 2789 | + | scaler2 = 1*value |
| 2790 | - | swait(1) |
| 2790 | + | elseif type == "Divide" then |
| 2791 | - | v.Transparency = v.Transparency + 0.02 |
| 2791 | + | scaler2 = 1/value |
| 2792 | end | |
| 2793 | - | CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
|
| 2793 | + | |
| 2794 | - | bld.Speed = NumberRange.new(1, 5) |
| 2794 | + | for i = 0,10/bonuspeed,0.1 do |
| 2795 | - | bld.Acceleration = vt(0, 10, 0) |
| 2795 | + | swait() |
| 2796 | - | wait(0.5) |
| 2796 | + | if rainbowmode == true then |
| 2797 | - | bld.Enabled = false |
| 2797 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2798 | - | wait(3) |
| 2798 | + | |
| 2799 | - | v:Destroy() |
| 2799 | + | if type == "Add" then |
| 2800 | - | dude:Destroy() |
| 2800 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 2801 | - | end)) |
| 2801 | + | elseif type == "Divide" then |
| 2802 | - | end)) |
| 2802 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 2803 | - | end |
| 2803 | + | |
| 2804 | if chaosmode == true then | |
| 2805 | - | end)) |
| 2805 | + | rng.BrickColor = BrickColor.random() |
| 2806 | - | end) |
| 2806 | + | |
| 2807 | - | ds() |
| 2807 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 |
| 2808 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2809 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2810 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2811 | end | |
| 2812 | - | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude |
| 2812 | + | rng:Destroy() |
| 2813 | end)) | |
| 2814 | end | |
| 2815 | ||
| 2816 | - | if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
|
| 2816 | + | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 2817 | - | table.insert(List, v) |
| 2817 | + | local type = type |
| 2818 | local rng = Instance.new("Part", char)
| |
| 2819 | rng.Anchored = true | |
| 2820 | rng.BrickColor = color | |
| 2821 | rng.CanCollide = false | |
| 2822 | rng.FormFactor = 3 | |
| 2823 | - | Cam = workspace.CurrentCamera |
| 2823 | + | rng.Name = "Ring" |
| 2824 | - | return {
|
| 2824 | + | rng.Material = "Neon" |
| 2825 | - | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), |
| 2825 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2826 | - | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
| 2826 | + | rng.Transparency = 0 |
| 2827 | - | } |
| 2827 | + | rng.TopSurface = 0 |
| 2828 | rng.BottomSurface = 0 | |
| 2829 | rng.CFrame = pos | |
| 2830 | - | Cam = workspace.CurrentCamera |
| 2830 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 2831 | - | return {
|
| 2831 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2832 | - | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), |
| 2832 | + | rngm.MeshType = "Brick" |
| 2833 | - | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
| 2833 | + | rngm.Scale = vt(x1,y1,z1) |
| 2834 | - | } |
| 2834 | + | if rainbowmode == true then |
| 2835 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2836 | end | |
| 2837 | local scaler2 = 0 | |
| 2838 | local speeder = FastSpeed/10 | |
| 2839 | - | local targetted |
| 2839 | + | if type == "Add" then |
| 2840 | - | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
|
| 2840 | + | scaler2 = 1*value |
| 2841 | - | targetted = mouse.Target.Parent |
| 2841 | + | elseif type == "Divide" then |
| 2842 | scaler2 = 1/value | |
| 2843 | - | if targetted ~= nil then |
| 2843 | + | |
| 2844 | - | attack = true |
| 2844 | + | |
| 2845 | - | CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
|
| 2845 | + | for i = 0,10/bonuspeed,0.1 do |
| 2846 | - | for i = 0, 9 do |
| 2846 | + | swait() |
| 2847 | - | 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, BrickColor.new("Really black"), 0)
|
| 2847 | + | if rainbowmode == true then |
| 2848 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2849 | - | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
|
| 2849 | + | |
| 2850 | - | local originalpos = root.CFrame |
| 2850 | + | if type == "Add" then |
| 2851 | - | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2) |
| 2851 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 2852 | - | for i = 0, 9 do |
| 2852 | + | elseif type == "Divide" then |
| 2853 | - | 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, BrickColor.new("Really black"), 0)
|
| 2853 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 2854 | end | |
| 2855 | - | hum.WalkSpeed = 0 |
| 2855 | + | if chaosmode == true then |
| 2856 | - | targetted.Head.Anchored = true |
| 2856 | + | rng.BrickColor = BrickColor.random() |
| 2857 | - | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
|
| 2857 | + | |
| 2858 | - | for i = 0, 2, 0.1 do |
| 2858 | + | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 |
| 2859 | - | swait() |
| 2859 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 2860 | - | 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)), 0.4) |
| 2860 | + | --rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 2861 | - | 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)), 0.4) |
| 2861 | + | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
| 2862 | - | 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)), 0.4) |
| 2862 | + | |
| 2863 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8) |
| 2863 | + | rng:Destroy() |
| 2864 | - | 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)), 0.4) |
| 2864 | + | |
| 2865 | - | 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)), 0.4) |
| 2865 | + | |
| 2866 | ||
| 2867 | - | coroutine.resume(coroutine.create(function() |
| 2867 | + | function sphereMKw(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 2868 | - | bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
|
| 2868 | + | local type = type |
| 2869 | - | bld.LightEmission = 0.1 |
| 2869 | + | local rng = Instance.new("Part", workspace)
|
| 2870 | - | bld.Texture = "rbxassetid://284205403" |
| 2870 | + | rng.Anchored = true |
| 2871 | - | bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0)) |
| 2871 | + | rng.BrickColor = color |
| 2872 | - | bld.Rate = 500 |
| 2872 | + | rng.CanCollide = false |
| 2873 | - | bld.Lifetime = NumberRange.new(1) |
| 2873 | + | rng.FormFactor = 3 |
| 2874 | - | bld.Size = NumberSequence.new({
|
| 2874 | + | rng.Name = "Ring" |
| 2875 | - | NumberSequenceKeypoint.new(0, 2, 0), |
| 2875 | + | rng.Material = "Neon" |
| 2876 | - | NumberSequenceKeypoint.new(1, 0, 0) |
| 2876 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2877 | - | }) |
| 2877 | + | rng.Transparency = 0 |
| 2878 | - | bld.Acceleration = vt(0, -25, 0) |
| 2878 | + | rng.TopSurface = 0 |
| 2879 | - | bld.Transparency = NumberSequence.new({
|
| 2879 | + | rng.BottomSurface = 0 |
| 2880 | - | NumberSequenceKeypoint.new(0, 0, 0), |
| 2880 | + | rng.CFrame = pos |
| 2881 | - | NumberSequenceKeypoint.new(1, 0, 0) |
| 2881 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 2882 | - | }) |
| 2882 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2883 | - | bld.Speed = NumberRange.new(10, 50) |
| 2883 | + | rngm.MeshType = "Sphere" |
| 2884 | - | bld.EmissionDirection = "Front" |
| 2884 | + | rngm.Scale = vt(x1,y1,z1) |
| 2885 | - | bld.VelocitySpread = 25 |
| 2885 | + | if rainbowmode == true then |
| 2886 | - | bld.Rotation = NumberRange.new(-500, 500) |
| 2886 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2887 | - | bld.RotSpeed = NumberRange.new(-500, 500) |
| 2887 | + | |
| 2888 | - | end)) |
| 2888 | + | local scaler2 = 1 |
| 2889 | - | coroutine.resume(coroutine.create(function() |
| 2889 | + | local speeder = FastSpeed |
| 2890 | - | bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
|
| 2890 | + | if type == "Add" then |
| 2891 | - | bld.LightEmission = 0.1 |
| 2891 | + | scaler2 = 1*value |
| 2892 | - | bld.Texture = "rbxassetid://284205403" |
| 2892 | + | elseif type == "Divide" then |
| 2893 | - | bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0)) |
| 2893 | + | scaler2 = 1/value |
| 2894 | - | bld.Rate = 500 |
| 2894 | + | |
| 2895 | - | bld.Lifetime = NumberRange.new(1) |
| 2895 | + | |
| 2896 | - | bld.Size = NumberSequence.new({
|
| 2896 | + | for i = 0,10/bonuspeed,0.1 do |
| 2897 | - | NumberSequenceKeypoint.new(0, 2, 0), |
| 2897 | + | swait() |
| 2898 | - | NumberSequenceKeypoint.new(1, 0, 0) |
| 2898 | + | if rainbowmode == true then |
| 2899 | - | }) |
| 2899 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2900 | - | bld.Acceleration = vt(0, -25, 0) |
| 2900 | + | |
| 2901 | - | bld.Transparency = NumberSequence.new({
|
| 2901 | + | if type == "Add" then |
| 2902 | - | NumberSequenceKeypoint.new(0, 0, 0), |
| 2902 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 2903 | - | NumberSequenceKeypoint.new(1, 0, 0) |
| 2903 | + | elseif type == "Divide" then |
| 2904 | - | }) |
| 2904 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 2905 | - | bld.Speed = NumberRange.new(10, 50) |
| 2905 | + | |
| 2906 | - | bld.EmissionDirection = "Front" |
| 2906 | + | if chaosmode == true then |
| 2907 | - | bld.VelocitySpread = 25 |
| 2907 | + | rng.BrickColor = BrickColor.random() |
| 2908 | - | bld.Rotation = NumberRange.new(-500, 500) |
| 2908 | + | |
| 2909 | - | bld.RotSpeed = NumberRange.new(-500, 500) |
| 2909 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed |
| 2910 | - | end)) |
| 2910 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 2911 | - | CameraEnshaking(5, 5) |
| 2911 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 2912 | - | game:GetService("Debris"):AddItem(bld, 3)
|
| 2912 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
| 2913 | - | dmg(targetted) |
| 2913 | + | |
| 2914 | - | CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
|
| 2914 | + | rng:Destroy() |
| 2915 | - | for i = 0, 1, 0.1 do |
| 2915 | + | |
| 2916 | - | swait() |
| 2916 | + | |
| 2917 | - | 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)), 0.8) |
| 2917 | + | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 2918 | - | 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)), 0.8) |
| 2918 | + | local type = type |
| 2919 | - | 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)), 0.8) |
| 2919 | + | local rng = Instance.new("Part", char)
|
| 2920 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8) |
| 2920 | + | rng.Anchored = true |
| 2921 | - | 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)), 0.8) |
| 2921 | + | rng.BrickColor = color |
| 2922 | - | 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)), 0.8) |
| 2922 | + | rng.CanCollide = false |
| 2923 | rng.FormFactor = 3 | |
| 2924 | - | CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
|
| 2924 | + | rng.Name = "Ring" |
| 2925 | - | for i = 0, 9 do |
| 2925 | + | rng.Material = "Neon" |
| 2926 | - | 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, BrickColor.new("Really black"), 0)
|
| 2926 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2927 | rng.Transparency = 0 | |
| 2928 | - | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
|
| 2928 | + | rng.TopSurface = 0 |
| 2929 | - | root.CFrame = originalpos |
| 2929 | + | rng.BottomSurface = 0 |
| 2930 | - | for i = 0, 9 do |
| 2930 | + | rng.CFrame = pos |
| 2931 | - | 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, BrickColor.new("Really black"), 0)
|
| 2931 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
| 2932 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2933 | - | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
|
| 2933 | + | rngm.MeshType = "Sphere" |
| 2934 | - | bld.Enabled = false |
| 2934 | + | rngm.Scale = vt(x1,y1,z1) |
| 2935 | - | attack = false |
| 2935 | + | if rainbowmode == true then |
| 2936 | - | hum.WalkSpeed = storehumanoidWS |
| 2936 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2937 | end | |
| 2938 | local scaler2 = 1 | |
| 2939 | local speeder = FastSpeed | |
| 2940 | if type == "Add" then | |
| 2941 | - | local orb = Instance.new("Part", char)
|
| 2941 | + | scaler2 = 1*value |
| 2942 | - | orb.Anchored = true |
| 2942 | + | elseif type == "Divide" then |
| 2943 | - | orb.BrickColor = BrickColor.new("Toothpaste")
|
| 2943 | + | scaler2 = 1/value |
| 2944 | - | orb.CanCollide = false |
| 2944 | + | |
| 2945 | - | orb.FormFactor = 3 |
| 2945 | + | |
| 2946 | - | orb.Name = "Ring" |
| 2946 | + | for i = 0,10/bonuspeed,0.1 do |
| 2947 | - | orb.Material = "Neon" |
| 2947 | + | swait() |
| 2948 | - | orb.Size = Vector3.new(1, 1, 1) |
| 2948 | + | if rainbowmode == true then |
| 2949 | - | orb.Transparency = 0 |
| 2949 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2950 | - | orb.TopSurface = 0 |
| 2950 | + | |
| 2951 | - | orb.BottomSurface = 0 |
| 2951 | + | if type == "Add" then |
| 2952 | - | local orbm = Instance.new("SpecialMesh", orb)
|
| 2952 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 2953 | - | orbm.MeshType = "Sphere" |
| 2953 | + | elseif type == "Divide" then |
| 2954 | - | orbm.Name = "SizeMesh" |
| 2954 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 2955 | - | orbm.Scale = vt(0, 0, 0) |
| 2955 | + | |
| 2956 | - | local scaled = 0.1 |
| 2956 | + | if chaosmode == true then |
| 2957 | - | local posid = 0 |
| 2957 | + | rng.BrickColor = BrickColor.random() |
| 2958 | - | CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
|
| 2958 | + | |
| 2959 | - | for i = 0, 5, 0.1 do |
| 2959 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed |
| 2960 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2961 | - | scaled = scaled - 0.001 |
| 2961 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
| 2962 | - | posid = posid - scaled |
| 2962 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
| 2963 | - | orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0) |
| 2963 | + | |
| 2964 | - | orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled) |
| 2964 | + | rng:Destroy() |
| 2965 | - | sphereMKCharge(5, -0.25, "Add", orb.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, BrickColor.new("Toothpaste"), 10)
|
| 2965 | + | |
| 2966 | - | 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(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.1) |
| 2966 | + | |
| 2967 | - | 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(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.1) |
| 2967 | + | |
| 2968 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
| 2968 | + | |
| 2969 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
| 2969 | + | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 2970 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1) |
| 2970 | + | local type = type |
| 2971 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.1) |
| 2971 | + | local rng = Instance.new("Part", char)
|
| 2972 | rng.Anchored = true | |
| 2973 | rng.BrickColor = color | |
| 2974 | rng.CanCollide = false | |
| 2975 | - | orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0) |
| 2975 | + | rng.FormFactor = 3 |
| 2976 | - | 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(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4) |
| 2976 | + | rng.Name = "Ring" |
| 2977 | - | 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(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4) |
| 2977 | + | rng.Material = "Neon" |
| 2978 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.4) |
| 2978 | + | rng.Size = Vector3.new(1, 1, 1) |
| 2979 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4) |
| 2979 | + | rng.Transparency = 1 |
| 2980 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4) |
| 2980 | + | rng.TopSurface = 0 |
| 2981 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4) |
| 2981 | + | rng.BottomSurface = 0 |
| 2982 | rng.CFrame = pos | |
| 2983 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2984 | - | orb.Anchored = false |
| 2984 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 2985 | - | CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
|
| 2985 | + | rngm.MeshType = "Sphere" |
| 2986 | - | local a = Instance.new("Part", workspace)
|
| 2986 | + | rngm.Scale = vt(x1,y1,z1) |
| 2987 | - | a.Name = "Direction" |
| 2987 | + | if rainbowmode == true then |
| 2988 | - | a.Anchored = true |
| 2988 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 2989 | - | a.BrickColor = bc("Bright red")
|
| 2989 | + | |
| 2990 | - | a.Material = "Neon" |
| 2990 | + | local scaler2 = 1 |
| 2991 | - | a.Transparency = 1 |
| 2991 | + | local speeder = FastSpeed |
| 2992 | - | a.CanCollide = false |
| 2992 | + | if type == "Add" then |
| 2993 | - | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) |
| 2993 | + | scaler2 = 1*value |
| 2994 | - | local ignore = orb |
| 2994 | + | elseif type == "Divide" then |
| 2995 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 2995 | + | scaler2 = 1/value |
| 2996 | - | a.BottomSurface = 10 |
| 2996 | + | |
| 2997 | - | a.TopSurface = 10 |
| 2997 | + | |
| 2998 | - | local distance = (orb.CFrame.p - position).magnitude |
| 2998 | + | for i = 0,10/bonuspeed,0.1 do |
| 2999 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
| 2999 | + | swait() |
| 3000 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) |
| 3000 | + | if rainbowmode == true then |
| 3001 | - | orb.CFrame = a.CFrame |
| 3001 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
| 3002 | - | a:Destroy() |
| 3002 | + | |
| 3003 | - | local bv = Instance.new("BodyVelocity")
|
| 3003 | + | if type == "Add" then |
| 3004 | - | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
| 3004 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
| 3005 | - | bv.velocity = orb.CFrame.lookVector * 125 |
| 3005 | + | elseif type == "Divide" then |
| 3006 | - | bv.Parent = orb |
| 3006 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
| 3007 | - | local hitted = false |
| 3007 | + | |
| 3008 | - | game:GetService("Debris"):AddItem(orb, 15)
|
| 3008 | + | if chaosmode == true then |
| 3009 | rng.BrickColor = BrickColor.random() | |
| 3010 | - | local hit = orb.Touched:connect(function(hit) |
| 3010 | + | |
| 3011 | - | if hitted == false then |
| 3011 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed |
| 3012 | - | hitted = true |
| 3012 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
| 3013 | - | CameraEnshaking(10, 2.5) |
| 3013 | + | rng.Transparency = rng.Transparency - 0.01*bonuspeed |
| 3014 | - | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
|
| 3014 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
| 3015 | - | MagniDamage(orb, 65, 65, 90, 0, "Normal") |
| 3015 | + | |
| 3016 | - | sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
|
| 3016 | + | rng:Destroy() |
| 3017 | - | sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
|
| 3017 | + | |
| 3018 | - | for i = 0, 9 do |
| 3018 | + | |
| 3019 | - | sphereMK(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0)
|
| 3019 | + | |
| 3020 | - | sphereMK(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0)
|
| 3020 | + | |
| 3021 | if dude.Name ~= Character then | |
| 3022 | - | orb.Anchored = true |
| 3022 | + | local bgf = Instance.new("BodyGyro",dude.Head)
|
| 3023 | - | orb.Transparency = 1 |
| 3023 | + | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) |
| 3024 | - | wait(8) |
| 3024 | + | local val = Instance.new("BoolValue",dude)
|
| 3025 | - | orb:Destroy() |
| 3025 | + | val.Name = "IsHit" |
| 3026 | local ds = coroutine.wrap(function() | |
| 3027 | - | end) |
| 3027 | + | dude:WaitForChild("Head"):BreakJoints()
|
| 3028 | wait(0.5) | |
| 3029 | - | for i = 0, 1, 0.1 do |
| 3029 | + | targetted = nil |
| 3030 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
| |
| 3031 | - | 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(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4) |
| 3031 | + | |
| 3032 | - | 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(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4) |
| 3032 | + | for i, v in pairs(dude:GetChildren()) do |
| 3033 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.4) |
| 3033 | + | if v:IsA("Accessory") then
|
| 3034 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4) |
| 3034 | + | v:Destroy() |
| 3035 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4) |
| 3035 | + | |
| 3036 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4) |
| 3036 | + | if v:IsA("Humanoid") then
|
| 3037 | v:Destroy() | |
| 3038 | end | |
| 3039 | if v:IsA("CharacterMesh") then
| |
| 3040 | v:Destroy() | |
| 3041 | end | |
| 3042 | if v:IsA("Model") then
| |
| 3043 | v:Destroy() | |
| 3044 | - | 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)), 0.2) |
| 3044 | + | |
| 3045 | - | 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)), 0.2) |
| 3045 | + | if v:IsA("Part") or v:IsA("MeshPart") then
|
| 3046 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3046 | + | for x, o in pairs(v:GetChildren()) do |
| 3047 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3047 | + | if o:IsA("Decal") then
|
| 3048 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) |
| 3048 | + | o:Destroy() |
| 3049 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
| 3049 | + | |
| 3050 | end | |
| 3051 | - | CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
|
| 3051 | + | |
| 3052 | - | CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
|
| 3052 | + | v.Material = "Neon" |
| 3053 | - | CameraEnshaking(4, 12) |
| 3053 | + | v.CanCollide = false |
| 3054 | - | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do |
| 3054 | + | local bld = Instance.new("ParticleEmitter",v)
|
| 3055 | - | if v:FindFirstChild("Head") then
|
| 3055 | + | bld.LightEmission = 1 |
| 3056 | - | dmg(v) |
| 3056 | + | bld.Texture = "rbxassetid://284205403" |
| 3057 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 3058 | bld.Rate = 50 | |
| 3059 | - | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random()) |
| 3059 | + | bld.Lifetime = NumberRange.new(1) |
| 3060 | - | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random()) |
| 3060 | + | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 3061 | - | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random()) |
| 3061 | + | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 3062 | bld.Speed = NumberRange.new(0,0) | |
| 3063 | bld.VelocitySpread = 50000 | |
| 3064 | - | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * 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, BrickColor.random(), 0) |
| 3064 | + | bld.Rotation = NumberRange.new(-500,500) |
| 3065 | - | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * 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, BrickColor.random(), 0) |
| 3065 | + | bld.RotSpeed = NumberRange.new(-500,500) |
| 3066 | - | 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)), 0.4) |
| 3066 | + | local sbs = Instance.new("BodyPosition", v)
|
| 3067 | - | 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)), 0.4) |
| 3067 | + | sbs.P = 3000 |
| 3068 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3068 | + | sbs.D = 1000 |
| 3069 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3069 | + | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
| 3070 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) |
| 3070 | + | sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) |
| 3071 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) |
| 3071 | + | v.Color = Color3.new(1,1,1) |
| 3072 | coroutine.resume(coroutine.create(function() | |
| 3073 | for i = 0, 49 do | |
| 3074 | swait(1) | |
| 3075 | v.Transparency = v.Transparency + 0.02 | |
| 3076 | end | |
| 3077 | - | chatfunc("WHY WONT YOU PEOPLE...", BrickColor.random().Color)
|
| 3077 | + | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
|
| 3078 | - | for i = 0, 10, 0.1 do |
| 3078 | + | bld.Speed = NumberRange.new(1,5) |
| 3079 | bld.Acceleration = vt(0,10,0) | |
| 3080 | - | 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)), 0.2) |
| 3080 | + | wait(0.5) |
| 3081 | - | 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)), 0.2) |
| 3081 | + | bld.Enabled = false |
| 3082 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3082 | + | wait(3) |
| 3083 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3083 | + | v:Destroy() |
| 3084 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) |
| 3084 | + | dude:Destroy() |
| 3085 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
| 3085 | + | |
| 3086 | end)) | |
| 3087 | - | chatfunc("DIE!!", BrickColor.random().Color)
|
| 3087 | + | |
| 3088 | - | CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
|
| 3088 | + | |
| 3089 | - | CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
|
| 3089 | + | |
| 3090 | - | CameraEnshaking(5, 25) |
| 3090 | + | |
| 3091 | ds() | |
| 3092 | - | if v:FindFirstChild("Head") then
|
| 3092 | + | |
| 3093 | - | dmg(v) |
| 3093 | + | |
| 3094 | ||
| 3095 | ||
| 3096 | - | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random()) |
| 3096 | + | |
| 3097 | - | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random()) |
| 3097 | + | |
| 3098 | - | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random()) |
| 3098 | + | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance |
| 3099 | - | for i = 0, 3, 0.1 do |
| 3099 | + | |
| 3100 | local List = {}
| |
| 3101 | - | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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, BrickColor.random(), 0) |
| 3101 | + | |
| 3102 | - | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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, BrickColor.random(), 0) |
| 3102 | + | if v:IsA("Model") then
|
| 3103 | - | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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, BrickColor.random(), 0) |
| 3103 | + | if v:findFirstChild("Head") then
|
| 3104 | - | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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, BrickColor.random(), 0) |
| 3104 | + | if v ~= Character then |
| 3105 | - | 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)), 0.4) |
| 3105 | + | if (v.Head.Position - Position).magnitude <= Distance then |
| 3106 | - | 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)), 0.4) |
| 3106 | + | table.insert(List, v) |
| 3107 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3107 | + | end |
| 3108 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3108 | + | end |
| 3109 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) |
| 3109 | + | end |
| 3110 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) |
| 3110 | + | end |
| 3111 | end | |
| 3112 | return List | |
| 3113 | end | |
| 3114 | - | function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon) |
| 3114 | + | |
| 3115 | - | local orb = Instance.new("Part", char)
|
| 3115 | + | |
| 3116 | - | orb.Anchored = true |
| 3116 | + | Cam = workspace.CurrentCamera |
| 3117 | - | orb.BrickColor = color |
| 3117 | + | return {
|
| 3118 | - | orb.CanCollide = false |
| 3118 | + | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), |
| 3119 | - | orb.FormFactor = 3 |
| 3119 | + | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
| 3120 | - | orb.Name = "Ring" |
| 3120 | + | } |
| 3121 | - | orb.Material = "Neon" |
| 3121 | + | |
| 3122 | - | orb.Size = Vector3.new(1, 1, 1) |
| 3122 | + | |
| 3123 | - | orb.Transparency = 0 |
| 3123 | + | |
| 3124 | - | orb.TopSurface = 0 |
| 3124 | + | Cam = workspace.CurrentCamera |
| 3125 | - | orb.BottomSurface = 0 |
| 3125 | + | return {
|
| 3126 | - | local orbm = Instance.new("SpecialMesh", orb)
|
| 3126 | + | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), |
| 3127 | - | orbm.MeshType = "Sphere" |
| 3127 | + | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
| 3128 | - | orb.CFrame = positted |
| 3128 | + | } |
| 3129 | - | orbm.Name = "SizeMesh" |
| 3129 | + | |
| 3130 | - | orbm.Scale = vt(1, 1, 1) |
| 3130 | + | |
| 3131 | - | CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
|
| 3131 | + | |
| 3132 | - | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor) |
| 3132 | + | -- Functions are ready. |
| 3133 | local storehumanoidWS = 16 | |
| 3134 | - | wait(timer) |
| 3134 | + | |
| 3135 | - | CameraEnshaking(3, ShakePower) |
| 3135 | + | function Blink() |
| 3136 | - | orb.Transparency = 1 |
| 3136 | + | for i = 0, 14 do |
| 3137 | - | MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal") |
| 3137 | + | PixelBlock(3,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.03,MAINRUINCOLOR,0) |
| 3138 | - | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor) |
| 3138 | + | |
| 3139 | - | CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
|
| 3139 | + | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 3140 | - | wait(3) |
| 3140 | + | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) |
| 3141 | - | orb:Destroy() |
| 3141 | + | CameraEnshaking(2,10) |
| 3142 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
| 3143 | if v:FindFirstChild('Head') then
| |
| 3144 | - | function orb_spawn(positted, timer) |
| 3144 | + | |
| 3145 | - | local randomcol = math.random(1, 2) |
| 3145 | + | |
| 3146 | - | local orb = Instance.new("Part", char)
|
| 3146 | + | for i = 0, 14 do |
| 3147 | - | orb.Anchored = true |
| 3147 | + | PixelBlock(3,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.03,MAINRUINCOLOR,0) |
| 3148 | - | if randomcol == 1 then |
| 3148 | + | |
| 3149 | - | orb.BrickColor = BrickColor.new("White")
|
| 3149 | + | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 3150 | - | elseif randomcol == 2 then |
| 3150 | + | |
| 3151 | - | orb.BrickColor = BrickColor.new("Really black")
|
| 3151 | + | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
|
| 3152 | function WACKYEFFECT(Table) | |
| 3153 | - | orb.CanCollide = false |
| 3153 | + | local TYPE = (Table.EffectType or "Sphere") |
| 3154 | - | orb.FormFactor = 3 |
| 3154 | + | local SIZE = (Table.Size or VT(1,1,1)) |
| 3155 | - | orb.Name = "Ring" |
| 3155 | + | local ENDSIZE = (Table.Size2 or VT(0,0,0)) |
| 3156 | - | orb.Material = "Neon" |
| 3156 | + | local TRANSPARENCY = (Table.Transparency or 0) |
| 3157 | - | orb.Size = Vector3.new(1, 1, 1) |
| 3157 | + | local ENDTRANSPARENCY = (Table.Transparency2 or 1) |
| 3158 | - | orb.Transparency = 0 |
| 3158 | + | local CFRAME = (Table.CFrame or Torso.CFrame) |
| 3159 | - | orb.TopSurface = 0 |
| 3159 | + | local MOVEDIRECTION = (Table.MoveToPos or nil) |
| 3160 | - | orb.BottomSurface = 0 |
| 3160 | + | local ROTATION1 = (Table.RotationX or 0) |
| 3161 | - | local orbm = Instance.new("SpecialMesh", orb)
|
| 3161 | + | local ROTATION2 = (Table.RotationY or 0) |
| 3162 | - | orbm.MeshType = "Sphere" |
| 3162 | + | local ROTATION3 = (Table.RotationZ or 0) |
| 3163 | - | orb.CFrame = positted |
| 3163 | + | local MATERIAL = (Table.Material or "Neon") |
| 3164 | - | orbm.Name = "SizeMesh" |
| 3164 | + | local COLOR = (Table.Color or C3(1,1,1)) |
| 3165 | - | orbm.Scale = vt(1, 1, 1) |
| 3165 | + | local TIME = (Table.Time or 45) |
| 3166 | - | CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
|
| 3166 | + | local SOUNDID = (Table.SoundID or nil) |
| 3167 | - | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor) |
| 3167 | + | local SOUNDPITCH = (Table.SoundPitch or nil) |
| 3168 | - | for i = 0, 2 do |
| 3168 | + | local SOUNDVOLUME = (Table.SoundVolume or nil) |
| 3169 | - | sphereMK(5, 0.15, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1.5, 1.5, 7.5, -0.015, orb.BrickColor, 0) |
| 3169 | + | |
| 3170 | local PLAYSSOUND = false | |
| 3171 | local SOUND = nil | |
| 3172 | - | wait(timer) |
| 3172 | + | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
|
| 3173 | - | CameraEnshaking(3, 2) |
| 3173 | + | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then |
| 3174 | - | orb.Transparency = 1 |
| 3174 | + | PLAYSSOUND = true |
| 3175 | - | MagniDamage(orb, 17.5, 10, 50, 0, "Normal") |
| 3175 | + | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) |
| 3176 | - | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor) |
| 3176 | + | |
| 3177 | - | for i = 0, 4 do |
| 3177 | + | EFFECT.Color = COLOR |
| 3178 | - | sphereMK(5, 0.65, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2.5, 2.5, 15, -0.025, orb.BrickColor, 0) |
| 3178 | + | local MSH = nil |
| 3179 | if TYPE == "Sphere" then | |
| 3180 | - | CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
|
| 3180 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
|
| 3181 | - | wait(3) |
| 3181 | + | elseif TYPE == "Block" then |
| 3182 | - | orb:Destroy() |
| 3182 | + | MSH = IT("BlockMesh",EFFECT)
|
| 3183 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 3184 | elseif TYPE == "Wave" then | |
| 3185 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 3186 | elseif TYPE == "Ring" then | |
| 3187 | - | local rot = 0 |
| 3187 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
|
| 3188 | - | local randomrotations = math.random(1, 2) |
| 3188 | + | elseif TYPE == "Slash" then |
| 3189 | - | local lookv = 2.5 |
| 3189 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
|
| 3190 | - | local power = 5 |
| 3190 | + | elseif TYPE == "Round Slash" then |
| 3191 | - | sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
|
| 3191 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
|
| 3192 | - | sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
|
| 3192 | + | elseif TYPE == "Swirl" then |
| 3193 | - | for i = 0, 9 do |
| 3193 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
|
| 3194 | - | sphereMK(1, 1.5, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 10, 10, 45, -0.1, BrickColor.new("Royal purple"), 0)
|
| 3194 | + | elseif TYPE == "Skull" then |
| 3195 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 3196 | - | CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
|
| 3196 | + | elseif TYPE == "Crystal" then |
| 3197 | - | CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
|
| 3197 | + | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
|
| 3198 | - | CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
|
| 3198 | + | |
| 3199 | - | CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
|
| 3199 | + | if MSH ~= nil then |
| 3200 | - | CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
|
| 3200 | + | local MOVESPEED = nil |
| 3201 | - | local hite = Instance.new("Part", char)
|
| 3201 | + | if MOVEDIRECTION ~= nil then |
| 3202 | - | hite.Anchored = true |
| 3202 | + | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME |
| 3203 | - | hite.CanCollide = false |
| 3203 | + | |
| 3204 | - | hite.FormFactor = 3 |
| 3204 | + | local GROWTH = SIZE - ENDSIZE |
| 3205 | - | hite.Name = "Ring" |
| 3205 | + | local TRANS = TRANSPARENCY - ENDTRANSPARENCY |
| 3206 | - | hite.Material = "Neon" |
| 3206 | + | if TYPE == "Block" then |
| 3207 | - | hite.Size = Vector3.new(1, 1, 1) |
| 3207 | + | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
| 3208 | - | hite.Transparency = 1 |
| 3208 | + | |
| 3209 | - | hite.TopSurface = 0 |
| 3209 | + | EFFECT.CFrame = CFRAME |
| 3210 | - | hite.BottomSurface = 0 |
| 3210 | + | |
| 3211 | - | hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0) |
| 3211 | + | for LOOP = 1, TIME+1 do |
| 3212 | - | local rem = Instance.new("Part", char)
|
| 3212 | + | Swait() |
| 3213 | - | rem.Anchored = true |
| 3213 | + | MSH.Scale = MSH.Scale - GROWTH/TIME |
| 3214 | - | rem.CanCollide = false |
| 3214 | + | if TYPE == "Wave" then |
| 3215 | - | rem.FormFactor = 3 |
| 3215 | + | MSH.Offset = VT(0,0,-MSH.Scale.X/8) |
| 3216 | - | rem.Name = "Ring" |
| 3216 | + | |
| 3217 | - | rem.Material = "Neon" |
| 3217 | + | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME |
| 3218 | - | rem.Size = Vector3.new(1, 1, 1) |
| 3218 | + | if TYPE == "Block" then |
| 3219 | - | rem.Transparency = 1 |
| 3219 | + | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
| 3220 | - | rem.TopSurface = 0 |
| 3220 | + | |
| 3221 | - | rem.BottomSurface = 0 |
| 3221 | + | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) |
| 3222 | - | rem.CFrame = hite.CFrame |
| 3222 | + | |
| 3223 | - | local rem2 = rem:Clone() |
| 3223 | + | if MOVEDIRECTION ~= nil then |
| 3224 | - | rem2.Parent = char |
| 3224 | + | local ORI = EFFECT.Orientation |
| 3225 | - | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3225 | + | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) |
| 3226 | - | local rem3 = rem:Clone() |
| 3226 | + | EFFECT.Orientation = ORI |
| 3227 | - | rem3.Parent = char |
| 3227 | + | |
| 3228 | - | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) |
| 3228 | + | |
| 3229 | - | local rem4 = rem:Clone() |
| 3229 | + | if PLAYSSOUND == false then |
| 3230 | - | rem4.Parent = char |
| 3230 | + | EFFECT:remove() |
| 3231 | - | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) |
| 3231 | + | |
| 3232 | - | hite:Destroy() |
| 3232 | + | SOUND.Stopped:Connect(function() |
| 3233 | EFFECT:remove() | |
| 3234 | - | for i = 0, 24 do |
| 3234 | + | end) |
| 3235 | - | swait(1) |
| 3235 | + | |
| 3236 | - | if randomrotations == 1 then |
| 3236 | + | |
| 3237 | - | rot = rot + 1 |
| 3237 | + | if PLAYSSOUND == false then |
| 3238 | - | elseif randomrotations == 2 then |
| 3238 | + | EFFECT:remove() |
| 3239 | - | rot = rot - 1 |
| 3239 | + | |
| 3240 | repeat Swait() until SOUND.Playing == false | |
| 3241 | - | power = power + 0.5 |
| 3241 | + | EFFECT:remove() |
| 3242 | - | lookv = lookv + 7.5 |
| 3242 | + | |
| 3243 | - | rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0) |
| 3243 | + | |
| 3244 | - | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3244 | + | |
| 3245 | - | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) |
| 3245 | + | |
| 3246 | - | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) |
| 3246 | + | |
| 3247 | - | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
|
| 3247 | + | local targetted = nil |
| 3248 | - | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
|
| 3248 | + | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
|
| 3249 | - | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
|
| 3249 | + | targetted = mouse.Target.Parent |
| 3250 | - | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
|
| 3250 | + | |
| 3251 | if targetted ~= nil then | |
| 3252 | attack = true | |
| 3253 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 3254 | for i = 0, 9 do | |
| 3255 | 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,BrickColor.new("Really red"),0)
| |
| 3256 | end | |
| 3257 | for i = 0, 24 do | |
| 3258 | 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,BrickColor.new("Really red"),0)
| |
| 3259 | - | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2) |
| 3259 | + | |
| 3260 | - | 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(20)), 0.2) |
| 3260 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
|
| 3261 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2) |
| 3261 | + | local originalpos = root.CFrame |
| 3262 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3262 | + | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) |
| 3263 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) |
| 3263 | + | for i = 0, 9 do |
| 3264 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) |
| 3264 | + | 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,BrickColor.new("Really red"),0)
|
| 3265 | end | |
| 3266 | - | local bv = Instance.new("BodyVelocity")
|
| 3266 | + | for i = 0, 24 do |
| 3267 | - | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
| 3267 | + | 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,BrickColor.new("Really red"),0)
|
| 3268 | - | bv.velocity = root.CFrame.lookVector * 175 |
| 3268 | + | |
| 3269 | - | bv.Parent = root |
| 3269 | + | hum.WalkSpeed = 0 |
| 3270 | - | for Rotations = 0, 9 do |
| 3270 | + | targetted.Head.Anchored = true |
| 3271 | - | for i = 0, 1, 0.5 do |
| 3271 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
|
| 3272 | - | swait() |
| 3272 | + | for i = 0,2,0.1 do |
| 3273 | - | bv.velocity = root.CFrame.lookVector * 175 |
| 3273 | + | swait() |
| 3274 | - | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) |
| 3274 | + | 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)),.4) |
| 3275 | - | 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(20)), 0.5) |
| 3275 | + | 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) |
| 3276 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5) |
| 3276 | + | 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) |
| 3277 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
| 3277 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) |
| 3278 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
| 3278 | + | 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) |
| 3279 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
| 3279 | + | 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) |
| 3280 | end | |
| 3281 | - | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) |
| 3281 | + | |
| 3282 | - | for i = 0, 1, 0.5 do |
| 3282 | + | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
|
| 3283 | - | swait() |
| 3283 | + | bld.LightEmission = 0.1 |
| 3284 | - | bv.velocity = root.CFrame.lookVector * 175 |
| 3284 | + | bld.Texture = "rbxassetid://284205403" |
| 3285 | - | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) |
| 3285 | + | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) |
| 3286 | - | 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(20)), 0.5) |
| 3286 | + | bld.Rate = 500 |
| 3287 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(180)), 0.5) |
| 3287 | + | bld.Lifetime = NumberRange.new(1) |
| 3288 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
| 3288 | + | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 3289 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
| 3289 | + | bld.Acceleration = vt(0,-25,0) |
| 3290 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
| 3290 | + | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 3291 | bld.Speed = NumberRange.new(10,50) | |
| 3292 | - | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) |
| 3292 | + | bld.EmissionDirection = "Front" |
| 3293 | - | for i = 0, 1, 0.5 do |
| 3293 | + | bld.VelocitySpread = 25 |
| 3294 | - | swait() |
| 3294 | + | bld.Rotation = NumberRange.new(-500,500) |
| 3295 | - | bv.velocity = root.CFrame.lookVector * 175 |
| 3295 | + | bld.RotSpeed = NumberRange.new(-500,500) |
| 3296 | - | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) |
| 3296 | + | |
| 3297 | - | 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(20)), 0.5) |
| 3297 | + | |
| 3298 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(270)), 0.5) |
| 3298 | + | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
|
| 3299 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
| 3299 | + | bld.LightEmission = 0.1 |
| 3300 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
| 3300 | + | bld.Texture = "rbxassetid://284205403" |
| 3301 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
| 3301 | + | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) |
| 3302 | bld.Rate = 500 | |
| 3303 | - | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) |
| 3303 | + | bld.Lifetime = NumberRange.new(1) |
| 3304 | - | for i = 0, 1, 0.5 do |
| 3304 | + | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 3305 | - | swait() |
| 3305 | + | bld.Acceleration = vt(0,-25,0) |
| 3306 | - | bv.velocity = root.CFrame.lookVector * 175 |
| 3306 | + | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 3307 | - | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) |
| 3307 | + | bld.Speed = NumberRange.new(10,50) |
| 3308 | - | 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(20)), 0.5) |
| 3308 | + | bld.EmissionDirection = "Front" |
| 3309 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(360)), 0.5) |
| 3309 | + | bld.VelocitySpread = 25 |
| 3310 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
| 3310 | + | bld.Rotation = NumberRange.new(-500,500) |
| 3311 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
| 3311 | + | bld.RotSpeed = NumberRange.new(-500,500) |
| 3312 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
| 3312 | + | |
| 3313 | CameraEnshaking(5,5) | |
| 3314 | - | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) |
| 3314 | + | game:GetService("Debris"):AddItem(bld,3)
|
| 3315 | dmg(targetted) | |
| 3316 | - | bv:Destroy() |
| 3316 | + | CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
|
| 3317 | for i = 0,1,0.1 do | |
| 3318 | swait() | |
| 3319 | 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) | |
| 3320 | 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)),.8) | |
| 3321 | - | local rngb = Instance.new("Part", char)
|
| 3321 | + | 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) |
| 3322 | - | rngb.Anchored = true |
| 3322 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) |
| 3323 | - | rngb.BrickColor = origcolor |
| 3323 | + | 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) |
| 3324 | - | rngb.CanCollide = false |
| 3324 | + | 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) |
| 3325 | - | rngb.FormFactor = 3 |
| 3325 | + | |
| 3326 | - | rngb.Name = "Ring" |
| 3326 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
|
| 3327 | - | rngb.Material = "Neon" |
| 3327 | + | for i = 0, 9 do |
| 3328 | - | rngb.Size = Vector3.new(1, 0.05, 1) |
| 3328 | + | 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,BrickColor.new("Really red"),0)
|
| 3329 | - | rngb.Transparency = 1 |
| 3329 | + | |
| 3330 | - | rngb.TopSurface = 0 |
| 3330 | + | for i = 0, 24 do |
| 3331 | - | rngb.BottomSurface = 0 |
| 3331 | + | 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,BrickColor.new("Really red"),0)
|
| 3332 | - | local rngmb = Instance.new("SpecialMesh", rngb)
|
| 3332 | + | |
| 3333 | - | rngmb.MeshType = "Brick" |
| 3333 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
|
| 3334 | - | rngmb.Name = "SizeMesh" |
| 3334 | + | root.CFrame = originalpos |
| 3335 | - | rngmb.Scale = vt(0, 1, 0) |
| 3335 | + | for i = 0, 9 do |
| 3336 | - | local orb = rngb:Clone() |
| 3336 | + | 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,BrickColor.new("Really red"),0)
|
| 3337 | - | orb.Parent = char |
| 3337 | + | |
| 3338 | - | orb.Transparency = 0 |
| 3338 | + | for i = 0, 24 do |
| 3339 | - | orb.BrickColor = BrickColor.new("White")
|
| 3339 | + | 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,BrickColor.new("Really red"),0)
|
| 3340 | - | orb.Size = vt(1, 1, 1) |
| 3340 | + | |
| 3341 | - | local orbmish = orb.SizeMesh |
| 3341 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
|
| 3342 | - | orbmish.Scale = vt(0, 0, 0) |
| 3342 | + | bld.Enabled = false |
| 3343 | - | orbmish.MeshType = "Sphere" |
| 3343 | + | |
| 3344 | - | local orbe = rngb:Clone() |
| 3344 | + | hum.WalkSpeed = storehumanoidWS |
| 3345 | - | orbe.Parent = char |
| 3345 | + | |
| 3346 | - | orbe.Transparency = 0.5 |
| 3346 | + | |
| 3347 | - | orbe.BrickColor = BrickColor.new("New Yeller")
|
| 3347 | + | function MeteorStrike() |
| 3348 | - | orbe.Size = vt(1, 1, 1) |
| 3348 | + | |
| 3349 | - | local orbmish2 = orbe.SizeMesh |
| 3349 | + | |
| 3350 | - | orbmish2.Scale = vt(0, 0, 0) |
| 3350 | + | swait() |
| 3351 | - | orbmish2.MeshType = "Sphere" |
| 3351 | + | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
| 3352 | - | orbe.Color = Color3.new(r / 255, g / 255, b / 255) |
| 3352 | + | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
| 3353 | - | rngb:Destroy() |
| 3353 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4) |
| 3354 | - | for i = 0, 5, 0.1 do |
| 3354 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4) |
| 3355 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1) | |
| 3356 | - | if rainbowmode == true then |
| 3356 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
| 3357 | - | orbe.Color = Color3.new(r / 255, g / 255, b / 255) |
| 3357 | + | |
| 3358 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2)
| |
| 3359 | - | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 |
| 3359 | + | for i=1,20 do |
| 3360 | - | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 |
| 3360 | + | sphereMKCharge(5,-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))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10) |
| 3361 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
| 3361 | + | swait() |
| 3362 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) |
| 3362 | + | |
| 3363 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) |
| 3363 | + | swait(30) |
| 3364 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 3364 | + | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
|
| 3365 | - | 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(0)), 0.3) |
| 3365 | + | for i =1,20 do |
| 3366 | - | 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(10), math.rad(0)), 0.3) |
| 3366 | + | sphereMKw(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) |
| 3367 | - | RootPart.CFrame = FaceMouse()[1] |
| 3367 | + | 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) |
| 3368 | end | |
| 3369 | - | orbe.Transparency = 1 |
| 3369 | + | for i = 0,2,0.1 do |
| 3370 | - | orb.Transparency = 1 |
| 3370 | + | swait() |
| 3371 | - | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5 |
| 3371 | + | 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) |
| 3372 | - | CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
|
| 3372 | + | 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) |
| 3373 | - | local a = Instance.new("Part", Character)
|
| 3373 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,30 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) |
| 3374 | - | a.Name = "Direction" |
| 3374 | + | 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) |
| 3375 | 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) | |
| 3376 | 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) | |
| 3377 | - | a.Material = "Neon" |
| 3377 | + | |
| 3378 | - | a.Transparency = 0 |
| 3378 | + | for i =1,20 do |
| 3379 | - | a.Shape = "Cylinder" |
| 3379 | + | sphereMKw(1,1,"Add",Torso.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.05,MAINRUINCOLOR,0) |
| 3380 | end | |
| 3381 | - | local a2 = Instance.new("Part", Character)
|
| 3381 | + | text.TextTransparency = 1 |
| 3382 | - | a2.Name = "Direction" |
| 3382 | + | text.TextStrokeTransparency = 1 |
| 3383 | tr1.Enabled = false | |
| 3384 | tr3.Enabled = false | |
| 3385 | - | a2.Color = Color3.new(r / 255, g / 255, b / 255) |
| 3385 | + | tr2.Enabled = false |
| 3386 | - | a2.Material = "Neon" |
| 3386 | + | tr4.Enabled = false |
| 3387 | - | a2.Transparency = 0.5 |
| 3387 | + | tl1.Enabled = false |
| 3388 | - | a2.Shape = "Cylinder" |
| 3388 | + | tl2.Enabled = false |
| 3389 | tl3.Enabled = false | |
| 3390 | - | local ba = Instance.new("Part", Character)
|
| 3390 | + | tl4.Enabled = false |
| 3391 | - | ba.Name = "HitDirect" |
| 3391 | + | spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) |
| 3392 | eff = false | |
| 3393 | - | ba.BrickColor = bc("Really black")
|
| 3393 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
|
| 3394 | - | ba.Material = "Neon" |
| 3394 | + | local invtab = {}
|
| 3395 | - | ba.Transparency = 1 |
| 3395 | + | local function search(targ) |
| 3396 | if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
| |
| 3397 | - | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
| 3397 | + | table.insert(invtab,targ) |
| 3398 | end | |
| 3399 | for i,v in pairs(targ:GetChildren()) do | |
| 3400 | search(v) | |
| 3401 | end | |
| 3402 | end | |
| 3403 | search(plr.Character) | |
| 3404 | local frm = 0 | |
| 3405 | local frmcon | |
| 3406 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3406 | + | frmcon = game:GetService("RunService").Heartbeat:connect(function()
|
| 3407 | if frm < 10 then | |
| 3408 | - | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3408 | + | for i,v in pairs(invtab) do |
| 3409 | - | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
| 3409 | + | if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
|
| 3410 | - | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3410 | + | v.Transparency = v.Transparency + 0.1 |
| 3411 | - | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3411 | + | |
| 3412 | - | game:GetService("Debris"):AddItem(a, 20)
|
| 3412 | + | |
| 3413 | - | game:GetService("Debris"):AddItem(a2, 20)
|
| 3413 | + | frm = frm + 1 |
| 3414 | - | game:GetService("Debris"):AddItem(ba, 20)
|
| 3414 | + | else |
| 3415 | - | local msh = Instance.new("SpecialMesh", a)
|
| 3415 | + | frmcon:disconnect() |
| 3416 | - | msh.MeshType = "Cylinder" |
| 3416 | + | |
| 3417 | - | msh.Scale = vt(1, 25, 25) |
| 3417 | + | end) |
| 3418 | - | local msh2 = Instance.new("SpecialMesh", a2)
|
| 3418 | + | swait(200) |
| 3419 | - | msh2.MeshType = "Cylinder" |
| 3419 | + | |
| 3420 | - | msh2.Scale = vt(1, 30, 30) |
| 3420 | + | |
| 3421 | - | for i = 0, 10, 0.1 do |
| 3421 | + | tr1.Enabled = false |
| 3422 | tr2.Enabled = false | |
| 3423 | - | CameraEnshaking(1, 5) |
| 3423 | + | tr3.Enabled = false |
| 3424 | - | a2.Color = Color3.new(r / 255, g / 255, b / 255) |
| 3424 | + | tr4.Enabled = false |
| 3425 | - | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3425 | + | tr5.Enabled = false |
| 3426 | - | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3426 | + | tr6.Enabled = false |
| 3427 | - | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
| 3427 | + | tl1.Enabled = false |
| 3428 | - | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 3428 | + | tl2.Enabled = false |
| 3429 | - | distance = (orb.CFrame.p - position).magnitude |
| 3429 | + | tl3.Enabled = false |
| 3430 | - | if typrot == 1 then |
| 3430 | + | tl4.Enabled = false |
| 3431 | - | rotation = rotation + 2.5 |
| 3431 | + | tl5.Enabled = false |
| 3432 | - | elseif typrot == 2 then |
| 3432 | + | tl6.Enabled = false |
| 3433 | - | rotation = rotation - 2.5 |
| 3433 | + | eff = true |
| 3434 | for i =1,20 do | |
| 3435 | - | RootPart.CFrame = FaceMouse()[1] |
| 3435 | + | sphereMKw(1,1,"Add",Torso.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.05,MAINRUINCOLOR,0) |
| 3436 | - | a.Size = Vector3.new(distance, 1, 1) |
| 3436 | + | |
| 3437 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3437 | + | spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) |
| 3438 | - | a2.Size = Vector3.new(distance, 1, 1) |
| 3438 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
|
| 3439 | - | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3439 | + | local invtab = {}
|
| 3440 | - | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
| 3440 | + | local function search(targ) |
| 3441 | - | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3441 | + | if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
|
| 3442 | - | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3442 | + | table.insert(invtab,targ) |
| 3443 | - | msh.Scale = msh.Scale - vt(0, 0.25, 0.25) |
| 3443 | + | |
| 3444 | - | msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3) |
| 3444 | + | for i,v in pairs(targ:GetChildren()) do |
| 3445 | - | sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0) |
| 3445 | + | search(v) |
| 3446 | - | sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0) |
| 3446 | + | |
| 3447 | - | MagniDamage(ba, 30, 500, 60000, 0, "Normal") |
| 3447 | + | |
| 3448 | search(plr.Character) | |
| 3449 | - | a:Destroy() |
| 3449 | + | local frm = 0 |
| 3450 | - | a2:Destroy() |
| 3450 | + | local frmcon |
| 3451 | - | ba:Destroy() |
| 3451 | + | frmcon = game:GetService("RunService").Heartbeat:connect(function()
|
| 3452 | - | orb:Destroy() |
| 3452 | + | if frm < 10 then |
| 3453 | - | orbe:Destroy() |
| 3453 | + | for i,v in pairs(invtab) do |
| 3454 | if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
| |
| 3455 | v.Transparency = v.Transparency - 0.1 | |
| 3456 | end | |
| 3457 | end | |
| 3458 | - | local rngb = Instance.new("Part", char)
|
| 3458 | + | frm = frm + 1 |
| 3459 | - | rngb.Anchored = true |
| 3459 | + | else |
| 3460 | - | rngb.BrickColor = origcolor |
| 3460 | + | frmcon:disconnect() |
| 3461 | - | rngb.CanCollide = false |
| 3461 | + | |
| 3462 | - | rngb.FormFactor = 3 |
| 3462 | + | end) |
| 3463 | - | rngb.Name = "Ring" |
| 3463 | + | swait(5) |
| 3464 | - | rngb.Material = "Neon" |
| 3464 | + | for i = 0, 2, 0.1 do |
| 3465 | - | rngb.Size = Vector3.new(1, 0.05, 1) |
| 3465 | + | swait() |
| 3466 | - | rngb.Transparency = 1 |
| 3466 | + | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
| 3467 | - | rngb.TopSurface = 0 |
| 3467 | + | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
| 3468 | - | rngb.BottomSurface = 0 |
| 3468 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4) |
| 3469 | - | local rngmb = Instance.new("SpecialMesh", rngb)
|
| 3469 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4) |
| 3470 | - | rngmb.MeshType = "Brick" |
| 3470 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1) |
| 3471 | - | rngmb.Name = "SizeMesh" |
| 3471 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
| 3472 | - | rngmb.Scale = vt(0, 1, 0) |
| 3472 | + | |
| 3473 | - | local orb = rngb:Clone() |
| 3473 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
|
| 3474 | - | orb.Parent = char |
| 3474 | + | CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
|
| 3475 | - | orb.Transparency = 0 |
| 3475 | + | MagniDamage(root, 30, 65,90, 0, "Normal") |
| 3476 | - | orb.BrickColor = BrickColor.new("White")
|
| 3476 | + | for i =1,20 do |
| 3477 | - | orb.Size = vt(1, 1, 1) |
| 3477 | + | sphereMK(1,1,"Add",Torso.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.05,MAINRUINCOLOR,0) |
| 3478 | - | local orbmish = orb.SizeMesh |
| 3478 | + | |
| 3479 | - | orbmish.Scale = vt(0, 0, 0) |
| 3479 | + | sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR) |
| 3480 | - | orbmish.MeshType = "Sphere" |
| 3480 | + | for i =1,20 do |
| 3481 | - | local orbe = rngb:Clone() |
| 3481 | + | 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) |
| 3482 | - | orbe.Parent = char |
| 3482 | + | |
| 3483 | - | orbe.Transparency = 0.5 |
| 3483 | + | swait(20) |
| 3484 | - | orbe.BrickColor = BrickColor.new("New Yeller")
|
| 3484 | + | |
| 3485 | - | orbe.Size = vt(1, 1, 1) |
| 3485 | + | tr1.Enabled = true |
| 3486 | - | local orbmish2 = orbe.SizeMesh |
| 3486 | + | tr2.Enabled = true |
| 3487 | - | orbmish2.Scale = vt(0, 0, 0) |
| 3487 | + | tr3.Enabled = true |
| 3488 | - | orbmish2.MeshType = "Sphere" |
| 3488 | + | tr4.Enabled = true |
| 3489 | - | orbe.Color = Color3.new(r / 255, g / 255, b / 255) |
| 3489 | + | tr5.Enabled = true |
| 3490 | - | rngb:Destroy() |
| 3490 | + | tr6.Enabled = true |
| 3491 | - | for i = 0, 5, 0.1 do |
| 3491 | + | tl1.Enabled = true |
| 3492 | tl2.Enabled = true | |
| 3493 | - | if rainbowmode == true then |
| 3493 | + | tl3.Enabled = true |
| 3494 | - | orbe.Color = Color3.new(r / 255, g / 255, b / 255) |
| 3494 | + | tl4.Enabled = true |
| 3495 | tl5.Enabled = true | |
| 3496 | - | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 |
| 3496 | + | tl6.Enabled = true |
| 3497 | - | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 |
| 3497 | + | |
| 3498 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
| 3498 | + | function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS) |
| 3499 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) |
| 3499 | + | |
| 3500 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) |
| 3500 | + | local METEOR = IT("Model",Effects)
|
| 3501 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 3501 | + | METEOR.Name = "Meteorite" |
| 3502 | - | 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(0)), 0.3) |
| 3502 | + | local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE) |
| 3503 | - | 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(10), math.rad(0)), 0.3) |
| 3503 | + | METEOR.PrimaryPart = CENTER |
| 3504 | - | RootPart.CFrame = FaceMouse()[1] |
| 3504 | + | local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE) |
| 3505 | PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 3506 | - | orbe.Transparency = 1 |
| 3506 | + | for i = 1, 15 do |
| 3507 | - | orb.Transparency = 1 |
| 3507 | + | local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE) |
| 3508 | - | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5 |
| 3508 | + | FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
| 3509 | - | CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
|
| 3509 | + | |
| 3510 | - | CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
|
| 3510 | + | if ISDEBREE ~= true then |
| 3511 | - | CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
|
| 3511 | + | METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) |
| 3512 | - | CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
|
| 3512 | + | |
| 3513 | - | CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
|
| 3513 | + | METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) |
| 3514 | - | CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
|
| 3514 | + | |
| 3515 | - | CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
|
| 3515 | + | local IMPACT = false |
| 3516 | - | local xd = Instance.new("Sound", char)
|
| 3516 | + | CreateSound(463593339, CENTER, 10, 0.6) |
| 3517 | - | xd.SoundId = "rbxassetid://445796828" |
| 3517 | + | if SIZE >= 3.5 then |
| 3518 | - | xd.Pitch = 0.75 |
| 3518 | + | for i = 1, MRANDOM(3,7) do |
| 3519 | - | xd.Looped = true |
| 3519 | + | SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p) |
| 3520 | - | xd.Volume = 1.25 |
| 3520 | + | |
| 3521 | - | xd:Play() |
| 3521 | + | |
| 3522 | - | local a = Instance.new("Part", Character)
|
| 3522 | + | for i = 1, 200 do |
| 3523 | - | a.Name = "Direction" |
| 3523 | + | Swait() |
| 3524 | local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character) | |
| 3525 | if HITFLOOR == nil then | |
| 3526 | - | a.Color = MAINRUINCOLOR.Color |
| 3526 | + | local ORI = CENTER.Orientation |
| 3527 | - | a.Material = "Neon" |
| 3527 | + | METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) |
| 3528 | - | a.Transparency = 0.5 |
| 3528 | + | |
| 3529 | - | a.Shape = "Cylinder" |
| 3529 | + | if HITFLOOR.Anchored == true then |
| 3530 | CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5) | |
| 3531 | - | local a2 = Instance.new("Part", Character)
|
| 3531 | + | CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175) |
| 3532 | - | a2.Name = "Direction" |
| 3532 | + | |
| 3533 | IMPACT = true | |
| 3534 | break | |
| 3535 | - | a2.Color = MAINRUINCOLOR.Color |
| 3535 | + | |
| 3536 | - | a2.Material = "Neon" |
| 3536 | + | |
| 3537 | - | a2.Transparency = 0.5 |
| 3537 | + | if IMPACT == true then |
| 3538 | - | a2.Shape = "Cylinder" |
| 3538 | + | WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
|
| 3539 | WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
| |
| 3540 | - | local ba = Instance.new("Part", Character)
|
| 3540 | + | WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
|
| 3541 | - | ba.Name = "HitDirect" |
| 3541 | + | ApplyAoE(CENTER.Position,30*SIZE) |
| 3542 | end | |
| 3543 | - | ba.BrickColor = bc("Really black")
|
| 3543 | + | METEOR:remove() |
| 3544 | - | ba.Material = "Neon" |
| 3544 | + | |
| 3545 | - | ba.Transparency = 1 |
| 3545 | + | |
| 3546 | tr1.Enabled = true | |
| 3547 | - | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
| 3547 | + | tr2.Enabled = true |
| 3548 | tr3.Enabled = true | |
| 3549 | tr4.Enabled = true | |
| 3550 | tr5.Enabled = true | |
| 3551 | tr6.Enabled = true | |
| 3552 | tl1.Enabled = true | |
| 3553 | tl2.Enabled = true | |
| 3554 | tl3.Enabled = true | |
| 3555 | tl4.Enabled = true | |
| 3556 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3556 | + | tl5.Enabled = true |
| 3557 | tl6.Enabled = true | |
| 3558 | - | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3558 | + | function FinalCalam() |
| 3559 | - | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
| 3559 | + | attack = true |
| 3560 | - | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3560 | + | hum.WalkSpeed = 0 |
| 3561 | - | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3561 | + | local orb = Instance.new("Part", char)
|
| 3562 | - | game:GetService("Debris"):AddItem(a, 60)
|
| 3562 | + | orb.Anchored = true |
| 3563 | - | game:GetService("Debris"):AddItem(a2, 60)
|
| 3563 | + | orb.BrickColor = MAINRUINCOLOR |
| 3564 | - | game:GetService("Debris"):AddItem(ba, 60)
|
| 3564 | + | orb.CanCollide = false |
| 3565 | - | local outerscale = 0 |
| 3565 | + | orb.FormFactor = 3 |
| 3566 | - | local msh = Instance.new("SpecialMesh", a)
|
| 3566 | + | orb.Name = "Ring" |
| 3567 | - | msh.MeshType = "Cylinder" |
| 3567 | + | orb.Material = "Neon" |
| 3568 | - | msh.Scale = vt(1, 0, 0) |
| 3568 | + | orb.Size = Vector3.new(1, 1, 1) |
| 3569 | - | local msh2 = Instance.new("SpecialMesh", a2)
|
| 3569 | + | orb.Transparency = 0 |
| 3570 | - | msh2.MeshType = "Cylinder" |
| 3570 | + | orb.TopSurface = 0 |
| 3571 | - | msh2.Scale = vt(1, 0, 0) |
| 3571 | + | orb.BottomSurface = 0 |
| 3572 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3573 | orbm.MeshType = "Sphere" | |
| 3574 | - | CameraEnshaking(1, 1) |
| 3574 | + | orbm.Name = "SizeMesh" |
| 3575 | - | msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20) |
| 3575 | + | orbm.Scale = vt(0,0,0) |
| 3576 | - | msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15) |
| 3576 | + | local scaled = 0.1 |
| 3577 | - | outerscale = outerscale - 0.015 |
| 3577 | + | local posid = 0 |
| 3578 | - | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3578 | + | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
|
| 3579 | - | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3579 | + | for i = 0, 5, 0.1 do |
| 3580 | - | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
| 3580 | + | swait() |
| 3581 | - | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 3581 | + | scaled = scaled - 0.001 |
| 3582 | - | distance = (orb.CFrame.p - position).magnitude |
| 3582 | + | posid = posid - scaled |
| 3583 | - | if typrot == 1 then |
| 3583 | + | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
| 3584 | - | rotation = rotation + 2.5 |
| 3584 | + | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) |
| 3585 | - | elseif typrot == 2 then |
| 3585 | + | sphereMKCharge(5,-0.25,"Add",orb.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,10) |
| 3586 | - | rotation = rotation - 2.5 |
| 3586 | + | PixelBlockNeg(2,1,"Add",orb.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.01,MAINRUINCOLOR,0) |
| 3587 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3588 | - | RootPart.CFrame = FaceMouse()[1] |
| 3588 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
| 3589 | - | a.Size = Vector3.new(distance, 1, 1) |
| 3589 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) |
| 3590 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3590 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
| 3591 | - | a2.Size = Vector3.new(distance, 1, 1) |
| 3591 | + | |
| 3592 | - | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3592 | + | swait(60) |
| 3593 | - | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
| 3593 | + | for i =1,3 do |
| 3594 | - | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3594 | + | swait(30) |
| 3595 | - | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3595 | + | CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
|
| 3596 | - | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
| 3596 | + | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) |
| 3597 | - | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
| 3597 | + | |
| 3598 | - | MagniDamage(ba, 100, 500, 60000, 0, "Normal") |
| 3598 | + | swait(30) |
| 3599 | for i = 0, 2, 0.1 do | |
| 3600 | - | for z = 0, 2 do |
| 3600 | + | swait() |
| 3601 | - | for i = 0, 4, 0.1 do |
| 3601 | + | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
| 3602 | - | swait() |
| 3602 | + | 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
| 3603 | - | CameraEnshaking(1, 1) |
| 3603 | + | 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
| 3604 | - | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) |
| 3604 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) |
| 3605 | - | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) |
| 3605 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) |
| 3606 | - | outerscale = outerscale + 0.015 |
| 3606 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) |
| 3607 | - | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3607 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) |
| 3608 | - | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3608 | + | |
| 3609 | - | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
| 3609 | + | swait(60) |
| 3610 | - | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 3610 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
|
| 3611 | - | distance = (orb.CFrame.p - position).magnitude |
| 3611 | + | CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
|
| 3612 | - | if typrot == 1 then |
| 3612 | + | sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR) |
| 3613 | - | rotation = rotation + 2.5 |
| 3613 | + | sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR) |
| 3614 | - | elseif typrot == 2 then |
| 3614 | + | |
| 3615 | - | rotation = rotation - 2.5 |
| 3615 | + | if v:FindFirstChild('Head') then
|
| 3616 | dmg(v) | |
| 3617 | - | RootPart.CFrame = FaceMouse()[1] |
| 3617 | + | |
| 3618 | - | a.Size = Vector3.new(distance, 1, 1) |
| 3618 | + | |
| 3619 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3619 | + | for i = 1,20 do |
| 3620 | - | a2.Size = Vector3.new(distance, 1, 1) |
| 3620 | + | sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,MAINRUINCOLOR,0) |
| 3621 | - | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3621 | + | for i = 0, 10 do |
| 3622 | - | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
| 3622 | + | PixelBlock(1,math.random(1,30),"Add",orb.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,MAINRUINCOLOR,0) |
| 3623 | - | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3623 | + | |
| 3624 | - | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3624 | + | |
| 3625 | - | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
| 3625 | + | orb:Remove() |
| 3626 | - | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
| 3626 | + | |
| 3627 | - | MagniDamage(ba, 100, 500, 60000, 0, "Normal") |
| 3627 | + | hum.WalkSpeed = storehumanoidWS |
| 3628 | end | |
| 3629 | - | for i = 0, 4, 0.1 do |
| 3629 | + | |
| 3630 | - | swait() |
| 3630 | + | attack = true |
| 3631 | - | CameraEnshaking(1, 1) |
| 3631 | + | |
| 3632 | - | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) |
| 3632 | + | local orb = Instance.new("Part", char)
|
| 3633 | - | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) |
| 3633 | + | orb.Anchored = true |
| 3634 | - | outerscale = outerscale - 0.015 |
| 3634 | + | orb.BrickColor = BrickColor.new("Toothpaste")
|
| 3635 | - | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3635 | + | orb.CanCollide = false |
| 3636 | - | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3636 | + | orb.FormFactor = 3 |
| 3637 | - | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
| 3637 | + | orb.Name = "Ring" |
| 3638 | - | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 3638 | + | orb.Material = "Neon" |
| 3639 | - | distance = (orb.CFrame.p - position).magnitude |
| 3639 | + | orb.Size = Vector3.new(1, 1, 1) |
| 3640 | - | if typrot == 1 then |
| 3640 | + | orb.Transparency = 0 |
| 3641 | - | rotation = rotation + 2.5 |
| 3641 | + | orb.TopSurface = 0 |
| 3642 | - | elseif typrot == 2 then |
| 3642 | + | orb.BottomSurface = 0 |
| 3643 | - | rotation = rotation - 2.5 |
| 3643 | + | local orbm = Instance.new("SpecialMesh", orb)
|
| 3644 | orbm.MeshType = "Sphere" | |
| 3645 | - | RootPart.CFrame = FaceMouse()[1] |
| 3645 | + | orbm.Name = "SizeMesh" |
| 3646 | - | a.Size = Vector3.new(distance, 1, 1) |
| 3646 | + | orbm.Scale = vt(0,0,0) |
| 3647 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3647 | + | local scaled = 0.1 |
| 3648 | - | a2.Size = Vector3.new(distance, 1, 1) |
| 3648 | + | local posid = 0 |
| 3649 | - | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3649 | + | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
|
| 3650 | - | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
| 3650 | + | for i = 0, 5, 0.1 do |
| 3651 | - | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3651 | + | swait() |
| 3652 | - | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3652 | + | scaled = scaled - 0.001 |
| 3653 | - | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
| 3653 | + | posid = posid - scaled |
| 3654 | - | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
| 3654 | + | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
| 3655 | - | MagniDamage(ba, 100, 500, 60000, 0, "Normal") |
| 3655 | + | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) |
| 3656 | sphereMKCharge(5,-0.25,"Add",orb.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,BrickColor.new("Toothpaste"),10)
| |
| 3657 | PixelBlockNeg(2,1,"Add",orb.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.01,BrickColor.new("Toothpaste"),0)
| |
| 3658 | - | for i = 0, 4, 0.1 do |
| 3658 | + | 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1) |
| 3659 | 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) | |
| 3660 | - | CameraEnshaking(1, 1) |
| 3660 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
| 3661 | - | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) |
| 3661 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
| 3662 | - | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) |
| 3662 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) |
| 3663 | - | xd.Volume = xd.Volume - 0.025 |
| 3663 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
| 3664 | - | a.Transparency = a.Transparency + 0.025 |
| 3664 | + | |
| 3665 | - | a2.Transparency = a2.Transparency + 0.025 |
| 3665 | + | for i = 0, 2, 0.1 do |
| 3666 | - | outerscale = outerscale - 0.015 |
| 3666 | + | swait() |
| 3667 | - | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3667 | + | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
| 3668 | - | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
| 3668 | + | 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
| 3669 | - | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
| 3669 | + | 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
| 3670 | - | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 3670 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) |
| 3671 | - | distance = (orb.CFrame.p - position).magnitude |
| 3671 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) |
| 3672 | - | if typrot == 1 then |
| 3672 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) |
| 3673 | - | rotation = rotation + 2.5 |
| 3673 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) |
| 3674 | - | elseif typrot == 2 then |
| 3674 | + | |
| 3675 | - | rotation = rotation - 2.5 |
| 3675 | + | |
| 3676 | orb.Anchored = false | |
| 3677 | - | RootPart.CFrame = FaceMouse()[1] |
| 3677 | + | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
|
| 3678 | - | a.Size = Vector3.new(distance, 1, 1) |
| 3678 | + | local a = Instance.new("Part",workspace)
|
| 3679 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3679 | + | a.Name = "Direction" |
| 3680 | - | a2.Size = Vector3.new(distance, 1, 1) |
| 3680 | + | |
| 3681 | - | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
| 3681 | + | a.BrickColor = bc("Bright red")
|
| 3682 | - | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
| 3682 | + | a.Material = "Neon" |
| 3683 | - | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3683 | + | a.Transparency = 1 |
| 3684 | - | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
| 3684 | + | |
| 3685 | - | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
| 3685 | + | local ray = Ray.new( |
| 3686 | - | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
| 3686 | + | orb.CFrame.p, -- origin |
| 3687 | - | MagniDamage(ba, 100, 500, 60000, 0, "Normal") |
| 3687 | + | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction |
| 3688 | ) | |
| 3689 | - | xd:Destroy() |
| 3689 | + | local ignore = orb |
| 3690 | - | a:Destroy() |
| 3690 | + | |
| 3691 | - | a2:Destroy() |
| 3691 | + | |
| 3692 | - | ba:Destroy() |
| 3692 | + | |
| 3693 | - | orb:Destroy() |
| 3693 | + | |
| 3694 | - | orbe:Destroy() |
| 3694 | + | a.Size = Vector3.new(0.1, 0.1, 0.1) |
| 3695 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3696 | orb.CFrame = a.CFrame | |
| 3697 | a:Destroy() | |
| 3698 | - | rainbowmode = false |
| 3698 | + | local bv = Instance.new("BodyVelocity")
|
| 3699 | - | chaosmode = false |
| 3699 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 3700 | - | RecolorTextAndRename("Singularity", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
|
| 3700 | + | bv.velocity = orb.CFrame.lookVector*125 |
| 3701 | - | ModeOfGlitch = 1 |
| 3701 | + | bv.Parent = orb |
| 3702 | - | storehumanoidWS = 16 |
| 3702 | + | local hitted = false |
| 3703 | - | for i, v in pairs(mw2:GetChildren()) do |
| 3703 | + | game:GetService("Debris"):AddItem(orb, 15)
|
| 3704 | - | if v:IsA("Part") then
|
| 3704 | + | wait() |
| 3705 | - | v.BrickColor = BrickColor.new("Really red")
|
| 3705 | + | local hit =orb.Touched:connect(function(hit) |
| 3706 | - | v.Material = "Neon" |
| 3706 | + | if hitted == false then |
| 3707 | hitted = true | |
| 3708 | CameraEnshaking(10,2.5) | |
| 3709 | - | for i, v in pairs(mw1:GetChildren()) do |
| 3709 | + | MagniDamage(orb, 65, 65,90, 0, "Normal") |
| 3710 | - | if v:IsA("Part") then
|
| 3710 | + | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
|
| 3711 | - | v.Transparency = 1 |
| 3711 | + | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
|
| 3712 | - | v.BrickColor = BrickColor.new("Really red")
|
| 3712 | + | |
| 3713 | - | v.Material = "Neon" |
| 3713 | + | PixelBlock(1,math.random(1,30),"Add",orb.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,BrickColor.new("Toothpaste"),0)
|
| 3714 | end | |
| 3715 | for i = 0, 9 do | |
| 3716 | - | MAINRUINCOLOR = BrickColor.new("Really red")
|
| 3716 | + | sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
|
| 3717 | - | hum.WalkSpeed = 16 |
| 3717 | + | sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
|
| 3718 | - | newTheme("rbxassetid://415898123", 0, 1, 10)
|
| 3718 | + | |
| 3719 | - | for i, v in pairs(m:GetChildren()) do |
| 3719 | + | orb.Anchored = true |
| 3720 | - | if v:IsA("Part") then
|
| 3720 | + | orb.Transparency = 1 |
| 3721 | - | v.BrickColor = BrickColor.new("Really black")
|
| 3721 | + | wait(8) |
| 3722 | - | v.Material = "Glass" |
| 3722 | + | orb:Destroy() |
| 3723 | end | |
| 3724 | end) | |
| 3725 | - | for i, v in pairs(m2:GetChildren()) do |
| 3725 | + | |
| 3726 | - | if v:IsA("Part") then
|
| 3726 | + | for i = 0, 1, 0.1 do |
| 3727 | - | v.BrickColor = BrickColor.new("Crimson")
|
| 3727 | + | swait() |
| 3728 | - | v.Material = "Granite" |
| 3728 | + | 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
| 3729 | 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
| 3730 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4) | |
| 3731 | - | for i, v in pairs(m3:GetChildren()) do |
| 3731 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) |
| 3732 | - | if v:IsA("Part") then
|
| 3732 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) |
| 3733 | - | v.BrickColor = BrickColor.new("Really red")
|
| 3733 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) |
| 3734 | - | v.Material = "Neon" |
| 3734 | + | |
| 3735 | attack = false | |
| 3736 | end | |
| 3737 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 3737 | + | |
| 3738 | - | if v:IsA("Part") then
|
| 3738 | + | |
| 3739 | - | v.Transparency = 1 |
| 3739 | + | attack = true |
| 3740 | - | v.BrickColor = BrickColor.new("White")
|
| 3740 | + | for i = 0, 2, 0.1 do |
| 3741 | - | v.Material = "Neon" |
| 3741 | + | swait() |
| 3742 | 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) | |
| 3743 | 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) | |
| 3744 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 3744 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
| 3745 | - | if v:IsA("Part") then
|
| 3745 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
| 3746 | - | v.Transparency = 1 |
| 3746 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) |
| 3747 | - | v.BrickColor = BrickColor.new("White")
|
| 3747 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) |
| 3748 | - | v.Material = "Neon" |
| 3748 | + | |
| 3749 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
| |
| 3750 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3751 | CameraEnshaking(4,12) | |
| 3752 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3753 | if v:FindFirstChild('Head') then
| |
| 3754 | - | for i = 0, 1, 0.1 do |
| 3754 | + | dmg(v) |
| 3755 | end | |
| 3756 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2) |
| 3756 | + | |
| 3757 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2) |
| 3757 | + | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) |
| 3758 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) |
| 3758 | + | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) |
| 3759 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) |
| 3759 | + | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) |
| 3760 | - | RH.C0 = clerp(RH.C0, cf(1, -1 - 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)), 0.2) |
| 3760 | + | for i = 0, 2, 0.1 do |
| 3761 | - | 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(10)), 0.2) |
| 3761 | + | swait() |
| 3762 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*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,BrickColor.random(),0) | |
| 3763 | - | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
|
| 3763 | + | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*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,BrickColor.random(),0) |
| 3764 | - | local hitb = Instance.new("Part", char)
|
| 3764 | + | 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) |
| 3765 | - | hitb.Anchored = true |
| 3765 | + | 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) |
| 3766 | - | hitb.CanCollide = false |
| 3766 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
| 3767 | - | hitb.FormFactor = 3 |
| 3767 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
| 3768 | - | hitb.Name = "Ring" |
| 3768 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) |
| 3769 | - | hitb.Material = "Neon" |
| 3769 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) |
| 3770 | - | hitb.Size = Vector3.new(1, 1, 1) |
| 3770 | + | |
| 3771 | - | hitb.Transparency = 1 |
| 3771 | + | |
| 3772 | - | hitb.TopSurface = 0 |
| 3772 | + | |
| 3773 | - | hitb.BottomSurface = 0 |
| 3773 | + | |
| 3774 | - | hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2 |
| 3774 | + | function ChaosGroundStrike2() |
| 3775 | - | MagniDamage(hitb, 3, 10, 30, 0, "Normal") |
| 3775 | + | attack = true |
| 3776 | - | hitb:Destroy() |
| 3776 | + | for i = 0, 2, 0.1 do |
| 3777 | - | for i = 0, 1, 0.1 do |
| 3777 | + | swait() |
| 3778 | 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) | |
| 3779 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4) |
| 3779 | + | 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) |
| 3780 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4) |
| 3780 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
| 3781 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) |
| 3781 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
| 3782 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) |
| 3782 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) |
| 3783 | - | RH.C0 = clerp(RH.C0, cf(1, -1 - 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(-40)), 0.4) |
| 3783 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) |
| 3784 | - | 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(-10)), 0.4) |
| 3784 | + | |
| 3785 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
| |
| 3786 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3787 | CameraEnshaking(4,12) | |
| 3788 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3789 | if v:FindFirstChild('Head') then
| |
| 3790 | - | for i = 0, 1, 0.1 do |
| 3790 | + | dmg(v) |
| 3791 | end | |
| 3792 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2) |
| 3792 | + | |
| 3793 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) |
| 3793 | + | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.new("Alder"))
|
| 3794 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) |
| 3794 | + | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.new("Alder"))
|
| 3795 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) |
| 3795 | + | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(250,0.1,250),0.01,BrickColor.new("Alder"))
|
| 3796 | - | RH.C0 = clerp(RH.C0, cf(1, -1 - 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)), 0.2) |
| 3796 | + | for i = 0, 2, 0.1 do |
| 3797 | - | 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(10)), 0.2) |
| 3797 | + | swait() |
| 3798 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*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,BrickColor.new("Alder"),0)
| |
| 3799 | - | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
|
| 3799 | + | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*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,BrickColor.new("Alder"),0)
|
| 3800 | - | local hitb = Instance.new("Part", char)
|
| 3800 | + | 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) |
| 3801 | - | hitb.Anchored = true |
| 3801 | + | 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) |
| 3802 | - | hitb.CanCollide = false |
| 3802 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
| 3803 | - | hitb.FormFactor = 3 |
| 3803 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
| 3804 | - | hitb.Name = "Ring" |
| 3804 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) |
| 3805 | - | hitb.Material = "Neon" |
| 3805 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) |
| 3806 | - | hitb.Size = Vector3.new(1, 1, 1) |
| 3806 | + | |
| 3807 | - | hitb.Transparency = 1 |
| 3807 | + | |
| 3808 | - | hitb.TopSurface = 0 |
| 3808 | + | |
| 3809 | - | hitb.BottomSurface = 0 |
| 3809 | + | |
| 3810 | - | hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2 |
| 3810 | + | |
| 3811 | - | MagniDamage(hitb, 3, 10, 30, 0, "Normal") |
| 3811 | + | function Starfall() |
| 3812 | - | hitb:Destroy() |
| 3812 | + | attack = true |
| 3813 | - | for i = 0, 1, 0.1 do |
| 3813 | + | hum.WalkSpeed = 0 |
| 3814 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
| |
| 3815 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4) |
| 3815 | + | for i = 0, 5, 0.1 do |
| 3816 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4) |
| 3816 | + | swait() |
| 3817 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) |
| 3817 | + | PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0) |
| 3818 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) |
| 3818 | + | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0) |
| 3819 | - | 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(-5), math.rad(0), math.rad(-40)), 0.4) |
| 3819 | + | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) |
| 3820 | - | 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(-10)), 0.4) |
| 3820 | + | 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(10)),.1) |
| 3821 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 3822 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 3823 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) | |
| 3824 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) | |
| 3825 | end | |
| 3826 | - | for i = 0, 1, 0.1 do |
| 3826 | + | local Overed = false |
| 3827 | CameraEnshaking(2,20) | |
| 3828 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) |
| 3828 | + | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 3829 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) |
| 3829 | + | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 3830 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) |
| 3830 | + | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) |
| 3831 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 3831 | + | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
|
| 3832 | - | 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(0)), 0.3) |
| 3832 | + | local orb = Instance.new("Part", char)
|
| 3833 | - | 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(10), math.rad(0)), 0.3) |
| 3833 | + | orb.Anchored = true |
| 3834 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3835 | - | local distlook = 5 |
| 3835 | + | orb.CanCollide = false |
| 3836 | - | for i = 0, 4 do |
| 3836 | + | orb.FormFactor = 3 |
| 3837 | - | swait(2) |
| 3837 | + | orb.Name = "Remenant" |
| 3838 | - | CameraEnshaking(2, 3) |
| 3838 | + | orb.Material = "Neon" |
| 3839 | - | local hite = Instance.new("Part", char)
|
| 3839 | + | orb.CFrame = root.CFrame*CFrame.new(0,150,0) |
| 3840 | - | hite.Anchored = true |
| 3840 | + | orb.Size = Vector3.new(1, 1, 1) |
| 3841 | - | hite.CanCollide = false |
| 3841 | + | orb.Transparency = 1 |
| 3842 | - | hite.FormFactor = 3 |
| 3842 | + | orb.TopSurface = 0 |
| 3843 | - | hite.Name = "Ring" |
| 3843 | + | orb.BottomSurface = 0 |
| 3844 | - | hite.Material = "Neon" |
| 3844 | + | hum.WalkSpeed = storehumanoidWS |
| 3845 | - | hite.Size = Vector3.new(1, 1, 1) |
| 3845 | + | |
| 3846 | - | hite.Transparency = 1 |
| 3846 | + | for i = 0, 9 do |
| 3847 | - | hite.TopSurface = 0 |
| 3847 | + | swait(10) |
| 3848 | - | hite.BottomSurface = 0 |
| 3848 | + | local lb = Instance.new("Part")
|
| 3849 | - | hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook |
| 3849 | + | lb.Color = MAINRUINCOLOR.Color |
| 3850 | - | sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR) |
| 3850 | + | lb.CanCollide = false |
| 3851 | - | sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR) |
| 3851 | + | lb.Material = "Neon" |
| 3852 | - | MagniDamage(hite, 10, 15, 35, 0, "Normal") |
| 3852 | + | lb.Anchored = true |
| 3853 | - | for i = 0, 2 do |
| 3853 | + | lb.TopSurface = 0 |
| 3854 | - | sphereMK(2, 0.2, "Add", rarm.CFrame * CFrame.Angles(math.rad(-90 + math.random(-20, 20)), math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0) |
| 3854 | + | lb.BottomSurface = 0 |
| 3855 | - | 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) |
| 3855 | + | lb.Transparency = 0 |
| 3856 | - | 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, MAINRUINCOLOR, 0) |
| 3856 | + | lb.Size = vt(1,1,1) |
| 3857 | lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) | |
| 3858 | - | CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
|
| 3858 | + | lb.Anchored = false |
| 3859 | - | CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
|
| 3859 | + | lb.Parent = char |
| 3860 | - | game:GetService("Debris"):AddItem(hite, 5)
|
| 3860 | + | local thingery = Instance.new("SpecialMesh",lb)
|
| 3861 | - | distlook = distlook + 10 |
| 3861 | + | thingery.MeshType = "Sphere" |
| 3862 | thingery.Scale = vt(20,20,20) | |
| 3863 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 3864 | local bv = Instance.new("BodyVelocity")
| |
| 3865 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3866 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
| 3867 | - | if attack == false and attacktype == 1 then |
| 3867 | + | bv.Parent = lb |
| 3868 | - | attacktype = 2 |
| 3868 | + | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) |
| 3869 | - | attackone() |
| 3869 | + | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) |
| 3870 | - | elseif attack == false and attacktype == 2 then |
| 3870 | + | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
|
| 3871 | - | attacktype = 3 |
| 3871 | + | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
|
| 3872 | - | attacktwo() |
| 3872 | + | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
|
| 3873 | - | elseif attack == false and attacktype == 3 then |
| 3873 | + | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
|
| 3874 | - | attacktype = 1 |
| 3874 | + | local hitted = false |
| 3875 | - | attackthree() |
| 3875 | + | |
| 3876 | - | elseif attack == false and attacktype == 4 then |
| 3876 | + | |
| 3877 | - | attacktype = 1 |
| 3877 | + | swait(1) |
| 3878 | if lb.Parent ~= nil and hitted == false then | |
| 3879 | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) | |
| 3880 | elseif lb.Parent == nil then | |
| 3881 | - | if k == "q" and attack == false and ModeOfGlitch ~= 2 then |
| 3881 | + | break |
| 3882 | - | ModeOfGlitch = 2 |
| 3882 | + | |
| 3883 | - | storehumanoidWS = 16 |
| 3883 | + | |
| 3884 | - | hum.WalkSpeed = 16 |
| 3884 | + | |
| 3885 | - | rainbowmode = false |
| 3885 | + | |
| 3886 | - | chaosmode = false |
| 3886 | + | game:GetService("Debris"):AddItem(a, 0.1)
|
| 3887 | - | RecolorTextAndRename("Purity", Color3.new(1, 1, 1), Color3.new(0, 1, 1))
|
| 3887 | + | |
| 3888 | - | newTheme("rbxassetid://1119453744", 20.25, 1, 1)
|
| 3888 | + | |
| 3889 | - | MAINRUINCOLOR = BrickColor.new("Toothpaste")
|
| 3889 | + | swait(1) |
| 3890 | - | for i, v in pairs(mw2:GetChildren()) do |
| 3890 | + | lb.Touched:connect(function(hit) |
| 3891 | - | if v:IsA("Part") then
|
| 3891 | + | if hitted == false then |
| 3892 | - | v.BrickColor = MAINRUINCOLOR |
| 3892 | + | hitted = true |
| 3893 | - | v.Material = "Neon" |
| 3893 | + | lb.Transparency = 1 |
| 3894 | lb.Anchored = true | |
| 3895 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
| |
| 3896 | - | for i, v in pairs(mw1:GetChildren()) do |
| 3896 | + | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
|
| 3897 | - | if v:IsA("Part") then
|
| 3897 | + | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
|
| 3898 | - | v.Transparency = 1 |
| 3898 | + | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
|
| 3899 | - | v.BrickColor = MAINRUINCOLOR |
| 3899 | + | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
|
| 3900 | - | v.Material = "Neon" |
| 3900 | + | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
|
| 3901 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
| 3902 | CameraEnshaking(1,5) | |
| 3903 | - | for i, v in pairs(m:GetChildren()) do |
| 3903 | + | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
| 3904 | - | if v:IsA("Part") then
|
| 3904 | + | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
| 3905 | - | v.BrickColor = BrickColor.new("White")
|
| 3905 | + | for i = 0, 9 do |
| 3906 | - | v.Material = "Ice" |
| 3906 | + | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
| 3907 | end | |
| 3908 | for i = 0, 49 do | |
| 3909 | - | for i, v in pairs(m2:GetChildren()) do |
| 3909 | + | swait() |
| 3910 | - | if v:IsA("Part") then
|
| 3910 | + | MagniDamage(lb, 30, 2,4, 0, "Normal") |
| 3911 | - | v.BrickColor = BrickColor.new("Pastel light blue")
|
| 3911 | + | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) |
| 3912 | - | v.Material = "Glass" |
| 3912 | + | |
| 3913 | end | |
| 3914 | end) | |
| 3915 | - | for i, v in pairs(m3:GetChildren()) do |
| 3915 | + | |
| 3916 | - | if v:IsA("Part") then
|
| 3916 | + | |
| 3917 | - | v.BrickColor = BrickColor.new("Toothpaste")
|
| 3917 | + | Overed = true |
| 3918 | - | v.Material = "Neon" |
| 3918 | + | orb:Destroy() |
| 3919 | end)) | |
| 3920 | ||
| 3921 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 3921 | + | |
| 3922 | - | if v:IsA("Part") then
|
| 3922 | + | |
| 3923 | - | v.Transparency = 1 |
| 3923 | + | |
| 3924 | - | v.BrickColor = BrickColor.new("White")
|
| 3924 | + | function StarfallEX() |
| 3925 | - | v.Material = "Neon" |
| 3925 | + | attack = true |
| 3926 | hum.WalkSpeed = 0 | |
| 3927 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
| |
| 3928 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 3928 | + | for i = 0, 5, 0.1 do |
| 3929 | - | if v:IsA("Part") then
|
| 3929 | + | swait() |
| 3930 | - | v.Transparency = 1 |
| 3930 | + | PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0) |
| 3931 | - | v.BrickColor = BrickColor.new("White")
|
| 3931 | + | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0) |
| 3932 | - | v.Material = "Neon" |
| 3932 | + | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) |
| 3933 | 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(10)),.1) | |
| 3934 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 3935 | - | elseif k == "q" and attack == false and ModeOfGlitch == 2 then |
| 3935 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) |
| 3936 | - | resetmode() |
| 3936 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) |
| 3937 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) | |
| 3938 | - | if k == "e" and attack == false and ModeOfGlitch ~= 3 then |
| 3938 | + | |
| 3939 | - | ModeOfGlitch = 3 |
| 3939 | + | local Overed = false |
| 3940 | - | storehumanoidWS = 16 |
| 3940 | + | CameraEnshaking(2,20) |
| 3941 | - | hum.WalkSpeed = 16 |
| 3941 | + | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 3942 | - | rainbowmode = false |
| 3942 | + | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 3943 | - | chaosmode = false |
| 3943 | + | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) |
| 3944 | - | RecolorTextAndRename("Corruption", Color3.new(0, 0, 0), Color3.new(0.35, 0, 1))
|
| 3944 | + | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 3945 | - | newTheme("rbxassetid://1509634377", 58.15, 1,2)
|
| 3945 | + | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) |
| 3946 | - | MAINRUINCOLOR = BrickColor.new("Royal purple")
|
| 3946 | + | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 3947 | - | for i, v in pairs(mw2:GetChildren()) do |
| 3947 | + | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
|
| 3948 | - | if v:IsA("Part") then
|
| 3948 | + | local orb = Instance.new("Part", char)
|
| 3949 | - | v.BrickColor = MAINRUINCOLOR |
| 3949 | + | orb.Anchored = true |
| 3950 | - | v.Material = "Neon" |
| 3950 | + | orb.BrickColor = BrickColor.new("Toothpaste")
|
| 3951 | orb.CanCollide = false | |
| 3952 | orb.FormFactor = 3 | |
| 3953 | - | for i, v in pairs(mw1:GetChildren()) do |
| 3953 | + | orb.Name = "Remenant" |
| 3954 | - | if v:IsA("Part") then
|
| 3954 | + | orb.Material = "Neon" |
| 3955 | - | v.Transparency = 1 |
| 3955 | + | orb.CFrame = root.CFrame*CFrame.new(0,150,0) |
| 3956 | - | v.BrickColor = MAINRUINCOLOR |
| 3956 | + | orb.Size = Vector3.new(1, 1, 1) |
| 3957 | - | v.Material = "Neon" |
| 3957 | + | orb.Transparency = 1 |
| 3958 | orb.TopSurface = 0 | |
| 3959 | orb.BottomSurface = 0 | |
| 3960 | - | for i, v in pairs(m:GetChildren()) do |
| 3960 | + | hum.WalkSpeed = storehumanoidWS |
| 3961 | - | if v:IsA("Part") then
|
| 3961 | + | |
| 3962 | - | v.BrickColor = BrickColor.new("Black")
|
| 3962 | + | for i = 0, 9 do |
| 3963 | - | v.Material = "Ice" |
| 3963 | + | swait(10) |
| 3964 | local lb = Instance.new("Part")
| |
| 3965 | lb.Color = MAINRUINCOLOR.Color | |
| 3966 | - | for i, v in pairs(m2:GetChildren()) do |
| 3966 | + | lb.CanCollide = false |
| 3967 | - | if v:IsA("Part") then
|
| 3967 | + | lb.Material = "Neon" |
| 3968 | - | v.BrickColor = BrickColor.new("Dark indigo")
|
| 3968 | + | lb.Anchored = true |
| 3969 | - | v.Material = "Glass" |
| 3969 | + | lb.TopSurface = 0 |
| 3970 | lb.BottomSurface = 0 | |
| 3971 | lb.Transparency = 0 | |
| 3972 | - | for i, v in pairs(m3:GetChildren()) do |
| 3972 | + | lb.Size = vt(1,1,1) |
| 3973 | - | if v:IsA("Part") then
|
| 3973 | + | lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) |
| 3974 | - | v.BrickColor = BrickColor.new("Royal purple")
|
| 3974 | + | lb.Anchored = false |
| 3975 | - | v.Material = "Neon" |
| 3975 | + | lb.Parent = char |
| 3976 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 3977 | thingery.MeshType = "Sphere" | |
| 3978 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 3978 | + | thingery.Scale = vt(20,20,20) |
| 3979 | - | if v:IsA("Part") then
|
| 3979 | + | game:GetService("Debris"):AddItem(lb, 10)
|
| 3980 | - | v.Transparency = 1 |
| 3980 | + | local bv = Instance.new("BodyVelocity")
|
| 3981 | - | v.BrickColor = BrickColor.new("White")
|
| 3981 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 3982 | - | v.Material = "Neon" |
| 3982 | + | bv.velocity = lb.CFrame.lookVector*math.random(75,250) |
| 3983 | bv.Parent = lb | |
| 3984 | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) | |
| 3985 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 3985 | + | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) |
| 3986 | - | if v:IsA("Part") then
|
| 3986 | + | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) |
| 3987 | - | v.Transparency = 1 |
| 3987 | + | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) |
| 3988 | - | v.BrickColor = BrickColor.new("White")
|
| 3988 | + | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) |
| 3989 | - | v.Material = "Neon" |
| 3989 | + | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
|
| 3990 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
| |
| 3991 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
| |
| 3992 | - | elseif k == "e" and attack == false and ModeOfGlitch == 3 then |
| 3992 | + | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
|
| 3993 | - | resetmode() |
| 3993 | + | local hitted = false |
| 3994 | coroutine.resume(coroutine.create(function() | |
| 3995 | - | if k == "r" and attack == false and ModeOfGlitch ~= 4 then |
| 3995 | + | |
| 3996 | - | ModeOfGlitch = 4 |
| 3996 | + | swait(1) |
| 3997 | - | storehumanoidWS = 16 |
| 3997 | + | if lb.Parent ~= nil and hitted == false then |
| 3998 | - | hum.WalkSpeed = 16 |
| 3998 | + | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) |
| 3999 | - | rainbowmode = false |
| 3999 | + | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) |
| 4000 | - | chaosmode = true |
| 4000 | + | elseif lb.Parent == nil then |
| 4001 | - | RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
|
| 4001 | + | break |
| 4002 | - | newTheme("rbxassetid://415898123", 0, 1, 10)
|
| 4002 | + | |
| 4003 | - | MAINRUINCOLOR = BrickColor.new("Black")
|
| 4003 | + | |
| 4004 | - | for i, v in pairs(mw2:GetChildren()) do |
| 4004 | + | |
| 4005 | - | if v:IsA("Part") then
|
| 4005 | + | |
| 4006 | - | v.BrickColor = MAINRUINCOLOR |
| 4006 | + | game:GetService("Debris"):AddItem(a, 0.1)
|
| 4007 | - | v.Material = "Neon" |
| 4007 | + | |
| 4008 | coroutine.resume(coroutine.create(function() | |
| 4009 | swait(1) | |
| 4010 | - | for i, v in pairs(mw1:GetChildren()) do |
| 4010 | + | lb.Touched:connect(function(hit) |
| 4011 | - | if v:IsA("Part") then
|
| 4011 | + | if hitted == false then |
| 4012 | - | v.Transparency = 0.75 |
| 4012 | + | hitted = true |
| 4013 | - | v.BrickColor = BrickColor.random() |
| 4013 | + | lb.Transparency = 1 |
| 4014 | - | v.Material = "Neon" |
| 4014 | + | lb.Anchored = true |
| 4015 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
| |
| 4016 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
| |
| 4017 | - | for i, v in pairs(m:GetChildren()) do |
| 4017 | + | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
|
| 4018 | - | if v:IsA("Part") then
|
| 4018 | + | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
|
| 4019 | - | v.BrickColor = BrickColor.new("Black")
|
| 4019 | + | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
|
| 4020 | - | v.Material = "Neon" |
| 4020 | + | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
|
| 4021 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
| 4022 | CameraEnshaking(10,5) | |
| 4023 | - | for i, v in pairs(m2:GetChildren()) do |
| 4023 | + | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
| 4024 | - | if v:IsA("Part") then
|
| 4024 | + | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
| 4025 | - | v.BrickColor = BrickColor.random() |
| 4025 | + | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
| 4026 | - | v.Material = "Neon" |
| 4026 | + | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
| 4027 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 4028 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 4029 | - | for i, v in pairs(m3:GetChildren()) do |
| 4029 | + | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
| 4030 | - | if v:IsA("Part") then
|
| 4030 | + | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
| 4031 | - | v.BrickColor = BrickColor.new("Black")
|
| 4031 | + | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
| 4032 | - | v.Material = "Neon" |
| 4032 | + | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
| 4033 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 4034 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 4035 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 4035 | + | for i = 0, 9 do |
| 4036 | - | if v:IsA("Part") then
|
| 4036 | + | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
| 4037 | - | v.Transparency = 1 |
| 4037 | + | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
| 4038 | - | v.BrickColor = BrickColor.new("White")
|
| 4038 | + | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
| 4039 | - | v.Material = "Neon" |
| 4039 | + | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
| 4040 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
| 4041 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
| 4042 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 4042 | + | |
| 4043 | - | if v:IsA("Part") then
|
| 4043 | + | |
| 4044 | - | v.Transparency = 1 |
| 4044 | + | swait() |
| 4045 | - | v.BrickColor = BrickColor.new("White")
|
| 4045 | + | MagniDamage(lb, 30, 30, 60, 0, "Normal") |
| 4046 | - | v.Material = "Neon" |
| 4046 | + | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) |
| 4047 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) | |
| 4048 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) | |
| 4049 | - | elseif k == "r" and attack == false and ModeOfGlitch == 4 then |
| 4049 | + | |
| 4050 | - | resetmode() |
| 4050 | + | |
| 4051 | end) | |
| 4052 | - | if k == "t" and attack == false and ModeOfGlitch ~= 5 then |
| 4052 | + | |
| 4053 | - | ModeOfGlitch = 5 |
| 4053 | + | |
| 4054 | - | |
| 4054 | + | Overed = true |
| 4055 | - | storehumanoidWS = 16 |
| 4055 | + | orb:Destroy() |
| 4056 | - | hum.WalkSpeed = 16 |
| 4056 | + | |
| 4057 | - | rainbowmode = false |
| 4057 | + | |
| 4058 | - | chaosmode = false |
| 4058 | + | |
| 4059 | - | RecolorTextAndRename("Solitude", Color3.new(0, 0, 0), Color3.new(255, 255, 255))
|
| 4059 | + | |
| 4060 | - | newTheme("rbxassetid://723652641", 10, 1, 3.2)
|
| 4060 | + | |
| 4061 | - | ModeOfGlitch = 1 |
| 4061 | + | function StarDivision() |
| 4062 | - | MAINRUINCOLOR = BrickColor.new("Really black")
|
| 4062 | + | attack = true |
| 4063 | - | for i, v in pairs(mw2:GetChildren()) do |
| 4063 | + | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
|
| 4064 | - | if v:IsA("Part") then
|
| 4064 | + | for i = 0, 2, 0.1 do |
| 4065 | - | v.BrickColor = MAINRUINCOLOR |
| 4065 | + | swait() |
| 4066 | - | v.Material = "Neon" |
| 4066 | + | PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0) |
| 4067 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6) | |
| 4068 | 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(10)),.6) | |
| 4069 | - | for i, v in pairs(mw1:GetChildren()) do |
| 4069 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6) |
| 4070 | - | if v:IsA("Part") then
|
| 4070 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6) |
| 4071 | - | v.Transparency = 0 |
| 4071 | + | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) |
| 4072 | - | v.BrickColor = MAINRUINCOLOR |
| 4072 | + | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6) |
| 4073 | - | v.Material = "Neon" |
| 4073 | + | |
| 4074 | local orb = Instance.new("Part", char)
| |
| 4075 | orb.BrickColor = MAINRUINCOLOR | |
| 4076 | - | for i, v in pairs(m:GetChildren()) do |
| 4076 | + | orb.CanCollide = false |
| 4077 | - | if v:IsA("Part") then
|
| 4077 | + | orb.FormFactor = 3 |
| 4078 | - | v.BrickColor = BrickColor.new("Really black")
|
| 4078 | + | orb.Name = "Ring" |
| 4079 | - | v.Material = "Ice" |
| 4079 | + | orb.Material = "Neon" |
| 4080 | orb.Size = Vector3.new(1, 1, 1) | |
| 4081 | orb.Transparency = 0 | |
| 4082 | - | for i, v in pairs(m2:GetChildren()) do |
| 4082 | + | orb.TopSurface = 0 |
| 4083 | - | if v:IsA("Part") then
|
| 4083 | + | orb.BottomSurface = 0 |
| 4084 | - | v.BrickColor = BrickColor.new("Really black")
|
| 4084 | + | local orbm = Instance.new("SpecialMesh", orb)
|
| 4085 | - | v.Material = "Ice" |
| 4085 | + | orbm.MeshType = "Sphere" |
| 4086 | orbm.Name = "SizeMesh" | |
| 4087 | orbm.Scale = vt(2,2,2) | |
| 4088 | - | for i, v in pairs(m3:GetChildren()) do |
| 4088 | + | local a = Instance.new("Part",workspace)
|
| 4089 | - | if v:IsA("Part") then
|
| 4089 | + | a.Name = "Direction" |
| 4090 | - | v.BrickColor = BrickColor.new("Really black")
|
| 4090 | + | |
| 4091 | - | v.Material = "Neon" |
| 4091 | + | a.BrickColor = bc("Bright red")
|
| 4092 | a.Material = "Neon" | |
| 4093 | a.Transparency = 1 | |
| 4094 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 4094 | + | |
| 4095 | - | if v:IsA("Part") then
|
| 4095 | + | local ray = Ray.new( |
| 4096 | - | v.Transparency = 1 |
| 4096 | + | sorb.CFrame.p, -- origin |
| 4097 | - | v.BrickColor = BrickColor.new("White")
|
| 4097 | + | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction |
| 4098 | - | v.Material = "Neon" |
| 4098 | + | ) |
| 4099 | local ignore = sorb | |
| 4100 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4101 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 4101 | + | |
| 4102 | - | if v:IsA("Part") then
|
| 4102 | + | |
| 4103 | - | v.Transparency = 1 |
| 4103 | + | local distance = (sorb.CFrame.p - position).magnitude |
| 4104 | - | v.BrickColor = BrickColor.new("White")
|
| 4104 | + | a.Size = Vector3.new(0.1, 0.1, 0.1) |
| 4105 | - | v.Material = "Neon" |
| 4105 | + | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) |
| 4106 | orb.CFrame = a.CFrame | |
| 4107 | a:Destroy() | |
| 4108 | - | elseif k == "t" and attack == false and ModeOfGlitch == 5 then |
| 4108 | + | local bv = Instance.new("BodyVelocity")
|
| 4109 | - | resetmode() |
| 4109 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
| 4110 | bv.velocity = orb.CFrame.lookVector*100 | |
| 4111 | - | if k == "y" and attack == false and ModeOfGlitch ~= 6 then |
| 4111 | + | bv.Parent = orb |
| 4112 | - | ModeOfGlitch = 6 |
| 4112 | + | local hitted = false |
| 4113 | - | storehumanoidWS = 75 |
| 4113 | + | game:GetService("Debris"):AddItem(orb, 10)
|
| 4114 | - | hum.WalkSpeed = 75 |
| 4114 | + | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
|
| 4115 | - | rainbowmode = false |
| 4115 | + | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
|
| 4116 | - | chaosmode = false |
| 4116 | + | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
|
| 4117 | - | RecolorTextAndRename("Equality", Color3.new(0, 0, 0), Color3.new(1, 1, 1))
|
| 4117 | + | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
|
| 4118 | - | newTheme("rbxassetid://519067542", 0, 1, 1)
|
| 4118 | + | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
|
| 4119 | - | MAINRUINCOLOR = BrickColor.new("Really black")
|
| 4119 | + | |
| 4120 | - | for i, v in pairs(mw2:GetChildren()) do |
| 4120 | + | |
| 4121 | - | if v:IsA("Part") then
|
| 4121 | + | swait(1) |
| 4122 | - | v.BrickColor = BrickColor.new("White")
|
| 4122 | + | if orb.Parent ~= nil and hitted == false then |
| 4123 | - | v.Material = "Neon" |
| 4123 | + | PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2) |
| 4124 | elseif orb.Parent == nil then | |
| 4125 | break | |
| 4126 | - | for i, v in pairs(mw1:GetChildren()) do |
| 4126 | + | |
| 4127 | - | if v:IsA("Part") then
|
| 4127 | + | |
| 4128 | - | v.Transparency = 0 |
| 4128 | + | |
| 4129 | - | v.BrickColor = BrickColor.new("Really black")
|
| 4129 | + | |
| 4130 | - | v.Material = "Neon" |
| 4130 | + | swait(1) |
| 4131 | orb.Touched:connect(function(hit) | |
| 4132 | if hitted == false then | |
| 4133 | - | for i, v in pairs(m:GetChildren()) do |
| 4133 | + | hitted = true |
| 4134 | - | if v:IsA("Part") then
|
| 4134 | + | game:GetService("Debris"):AddItem(orb, 5)
|
| 4135 | - | v.BrickColor = BrickColor.new("White")
|
| 4135 | + | orb.Transparency = 1 |
| 4136 | - | v.Material = "Ice" |
| 4136 | + | orb.Anchored = true |
| 4137 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4138 | elocacenter.Anchored = true | |
| 4139 | - | for i, v in pairs(m2:GetChildren()) do |
| 4139 | + | elocacenter.CFrame = orb.CFrame |
| 4140 | - | if v:IsA("Part") then
|
| 4140 | + | elocacenter.Orientation = vt(0,0,0) |
| 4141 | - | v.BrickColor = BrickColor.new("Really black")
|
| 4141 | + | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
| 4142 | - | v.Material = "Ice" |
| 4142 | + | eloca1.Anchored = true |
| 4143 | eloca1.CFrame = elocacenter.CFrame | |
| 4144 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4145 | - | for i, v in pairs(m3:GetChildren()) do |
| 4145 | + | eloca2.Anchored = true |
| 4146 | - | if v:IsA("Part") then
|
| 4146 | + | eloca2.CFrame = elocacenter.CFrame |
| 4147 | - | v.BrickColor = BrickColor.new("White")
|
| 4147 | + | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
| 4148 | - | v.Material = "Neon" |
| 4148 | + | eloca3.Anchored = true |
| 4149 | eloca3.CFrame = elocacenter.CFrame | |
| 4150 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 4151 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 4151 | + | eloca4.Anchored = true |
| 4152 | - | if v:IsA("Part") then
|
| 4152 | + | eloca4.CFrame = elocacenter.CFrame |
| 4153 | - | v.Transparency = 1 |
| 4153 | + | local lookavec = 0 |
| 4154 | - | v.BrickColor = BrickColor.new("White")
|
| 4154 | + | local speeds = 0 |
| 4155 | - | v.Material = "Neon" |
| 4155 | + | CameraEnshaking(1,1) |
| 4156 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
| |
| 4157 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4158 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 4158 | + | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 4159 | - | if v:IsA("Part") then
|
| 4159 | + | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 4160 | - | v.Transparency = 1 |
| 4160 | + | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 4161 | - | v.BrickColor = BrickColor.new("White")
|
| 4161 | + | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 4162 | - | v.Material = "Neon" |
| 4162 | + | for i = 0, 99 do |
| 4163 | swait() | |
| 4164 | lookavec = lookavec + 1 | |
| 4165 | - | |
| 4165 | + | speeds = speeds + 0.1 |
| 4166 | - | |
| 4166 | + | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) |
| 4167 | - | elseif k == "y" and attack == false and ModeOfGlitch == 6 then |
| 4167 | + | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) |
| 4168 | - | resetmode() |
| 4168 | + | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
| 4169 | ||
| 4170 | - | if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then |
| 4170 | + | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) |
| 4171 | - | ModeOfGlitch = 6127843 |
| 4171 | + | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
| 4172 | - | storehumanoidWS = 50 |
| 4172 | + | |
| 4173 | - | hum.WalkSpeed = 50 |
| 4173 | + | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) |
| 4174 | - | rainbowmode = true |
| 4174 | + | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
| 4175 | - | chaosmode = false |
| 4175 | + | |
| 4176 | - | RecolorTextAndRename("StarLight", Color3.new(1, 1, 1), Color3.new(1, 1, 1))
|
| 4176 | + | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) |
| 4177 | - | newTheme("rbxassetid://152539141", 0, 1, 1)
|
| 4177 | + | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
| 4178 | - | MAINRUINCOLOR = BrickColor.new("White")
|
| 4178 | + | |
| 4179 | - | for i, v in pairs(mw2:GetChildren()) do |
| 4179 | + | |
| 4180 | - | if v:IsA("Part") then
|
| 4180 | + | for i = 0, 149 do |
| 4181 | - | v.BrickColor = MAINRUINCOLOR |
| 4181 | + | swait() |
| 4182 | - | v.Material = "Neon" |
| 4182 | + | speeds = speeds + 0.1 |
| 4183 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 4184 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 4185 | - | for i, v in pairs(mw1:GetChildren()) do |
| 4185 | + | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
| 4186 | - | if v:IsA("Part") then
|
| 4186 | + | |
| 4187 | - | v.Transparency = 0 |
| 4187 | + | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) |
| 4188 | - | v.BrickColor = MAINRUINCOLOR |
| 4188 | + | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
| 4189 | - | v.Material = "Neon" |
| 4189 | + | |
| 4190 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 4191 | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
| 4192 | - | for i, v in pairs(m:GetChildren()) do |
| 4192 | + | |
| 4193 | - | if v:IsA("Part") then
|
| 4193 | + | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) |
| 4194 | - | v.BrickColor = BrickColor.new("White")
|
| 4194 | + | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
| 4195 | - | v.Material = "Neon" |
| 4195 | + | |
| 4196 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do | |
| 4197 | if v:FindFirstChild('Head') then
| |
| 4198 | - | for i, v in pairs(m2:GetChildren()) do |
| 4198 | + | dmg(v) |
| 4199 | - | if v:IsA("Part") then
|
| 4199 | + | |
| 4200 | - | v.BrickColor = BrickColor.new("White")
|
| 4200 | + | |
| 4201 | - | v.Material = "Neon" |
| 4201 | + | CameraEnshaking(7,30) |
| 4202 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
| 4203 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
| |
| 4204 | - | for i, v in pairs(m3:GetChildren()) do |
| 4204 | + | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
|
| 4205 | - | if v:IsA("Part") then
|
| 4205 | + | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
|
| 4206 | - | v.BrickColor = BrickColor.new("White")
|
| 4206 | + | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
|
| 4207 | - | v.Material = "Neon" |
| 4207 | + | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) |
| 4208 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
| 4209 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 4210 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 4210 | + | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
| 4211 | - | if v:IsA("Part") then
|
| 4211 | + | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
| 4212 | - | v.Transparency = 1 |
| 4212 | + | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
| 4213 | - | v.BrickColor = BrickColor.new("White")
|
| 4213 | + | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
| 4214 | - | v.Material = "Neon" |
| 4214 | + | for i = 0, 24 do |
| 4215 | sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0) | |
| 4216 | sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0) | |
| 4217 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 4217 | + | sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0) |
| 4218 | - | if v:IsA("Part") then
|
| 4218 | + | sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0) |
| 4219 | - | v.Transparency = 1 |
| 4219 | + | |
| 4220 | - | v.BrickColor = BrickColor.new("White")
|
| 4220 | + | |
| 4221 | - | v.Material = "Neon" |
| 4221 | + | for i = 0, 499 do |
| 4222 | swait(1) | |
| 4223 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
| 4224 | - | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then |
| 4224 | + | PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5) |
| 4225 | - | resetmode() |
| 4225 | + | |
| 4226 | elocacenter:Destroy() | |
| 4227 | - | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then |
| 4227 | + | eloca1:Destroy() |
| 4228 | - | ModeOfGlitch = 1000000 |
| 4228 | + | eloca2:Destroy() |
| 4229 | - | storehumanoidWS = 100 |
| 4229 | + | eloca3:Destroy() |
| 4230 | - | hum.WalkSpeed = 100 |
| 4230 | + | eloca4:Destroy() |
| 4231 | - | rainbowmode = false |
| 4231 | + | |
| 4232 | - | chaosmode = false |
| 4232 | + | |
| 4233 | - | RecolorTextAndRename("True Starlight", Color3.new(0.25, 0, 1), Color3.new(0.5, 0, 1))
|
| 4233 | + | |
| 4234 | - | newTheme("rbxassetid://614032233", 0, 1, 1)
|
| 4234 | + | |
| 4235 | - | MAINRUINCOLOR = BrickColor.new("Bright violet")
|
| 4235 | + | |
| 4236 | - | for i, v in pairs(mw2:GetChildren()) do |
| 4236 | + | |
| 4237 | - | if v:IsA("Part") then
|
| 4237 | + | |
| 4238 | - | v.BrickColor = MAINRUINCOLOR |
| 4238 | + | |
| 4239 | - | v.Material = "Neon" |
| 4239 | + | function UniversalCollapse() |
| 4240 | attack = true | |
| 4241 | local speedearn = 0 | |
| 4242 | - | for i, v in pairs(mw1:GetChildren()) do |
| 4242 | + | hum.WalkSpeed = 0 |
| 4243 | - | if v:IsA("Part") then
|
| 4243 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
|
| 4244 | - | v.Transparency = 0 |
| 4244 | + | for i = 0, 10, 0.1 do |
| 4245 | - | v.BrickColor = MAINRUINCOLOR |
| 4245 | + | swait() |
| 4246 | - | v.Material = "Neon" |
| 4246 | + | speedearn = speedearn + 0.1 |
| 4247 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4248 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4249 | - | for i, v in pairs(m:GetChildren()) do |
| 4249 | + | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
| 4250 | - | if v:IsA("Part") then
|
| 4250 | + | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
| 4251 | - | v.Color = Color3.new(0.5, 0, 1) |
| 4251 | + | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
| 4252 | - | v.Material = "Neon" |
| 4252 | + | RH.C0=Clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) |
| 4253 | LH.C0=Clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
| 4254 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 4255 | - | for i, v in pairs(m2:GetChildren()) do |
| 4255 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) |
| 4256 | - | if v:IsA("Part") then
|
| 4256 | + | RW.C0=Clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) |
| 4257 | - | v.Color = Color3.new(0.25, 0, 1) |
| 4257 | + | LW.C0=Clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) |
| 4258 | - | v.Material = "Neon" |
| 4258 | + | |
| 4259 | CameraEnshaking(5,45) | |
| 4260 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
| 4261 | - | for i, v in pairs(m3:GetChildren()) do |
| 4261 | + | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
|
| 4262 | - | if v:IsA("Part") then
|
| 4262 | + | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do |
| 4263 | - | v.Color = Color3.new(0.45, 0, 1) |
| 4263 | + | if v:FindFirstChild('Head') then
|
| 4264 | - | v.Material = "Neon" |
| 4264 | + | dmg(v) |
| 4265 | end | |
| 4266 | end | |
| 4267 | - | for i, v in pairs(extrawingmod1:GetChildren()) do |
| 4267 | + | hum.WalkSpeed = storehumanoidWS |
| 4268 | - | if v:IsA("Part") then
|
| 4268 | + | |
| 4269 | - | v.Transparency = 0 |
| 4269 | + | |
| 4270 | - | v.Color = Color3.new(0.25, 0, 1) |
| 4270 | + | |
| 4271 | - | v.Material = "Neon" |
| 4271 | + | attack = true |
| 4272 | local speedearn = 0 | |
| 4273 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
| |
| 4274 | - | for i, v in pairs(extrawingmod2:GetChildren()) do |
| 4274 | + | for i = 0, 10, 0.1 do |
| 4275 | - | if v:IsA("Part") then
|
| 4275 | + | swait() |
| 4276 | - | v.Transparency = 0 |
| 4276 | + | speedearn = speedearn + 0.1 |
| 4277 | - | v.Color = Color3.new(0.5, 0, 1) |
| 4277 | + | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
| 4278 | - | v.Material = "Neon" |
| 4278 | + | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
| 4279 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4280 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
| 4281 | - | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then |
| 4281 | + | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
| 4282 | - | resetmode() |
| 4282 | + | 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) |
| 4283 | 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) | |
| 4284 | - | if k == "l" and toggleTag == false then |
| 4284 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
| 4285 | - | toggleTag = true |
| 4285 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
| 4286 | - | text.TextTransparency = 0 |
| 4286 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) |
| 4287 | - | text.TextStrokeTransparency = 0 |
| 4287 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) |
| 4288 | - | elseif k == "l" and toggleTag == true then |
| 4288 | + | |
| 4289 | - | toggleTag = false |
| 4289 | + | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
|
| 4290 | - | text.TextTransparency = 1 |
| 4290 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
|
| 4291 | - | text.TextStrokeTransparency = 1 |
| 4291 | + | CameraEnshaking(5,25) |
| 4292 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 4293 | - | if k == "z" and attack == false and ModeOfGlitch == 1 then |
| 4293 | + | if v:FindFirstChild('Head') then
|
| 4294 | - | ExtinctiveHeartbreak() |
| 4294 | + | dmg(v) |
| 4295 | - | elseif k == "z" and attack == false and ModeOfGlitch == 2 then |
| 4295 | + | |
| 4296 | - | PureBomb() |
| 4296 | + | |
| 4297 | - | elseif k == "z" and attack == false and ModeOfGlitch == 3 then |
| 4297 | + | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) |
| 4298 | - | scattercorrupt() |
| 4298 | + | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) |
| 4299 | - | elseif k == "z" and attack == false and ModeOfGlitch == 4 then |
| 4299 | + | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) |
| 4300 | - | ChaosGroundStrike() |
| 4300 | + | for i = 0, 3, 0.1 do |
| 4301 | - | elseif k == "z" and attack == false and ModeOfGlitch == 5 then |
| 4301 | + | swait() |
| 4302 | - | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then |
| 4302 | + | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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,BrickColor.random(),0) |
| 4303 | - | UniversalSpark() |
| 4303 | + | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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,BrickColor.random(),0) |
| 4304 | - | elseif k == "l" and attack == false and ModeOfGlitch == 1000000 then |
| 4304 | + | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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,BrickColor.random(),0) |
| 4305 | - | scattercorrupt() |
| 4305 | + | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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,BrickColor.random(),0) |
| 4306 | - | wait(1) |
| 4306 | + | 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) |
| 4307 | - | yinyangi() |
| 4307 | + | 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) |
| 4308 | - | elseif k == "l" and attack == false and ModeOfGlitch == 5 then |
| 4308 | + | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
| 4309 | - | scattercorrupt() |
| 4309 | + | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
| 4310 | - | scattercorrupt() |
| 4310 | + | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) |
| 4311 | - | elseif k == "z" and attack == false and ModeOfGlitch == 6 then |
| 4311 | + | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) |
| 4312 | - | yinyangi() |
| 4312 | + | |
| 4313 | - | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then |
| 4313 | + | |
| 4314 | - | Wip() |
| 4314 | + | |
| 4315 | ||
| 4316 | - | if k == "l" and attack == false and ModeOfGlitch == 4 then |
| 4316 | + | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) |
| 4317 | - | ChaosBegone() |
| 4317 | + | local orb = Instance.new("Part", char)
|
| 4318 | orb.Anchored = true | |
| 4319 | orb.BrickColor = color | |
| 4320 | orb.CanCollide = false | |
| 4321 | - | while true do |
| 4321 | + | orb.FormFactor = 3 |
| 4322 | - | swait(2) |
| 4322 | + | orb.Name = "Ring" |
| 4323 | - | if rainbowmode == true or ModeOfGlitch == 6 then |
| 4323 | + | orb.Material = "Neon" |
| 4324 | - | sphereMK(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -6, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0) |
| 4324 | + | orb.Size = Vector3.new(1, 1, 1) |
| 4325 | orb.Transparency = 0 | |
| 4326 | orb.TopSurface = 0 | |
| 4327 | orb.BottomSurface = 0 | |
| 4328 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4329 | - | while true do |
| 4329 | + | orbm.MeshType = "Sphere" |
| 4330 | - | swait(0.5) |
| 4330 | + | orb.CFrame = positted |
| 4331 | - | if ModeOfGlitch == 1000000 then |
| 4331 | + | orbm.Name = "SizeMesh" |
| 4332 | - | sphereMK(5, 0.5, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, MAINRUINCOLOR, 0) |
| 4332 | + | orbm.Scale = vt(1,1,1) |
| 4333 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
| |
| 4334 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
| 4335 | --[[for i = 0, 2 do | |
| 4336 | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) | |
| 4337 | - | while true do |
| 4337 | + | end]]-- |
| 4338 | - | swait(2) |
| 4338 | + | |
| 4339 | - | if chaosmode == true then |
| 4339 | + | wait(timer) |
| 4340 | - | RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
|
| 4340 | + | CameraEnshaking(3,ShakePower) |
| 4341 | - | for i, v in pairs(mw1:GetChildren()) do |
| 4341 | + | orb.Transparency = 1 |
| 4342 | - | if v:IsA("Part") then
|
| 4342 | + | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") |
| 4343 | - | v.Transparency = 0.75 |
| 4343 | + | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) |
| 4344 | - | v.BrickColor = BrickColor.random() |
| 4344 | + | --[[for i = 0, 4 do |
| 4345 | - | v.Material = "Neon" |
| 4345 | + | sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) |
| 4346 | end]]-- | |
| 4347 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
| |
| 4348 | - | for i, v in pairs(m2:GetChildren()) do |
| 4348 | + | wait(3) |
| 4349 | - | if v:IsA("Part") then
|
| 4349 | + | orb:Destroy() |
| 4350 | - | v.BrickColor = BrickColor.random() |
| 4350 | + | |
| 4351 | - | v.Material = "Neon" |
| 4351 | + | |
| 4352 | ||
| 4353 | function orb_spawn(positted,timer) | |
| 4354 | local randomcol = math.random(1,2) | |
| 4355 | local orb = Instance.new("Part", char)
| |
| 4356 | orb.Anchored = true | |
| 4357 | if randomcol == 1 then | |
| 4358 | orb.BrickColor = BrickColor.new("White")
| |
| 4359 | elseif randomcol == 2 then | |
| 4360 | - | Instance.new("ForceField", char).Visible = false
|
| 4360 | + | orb.BrickColor = BrickColor.new("Really black")
|
| 4361 | end | |
| 4362 | - | idleanim = 0.4 |
| 4362 | + | orb.CanCollide = false |
| 4363 | orb.FormFactor = 3 | |
| 4364 | - | if rainbowmode == true then |
| 4364 | + | orb.Name = "Ring" |
| 4365 | - | RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
|
| 4365 | + | orb.Material = "Neon" |
| 4366 | - | MAINRUINCOLOR = BrickColor.new("White")
|
| 4366 | + | orb.Size = Vector3.new(1, 1, 1) |
| 4367 | - | for i, v in pairs(m:GetChildren()) do |
| 4367 | + | orb.Transparency = 0 |
| 4368 | - | if v:IsA("Part") then
|
| 4368 | + | orb.TopSurface = 0 |
| 4369 | - | v.Color = Color3.new(r / 255, g / 255, b / 255) |
| 4369 | + | orb.BottomSurface = 0 |
| 4370 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4371 | orbm.MeshType = "Sphere" | |
| 4372 | - | for i, v in pairs(m2:GetChildren()) do |
| 4372 | + | orb.CFrame = positted |
| 4373 | - | if v:IsA("Part") then
|
| 4373 | + | orbm.Name = "SizeMesh" |
| 4374 | - | v.Color = Color3.new(r / 255, g / 255, b / 255) |
| 4374 | + | orbm.Scale = vt(1,1,1) |
| 4375 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
| |
| 4376 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
| 4377 | - | for i, v in pairs(m3:GetChildren()) do |
| 4377 | + | for i = 0, 2 do |
| 4378 | - | if v:IsA("Part") then
|
| 4378 | + | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) |
| 4379 | - | v.Color = Color3.new(r / 255, g / 255, b / 255) |
| 4379 | + | |
| 4380 | coroutine.resume(coroutine.create(function() | |
| 4381 | wait(timer) | |
| 4382 | - | for i, v in pairs(mw1:GetChildren()) do |
| 4382 | + | CameraEnshaking(3,2) |
| 4383 | - | if v:IsA("Part") then
|
| 4383 | + | orb.Transparency = 1 |
| 4384 | - | v.Color = Color3.new(r / 255, g / 255, b / 255) |
| 4384 | + | MagniDamage(orb, 17.5, 10,50, 0, "Normal") |
| 4385 | - | v.Material = "Neon" |
| 4385 | + | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) |
| 4386 | for i = 0, 4 do | |
| 4387 | sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
| 4388 | - | for i, v in pairs(mw2:GetChildren()) do |
| 4388 | + | |
| 4389 | - | if v:IsA("Part") then
|
| 4389 | + | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
|
| 4390 | - | v.Color = Color3.new(r / 255, g / 255, b / 255) |
| 4390 | + | wait(3) |
| 4391 | - | v.Material = "Neon" |
| 4391 | + | orb:Destroy() |
| 4392 | end)) | |
| 4393 | end | |
| 4394 | ||
| 4395 | - | CameraManager() |
| 4395 | + | function orb_spawn2(positted,timer) |
| 4396 | local randomcol = math.random(1,7) | |
| 4397 | - | lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(12.5 + 5 * math.cos(sine / 32))), 0.3) |
| 4397 | + | local orb = Instance.new("Part", char)
|
| 4398 | - | lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(25 + 7.5 * math.cos(sine / 32))), 0.3) |
| 4398 | + | orb.Anchored = true |
| 4399 | - | lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(37.5 + 10 * math.cos(sine / 32))), 0.3) |
| 4399 | + | if randomcol == 1 then |
| 4400 | - | lwing4weld.C1 = clerp(lwing4weld.C1, cf(4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 12.5 * math.cos(sine / 32))), 0.3) |
| 4400 | + | orb.BrickColor = BrickColor.new("White")
|
| 4401 | - | lwing5weld.C1 = clerp(lwing5weld.C1, cf(5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(62.5 + 15 * math.cos(sine / 32))), 0.3) |
| 4401 | + | elseif randomcol == 2 then |
| 4402 | - | lwing6weld.C1 = clerp(lwing6weld.C1, cf(6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(75 + 17.5 * math.cos(sine / 32))), 0.3) |
| 4402 | + | orb.BrickColor = BrickColor.new("Really black")
|
| 4403 | - | rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(-12.5 - 5 * math.cos(sine / 32))), 0.3) |
| 4403 | + | elseif randomcol == 3 then |
| 4404 | - | rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(-25 - 7.5 * math.cos(sine / 32))), 0.3) |
| 4404 | + | orb.BrickColor = BrickColor.new("Really red")
|
| 4405 | - | rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(-37.5 - 10 * math.cos(sine / 32))), 0.3) |
| 4405 | + | elseif randomcol == 4 then |
| 4406 | - | rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 12.5 * math.cos(sine / 32))), 0.3) |
| 4406 | + | orb.BrickColor = BrickColor.new("Really blue")
|
| 4407 | - | rwing5weld.C1 = clerp(rwing5weld.C1, cf(-5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(-62.5 - 15 * math.cos(sine / 32))), 0.3) |
| 4407 | + | elseif randomcol == 5 then |
| 4408 | - | rwing6weld.C1 = clerp(rwing6weld.C1, cf(-6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(-75 - 17.5 * math.cos(sine / 32))), 0.3) |
| 4408 | + | orb.BrickColor = BrickColor.new("Deep orange")
|
| 4409 | - | sine = sine + change |
| 4409 | + | elseif randomcol == 6 then |
| 4410 | - | local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude |
| 4410 | + | orb.BrickColor = BrickColor.new("Bright yellow")
|
| 4411 | - | local velderp = RootPart.Velocity.y |
| 4411 | + | elseif randomcol == 7 then |
| 4412 | - | hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) |
| 4412 | + | orb.BrickColor = BrickColor.new("Lime green")
|
| 4413 | - | if equipped == true or equipped == false then |
| 4413 | + | elseif randomcol == 8 then |
| 4414 | - | if attack == false then |
| 4414 | + | orb.BrickColor = BrickColor.new("Hot pink")
|
| 4415 | - | idle = idle + 1 |
| 4415 | + | |
| 4416 | orb.CanCollide = false | |
| 4417 | - | idle = 0 |
| 4417 | + | orb.FormFactor = 3 |
| 4418 | orb.Name = "Ring" | |
| 4419 | - | if not (idle >= 500) or attack == false then |
| 4419 | + | orb.Material = "Neon" |
| 4420 | orb.Size = Vector3.new(1, 1, 1) | |
| 4421 | - | if RootPart.Velocity.y > 1 and hitfloor == nil then |
| 4421 | + | orb.Transparency = 0 |
| 4422 | - | Anim = "Jump" |
| 4422 | + | orb.TopSurface = 0 |
| 4423 | - | if attack == false then |
| 4423 | + | orb.BottomSurface = 0 |
| 4424 | - | 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(-5), math.rad(0), math.rad(-20)), 0.1) |
| 4424 | + | local orbm = Instance.new("SpecialMesh", orb)
|
| 4425 | - | 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)), 0.1) |
| 4425 | + | orbm.MeshType = "Sphere" |
| 4426 | - | 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)), 0.1) |
| 4426 | + | orb.CFrame = positted |
| 4427 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1) |
| 4427 | + | orbm.Name = "SizeMesh" |
| 4428 | - | 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)), 0.1) |
| 4428 | + | orbm.Scale = vt(1,1,1) |
| 4429 | - | 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)), 0.1) |
| 4429 | + | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
|
| 4430 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
| 4431 | - | elseif RootPart.Velocity.y < -1 and hitfloor == nil then |
| 4431 | + | for i = 0, 2 do |
| 4432 | - | Anim = "Fall" |
| 4432 | + | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) |
| 4433 | - | if attack == false then |
| 4433 | + | |
| 4434 | - | 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(-5), math.rad(0), math.rad(-20)), 0.1) |
| 4434 | + | |
| 4435 | - | 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)), 0.1) |
| 4435 | + | wait(timer) |
| 4436 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
| 4436 | + | CameraEnshaking(3,2) |
| 4437 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
| 4437 | + | orb.Transparency = 1 |
| 4438 | - | RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1) |
| 4438 | + | MagniDamage(orb, 17.5, 10,50, 0, "Normal") |
| 4439 | - | LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) |
| 4439 | + | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) |
| 4440 | for i = 0, 4 do | |
| 4441 | - | elseif torvel < 1 and hitfloor ~= nil then |
| 4441 | + | sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) |
| 4442 | - | Anim = "Idle" |
| 4442 | + | |
| 4443 | - | if attack == false then |
| 4443 | + | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
|
| 4444 | - | if ModeOfGlitch == 1 then |
| 4444 | + | wait(3) |
| 4445 | - | 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(-10 - 2.5 * math.cos(sine / 32)), math.rad(-20), math.rad(0)), 0.1) |
| 4445 | + | orb:Destroy() |
| 4446 | - | 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(0), math.rad(0), math.rad(-10 + 2.5 * math.cos(sine / 32))), 0.1) |
| 4446 | + | |
| 4447 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(10 - 2 * math.cos(sine / 32)), math.rad(0), math.rad(20)), 0.1) |
| 4447 | + | |
| 4448 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 32)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(-20 - 5 * math.cos(sine / 0.465))), 0.1) |
| 4448 | + | |
| 4449 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1) |
| 4449 | + | |
| 4450 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1) |
| 4450 | + | |
| 4451 | - | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then |
| 4451 | + | attack = true |
| 4452 | - | 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(-7.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1) |
| 4452 | + | local rot = 0 |
| 4453 | - | 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 + 1 * math.cos(sine / 34))), 0.1) |
| 4453 | + | local randomrotations = math.random(1,2) |
| 4454 | - | 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)), 0.1) |
| 4454 | + | local lookv = 2.5 |
| 4455 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1) |
| 4455 | + | local power = 5 |
| 4456 | - | RW.C0 = clerp(RW.C0, cf(0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(30 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-100 - 2.5 * math.cos(sine / 28))), 0.1) |
| 4456 | + | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
|
| 4457 | - | LW.C0 = clerp(LW.C0, cf(-0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(40 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(90 + 2.5 * math.cos(sine / 28))), 0.1) |
| 4457 | + | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
|
| 4458 | - | elseif ModeOfGlitch == 3 then |
| 4458 | + | for i = 0, 9 do |
| 4459 | - | 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))), 0.1) |
| 4459 | + | sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
|
| 4460 | - | 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 + 1 * math.cos(sine / 34))), 0.1) |
| 4460 | + | |
| 4461 | - | 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(-20)), 0.1) |
| 4461 | + | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
|
| 4462 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(20)), 0.1) |
| 4462 | + | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
|
| 4463 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1) |
| 4463 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
|
| 4464 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1) |
| 4464 | + | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
|
| 4465 | - | elseif ModeOfGlitch == 4 then |
| 4465 | + | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
|
| 4466 | - | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(20)), 0.1) |
| 4466 | + | local hite = Instance.new("Part", char)
|
| 4467 | - | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(-20)), 0.1) |
| 4467 | + | hite.Anchored = true |
| 4468 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.025 * math.cos(sine / 32)) * angles(math.rad(20 - 0.5 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1) |
| 4468 | + | hite.CanCollide = false |
| 4469 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1) |
| 4469 | + | hite.FormFactor = 3 |
| 4470 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1) |
| 4470 | + | hite.Name = "Ring" |
| 4471 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1) |
| 4471 | + | hite.Material = "Neon" |
| 4472 | - | elseif ModeOfGlitch == 5 then |
| 4472 | + | hite.Size = Vector3.new(1, 1, 1) |
| 4473 | - | 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))), 0.1) |
| 4473 | + | hite.Transparency = 1 |
| 4474 | - | 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 + 1 * math.cos(sine / 34))), 0.1) |
| 4474 | + | hite.TopSurface = 0 |
| 4475 | - | 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)), 0.1) |
| 4475 | + | hite.BottomSurface = 0 |
| 4476 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1) |
| 4476 | + | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) |
| 4477 | - | RW.C0 = clerp(RW.C0, cf(1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.1) |
| 4477 | + | local rem = Instance.new("Part", char)
|
| 4478 | - | LW.C0 = clerp(LW.C0, cf(-1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1) |
| 4478 | + | rem.Anchored = true |
| 4479 | - | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then |
| 4479 | + | rem.CanCollide = false |
| 4480 | - | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.1) |
| 4480 | + | rem.FormFactor = 3 |
| 4481 | - | 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(10)), 0.1) |
| 4481 | + | rem.Name = "Ring" |
| 4482 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1) |
| 4482 | + | rem.Material = "Neon" |
| 4483 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1) |
| 4483 | + | rem.Size = Vector3.new(1, 1, 1) |
| 4484 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20 + 2.5 * math.cos(sine / 28))), 0.1) |
| 4484 | + | rem.Transparency = 1 |
| 4485 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20 - 2.5 * math.cos(sine / 28))), 0.1) |
| 4485 | + | rem.TopSurface = 0 |
| 4486 | rem.BottomSurface = 0 | |
| 4487 | rem.CFrame = hite.CFrame | |
| 4488 | - | elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then |
| 4488 | + | local rem2 = rem:Clone() |
| 4489 | - | Anim = "Walk" |
| 4489 | + | rem2.Parent = char |
| 4490 | - | if attack == false then |
| 4490 | + | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) |
| 4491 | - | if ModeOfGlitch == 1 then |
| 4491 | + | local rem3 = rem:Clone() |
| 4492 | - | RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * 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 + 25 * math.cos(sine / 8))), 0.1) |
| 4492 | + | rem3.Parent = char |
| 4493 | - | LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * 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 + 25 * math.cos(sine / 8))), 0.1) |
| 4493 | + | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) |
| 4494 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1) |
| 4494 | + | local rem4 = rem:Clone() |
| 4495 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 5 * math.cos(sine / 0.325)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 + 5 * math.cos(sine / 8))), 0.1) |
| 4495 | + | rem4.Parent = char |
| 4496 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1) |
| 4496 | + | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) |
| 4497 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1) |
| 4497 | + | hite:Destroy() |
| 4498 | - | elseif ModeOfGlitch == 4 then |
| 4498 | + | |
| 4499 | - | RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(5 + 25 * math.cos(sine / 12))), 0.1) |
| 4499 | + | for i = 0, 24 do |
| 4500 | - | LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(-5 + 25 * math.cos(sine / 12))), 0.1) |
| 4500 | + | swait(1) |
| 4501 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 8)) * angles(math.rad(12.5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 12))), 0.1) |
| 4501 | + | if randomrotations == 1 then |
| 4502 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1) |
| 4502 | + | rot = rot + 1 |
| 4503 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 - 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1) |
| 4503 | + | elseif randomrotations == 2 then |
| 4504 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1) |
| 4504 | + | rot = rot - 1 |
| 4505 | - | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then |
| 4505 | + | |
| 4506 | - | RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * 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 + 25 * math.cos(sine / 8))), 0.1) |
| 4506 | + | power = power + 0.5 |
| 4507 | - | LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * 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 + 25 * math.cos(sine / 8))), 0.1) |
| 4507 | + | lookv = lookv + 7.5 |
| 4508 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1) |
| 4508 | + | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) |
| 4509 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 5 * math.cos(sine / 8))), 0.1) |
| 4509 | + | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) |
| 4510 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1) |
| 4510 | + | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) |
| 4511 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 45 * math.cos(sine / 8)), math.rad(0), math.rad(-10 + 10 * math.cos(sine / 4))), 0.1) |
| 4511 | + | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) |
| 4512 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4513 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4514 | - | elseif torvel >= 22 and hitfloor ~= nil then |
| 4514 | + | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
|
| 4515 | - | Anim = "Run" |
| 4515 | + | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
|
| 4516 | - | if attack == false then |
| 4516 | + | |
| 4517 | - | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 then |
| 4517 | + | |
| 4518 | - | RH.C0 = clerp(RH.C0, cf(1, -0.75 - 0.25 * math.cos(sine / 3), -0.25 - 0.25 * math.cos(sine / 3)) * 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))), 0.1) |
| 4518 | + | |
| 4519 | - | LH.C0 = clerp(LH.C0, cf(-1, -0.75 + 0.25 * math.cos(sine / 3), -0.25 + 0.25 * math.cos(sine / 3)) * 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))), 0.1) |
| 4519 | + | |
| 4520 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.125 + 0.125 * math.cos(sine / 3)) * angles(math.rad(20), math.rad(0), math.rad(0 - 15 * math.cos(sine / 6))), 0.1) |
| 4520 | + | function scattercorrupt2() |
| 4521 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 15 * math.cos(sine / 6))), 0.1) |
| 4521 | + | attack = true |
| 4522 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 155 * math.cos(sine / 6)), math.rad(0), math.rad(5 - 10 * math.cos(sine / 3))), 0.1) |
| 4522 | + | local rot = 0 |
| 4523 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 155 * math.cos(sine / 6)), math.rad(0), math.rad(-5 + 10 * math.cos(sine / 3))), 0.1) |
| 4523 | + | local randomrotations = math.random(1,2) |
| 4524 | - | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then |
| 4524 | + | local lookv = 2.5 |
| 4525 | - | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2) |
| 4525 | + | local power = 5 |
| 4526 | - | 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(20)), 0.2) |
| 4526 | + | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Smoky grey"))
|
| 4527 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2) |
| 4527 | + | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Smoky grey"))
|
| 4528 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 4528 | + | for i = 0, 9 do |
| 4529 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30 + 2.5 * math.cos(sine / 28))), 0.2) |
| 4529 | + | sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Smoky grey"),0)
|
| 4530 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30 - 2.5 * math.cos(sine / 28))), 0.2) |
| 4530 | + | |
| 4531 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
| |
| 4532 | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
| |
| 4533 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
| |
| 4534 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
| |
| 4535 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
| |
| 4536 | local hite = Instance.new("Part", char)
| |
| 4537 | hite.Anchored = true | |
| 4538 | hite.CanCollide = false | |
| 4539 | hite.FormFactor = 3 | |
| 4540 | hite.Name = "Ring" | |
| 4541 | hite.Material = "Neon" | |
| 4542 | hite.Size = Vector3.new(1, 1, 1) | |
| 4543 | hite.Transparency = 1 | |
| 4544 | hite.TopSurface = 0 | |
| 4545 | hite.BottomSurface = 0 | |
| 4546 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
| 4547 | local rem = Instance.new("Part", char)
| |
| 4548 | rem.Anchored = true | |
| 4549 | rem.CanCollide = false | |
| 4550 | rem.FormFactor = 3 | |
| 4551 | rem.Name = "Ring" | |
| 4552 | rem.Material = "Neon" | |
| 4553 | rem.Size = Vector3.new(1, 1, 1) | |
| 4554 | rem.Transparency = 1 | |
| 4555 | rem.TopSurface = 0 | |
| 4556 | rem.BottomSurface = 0 | |
| 4557 | rem.CFrame = hite.CFrame | |
| 4558 | local rem2 = rem:Clone() | |
| 4559 | rem2.Parent = char | |
| 4560 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4561 | local rem3 = rem:Clone() | |
| 4562 | rem3.Parent = char | |
| 4563 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 4564 | local rem4 = rem:Clone() | |
| 4565 | rem4.Parent = char | |
| 4566 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 4567 | hite:Destroy() | |
| 4568 | coroutine.resume(coroutine.create(function() | |
| 4569 | for i = 0, 24 do | |
| 4570 | swait(1) | |
| 4571 | if randomrotations == 1 then | |
| 4572 | rot = rot + 1 | |
| 4573 | elseif randomrotations == 2 then | |
| 4574 | rot = rot - 1 | |
| 4575 | end | |
| 4576 | power = power + 0.5 | |
| 4577 | lookv = lookv + 7.5 | |
| 4578 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 4579 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4580 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 4581 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 4582 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Smoky grey"),power,25,75,10,power/5,7.5)
| |
| 4583 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Smoky grey"),power,25,75,10,power/5,7.5)
| |
| 4584 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Smoky grey"),power,25,75,10,power/5,7.5)
| |
| 4585 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Smoky grey"),power,25,75,10,power/5,7.5)
| |
| 4586 | end | |
| 4587 | end)) | |
| 4588 | attack = false | |
| 4589 | end | |
| 4590 | function Meteor_Shower() | |
| 4591 | ATTACK = true | |
| 4592 | Rooted = false | |
| 4593 | CreateSound(1368573150, RightArm, 3, 0.8) | |
| 4594 | CreateSound(649634100, Torso, 10, 0.8) | |
| 4595 | for i=0, 1.2, 0.1 / Animation_Speed do | |
| 4596 | Swait() | |
| 4597 | WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
| |
| 4598 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4599 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) | |
| 4600 | end | |
| 4601 | local POS = Mouse.Hit.p | |
| 4602 | CreateSound(463593339, Effects, 3, 1) | |
| 4603 | coroutine.resume(coroutine.create(function() | |
| 4604 | for i = 1, 35 do | |
| 4605 | wait(MRANDOM(5,150)/100) | |
| 4606 | scattercorrupt2(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10) | |
| 4607 | end | |
| 4608 | end)) | |
| 4609 | ATTACK = false | |
| 4610 | Rooted = false | |
| 4611 | end | |
| 4612 | function yinyangi() | |
| 4613 | attack = true | |
| 4614 | for i = 0, 2, 0.1 do | |
| 4615 | swait() | |
| 4616 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
| 4617 | 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(20)),.2) | |
| 4618 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
| 4619 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4620 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
| 4621 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 4622 | end | |
| 4623 | local bv = Instance.new("BodyVelocity")
| |
| 4624 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4625 | bv.velocity = root.CFrame.lookVector*175 | |
| 4626 | bv.Parent = root | |
| 4627 | for Rotations = 0, 9 do | |
| 4628 | for i = 0, 1, 0.5 do | |
| 4629 | swait() | |
| 4630 | bv.velocity = root.CFrame.lookVector*175 | |
| 4631 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 4632 | 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(20)),.5) | |
| 4633 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5) | |
| 4634 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4635 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4636 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4637 | end | |
| 4638 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4639 | for i = 0, 1, 0.5 do | |
| 4640 | swait() | |
| 4641 | bv.velocity = root.CFrame.lookVector*175 | |
| 4642 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 4643 | 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(20)),.5) | |
| 4644 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5) | |
| 4645 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4646 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4647 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4648 | end | |
| 4649 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4650 | for i = 0, 1, 0.5 do | |
| 4651 | swait() | |
| 4652 | bv.velocity = root.CFrame.lookVector*175 | |
| 4653 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 4654 | 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(20)),.5) | |
| 4655 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5) | |
| 4656 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4657 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4658 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4659 | end | |
| 4660 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4661 | for i = 0, 1, 0.5 do | |
| 4662 | swait() | |
| 4663 | bv.velocity = root.CFrame.lookVector*175 | |
| 4664 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 4665 | 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(20)),.5) | |
| 4666 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5) | |
| 4667 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4668 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4669 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4670 | end | |
| 4671 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4672 | end | |
| 4673 | bv:Destroy() | |
| 4674 | attack = false | |
| 4675 | end | |
| 4676 | ||
| 4677 | function yinyangi2() | |
| 4678 | attack = true | |
| 4679 | for i = 0, 2, 0.1 do | |
| 4680 | swait() | |
| 4681 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
| 4682 | 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(20)),.2) | |
| 4683 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
| 4684 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4685 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
| 4686 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 4687 | end | |
| 4688 | local bv = Instance.new("BodyVelocity")
| |
| 4689 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4690 | bv.velocity = root.CFrame.lookVector*175 | |
| 4691 | bv.Parent = root | |
| 4692 | for Rotations = 0, 9 do | |
| 4693 | for i = 0, 1, 0.5 do | |
| 4694 | swait() | |
| 4695 | bv.velocity = root.CFrame.lookVector*175 | |
| 4696 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 4697 | 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(20)),.5) | |
| 4698 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5) | |
| 4699 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4700 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4701 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4702 | end | |
| 4703 | orb_spawn2(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4704 | for i = 0, 1, 0.5 do | |
| 4705 | swait() | |
| 4706 | bv.velocity = root.CFrame.lookVector*175 | |
| 4707 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 4708 | 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(20)),.5) | |
| 4709 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5) | |
| 4710 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4711 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4712 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4713 | end | |
| 4714 | orb_spawn2(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4715 | for i = 0, 1, 0.5 do | |
| 4716 | swait() | |
| 4717 | bv.velocity = root.CFrame.lookVector*175 | |
| 4718 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 4719 | 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(20)),.5) | |
| 4720 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5) | |
| 4721 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4722 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4723 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4724 | end | |
| 4725 | orb_spawn2(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4726 | for i = 0, 1, 0.5 do | |
| 4727 | swait() | |
| 4728 | bv.velocity = root.CFrame.lookVector*175 | |
| 4729 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
| 4730 | 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(20)),.5) | |
| 4731 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5) | |
| 4732 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4733 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4734 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4735 | end | |
| 4736 | orb_spawn2(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4737 | end | |
| 4738 | bv:Destroy() | |
| 4739 | attack = false | |
| 4740 | end | |
| 4741 | ||
| 4742 | function Wip() | |
| 4743 | attack = true | |
| 4744 | ||
| 4745 | local rngb = Instance.new("Part", char)
| |
| 4746 | rngb.Anchored = true | |
| 4747 | rngb.BrickColor = origcolor | |
| 4748 | rngb.CanCollide = false | |
| 4749 | rngb.FormFactor = 3 | |
| 4750 | rngb.Name = "Ring" | |
| 4751 | rngb.Material = "Neon" | |
| 4752 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 4753 | rngb.Transparency = 1 | |
| 4754 | rngb.TopSurface = 0 | |
| 4755 | rngb.BottomSurface = 0 | |
| 4756 | local rngmb = Instance.new("SpecialMesh", rngb)
| |
| 4757 | rngmb.MeshType = "Brick" | |
| 4758 | rngmb.Name = "SizeMesh" | |
| 4759 | rngmb.Scale = vt(0,1,0) | |
| 4760 | ||
| 4761 | local orb = rngb:Clone() | |
| 4762 | orb.Parent = char | |
| 4763 | orb.Transparency = 0 | |
| 4764 | orb.BrickColor = BrickColor.new("White")
| |
| 4765 | orb.Size = vt(1,1,1) | |
| 4766 | local orbmish = orb.SizeMesh | |
| 4767 | orbmish.Scale = vt(0,0,0) | |
| 4768 | orbmish.MeshType = "Sphere" | |
| 4769 | ||
| 4770 | local orbe = rngb:Clone() | |
| 4771 | orbe.Parent = char | |
| 4772 | orbe.Transparency = 0.5 | |
| 4773 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 4774 | orbe.Size = vt(1,1,1) | |
| 4775 | local orbmish2 = orbe.SizeMesh | |
| 4776 | orbmish2.Scale = vt(0,0,0) | |
| 4777 | orbmish2.MeshType = "Sphere" | |
| 4778 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4779 | ||
| 4780 | rngb:Destroy() | |
| 4781 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
| |
| 4782 | local scaled = 1 | |
| 4783 | for i = 0,5,0.1 do | |
| 4784 | swait() | |
| 4785 | scaled = scaled - 0.02 | |
| 4786 | if rainbowmode == true then | |
| 4787 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4788 | end | |
| 4789 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
| 4790 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
| 4791 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4792 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4793 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
| 4794 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4795 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 4796 | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4797 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4798 | 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(0)),.3) | |
| 4799 | 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(10),math.rad(0)),.3) | |
| 4800 | RootPart.CFrame = FaceMouse()[1] | |
| 4801 | end]]-- | |
| 4802 | for i = 0,5,0.1 do | |
| 4803 | swait() | |
| 4804 | if rainbowmode == true then | |
| 4805 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4806 | end | |
| 4807 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4808 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4809 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4810 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 4811 | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4812 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4813 | 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(0)),.3) | |
| 4814 | 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(10),math.rad(0)),.3) | |
| 4815 | RootPart.CFrame = FaceMouse()[1] | |
| 4816 | end | |
| 4817 | orbe.Transparency = 1 | |
| 4818 | orb.Transparency = 1 | |
| 4819 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
| 4820 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
| |
| 4821 | local a = Instance.new("Part",Character)
| |
| 4822 | a.Name = "Direction" | |
| 4823 | a.Anchored = true | |
| 4824 | a.BrickColor = bc("White")
| |
| 4825 | a.Material = "Neon" | |
| 4826 | a.Transparency = 0 | |
| 4827 | a.Shape = "Cylinder" | |
| 4828 | a.CanCollide = false | |
| 4829 | local a2 = Instance.new("Part",Character)
| |
| 4830 | a2.Name = "Direction" | |
| 4831 | a2.Anchored = true | |
| 4832 | a2.BrickColor = bc("New Yeller")
| |
| 4833 | a2.Color = Color3.new(r/255,g/255,b/255) | |
| 4834 | a2.Material = "Neon" | |
| 4835 | a2.Transparency = 0.5 | |
| 4836 | a2.Shape = "Cylinder" | |
| 4837 | a2.CanCollide = false | |
| 4838 | local ba = Instance.new("Part",Character)
| |
| 4839 | ba.Name = "HitDirect" | |
| 4840 | ba.Anchored = true | |
| 4841 | ba.BrickColor = bc("Cool yellow")
| |
| 4842 | ba.Material = "Neon" | |
| 4843 | ba.Transparency = 1 | |
| 4844 | ba.CanCollide = false | |
| 4845 | local ray = Ray.new( | |
| 4846 | orb.CFrame.p, -- origin | |
| 4847 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4848 | ) | |
| 4849 | local ignore = Character | |
| 4850 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4851 | a.BottomSurface = 10 | |
| 4852 | a.TopSurface = 10 | |
| 4853 | a2.BottomSurface = 10 | |
| 4854 | a2.TopSurface = 10 | |
| 4855 | local distance = (orb.CFrame.p - position).magnitude | |
| 4856 | a.Size = Vector3.new(distance, 1, 1) | |
| 4857 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4858 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4859 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4860 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4861 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4862 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4863 | game:GetService("Debris"):AddItem(a, 20)
| |
| 4864 | game:GetService("Debris"):AddItem(a2, 20)
| |
| 4865 | game:GetService("Debris"):AddItem(ba, 20)
| |
| 4866 | local msh = Instance.new("SpecialMesh",a)
| |
| 4867 | msh.MeshType = "Cylinder" | |
| 4868 | msh.Scale = vt(1,5*5,5*5) | |
| 4869 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 4870 | msh2.MeshType = "Cylinder" | |
| 4871 | msh2.Scale = vt(1,6*5,6*5) | |
| 4872 | ||
| 4873 | for i = 0,10,0.1 do | |
| 4874 | swait() | |
| 4875 | CameraEnshaking(1,5) | |
| 4876 | a2.Color = Color3.new(r/255,g/255,b/255) | |
| 4877 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4878 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4879 | ray = Ray.new( | |
| 4880 | orb.CFrame.p, -- origin | |
| 4881 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4882 | ) | |
| 4883 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4884 | distance = (orb.CFrame.p - position).magnitude | |
| 4885 | if typrot == 1 then | |
| 4886 | rotation = rotation + 2.5 | |
| 4887 | elseif typrot == 2 then | |
| 4888 | rotation = rotation - 2.5 | |
| 4889 | end | |
| 4890 | RootPart.CFrame = FaceMouse()[1] | |
| 4891 | a.Size = Vector3.new(distance, 1, 1) | |
| 4892 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4893 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4894 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4895 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4896 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4897 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4898 | msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5) | |
| 4899 | msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5) | |
| 4900 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
| 4901 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
| 4902 | MagniDamage(ba, 30, 500,60000, 0, "Normal") | |
| 4903 | end | |
| 4904 | a:Destroy() | |
| 4905 | a2:Destroy() | |
| 4906 | ba:Destroy() | |
| 4907 | orb:Destroy() | |
| 4908 | orbe:Destroy() | |
| 4909 | attack = false | |
| 4910 | end | |
| 4911 | function HolyBarrier() | |
| 4912 | attack = true | |
| 4913 | shielding = true | |
| 4914 | for i = 0, 2, 0.1 do | |
| 4915 | swait() | |
| 4916 | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
| 4917 | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
| 4918 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4) | |
| 4919 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4) | |
| 4920 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1) | |
| 4921 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1) | |
| 4922 | end | |
| 4923 | CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
| |
| 4924 | stash = Instance.new("Model",workspace)
| |
| 4925 | local barrier = Instance.new("Part",stash)
| |
| 4926 | barrier.Anchored = true | |
| 4927 | barrier.CanCollide = false | |
| 4928 | barrier.Size = Vector3.new(20,20,20) | |
| 4929 | barrier.CFrame = root.CFrame | |
| 4930 | barrier.Transparency = 0.6 | |
| 4931 | barrier.BrickColor = MAINRUINCOLOR | |
| 4932 | barrier.Material = Enum.Material.Neon | |
| 4933 | barrier.Shape = Enum.PartType.Ball | |
| 4934 | barrier.CFrame = root.CFrame | |
| 4935 | sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR) | |
| 4936 | Torso.Anchored = true | |
| 4937 | for i=1,50 do | |
| 4938 | local p = Instance.new("Part",stash)
| |
| 4939 | p.Anchored = true | |
| 4940 | p.Transparency = 1 | |
| 4941 | p.Size = Vector3.new(11,11,11) | |
| 4942 | p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)) | |
| 4943 | end | |
| 4944 | repeat | |
| 4945 | swait(5) | |
| 4946 | 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,BrickColor.new("White"),0)
| |
| 4947 | until shielding == false | |
| 4948 | stash:Remove() | |
| 4949 | Torso.Anchored = false | |
| 4950 | shielding = false | |
| 4951 | sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR) | |
| 4952 | attack = false | |
| 4953 | end | |
| 4954 | function Judgement() | |
| 4955 | attack = true | |
| 4956 | judgement = true | |
| 4957 | hum.WalkSpeed = 0 | |
| 4958 | local p = Instance.new("Part",root)
| |
| 4959 | p.Anchored = true | |
| 4960 | p.CanCollide = false | |
| 4961 | p.BrickColor = MAINRUINCOLOR | |
| 4962 | p.Material = Enum.Material.Neon | |
| 4963 | p.Size = Vector3.new(1,1,1) | |
| 4964 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 4965 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 4966 | local m = Instance.new("SpecialMesh",p)
| |
| 4967 | m.MeshType = "Cylinder" | |
| 4968 | m.Scale = Vector3.new(2000,2,2) | |
| 4969 | local targ = Instance.new("Part",root)
| |
| 4970 | targ.Anchored = true | |
| 4971 | targ.Transparency = 1 | |
| 4972 | targ.CanCollide = false | |
| 4973 | targ.Size = Vector3.new(1,1,1) | |
| 4974 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 4975 | local s = Instance.new("Sound",targ)
| |
| 4976 | s.SoundId = "https://roblox.com/asset/?id=115327352" | |
| 4977 | s.Looped = true | |
| 4978 | s.Pitch = 1.2 | |
| 4979 | s.Volume = 3 | |
| 4980 | spawn(function() | |
| 4981 | swait(15) | |
| 4982 | s:Play() | |
| 4983 | end) | |
| 4984 | CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
| |
| 4985 | for i = 1,15 do | |
| 4986 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 4987 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
| 4988 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
| 4989 | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
| 4990 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
| 4991 | 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(-20)),.2) | |
| 4992 | 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(10),math.rad(20)),.2) | |
| 4993 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR) | |
| 4994 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0) | |
| 4995 | m.Scale = m.Scale+Vector3.new(0,1,1) | |
| 4996 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 4997 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 4998 | swait() | |
| 4999 | end | |
| 5000 | sphereMK(3, 0.2, "Add", targ.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) | |
| 5001 | repeat | |
| 5002 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 5003 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0) | |
| 5004 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR) | |
| 5005 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 5006 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 5007 | MagniDamage(targ, 25, 5, 8, 0, "Normal") | |
| 5008 | swait() | |
| 5009 | until judgement == false | |
| 5010 | for i =1,15 do | |
| 5011 | m.Scale = m.Scale-Vector3.new(1,1,1) | |
| 5012 | p.Transparency = i / 15 | |
| 5013 | s.Pitch = s.Pitch - 0.4 | |
| 5014 | swait() | |
| 5015 | end | |
| 5016 | p:Destroy() | |
| 5017 | hum.WalkSpeed = storehumanoidWS | |
| 5018 | attack = false | |
| 5019 | end | |
| 5020 | ||
| 5021 | function UniversalSpark() | |
| 5022 | attack = true | |
| 5023 | ||
| 5024 | local rngb = Instance.new("Part", char)
| |
| 5025 | rngb.Anchored = true | |
| 5026 | rngb.BrickColor = origcolor | |
| 5027 | rngb.CanCollide = false | |
| 5028 | rngb.FormFactor = 3 | |
| 5029 | rngb.Name = "Ring" | |
| 5030 | rngb.Material = "Neon" | |
| 5031 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 5032 | rngb.Transparency = 1 | |
| 5033 | rngb.TopSurface = 0 | |
| 5034 | rngb.BottomSurface = 0 | |
| 5035 | local rngmb = Instance.new("SpecialMesh", rngb)
| |
| 5036 | rngmb.MeshType = "Brick" | |
| 5037 | rngmb.Name = "SizeMesh" | |
| 5038 | rngmb.Scale = vt(0,1,0) | |
| 5039 | ||
| 5040 | local orb = rngb:Clone() | |
| 5041 | orb.Parent = char | |
| 5042 | orb.Transparency = 0 | |
| 5043 | orb.BrickColor = BrickColor.new("White")
| |
| 5044 | orb.Size = vt(1,1,1) | |
| 5045 | local orbmish = orb.SizeMesh | |
| 5046 | orbmish.Scale = vt(0,0,0) | |
| 5047 | orbmish.MeshType = "Sphere" | |
| 5048 | ||
| 5049 | local orbe = rngb:Clone() | |
| 5050 | orbe.Parent = char | |
| 5051 | orbe.Transparency = 0.5 | |
| 5052 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 5053 | orbe.Size = vt(1,1,1) | |
| 5054 | local orbmish2 = orbe.SizeMesh | |
| 5055 | orbmish2.Scale = vt(0,0,0) | |
| 5056 | orbmish2.MeshType = "Sphere" | |
| 5057 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 5058 | ||
| 5059 | rngb:Destroy() | |
| 5060 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
| |
| 5061 | local scaled = 1 | |
| 5062 | for i = 0,5,0.1 do | |
| 5063 | swait() | |
| 5064 | scaled = scaled - 0.02 | |
| 5065 | if rainbowmode == true then | |
| 5066 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 5067 | end | |
| 5068 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
| 5069 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
| 5070 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 5071 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 5072 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
| 5073 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 5074 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 5075 | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 5076 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 5077 | 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(0)),.3) | |
| 5078 | 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(10),math.rad(0)),.3) | |
| 5079 | RootPart.CFrame = FaceMouse()[1] | |
| 5080 | end]]-- | |
| 5081 | for i = 0,5,0.1 do | |
| 5082 | swait() | |
| 5083 | if rainbowmode == true then | |
| 5084 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 5085 | end | |
| 5086 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 5087 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 5088 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 5089 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 5090 | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 5091 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 5092 | 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(0)),.3) | |
| 5093 | 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(10),math.rad(0)),.3) | |
| 5094 | RootPart.CFrame = FaceMouse()[1] | |
| 5095 | end | |
| 5096 | orbe.Transparency = 1 | |
| 5097 | orb.Transparency = 1 | |
| 5098 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
| 5099 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 5100 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 5101 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 5102 | ||
| 5103 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
| |
| 5104 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
| |
| 5105 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 5106 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
| |
| 5107 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
| |
| 5108 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 5109 | CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
| |
| 5110 | local xd= Instance.new("Sound",char)
| |
| 5111 | xd.SoundId = "rbxassetid://445796828" | |
| 5112 | xd.Pitch = 0.75 | |
| 5113 | xd.Looped = true | |
| 5114 | xd.Volume = 1.25 | |
| 5115 | xd:Play() | |
| 5116 | local a = Instance.new("Part",Character)
| |
| 5117 | a.Name = "Direction" | |
| 5118 | a.Anchored = true | |
| 5119 | a.BrickColor = bc("Alder")
| |
| 5120 | a.Color = MAINRUINCOLOR.Color | |
| 5121 | a.Material = "Neon" | |
| 5122 | a.Transparency = 0.5 | |
| 5123 | a.Shape = "Cylinder" | |
| 5124 | a.CanCollide = false | |
| 5125 | local a2 = Instance.new("Part",Character)
| |
| 5126 | a2.Name = "Direction" | |
| 5127 | a2.Anchored = true | |
| 5128 | a2.BrickColor = bc("New Yeller")
| |
| 5129 | a2.Color = MAINRUINCOLOR.Color | |
| 5130 | a2.Material = "Neon" | |
| 5131 | a2.Transparency = 0.5 | |
| 5132 | a2.Shape = "Cylinder" | |
| 5133 | a2.CanCollide = false | |
| 5134 | local ba = Instance.new("Part",Character)
| |
| 5135 | ba.Name = "HitDirect" | |
| 5136 | ba.Anchored = true | |
| 5137 | ba.BrickColor = bc("Cool yellow")
| |
| 5138 | ba.Material = "Neon" | |
| 5139 | ba.Transparency = 1 | |
| 5140 | ba.CanCollide = false | |
| 5141 | local ray = Ray.new( | |
| 5142 | orb.CFrame.p, -- origin | |
| 5143 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 5144 | ) | |
| 5145 | local ignore = Character | |
| 5146 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 5147 | a.BottomSurface = 10 | |
| 5148 | a.TopSurface = 10 | |
| 5149 | a2.BottomSurface = 10 | |
| 5150 | a2.TopSurface = 10 | |
| 5151 | local distance = (orb.CFrame.p - position).magnitude | |
| 5152 | a.Size = Vector3.new(distance, 1, 1) | |
| 5153 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5154 | a2.Size = Vector3.new(distance, 1, 1) | |
| 5155 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5156 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 5157 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5158 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5159 | game:GetService("Debris"):AddItem(a, 60)
| |
| 5160 | game:GetService("Debris"):AddItem(a2, 60)
| |
| 5161 | game:GetService("Debris"):AddItem(ba, 60)
| |
| 5162 | local outerscale = 0 | |
| 5163 | local msh = Instance.new("SpecialMesh",a)
| |
| 5164 | msh.MeshType = "Cylinder" | |
| 5165 | msh.Scale = vt(1,0,0) | |
| 5166 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 5167 | msh2.MeshType = "Cylinder" | |
| 5168 | msh2.Scale = vt(1,0,0) | |
| 5169 | for i = 0,2,0.1 do | |
| 5170 | swait() | |
| 5171 | CameraEnshaking(1,1) | |
| 5172 | msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20) | |
| 5173 | msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15) | |
| 5174 | outerscale = outerscale - 0.015 | |
| 5175 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 5176 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 5177 | ray = Ray.new( | |
| 5178 | orb.CFrame.p, -- origin | |
| 5179 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 5180 | ) | |
| 5181 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 5182 | distance = (orb.CFrame.p - position).magnitude | |
| 5183 | if typrot == 1 then | |
| 5184 | rotation = rotation + 2.5 | |
| 5185 | elseif typrot == 2 then | |
| 5186 | rotation = rotation - 2.5 | |
| 5187 | end | |
| 5188 | RootPart.CFrame = FaceMouse()[1] | |
| 5189 | a.Size = Vector3.new(distance, 1, 1) | |
| 5190 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5191 | a2.Size = Vector3.new(distance, 1, 1) | |
| 5192 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5193 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 5194 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5195 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5196 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
| 5197 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
| 5198 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 5199 | end | |
| 5200 | for z = 0, 2 do | |
| 5201 | for i = 0,4,0.1 do | |
| 5202 | swait() | |
| 5203 | CameraEnshaking(1,1) | |
| 5204 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
| 5205 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
| 5206 | outerscale = outerscale + 0.015 | |
| 5207 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 5208 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 5209 | ray = Ray.new( | |
| 5210 | orb.CFrame.p, -- origin | |
| 5211 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 5212 | ) | |
| 5213 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 5214 | distance = (orb.CFrame.p - position).magnitude | |
| 5215 | if typrot == 1 then | |
| 5216 | rotation = rotation + 2.5 | |
| 5217 | elseif typrot == 2 then | |
| 5218 | rotation = rotation - 2.5 | |
| 5219 | end | |
| 5220 | RootPart.CFrame = FaceMouse()[1] | |
| 5221 | a.Size = Vector3.new(distance, 1, 1) | |
| 5222 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5223 | a2.Size = Vector3.new(distance, 1, 1) | |
| 5224 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5225 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 5226 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5227 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5228 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
| 5229 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
| 5230 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 5231 | end | |
| 5232 | for i = 0,4,0.1 do | |
| 5233 | swait() | |
| 5234 | CameraEnshaking(1,1) | |
| 5235 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
| 5236 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
| 5237 | outerscale = outerscale - 0.015 | |
| 5238 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 5239 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 5240 | ray = Ray.new( | |
| 5241 | orb.CFrame.p, -- origin | |
| 5242 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 5243 | ) | |
| 5244 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 5245 | distance = (orb.CFrame.p - position).magnitude | |
| 5246 | if typrot == 1 then | |
| 5247 | rotation = rotation + 2.5 | |
| 5248 | elseif typrot == 2 then | |
| 5249 | rotation = rotation - 2.5 | |
| 5250 | end | |
| 5251 | RootPart.CFrame = FaceMouse()[1] | |
| 5252 | a.Size = Vector3.new(distance, 1, 1) | |
| 5253 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5254 | a2.Size = Vector3.new(distance, 1, 1) | |
| 5255 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5256 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 5257 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5258 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5259 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
| 5260 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
| 5261 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 5262 | end | |
| 5263 | end | |
| 5264 | for i = 0,4,0.1 do | |
| 5265 | swait() | |
| 5266 | CameraEnshaking(1,1) | |
| 5267 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
| 5268 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
| 5269 | xd.Volume = xd.Volume - 0.025 | |
| 5270 | a.Transparency = a.Transparency + 0.025 | |
| 5271 | a2.Transparency = a2.Transparency + 0.025 | |
| 5272 | outerscale = outerscale - 0.015 | |
| 5273 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 5274 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 5275 | ray = Ray.new( | |
| 5276 | orb.CFrame.p, -- origin | |
| 5277 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 5278 | ) | |
| 5279 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 5280 | distance = (orb.CFrame.p - position).magnitude | |
| 5281 | if typrot == 1 then | |
| 5282 | rotation = rotation + 2.5 | |
| 5283 | elseif typrot == 2 then | |
| 5284 | rotation = rotation - 2.5 | |
| 5285 | end | |
| 5286 | RootPart.CFrame = FaceMouse()[1] | |
| 5287 | a.Size = Vector3.new(distance, 1, 1) | |
| 5288 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5289 | a2.Size = Vector3.new(distance, 1, 1) | |
| 5290 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 5291 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 5292 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5293 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 5294 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
| 5295 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
| 5296 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 5297 | end | |
| 5298 | xd:Destroy() | |
| 5299 | a:Destroy() | |
| 5300 | a2:Destroy() | |
| 5301 | ba:Destroy() | |
| 5302 | orb:Destroy() | |
| 5303 | orbe:Destroy() | |
| 5304 | attack = false | |
| 5305 | end | |
| 5306 | function trailall (something) | |
| 5307 | tr(something) | |
| 5308 | tl(something) | |
| 5309 | end | |
| 5310 | function tr (some) | |
| 5311 | tr1.Enabled = some | |
| 5312 | tr2.Enabled = some | |
| 5313 | tr3.Enabled = some | |
| 5314 | tr4.Enabled = some | |
| 5315 | tr5.Enabled = some | |
| 5316 | tr6.Enabled = some | |
| 5317 | end | |
| 5318 | function tl (thing) | |
| 5319 | tl1.Enabled = thing | |
| 5320 | tl2.Enabled = thing | |
| 5321 | tl3.Enabled = thing | |
| 5322 | tl4.Enabled = thing | |
| 5323 | tl5.Enabled = thing | |
| 5324 | tl6.Enabled = thing | |
| 5325 | end | |
| 5326 | function resetmode() | |
| 5327 | rainbowmode = false | |
| 5328 | chaosmode = false | |
| 5329 | tr(true) | |
| 5330 | tr4.Enabled = false | |
| 5331 | tr5.Enabled = false | |
| 5332 | tr6.Enabled = false | |
| 5333 | tl(false) | |
| 5334 | ModeOfGlitch = 1 | |
| 5335 | storehumanoidWS = 16 | |
| 5336 | coroutine.resume(coroutine.create(function() | |
| 5337 | attack = true | |
| 5338 | hum.WalkSpeed = 0 | |
| 5339 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
| |
| 5340 | for i = 0,4,0.1 do | |
| 5341 | swait() | |
| 5342 | sphereMK(2.5,-1.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,MAINRUINCOLOR,100) | |
| 5343 | 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) | |
| 5344 | 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) | |
| 5345 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.5) | |
| 5346 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.5) | |
| 5347 | RW.C0=Clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.5) | |
| 5348 | LW.C0=Clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.5) | |
| 5349 | end | |
| 5350 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
| |
| 5351 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
| |
| 5352 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
| |
| 5353 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
| |
| 5354 | RecolorTextAndRename("Mayhem",Color3.new(0,0,0),Color3.new(1,0,0))
| |
| 5355 | CameraEnshaking(5,2.5) | |
| 5356 | MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 5357 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5358 | for i = 0, 49 do | |
| 5359 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0) | |
| 5360 | end | |
| 5361 | for i = 0,3,0.1 do | |
| 5362 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) | |
| 5363 | end | |
| 5364 | for i, v in pairs(mw2:GetChildren()) do | |
| 5365 | if v:IsA("Part") then
| |
| 5366 | v.BrickColor = BrickColor.new("Really red")
| |
| 5367 | v.Material = "Neon" | |
| 5368 | end | |
| 5369 | end | |
| 5370 | for i, v in pairs(mw1:GetChildren()) do | |
| 5371 | if v:IsA("Part") then
| |
| 5372 | v.Transparency = 1 | |
| 5373 | v.BrickColor = BrickColor.new("Really red")
| |
| 5374 | v.Material = "Neon" | |
| 5375 | end | |
| 5376 | end | |
| 5377 | for i, v in pairs(m:GetChildren()) do | |
| 5378 | if v:IsA("Part") then
| |
| 5379 | v.Transparency = 0 | |
| 5380 | v.BrickColor = BrickColor.new("Really black")
| |
| 5381 | v.Material = "Glass" | |
| 5382 | end | |
| 5383 | end | |
| 5384 | for i, v in pairs(m2:GetChildren()) do | |
| 5385 | if v:IsA("Part") then
| |
| 5386 | v.Transparency = 0 | |
| 5387 | v.BrickColor = BrickColor.new("Crimson")
| |
| 5388 | v.Material = "Granite" | |
| 5389 | end | |
| 5390 | end | |
| 5391 | for i, v in pairs(m3:GetChildren()) do | |
| 5392 | if v:IsA("Part") then
| |
| 5393 | v.Transparency = 0 | |
| 5394 | v.BrickColor = BrickColor.new("Really red")
| |
| 5395 | v.Material = "Neon" | |
| 5396 | end | |
| 5397 | end | |
| 5398 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5399 | if v:IsA("Part") then
| |
| 5400 | v.Transparency = 1 | |
| 5401 | v.BrickColor = BrickColor.new("White")
| |
| 5402 | v.Material = "Neon" | |
| 5403 | end | |
| 5404 | end | |
| 5405 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5406 | if v:IsA("Part") then
| |
| 5407 | v.Transparency = 1 | |
| 5408 | v.BrickColor = BrickColor.new("White")
| |
| 5409 | v.Material = "Neon" | |
| 5410 | end | |
| 5411 | end | |
| 5412 | for i = 0,2,0.1 do | |
| 5413 | swait() | |
| 5414 | 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) | |
| 5415 | 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) | |
| 5416 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
| 5417 | 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) | |
| 5418 | 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) | |
| 5419 | 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) | |
| 5420 | end | |
| 5421 | hum.WalkSpeed = storehumanoidWS | |
| 5422 | attack = false | |
| 5423 | end)) | |
| 5424 | newTheme("rbxassetid://614032233",48.6,1,0.3)
| |
| 5425 | end | |
| 5426 | ||
| 5427 | function attackone() | |
| 5428 | attack = true | |
| 5429 | for i = 0,1,0.1 do | |
| 5430 | swait() | |
| 5431 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2) | |
| 5432 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2) | |
| 5433 | RW.C0 = Clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 5434 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 5435 | RH.C0=Clerp(RH.C0,cf(1,-1 - 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)),.2) | |
| 5436 | 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(10)),.2) | |
| 5437 | end | |
| 5438 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
| |
| 5439 | ||
| 5440 | local hitb = Instance.new("Part", char)
| |
| 5441 | hitb.Anchored = true | |
| 5442 | hitb.CanCollide = false | |
| 5443 | hitb.FormFactor = 3 | |
| 5444 | hitb.Name = "Ring" | |
| 5445 | hitb.Material = "Neon" | |
| 5446 | hitb.Size = Vector3.new(1, 1, 1) | |
| 5447 | hitb.Transparency = 1 | |
| 5448 | hitb.TopSurface = 0 | |
| 5449 | hitb.BottomSurface = 0 | |
| 5450 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
| 5451 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
| 5452 | hitb:Destroy() | |
| 5453 | for i = 0,1,0.1 do | |
| 5454 | swait() | |
| 5455 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4) | |
| 5456 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4) | |
| 5457 | RW.C0 = Clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
| 5458 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
| 5459 | RH.C0=Clerp(RH.C0,cf(1,-1 - 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(-40)),.4) | |
| 5460 | 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(-10)),.4) | |
| 5461 | end | |
| 5462 | ||
| 5463 | attack = false | |
| 5464 | end | |
| 5465 | ||
| 5466 | function attacktwo() | |
| 5467 | attack = true | |
| 5468 | for i = 0,1,0.1 do | |
| 5469 | swait() | |
| 5470 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2) | |
| 5471 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
| 5472 | RW.C0 = Clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 5473 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 5474 | RH.C0=Clerp(RH.C0,cf(1,-1 - 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)),.2) | |
| 5475 | 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(10)),.2) | |
| 5476 | end | |
| 5477 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
| |
| 5478 | local hitb = Instance.new("Part", char)
| |
| 5479 | hitb.Anchored = true | |
| 5480 | hitb.CanCollide = false | |
| 5481 | hitb.FormFactor = 3 | |
| 5482 | hitb.Name = "Ring" | |
| 5483 | hitb.Material = "Neon" | |
| 5484 | hitb.Size = Vector3.new(1, 1, 1) | |
| 5485 | hitb.Transparency = 1 | |
| 5486 | hitb.TopSurface = 0 | |
| 5487 | hitb.BottomSurface = 0 | |
| 5488 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
| 5489 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
| 5490 | hitb:Destroy() | |
| 5491 | for i = 0,1,0.1 do | |
| 5492 | swait() | |
| 5493 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4) | |
| 5494 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4) | |
| 5495 | RW.C0 = Clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
| 5496 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
| 5497 | 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(-5),math.rad(0),math.rad(-40)),.4) | |
| 5498 | 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(-10)),.4) | |
| 5499 | end | |
| 5500 | attack = false | |
| 5501 | end | |
| 5502 | ||
| 5503 | function attackthree() | |
| 5504 | attack = true | |
| 5505 | for i = 0,1,0.1 do | |
| 5506 | swait() | |
| 5507 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3) | |
| 5508 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3) | |
| 5509 | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
| 5510 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 5511 | 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(0)),.3) | |
| 5512 | 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(10),math.rad(0)),.3) | |
| 5513 | end | |
| 5514 | local distlook = 5 | |
| 5515 | for i = 0, 4 do | |
| 5516 | swait(2) | |
| 5517 | CameraEnshaking(2,3) | |
| 5518 | local hite = Instance.new("Part", char)
| |
| 5519 | hite.Anchored = true | |
| 5520 | hite.CanCollide = false | |
| 5521 | hite.FormFactor = 3 | |
| 5522 | hite.Name = "Ring" | |
| 5523 | hite.Material = "Neon" | |
| 5524 | hite.Size = Vector3.new(1, 1, 1) | |
| 5525 | hite.Transparency = 1 | |
| 5526 | hite.TopSurface = 0 | |
| 5527 | hite.BottomSurface = 0 | |
| 5528 | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook | |
| 5529 | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR) | |
| 5530 | sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) | |
| 5531 | MagniDamage(hite, 10, 15,35, 0, "Normal") | |
| 5532 | for i = 0, 2 do | |
| 5533 | sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) | |
| 5534 | 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) | |
| 5535 | 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,MAINRUINCOLOR,0) | |
| 5536 | end | |
| 5537 | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
| |
| 5538 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
| |
| 5539 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 5540 | distlook = distlook + 10 | |
| 5541 | end | |
| 5542 | attack = false | |
| 5543 | end | |
| 5544 | ||
| 5545 | local ActiveGia = false | |
| 5546 | function THEHELLITSTHATBIG() | |
| 5547 | ActiveGia = true | |
| 5548 | attack = true | |
| 5549 | hum.WalkSpeed = 0 | |
| 5550 | for i = 0,2,0.1 do | |
| 5551 | swait() | |
| 5552 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
| 5553 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
| 5554 | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
| 5555 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
| 5556 | 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(-20)),.2) | |
| 5557 | 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(10),math.rad(20)),.2) | |
| 5558 | end | |
| 5559 | for i = 0,1,0.1 do | |
| 5560 | torsweld.C1=Clerp(torsweld.C1,cf(0,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 5561 | larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1) | |
| 5562 | rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1) | |
| 5563 | llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 5564 | rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 5565 | hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1) | |
| 5566 | end | |
| 5567 | CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1)
| |
| 5568 | secrleg.Transparency = 0.5 | |
| 5569 | seclleg.Transparency = 0.5 | |
| 5570 | secrarm.Transparency = 0.5 | |
| 5571 | seclarm.Transparency = 0.5 | |
| 5572 | seched.Transparency = 0.5 | |
| 5573 | sectors.Transparency = 0.5 | |
| 5574 | for i = 0,25,0.1 do | |
| 5575 | swait() | |
| 5576 | PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.1,MAINRUINCOLOR,-10) | |
| 5577 | torsweld.C1=Clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025) | |
| 5578 | larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.025) | |
| 5579 | rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.025) | |
| 5580 | llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 5581 | rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 5582 | hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025) | |
| 5583 | end | |
| 5584 | --[[secrleg.Transparency = 1 | |
| 5585 | seclleg.Transparency = 1 | |
| 5586 | secrarm.Transparency = 1 | |
| 5587 | seclarm.Transparency = 1 | |
| 5588 | seched.Transparency = 1 | |
| 5589 | sectors.Transparency = 1]]-- | |
| 5590 | torsweld.Part0 = root | |
| 5591 | hum.WalkSpeed = storehumanoidWS | |
| 5592 | attack = false | |
| 5593 | end | |
| 5594 | ||
| 5595 | function removelol() | |
| 5596 | ActiveGia = false | |
| 5597 | attack = true | |
| 5598 | hum.WalkSpeed = 0 | |
| 5599 | for i = 0,2,0.1 do | |
| 5600 | swait() | |
| 5601 | RootJoint.C0 = Clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
| 5602 | Torso.Neck.C0 = Clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
| 5603 | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
| 5604 | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
| 5605 | 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(-20)),.2) | |
| 5606 | 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(10),math.rad(20)),.2) | |
| 5607 | end | |
| 5608 | CFuncs["Sound"].Create("rbxassetid://528589274", sectors, 5, 1)
| |
| 5609 | for i = 0,25,0.1 do | |
| 5610 | swait() | |
| 5611 | secrleg.Transparency = secrleg.Transparency + 0.00225 | |
| 5612 | seclleg.Transparency = secrleg.Transparency | |
| 5613 | secrarm.Transparency = secrleg.Transparency | |
| 5614 | seclarm.Transparency = secrleg.Transparency | |
| 5615 | seched.Transparency = secrleg.Transparency | |
| 5616 | sectors.Transparency = secrleg.Transparency | |
| 5617 | PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.1,MAINRUINCOLOR,-10) | |
| 5618 | torsweld.C1=Clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025) | |
| 5619 | larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(20)),0.025) | |
| 5620 | rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),0.025) | |
| 5621 | llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 5622 | rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 5623 | hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025) | |
| 5624 | end | |
| 5625 | CFuncs["Sound"].Create("rbxassetid://468991944", sectors, 10, 1)
| |
| 5626 | sphere(1,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5627 | sphere(2,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5628 | sphere(3,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5629 | secrleg.Transparency = 1 | |
| 5630 | seclleg.Transparency = 1 | |
| 5631 | secrarm.Transparency = 1 | |
| 5632 | seclarm.Transparency = 1 | |
| 5633 | seched.Transparency = 1 | |
| 5634 | sectors.Transparency = 1 | |
| 5635 | torsweld.Part0 = root | |
| 5636 | hum.WalkSpeed = storehumanoidWS | |
| 5637 | attack = false | |
| 5638 | end | |
| 5639 | function attackfour() | |
| 5640 | attackthree() | |
| 5641 | attackthree() | |
| 5642 | attackthree() | |
| 5643 | end | |
| 5644 | function FinalCalamity() | |
| 5645 | end | |
| 5646 | ||
| 5647 | local attacktype = 1 | |
| 5648 | mouse.Button1Down:connect(function() | |
| 5649 | if attack == false and attacktype == 1 then | |
| 5650 | attacktype = 2 | |
| 5651 | attackone() | |
| 5652 | elseif attack == false and attacktype == 2 then | |
| 5653 | attacktype = 3 | |
| 5654 | attacktwo() | |
| 5655 | elseif attack == false and attacktype == 3 then | |
| 5656 | attacktype = 1 | |
| 5657 | attackthree() | |
| 5658 | elseif attack == false and attacktype == 4 and ModeOfGlitch == 333 then | |
| 5659 | attacktype = 1 | |
| 5660 | -- attackfour() | |
| 5661 | -- else | |
| 5662 | -- attacktype = 1 | |
| 5663 | end | |
| 5664 | end) | |
| 5665 | mouse.KeyDown:connect(function(k) | |
| 5666 | if k == "q" and attack == false and ModeOfGlitch ~= 2 then | |
| 5667 | ModeOfGlitch = 2 | |
| 5668 | storehumanoidWS = 16 | |
| 5669 | hum.WalkSpeed = 16 | |
| 5670 | rainbowmode = false | |
| 5671 | chaosmode = false | |
| 5672 | tr1.Enabled = true | |
| 5673 | tr2.Enabled = true | |
| 5674 | tr3.Enabled = true | |
| 5675 | tr4.Enabled = false | |
| 5676 | tr5.Enabled = false | |
| 5677 | tr6.Enabled = false | |
| 5678 | tl1.Enabled = false | |
| 5679 | tl2.Enabled = false | |
| 5680 | tl3.Enabled = false | |
| 5681 | tl4.Enabled = false | |
| 5682 | tl5.Enabled = false | |
| 5683 | tl6.Enabled = false | |
| 5684 | RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
| |
| 5685 | newTheme("rbxassetid://1539245059",0,1,0.3)
| |
| 5686 | MAINRUINCOLOR = BrickColor.new("Toothpaste")
| |
| 5687 | for i, v in pairs(mw2:GetChildren()) do | |
| 5688 | if v:IsA("Part") then
| |
| 5689 | v.Transparency = 0 | |
| 5690 | v.BrickColor = MAINRUINCOLOR | |
| 5691 | v.Material = "Neon" | |
| 5692 | end | |
| 5693 | end | |
| 5694 | for i, v in pairs(mw1:GetChildren()) do | |
| 5695 | if v:IsA("Part") then
| |
| 5696 | v.Transparency = 1 | |
| 5697 | v.BrickColor = MAINRUINCOLOR | |
| 5698 | v.Material = "Neon" | |
| 5699 | end | |
| 5700 | end | |
| 5701 | for i, v in pairs(m:GetChildren()) do | |
| 5702 | if v:IsA("Part") then
| |
| 5703 | v.Transparency = 0 | |
| 5704 | v.BrickColor = BrickColor.new("White")
| |
| 5705 | v.Material = "Ice" | |
| 5706 | end | |
| 5707 | end | |
| 5708 | for i, v in pairs(m2:GetChildren()) do | |
| 5709 | if v:IsA("Part") then
| |
| 5710 | v.Transparency = 0 | |
| 5711 | v.BrickColor = BrickColor.new("Pastel light blue")
| |
| 5712 | v.Material = "Glass" | |
| 5713 | end | |
| 5714 | end | |
| 5715 | for i, v in pairs(m3:GetChildren()) do | |
| 5716 | if v:IsA("Part") then
| |
| 5717 | v.Transparency = 0 | |
| 5718 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 5719 | v.Material = "Neon" | |
| 5720 | end | |
| 5721 | end | |
| 5722 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5723 | if v:IsA("Part") then
| |
| 5724 | v.Transparency = 1 | |
| 5725 | v.BrickColor = BrickColor.new("White")
| |
| 5726 | v.Material = "Neon" | |
| 5727 | end | |
| 5728 | end | |
| 5729 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5730 | if v:IsA("Part") then
| |
| 5731 | v.Transparency = 1 | |
| 5732 | v.BrickColor = BrickColor.new("White")
| |
| 5733 | v.Material = "Neon" | |
| 5734 | end | |
| 5735 | end | |
| 5736 | elseif k == "q" and attack == false and ModeOfGlitch == 2 then | |
| 5737 | resetmode() | |
| 5738 | end | |
| 5739 | if k == "b" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 777 then | |
| 5740 | newThemeCust("rbxassetid://544291208",0,1,1)
| |
| 5741 | attack = true | |
| 5742 | hum.WalkSpeed = 0 | |
| 5743 | MAINRUINCOLOR = BrickColor.new("Toothpaste")
| |
| 5744 | for i = 0, 24, 0.1 do | |
| 5745 | swait() | |
| 5746 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
| 5747 | RH.C0=Clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
| 5748 | LH.C0=Clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
| 5749 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 5750 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 5751 | RW.C0=Clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
| 5752 | LW.C0=Clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
| 5753 | end | |
| 5754 | CameraEnshaking(1,1) | |
| 5755 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5756 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
| |
| 5757 | wait(0.000000000000000001) | |
| 5758 | CameraEnshaking(1,2) | |
| 5759 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 5760 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 5761 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5762 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 5763 | wait(0.000000000000000001) | |
| 5764 | CameraEnshaking(1,3) | |
| 5765 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 5766 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 5767 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 5768 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 5769 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5770 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
| |
| 5771 | wait(0.000000000000000001) | |
| 5772 | CameraEnshaking(10,5) | |
| 5773 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 5774 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 5775 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 5776 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 5777 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
| |
| 5778 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 5779 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
| 5780 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
| 5781 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
| 5782 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 5783 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
| 5784 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
| 5785 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
| 5786 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
| 5787 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
| 5788 | for i = 0, 49 do | |
| 5789 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
| 5790 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
| 5791 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
| 5792 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
| 5793 | end | |
| 5794 | ModeOfGlitch = 777 | |
| 5795 | storehumanoidWS = 16 | |
| 5796 | hum.WalkSpeed = 16 | |
| 5797 | rainbowmode = false | |
| 5798 | chaosmode = false | |
| 5799 | tr1.Enabled = true | |
| 5800 | tr2.Enabled = true | |
| 5801 | tr3.Enabled = true | |
| 5802 | tr4.Enabled = true | |
| 5803 | tr5.Enabled = true | |
| 5804 | tr6.Enabled = true | |
| 5805 | tl1.Enabled = true | |
| 5806 | tl2.Enabled = true | |
| 5807 | tl3.Enabled = true | |
| 5808 | tl4.Enabled = true | |
| 5809 | tl5.Enabled = true | |
| 5810 | tl6.Enabled = true | |
| 5811 | RecolorTextAndRename("Divine Purity",Color3.new(1,1,1),Color3.new(0,1,1))
| |
| 5812 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5813 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5814 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5815 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5816 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5817 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5818 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5819 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5820 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5821 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5822 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5823 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5824 | for i, v in pairs(mw2:GetChildren()) do | |
| 5825 | if v:IsA("Part") then
| |
| 5826 | v.BrickColor = MAINRUINCOLOR | |
| 5827 | v.Material = "Neon" | |
| 5828 | end | |
| 5829 | end | |
| 5830 | for i, v in pairs(mw1:GetChildren()) do | |
| 5831 | if v:IsA("Part") then
| |
| 5832 | v.Transparency = 0 | |
| 5833 | v.BrickColor = MAINRUINCOLOR | |
| 5834 | v.Material = "Neon" | |
| 5835 | end | |
| 5836 | end | |
| 5837 | for i, v in pairs(m:GetChildren()) do | |
| 5838 | if v:IsA("Part") then
| |
| 5839 | v.BrickColor = MAINRUINCOLOR | |
| 5840 | v.Material = "Neon" | |
| 5841 | end | |
| 5842 | end | |
| 5843 | for i, v in pairs(m2:GetChildren()) do | |
| 5844 | if v:IsA("Part") then
| |
| 5845 | v.BrickColor = MAINRUINCOLOR | |
| 5846 | v.Material = "Neon" | |
| 5847 | end | |
| 5848 | end | |
| 5849 | for i, v in pairs(m3:GetChildren()) do | |
| 5850 | if v:IsA("Part") then
| |
| 5851 | v.BrickColor = MAINRUINCOLOR | |
| 5852 | v.Material = "Neon" | |
| 5853 | end | |
| 5854 | end | |
| 5855 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5856 | if v:IsA("Part") then
| |
| 5857 | v.Transparency = 0 | |
| 5858 | v.BrickColor = MAINRUINCOLOR | |
| 5859 | v.Material = "Neon" | |
| 5860 | end | |
| 5861 | end | |
| 5862 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5863 | if v:IsA("Part") then
| |
| 5864 | v.Transparency = 0 | |
| 5865 | v.BrickColor = MAINRUINCOLOR | |
| 5866 | v.Material = "Neon" | |
| 5867 | end | |
| 5868 | attack = false | |
| 5869 | end | |
| 5870 | elseif k == "b" and attack == false and ModeOfGlitch == 777 then | |
| 5871 | resetmode() | |
| 5872 | end | |
| 5873 | if k == "e" and attack == false and ModeOfGlitch ~= 3 then | |
| 5874 | ModeOfGlitch = 3 | |
| 5875 | storehumanoidWS = 16 | |
| 5876 | hum.WalkSpeed = 16 | |
| 5877 | rainbowmode = false | |
| 5878 | chaosmode = false | |
| 5879 | trailall(false) | |
| 5880 | tr(true) | |
| 5881 | tr4.Enabled = false | |
| 5882 | tr5.Enabled = false | |
| 5883 | tr6.Enabled = false | |
| 5884 | tl(true) | |
| 5885 | tl4.Enabled = false | |
| 5886 | tl5.Enabled = false | |
| 5887 | tl6.Enabled = false | |
| 5888 | RecolorTextAndRename("Corruption",Color3.new(0,0,0),Color3.new(0.35,0,1))
| |
| 5889 | newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
| |
| 5890 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 5891 | for i, v in pairs(mw2:GetChildren()) do | |
| 5892 | if v:IsA("Part") then
| |
| 5893 | v.Transparency = 0 | |
| 5894 | v.BrickColor = MAINRUINCOLOR | |
| 5895 | v.Material = "Neon" | |
| 5896 | end | |
| 5897 | end | |
| 5898 | for i, v in pairs(mw1:GetChildren()) do | |
| 5899 | if v:IsA("Part") then
| |
| 5900 | v.Transparency = 0 | |
| 5901 | v.BrickColor = MAINRUINCOLOR | |
| 5902 | v.Material = "Neon" | |
| 5903 | end | |
| 5904 | end | |
| 5905 | for i, v in pairs(m:GetChildren()) do | |
| 5906 | if v:IsA("Part") then
| |
| 5907 | v.Transparency = 0 | |
| 5908 | v.BrickColor = BrickColor.new("Black")
| |
| 5909 | v.Material = "Ice" | |
| 5910 | end | |
| 5911 | end | |
| 5912 | for i, v in pairs(m2:GetChildren()) do | |
| 5913 | if v:IsA("Part") then
| |
| 5914 | v.Transparency = 0 | |
| 5915 | v.BrickColor = BrickColor.new("Dark indigo")
| |
| 5916 | v.Material = "Glass" | |
| 5917 | end | |
| 5918 | end | |
| 5919 | for i, v in pairs(m3:GetChildren()) do | |
| 5920 | if v:IsA("Part") then
| |
| 5921 | v.Transparency = 0 | |
| 5922 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 5923 | v.Material = "Neon" | |
| 5924 | end | |
| 5925 | end | |
| 5926 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5927 | if v:IsA("Part") then
| |
| 5928 | v.Transparency = 1 | |
| 5929 | v.BrickColor = BrickColor.new("White")
| |
| 5930 | v.Material = "Neon" | |
| 5931 | end | |
| 5932 | end | |
| 5933 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5934 | if v:IsA("Part") then
| |
| 5935 | v.Transparency = 1 | |
| 5936 | v.BrickColor = BrickColor.new("White")
| |
| 5937 | v.Material = "Neon" | |
| 5938 | end | |
| 5939 | end | |
| 5940 | elseif k == "e" and attack == false and ModeOfGlitch == 3 then | |
| 5941 | resetmode() | |
| 5942 | end | |
| 5943 | if k == "b" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 333 then | |
| 5944 | attack = true | |
| 5945 | hum.WalkSpeed = 0 | |
| 5946 | newThemeCust("rbxassetid://723652641",0,1,1)
| |
| 5947 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 5948 | for i = 0, 24, 0.1 do | |
| 5949 | swait() | |
| 5950 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
| 5951 | RH.C0=Clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
| 5952 | LH.C0=Clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
| 5953 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 5954 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 5955 | RW.C0=Clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
| 5956 | LW.C0=Clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
| 5957 | end | |
| 5958 | CameraEnshaking(1,1) | |
| 5959 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5960 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
| |
| 5961 | wait(0.000000000001) | |
| 5962 | CameraEnshaking(1,2) | |
| 5963 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 5964 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 5965 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5966 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 5967 | wait(0.000000000001) | |
| 5968 | CameraEnshaking(1,3) | |
| 5969 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 5970 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 5971 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 5972 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 5973 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5974 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
| |
| 5975 | wait(0.0000000000001) | |
| 5976 | CameraEnshaking(10,5) | |
| 5977 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 5978 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 5979 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 5980 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 5981 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
| |
| 5982 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 5983 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
| 5984 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
| 5985 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
| 5986 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 5987 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
| 5988 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
| 5989 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
| 5990 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
| 5991 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
| 5992 | for i = 0, 49 do | |
| 5993 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
| 5994 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
| 5995 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
| 5996 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
| 5997 | end | |
| 5998 | ModeOfGlitch = 333 | |
| 5999 | storehumanoidWS = 16 | |
| 6000 | hum.WalkSpeed = 16 | |
| 6001 | rainbowmode = false | |
| 6002 | chaosmode = false | |
| 6003 | trailall(true) | |
| 6004 | tl1.Enabled = true | |
| 6005 | tl2.Enabled = true | |
| 6006 | tl3.Enabled = true | |
| 6007 | RecolorTextAndRename("ERROR RIPPER",Color3.new(0,0,0),Color3.new(0.35,0,1))
| |
| 6008 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6009 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6010 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6011 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6012 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6013 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6014 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6015 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6016 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6017 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6018 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6019 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6020 | for i, v in pairs(mw2:GetChildren()) do | |
| 6021 | if v:IsA("Part") then
| |
| 6022 | v.Transparency = 0 | |
| 6023 | v.BrickColor = MAINRUINCOLOR | |
| 6024 | v.Material = "Neon" | |
| 6025 | end | |
| 6026 | end | |
| 6027 | for i, v in pairs(mw1:GetChildren()) do | |
| 6028 | if v:IsA("Part") then
| |
| 6029 | v.Transparency = 0 | |
| 6030 | v.BrickColor = MAINRUINCOLOR | |
| 6031 | v.Material = "Neon" | |
| 6032 | end | |
| 6033 | end | |
| 6034 | for i, v in pairs(m:GetChildren()) do | |
| 6035 | if v:IsA("Part") then
| |
| 6036 | v.Transparency = 0 | |
| 6037 | v.BrickColor = MAINRUINCOLOR | |
| 6038 | v.Material = "Neon" | |
| 6039 | end | |
| 6040 | end | |
| 6041 | for i, v in pairs(m2:GetChildren()) do | |
| 6042 | if v:IsA("Part") then
| |
| 6043 | v.Transparency = 0 | |
| 6044 | v.BrickColor = MAINRUINCOLOR | |
| 6045 | v.Material = "Neon" | |
| 6046 | end | |
| 6047 | end | |
| 6048 | for i, v in pairs(m3:GetChildren()) do | |
| 6049 | if v:IsA("Part") then
| |
| 6050 | v.Transparency = 0 | |
| 6051 | v.BrickColor = MAINRUINCOLOR | |
| 6052 | v.Material = "Neon" | |
| 6053 | end | |
| 6054 | end | |
| 6055 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6056 | if v:IsA("Part") then
| |
| 6057 | v.Transparency = 0 | |
| 6058 | v.BrickColor = MAINRUINCOLOR | |
| 6059 | v.Material = "Neon" | |
| 6060 | end | |
| 6061 | end | |
| 6062 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6063 | if v:IsA("Part") then
| |
| 6064 | v.Transparency = 0 | |
| 6065 | v.BrickColor = MAINRUINCOLOR | |
| 6066 | v.Material = "Neon" | |
| 6067 | end | |
| 6068 | attack = false | |
| 6069 | end | |
| 6070 | elseif k == "b" and attack == false and ModeOfGlitch ==333 then | |
| 6071 | resetmode() | |
| 6072 | end | |
| 6073 | if k == "r" and attack == false and ModeOfGlitch ~= 4 then | |
| 6074 | ModeOfGlitch = 4 | |
| 6075 | storehumanoidWS = 16 | |
| 6076 | hum.WalkSpeed = 16 | |
| 6077 | rainbowmode = false | |
| 6078 | chaosmode = true | |
| 6079 | trailall(false) | |
| 6080 | tr(true) | |
| 6081 | tr4.Enabled = false | |
| 6082 | tr5.Enabled = false | |
| 6083 | tr6.Enabled = false | |
| 6084 | tl(true) | |
| 6085 | tl4.Enabled = false | |
| 6086 | tl5.Enabled = false | |
| 6087 | tl6.Enabled = false | |
| 6088 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6089 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6090 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6091 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6092 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6093 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6094 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6095 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6096 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6097 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6098 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6099 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6100 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
| |
| 6101 | newTheme("rbxassetid://1369263130",0,1,1)MAINRUINCOLOR = BrickColor.new("Black")
| |
| 6102 | for i, v in pairs(mw2:GetChildren()) do | |
| 6103 | if v:IsA("Part") then
| |
| 6104 | v.Transparency = 0.75 | |
| 6105 | v.BrickColor = MAINRUINCOLOR | |
| 6106 | v.Material = "Neon" | |
| 6107 | end | |
| 6108 | end | |
| 6109 | for i, v in pairs(mw1:GetChildren()) do | |
| 6110 | if v:IsA("Part") then
| |
| 6111 | v.Transparency = 0.75 | |
| 6112 | v.BrickColor = BrickColor.random() | |
| 6113 | v.Material = "Neon" | |
| 6114 | end | |
| 6115 | end | |
| 6116 | for i, v in pairs(m:GetChildren()) do | |
| 6117 | if v:IsA("Part") then
| |
| 6118 | v.BrickColor = BrickColor.random() | |
| 6119 | v.Material = "Neon" | |
| 6120 | end | |
| 6121 | end | |
| 6122 | for i, v in pairs(m2:GetChildren()) do | |
| 6123 | if v:IsA("Part") then
| |
| 6124 | v.Transparency = 0.75 | |
| 6125 | v.BrickColor = BrickColor.random() | |
| 6126 | v.Material = "Neon" | |
| 6127 | end | |
| 6128 | end | |
| 6129 | for i, v in pairs(m3:GetChildren()) do | |
| 6130 | if v:IsA("Part") then
| |
| 6131 | v.Transparency = 0.75 | |
| 6132 | v.BrickColor = BrickColor.random() | |
| 6133 | v.Material = "Neon" | |
| 6134 | end | |
| 6135 | end | |
| 6136 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6137 | if v:IsA("Part") then
| |
| 6138 | v.Transparency = 1 | |
| 6139 | v.BrickColor = BrickColor.new("White")
| |
| 6140 | v.Material = "Neon" | |
| 6141 | end | |
| 6142 | end | |
| 6143 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6144 | if v:IsA("Part") then
| |
| 6145 | v.Transparency = 1 | |
| 6146 | v.BrickColor = BrickColor.new("White")
| |
| 6147 | v.Material = "Neon" | |
| 6148 | end | |
| 6149 | end | |
| 6150 | elseif k == "r" and attack == false and ModeOfGlitch == 4 then | |
| 6151 | resetmode() | |
| 6152 | end | |
| 6153 | if k == "t" and attack == false and ModeOfGlitch ~= 5 then | |
| 6154 | ModeOfGlitch = 5 | |
| 6155 | storehumanoidWS = 16 | |
| 6156 | hum.WalkSpeed = 16 | |
| 6157 | rainbowmode = false | |
| 6158 | chaosmode = false | |
| 6159 | tr(true) | |
| 6160 | tr4.Enabled = false | |
| 6161 | tr5.Enabled = false | |
| 6162 | tr6.Enabled = false | |
| 6163 | tl(true) | |
| 6164 | tl4.Enabled = false | |
| 6165 | tl5.Enabled = false | |
| 6166 | tl6.Enabled = false | |
| 6167 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6168 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6169 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6170 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6171 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6172 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6173 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6174 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6175 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6176 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6177 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6178 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6179 | RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
| |
| 6180 | newTheme("rbxassetid://196678198",0,1.02,1)
| |
| 6181 | MAINRUINCOLOR = BrickColor.new("Bright yellow")
| |
| 6182 | for i, v in pairs(mw2:GetChildren()) do | |
| 6183 | if v:IsA("Part") then
| |
| 6184 | v.BrickColor = MAINRUINCOLOR | |
| 6185 | v.Material = "Neon" | |
| 6186 | end | |
| 6187 | end | |
| 6188 | for i, v in pairs(mw1:GetChildren()) do | |
| 6189 | if v:IsA("Part") then
| |
| 6190 | v.Transparency = 0 | |
| 6191 | v.BrickColor = MAINRUINCOLOR | |
| 6192 | v.Material = "Neon" | |
| 6193 | end | |
| 6194 | end | |
| 6195 | for i, v in pairs(m:GetChildren()) do | |
| 6196 | if v:IsA("Part") then
| |
| 6197 | v.BrickColor = BrickColor.new("Cool yellow")
| |
| 6198 | v.Material = "Ice" | |
| 6199 | end | |
| 6200 | end | |
| 6201 | for i, v in pairs(m2:GetChildren()) do | |
| 6202 | if v:IsA("Part") then
| |
| 6203 | v.BrickColor = BrickColor.new("Bright yellow")
| |
| 6204 | v.Material = "Ice" | |
| 6205 | end | |
| 6206 | end | |
| 6207 | for i, v in pairs(m3:GetChildren()) do | |
| 6208 | if v:IsA("Part") then
| |
| 6209 | v.BrickColor = BrickColor.new("Bright yellow")
| |
| 6210 | v.Material = "Neon" | |
| 6211 | end | |
| 6212 | end | |
| 6213 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6214 | if v:IsA("Part") then
| |
| 6215 | v.Transparency = 1 | |
| 6216 | v.BrickColor = BrickColor.new("White")
| |
| 6217 | v.Material = "Neon" | |
| 6218 | end | |
| 6219 | end | |
| 6220 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6221 | if v:IsA("Part") then
| |
| 6222 | v.Transparency = 1 | |
| 6223 | v.BrickColor = BrickColor.new("White")
| |
| 6224 | v.Material = "Neon" | |
| 6225 | end | |
| 6226 | end | |
| 6227 | elseif k == "t" and attack == false and ModeOfGlitch == 5 then | |
| 6228 | resetmode() | |
| 6229 | end | |
| 6230 | if k == "y" and attack == false and ModeOfGlitch ~= 6 then | |
| 6231 | ModeOfGlitch = 6 | |
| 6232 | storehumanoidWS = 75 | |
| 6233 | hum.WalkSpeed = 75 | |
| 6234 | rainbowmode = false | |
| 6235 | chaosmode = false | |
| 6236 | tr(true) | |
| 6237 | tr4.Enabled = false | |
| 6238 | tr5.Enabled = false | |
| 6239 | tr6.Enabled = false | |
| 6240 | tl(true) | |
| 6241 | tl4.Enabled = false | |
| 6242 | tl5.Enabled = false | |
| 6243 | tl6.Enabled = false | |
| 6244 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6245 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6246 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6247 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6248 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6249 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6250 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6251 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6252 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6253 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6254 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6255 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6256 | RecolorTextAndRename("Equinox",Color3.new(0,0,0),Color3.new(1,1,1))
| |
| 6257 | newTheme("rbxassetid://395351949",0,1,1)
| |
| 6258 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 6259 | for i, v in pairs(mw2:GetChildren()) do | |
| 6260 | if v:IsA("Part") then
| |
| 6261 | v.Transparency = 0 | |
| 6262 | v.BrickColor = MAINRUINCOLOR | |
| 6263 | v.Material = "Neon" | |
| 6264 | end | |
| 6265 | end | |
| 6266 | for i, v in pairs(mw1:GetChildren()) do | |
| 6267 | if v:IsA("Part") then
| |
| 6268 | v.Transparency = 0 | |
| 6269 | v.BrickColor = MAINRUINCOLOR | |
| 6270 | v.Material = "Neon" | |
| 6271 | end | |
| 6272 | end | |
| 6273 | for i, v in pairs(m:GetChildren()) do | |
| 6274 | if v:IsA("Part") then
| |
| 6275 | v.Transparency = 0 | |
| 6276 | v.BrickColor = BrickColor.new("White")
| |
| 6277 | v.Material = "Ice" | |
| 6278 | end | |
| 6279 | end | |
| 6280 | for i, v in pairs(m2:GetChildren()) do | |
| 6281 | if v:IsA("Part") then
| |
| 6282 | v.Transparency = 0 | |
| 6283 | v.BrickColor = BrickColor.new("Really black")
| |
| 6284 | v.Material = "Ice" | |
| 6285 | end | |
| 6286 | end | |
| 6287 | for i, v in pairs(m3:GetChildren()) do | |
| 6288 | if v:IsA("Part") then
| |
| 6289 | v.Transparency = 0 | |
| 6290 | v.BrickColor = BrickColor.new("White")
| |
| 6291 | v.Material = "Neon" | |
| 6292 | end | |
| 6293 | end | |
| 6294 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6295 | if v:IsA("Part") then
| |
| 6296 | v.Transparency = 1 | |
| 6297 | v.BrickColor = BrickColor.new("White")
| |
| 6298 | v.Material = "Neon" | |
| 6299 | end | |
| 6300 | end | |
| 6301 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6302 | if v:IsA("Part") then
| |
| 6303 | v.Transparency = 1 | |
| 6304 | v.BrickColor = BrickColor.new("White")
| |
| 6305 | v.Material = "Neon" | |
| 6306 | end | |
| 6307 | end | |
| 6308 | elseif k == "y" and attack == false and ModeOfGlitch == 6 then | |
| 6309 | resetmode() | |
| 6310 | end | |
| 6311 | if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then | |
| 6312 | ModeOfGlitch = 6127843 | |
| 6313 | storehumanoidWS = 50 | |
| 6314 | hum.WalkSpeed = 50 | |
| 6315 | rainbowmode = true | |
| 6316 | chaosmode = false | |
| 6317 | tr(true) | |
| 6318 | tr4.Enabled = false | |
| 6319 | tr5.Enabled = false | |
| 6320 | tr6.Enabled = false | |
| 6321 | tl(true) | |
| 6322 | tl4.Enabled = false | |
| 6323 | tl5.Enabled = false | |
| 6324 | tl6.Enabled = false | |
| 6325 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6326 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6327 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6328 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6329 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6330 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6331 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6332 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6333 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6334 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6335 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6336 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6337 | RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
| |
| 6338 | newTheme("rbxassetid://147930134",0,1,1)
| |
| 6339 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 6340 | for i, v in pairs(mw2:GetChildren()) do | |
| 6341 | if v:IsA("Part") then
| |
| 6342 | v.Transparency = 0 | |
| 6343 | v.BrickColor = MAINRUINCOLOR | |
| 6344 | v.Material = "Neon" | |
| 6345 | end | |
| 6346 | end | |
| 6347 | for i, v in pairs(mw1:GetChildren()) do | |
| 6348 | if v:IsA("Part") then
| |
| 6349 | v.Transparency = 0 | |
| 6350 | v.BrickColor = MAINRUINCOLOR | |
| 6351 | v.Material = "Neon" | |
| 6352 | end | |
| 6353 | end | |
| 6354 | for i, v in pairs(m:GetChildren()) do | |
| 6355 | if v:IsA("Part") then
| |
| 6356 | v.Transparency = 0 | |
| 6357 | v.BrickColor = BrickColor.new("White")
| |
| 6358 | v.Material = "Neon" | |
| 6359 | end | |
| 6360 | end | |
| 6361 | for i, v in pairs(m2:GetChildren()) do | |
| 6362 | if v:IsA("Part") then
| |
| 6363 | v.Transparency = 0 | |
| 6364 | v.BrickColor = BrickColor.new("White")
| |
| 6365 | v.Material = "Neon" | |
| 6366 | end | |
| 6367 | end | |
| 6368 | for i, v in pairs(m3:GetChildren()) do | |
| 6369 | if v:IsA("Part") then
| |
| 6370 | v.Transparency = 0 | |
| 6371 | v.BrickColor = BrickColor.new("White")
| |
| 6372 | v.Material = "Neon" | |
| 6373 | end | |
| 6374 | end | |
| 6375 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6376 | if v:IsA("Part") then
| |
| 6377 | v.Transparency = 1 | |
| 6378 | v.BrickColor = BrickColor.new("White")
| |
| 6379 | v.Material = "Neon" | |
| 6380 | end | |
| 6381 | end | |
| 6382 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6383 | if v:IsA("Part") then
| |
| 6384 | v.Transparency = 1 | |
| 6385 | v.BrickColor = BrickColor.new("White")
| |
| 6386 | v.Material = "Neon" | |
| 6387 | end | |
| 6388 | end | |
| 6389 | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then | |
| 6390 | resetmode() | |
| 6391 | end | |
| 6392 | if k == "h" and attack == false and ModeOfGlitch ~= 18022547 then | |
| 6393 | ModeOfGlitch = 18022547 | |
| 6394 | storehumanoidWS = 50 | |
| 6395 | hum.WalkSpeed = 50 | |
| 6396 | rainbowmode = false | |
| 6397 | chaosmode = false | |
| 6398 | tr(true) | |
| 6399 | tr4.Enabled = false | |
| 6400 | tr5.Enabled = false | |
| 6401 | tr6.Enabled = false | |
| 6402 | tl(true) | |
| 6403 | tl4.Enabled = false | |
| 6404 | tl5.Enabled = false | |
| 6405 | tl6.Enabled = false | |
| 6406 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6407 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6408 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6409 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6410 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6411 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6412 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6413 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6414 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6415 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6416 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6417 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6418 | RecolorTextAndRename("LOVE",Color3.new(1,1,1),Color3.new(1,1,1))
| |
| 6419 | newTheme("rbxassetid://147930134",0,1,1)
| |
| 6420 | MAINRUINCOLOR = BrickColor.new("Pink")
| |
| 6421 | for i, v in pairs(mw2:GetChildren()) do | |
| 6422 | if v:IsA("Part") then
| |
| 6423 | v.Transparency = 0 | |
| 6424 | v.BrickColor = MAINRUINCOLOR | |
| 6425 | v.Material = "Neon" | |
| 6426 | end | |
| 6427 | end | |
| 6428 | for i, v in pairs(mw1:GetChildren()) do | |
| 6429 | if v:IsA("Part") then
| |
| 6430 | v.Transparency = 0 | |
| 6431 | v.BrickColor = MAINRUINCOLOR | |
| 6432 | v.Material = "Neon" | |
| 6433 | end | |
| 6434 | end | |
| 6435 | for i, v in pairs(m:GetChildren()) do | |
| 6436 | if v:IsA("Part") then
| |
| 6437 | v.Transparency = 0 | |
| 6438 | v.BrickColor = MAINRUINCOLOR | |
| 6439 | v.Material = "Neon" | |
| 6440 | end | |
| 6441 | end | |
| 6442 | for i, v in pairs(m2:GetChildren()) do | |
| 6443 | if v:IsA("Part") then
| |
| 6444 | v.Transparency = 0 | |
| 6445 | v.BrickColor = MAINRUINCOLOR | |
| 6446 | v.Material = "Neon" | |
| 6447 | end | |
| 6448 | end | |
| 6449 | for i, v in pairs(m3:GetChildren()) do | |
| 6450 | if v:IsA("Part") then
| |
| 6451 | v.Transparency = 0 | |
| 6452 | v.BrickColor = MAINRUINCOLOR | |
| 6453 | v.Material = "Neon" | |
| 6454 | end | |
| 6455 | end | |
| 6456 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6457 | if v:IsA("Part") then
| |
| 6458 | v.Transparency = 1 | |
| 6459 | v.BrickColor = MAINRUINCOLOR | |
| 6460 | v.Material = "Neon" | |
| 6461 | end | |
| 6462 | end | |
| 6463 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6464 | if v:IsA("Part") then
| |
| 6465 | v.Transparency = 1 | |
| 6466 | v.BrickColor = MAINRUINCOLOR | |
| 6467 | v.Material = "Neon" | |
| 6468 | end | |
| 6469 | end | |
| 6470 | elseif k == "h" and attack == false and ModeOfGlitch == 18022547 then | |
| 6471 | resetmode() | |
| 6472 | end | |
| 6473 | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then | |
| 6474 | ModeOfGlitch = 1000000 | |
| 6475 | storehumanoidWS = 100 | |
| 6476 | hum.WalkSpeed = 100 | |
| 6477 | rainbowmode = false | |
| 6478 | chaosmode = false | |
| 6479 | trailall(true) | |
| 6480 | tl1.Enabled = true | |
| 6481 | tl2.Enabled = true | |
| 6482 | tl3.Enabled = true | |
| 6483 | tl4.Enabled = true | |
| 6484 | tl5.Enabled = true | |
| 6485 | tl6.Enabled = true | |
| 6486 | RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
| |
| 6487 | newTheme("rbxassetid://1359036559",0,1,1)
| |
| 6488 | MAINRUINCOLOR = BrickColor.new("Bright violet")
| |
| 6489 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6490 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6491 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6492 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6493 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6494 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6495 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6496 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6497 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6498 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6499 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6500 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6501 | for i, v in pairs(mw2:GetChildren()) do | |
| 6502 | if v:IsA("Part") then
| |
| 6503 | v.BrickColor = MAINRUINCOLOR | |
| 6504 | v.Material = "Neon" | |
| 6505 | end | |
| 6506 | end | |
| 6507 | for i, v in pairs(mw1:GetChildren()) do | |
| 6508 | if v:IsA("Part") then
| |
| 6509 | v.Transparency = 0 | |
| 6510 | v.BrickColor = MAINRUINCOLOR | |
| 6511 | v.Material = "Neon" | |
| 6512 | end | |
| 6513 | end | |
| 6514 | for i, v in pairs(m:GetChildren()) do | |
| 6515 | if v:IsA("Part") then
| |
| 6516 | v.Color = Color3.new(0.5,0,1) | |
| 6517 | v.Material = "Neon" | |
| 6518 | end | |
| 6519 | end | |
| 6520 | for i, v in pairs(m2:GetChildren()) do | |
| 6521 | if v:IsA("Part") then
| |
| 6522 | v.Color = Color3.new(0.25,0,1) | |
| 6523 | v.Material = "Neon" | |
| 6524 | end | |
| 6525 | end | |
| 6526 | for i, v in pairs(m3:GetChildren()) do | |
| 6527 | if v:IsA("Part") then
| |
| 6528 | v.Color = Color3.new(0.45,0,1) | |
| 6529 | v.Material = "Neon" | |
| 6530 | end | |
| 6531 | end | |
| 6532 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6533 | if v:IsA("Part") then
| |
| 6534 | v.Transparency = 0.75 | |
| 6535 | v.Color = Color3.new(0.25,0,1) | |
| 6536 | v.Material = "Neon" | |
| 6537 | end | |
| 6538 | end | |
| 6539 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6540 | if v:IsA("Part") then
| |
| 6541 | v.Transparency = 0.75 | |
| 6542 | v.Color = Color3.new(0.5,0,1) | |
| 6543 | v.Material = "Neon" | |
| 6544 | end | |
| 6545 | end | |
| 6546 | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then | |
| 6547 | resetmode() | |
| 6548 | end | |
| 6549 | if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then | |
| 6550 | newThemeCust("rbxassetid://1504604335",0,1,1)
| |
| 6551 | attack = true | |
| 6552 | hum.WalkSpeed = 0 | |
| 6553 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 6554 | for i = 0, 24, 0.1 do | |
| 6555 | swait() | |
| 6556 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
| 6557 | RH.C0=Clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
| 6558 | LH.C0=Clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
| 6559 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 6560 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6561 | RW.C0=Clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
| 6562 | LW.C0=Clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
| 6563 | end | |
| 6564 | CameraEnshaking(1,1) | |
| 6565 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6566 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
| |
| 6567 | wait(0.000000000001) | |
| 6568 | CameraEnshaking(1,2) | |
| 6569 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6570 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6571 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6572 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 6573 | wait(0.000000000001) | |
| 6574 | CameraEnshaking(1,3) | |
| 6575 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 6576 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6577 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6578 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6579 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6580 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
| |
| 6581 | wait(0.0000000000001) | |
| 6582 | CameraEnshaking(10,5) | |
| 6583 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 6584 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 6585 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 6586 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 6587 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
| |
| 6588 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 6589 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
| 6590 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
| 6591 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
| 6592 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6593 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
| 6594 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
| 6595 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
| 6596 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
| 6597 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
| 6598 | for i = 0, 49 do | |
| 6599 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
| 6600 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
| 6601 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
| 6602 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
| 6603 | end | |
| 6604 | ModeOfGlitch = 12345678987654321 | |
| 6605 | storehumanoidWS = 200 | |
| 6606 | hum.WalkSpeed = 200 | |
| 6607 | rainbowmode = false | |
| 6608 | chaosmode = false | |
| 6609 | trailall(true) | |
| 6610 | tl1.Enabled = true | |
| 6611 | tl2.Enabled = true | |
| 6612 | tl3.Enabled = true | |
| 6613 | RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
| |
| 6614 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6615 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6616 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6617 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6618 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6619 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6620 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6621 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6622 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6623 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6624 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6625 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6626 | for i, v in pairs(mw2:GetChildren()) do | |
| 6627 | if v:IsA("Part") then
| |
| 6628 | v.Transparency = 0 | |
| 6629 | v.BrickColor = MAINRUINCOLOR | |
| 6630 | v.Material = "Neon" | |
| 6631 | end | |
| 6632 | end | |
| 6633 | for i, v in pairs(mw1:GetChildren()) do | |
| 6634 | if v:IsA("Part") then
| |
| 6635 | v.Transparency = 0 | |
| 6636 | v.BrickColor = MAINRUINCOLOR | |
| 6637 | v.Material = "Neon" | |
| 6638 | end | |
| 6639 | end | |
| 6640 | for i, v in pairs(m:GetChildren()) do | |
| 6641 | if v:IsA("Part") then
| |
| 6642 | v.Transparency = 0 | |
| 6643 | v.Color = Color3.new(0.5,0,1) | |
| 6644 | v.Material = "Neon" | |
| 6645 | end | |
| 6646 | end | |
| 6647 | for i, v in pairs(m2:GetChildren()) do | |
| 6648 | if v:IsA("Part") then
| |
| 6649 | v.Transparency = 0 | |
| 6650 | v.Color = Color3.new(0.5,0,1) | |
| 6651 | v.Material = "Neon" | |
| 6652 | end | |
| 6653 | end | |
| 6654 | for i, v in pairs(m3:GetChildren()) do | |
| 6655 | if v:IsA("Part") then
| |
| 6656 | v.Transparency = 0 | |
| 6657 | v.Color = Color3.new(0.5,0,1) | |
| 6658 | v.Material = "Neon" | |
| 6659 | end | |
| 6660 | end | |
| 6661 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6662 | if v:IsA("Part") then
| |
| 6663 | v.Transparency = 0 | |
| 6664 | v.Color = Color3.new(0.5,0,1) | |
| 6665 | v.Material = "Neon" | |
| 6666 | end | |
| 6667 | end | |
| 6668 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6669 | if v:IsA("Part") then
| |
| 6670 | v.Transparency = 0 | |
| 6671 | v.Color = Color3.new(0.5,0,1) | |
| 6672 | v.Material = "Neon" | |
| 6673 | end | |
| 6674 | attack = false | |
| 6675 | end | |
| 6676 | elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then | |
| 6677 | resetmode() | |
| 6678 | end | |
| 6679 | if k == "b" and attack == false and ModeOfGlitch == 12345678987654321 and ModeOfGlitch ~= 12345678987654322 then | |
| 6680 | newThemeCust("rbxassetid://247971190",0,1,1)
| |
| 6681 | attack = true | |
| 6682 | hum.WalkSpeed = 0 | |
| 6683 | MAINRUINCOLOR = BrickColor.new("Alder")
| |
| 6684 | for i = 0, 24, 0.1 do | |
| 6685 | swait() | |
| 6686 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
| 6687 | RH.C0=Clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
| 6688 | LH.C0=Clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
| 6689 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 6690 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6691 | RW.C0=Clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
| 6692 | LW.C0=Clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
| 6693 | end | |
| 6694 | CameraEnshaking(1,1) | |
| 6695 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6696 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
| |
| 6697 | wait(0.000000000001) | |
| 6698 | CameraEnshaking(1,2) | |
| 6699 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6700 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6701 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6702 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 6703 | wait(0.000000000001) | |
| 6704 | CameraEnshaking(1,3) | |
| 6705 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 6706 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6707 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6708 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6709 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6710 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
| |
| 6711 | wait(0.0000000000001) | |
| 6712 | CameraEnshaking(10,5) | |
| 6713 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 6714 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 6715 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 6716 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 6717 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
| |
| 6718 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 6719 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
| 6720 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
| 6721 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
| 6722 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6723 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
| 6724 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
| 6725 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
| 6726 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
| 6727 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
| 6728 | for i = 0, 49 do | |
| 6729 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
| 6730 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
| 6731 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
| 6732 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
| 6733 | end | |
| 6734 | ModeOfGlitch = 12345678987654322 | |
| 6735 | storehumanoidWS = 16 | |
| 6736 | hum.WalkSpeed = 16 | |
| 6737 | rainbowmode = false | |
| 6738 | chaosmode = false | |
| 6739 | trailall(true) | |
| 6740 | tl1.Enabled = true | |
| 6741 | tl2.Enabled = true | |
| 6742 | tl3.Enabled = true | |
| 6743 | RecolorTextAndRename("Divine Universe",Color3.new(1,0,1),Color3.new(0.75,0,0.75))
| |
| 6744 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6745 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6746 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6747 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6748 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6749 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6750 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6751 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6752 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6753 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6754 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6755 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6756 | for i, v in pairs(mw2:GetChildren()) do | |
| 6757 | if v:IsA("Part") then
| |
| 6758 | v.Transparency = 0 | |
| 6759 | v.BrickColor = MAINRUINCOLOR | |
| 6760 | v.Material = "Neon" | |
| 6761 | end | |
| 6762 | end | |
| 6763 | for i, v in pairs(mw1:GetChildren()) do | |
| 6764 | if v:IsA("Part") then
| |
| 6765 | v.Transparency = 0 | |
| 6766 | v.BrickColor = MAINRUINCOLOR | |
| 6767 | v.Material = "Neon" | |
| 6768 | end | |
| 6769 | end | |
| 6770 | for i, v in pairs(m:GetChildren()) do | |
| 6771 | if v:IsA("Part") then
| |
| 6772 | v.Transparency = 0 | |
| 6773 | v.BrickColor = MAINRUINCOLOR | |
| 6774 | v.Material = "Neon" | |
| 6775 | end | |
| 6776 | end | |
| 6777 | for i, v in pairs(m2:GetChildren()) do | |
| 6778 | if v:IsA("Part") then
| |
| 6779 | v.Transparency = 0 | |
| 6780 | v.BrickColor = MAINRUINCOLOR | |
| 6781 | v.Material = "Neon" | |
| 6782 | end | |
| 6783 | end | |
| 6784 | for i, v in pairs(m3:GetChildren()) do | |
| 6785 | if v:IsA("Part") then
| |
| 6786 | v.Transparency = 0 | |
| 6787 | v.BrickColor = MAINRUINCOLOR | |
| 6788 | v.Material = "Neon" | |
| 6789 | end | |
| 6790 | end | |
| 6791 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6792 | if v:IsA("Part") then
| |
| 6793 | v.Transparency = 0 | |
| 6794 | v.BrickColor = MAINRUINCOLOR | |
| 6795 | v.Material = "Neon" | |
| 6796 | end | |
| 6797 | end | |
| 6798 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6799 | if v:IsA("Part") then
| |
| 6800 | v.Transparency = 0 | |
| 6801 | v.BrickColor = MAINRUINCOLOR | |
| 6802 | v.Material = "Neon" | |
| 6803 | end | |
| 6804 | attack = false | |
| 6805 | end | |
| 6806 | elseif k == "b" and attack == false and ModeOfGlitch == 12345678987654322 then | |
| 6807 | resetmode() | |
| 6808 | end | |
| 6809 | if k == "f" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 727 then | |
| 6810 | newThemeCust("rbxassetid://143892575",0,1,1)
| |
| 6811 | attack = true | |
| 6812 | hum.WalkSpeed = 0 | |
| 6813 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 6814 | for i = 0, 24, 0.1 do | |
| 6815 | swait() | |
| 6816 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
| 6817 | RH.C0=Clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
| 6818 | LH.C0=Clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
| 6819 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 6820 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6821 | RW.C0=Clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
| 6822 | LW.C0=Clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
| 6823 | end | |
| 6824 | CameraEnshaking(1,1) | |
| 6825 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6826 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
| |
| 6827 | wait(0.000000000001) | |
| 6828 | CameraEnshaking(1,2) | |
| 6829 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6830 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6831 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6832 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 6833 | wait(0.000000000001) | |
| 6834 | CameraEnshaking(1,3) | |
| 6835 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 6836 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6837 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6838 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6839 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6840 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
| |
| 6841 | wait(0.0000000000001) | |
| 6842 | CameraEnshaking(10,5) | |
| 6843 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 6844 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 6845 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 6846 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 6847 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
| |
| 6848 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 6849 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
| 6850 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
| 6851 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
| 6852 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6853 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
| 6854 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
| 6855 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
| 6856 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
| 6857 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
| 6858 | for i = 0, 49 do | |
| 6859 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
| 6860 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
| 6861 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
| 6862 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
| 6863 | end | |
| 6864 | ModeOfGlitch = 727 | |
| 6865 | storehumanoidWS = 200 | |
| 6866 | hum.WalkSpeed = 200 | |
| 6867 | rainbowmode = false | |
| 6868 | chaosmode = false | |
| 6869 | tl1.Enabled = true | |
| 6870 | tl2.Enabled = true | |
| 6871 | tl3.Enabled = true | |
| 6872 | RecolorTextAndRename("Distortion",Color3.new(0.5,0.5,0.5),Color3.new(0.75,0.75,0.75))
| |
| 6873 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6874 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6875 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6876 | for i, v in pairs(mw2:GetChildren()) do | |
| 6877 | if v:IsA("Part") then
| |
| 6878 | v.Transparency = 0 | |
| 6879 | v.BrickColor = MAINRUINCOLOR | |
| 6880 | v.Material = "Neon" | |
| 6881 | end | |
| 6882 | end | |
| 6883 | for i, v in pairs(mw1:GetChildren()) do | |
| 6884 | if v:IsA("Part") then
| |
| 6885 | v.Transparency = 0 | |
| 6886 | v.BrickColor = MAINRUINCOLOR | |
| 6887 | v.Material = "Neon" | |
| 6888 | end | |
| 6889 | end | |
| 6890 | for i, v in pairs(m:GetChildren()) do | |
| 6891 | if v:IsA("Part") then
| |
| 6892 | v.Transparency = 0 | |
| 6893 | v.Color = Color3.new(0.5,0.5,0.5) | |
| 6894 | v.Material = "Neon" | |
| 6895 | end | |
| 6896 | end | |
| 6897 | for i, v in pairs(m2:GetChildren()) do | |
| 6898 | if v:IsA("Part") then
| |
| 6899 | v.Transparency = 0 | |
| 6900 | v.Color = Color3.new(0.5,0.5,0.5) | |
| 6901 | v.Material = "Neon" | |
| 6902 | end | |
| 6903 | end | |
| 6904 | for i, v in pairs(m3:GetChildren()) do | |
| 6905 | if v:IsA("Part") then
| |
| 6906 | v.Transparency = 0 | |
| 6907 | v.Color = Color3.new(0.5,0.5,0.5) | |
| 6908 | v.Material = "Neon" | |
| 6909 | end | |
| 6910 | end | |
| 6911 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6912 | if v:IsA("Part") then
| |
| 6913 | v.Transparency = 0 | |
| 6914 | v.Color = Color3.new(0.5,0.5,0.5) | |
| 6915 | v.Material = "Neon" | |
| 6916 | end | |
| 6917 | end | |
| 6918 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6919 | if v:IsA("Part") then
| |
| 6920 | v.Transparency = 0 | |
| 6921 | v.Color = Color3.new(0.5,0.5,0.5) | |
| 6922 | v.Material = "Neon" | |
| 6923 | end | |
| 6924 | attack = false | |
| 6925 | end | |
| 6926 | elseif k == "f" and attack == false and ModeOfGlitch == 727 then | |
| 6927 | resetmode() | |
| 6928 | end | |
| 6929 | if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 666 then | |
| 6930 | newThemeCust("rbxassetid://723652641",0,1,1)
| |
| 6931 | attack = true | |
| 6932 | hum.WalkSpeed = 0 | |
| 6933 | MAINRUINCOLOR = BrickColor.new("Crimson")
| |
| 6934 | for i = 0, 24, 0.1 do | |
| 6935 | swait() | |
| 6936 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
| 6937 | RH.C0=Clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
| 6938 | LH.C0=Clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
| 6939 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 6940 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6941 | RW.C0=Clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
| 6942 | LW.C0=Clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
| 6943 | end | |
| 6944 | CameraEnshaking(1,1) | |
| 6945 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6946 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
| |
| 6947 | wait(0.000000000001) | |
| 6948 | CameraEnshaking(1,2) | |
| 6949 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6950 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6951 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6952 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 6953 | wait(0.000000000001) | |
| 6954 | CameraEnshaking(1,3) | |
| 6955 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 6956 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6957 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6958 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6959 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6960 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
| |
| 6961 | wait(0.0000000000001) | |
| 6962 | CameraEnshaking(10,5) | |
| 6963 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 6964 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 6965 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 6966 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 6967 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
| |
| 6968 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 6969 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
| 6970 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
| 6971 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
| 6972 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6973 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
| 6974 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
| 6975 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
| 6976 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
| 6977 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
| 6978 | for i = 0, 49 do | |
| 6979 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
| 6980 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
| 6981 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
| 6982 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
| 6983 | end | |
| 6984 | ModeOfGlitch = 666 | |
| 6985 | storehumanoidWS = 16 | |
| 6986 | hum.WalkSpeed = 16 | |
| 6987 | rainbowmode = false | |
| 6988 | chaosmode = false | |
| 6989 | tl1.Enabled = true | |
| 6990 | tl2.Enabled = true | |
| 6991 | tl3.Enabled = true | |
| 6992 | RecolorTextAndRename("DeStRuCtIoN",Color3.new(1,0,0),Color3.new(0.75,0,0))
| |
| 6993 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6994 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6995 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6996 | for i, v in pairs(mw2:GetChildren()) do | |
| 6997 | if v:IsA("Part") then
| |
| 6998 | v.BrickColor = MAINRUINCOLOR | |
| 6999 | v.Material = "Neon" | |
| 7000 | end | |
| 7001 | end | |
| 7002 | for i, v in pairs(mw1:GetChildren()) do | |
| 7003 | if v:IsA("Part") then
| |
| 7004 | v.Transparency = 0 | |
| 7005 | v.BrickColor = MAINRUINCOLOR | |
| 7006 | v.Material = "Neon" | |
| 7007 | end | |
| 7008 | end | |
| 7009 | for i, v in pairs(m:GetChildren()) do | |
| 7010 | if v:IsA("Part") then
| |
| 7011 | v.Color = Color3.new(1,0,0) | |
| 7012 | v.Material = "Neon" | |
| 7013 | end | |
| 7014 | end | |
| 7015 | for i, v in pairs(m2:GetChildren()) do | |
| 7016 | if v:IsA("Part") then
| |
| 7017 | v.Color = Color3.new(1,0,0) | |
| 7018 | v.Material = "Neon" | |
| 7019 | end | |
| 7020 | end | |
| 7021 | for i, v in pairs(m3:GetChildren()) do | |
| 7022 | if v:IsA("Part") then
| |
| 7023 | v.Color = Color3.new(1,0,0) | |
| 7024 | v.Material = "Neon" | |
| 7025 | end | |
| 7026 | end | |
| 7027 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 7028 | if v:IsA("Part") then
| |
| 7029 | v.Transparency = 0 | |
| 7030 | v.Color = Color3.new(1,0,0) | |
| 7031 | v.Material = "Neon" | |
| 7032 | end | |
| 7033 | end | |
| 7034 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 7035 | if v:IsA("Part") then
| |
| 7036 | v.Transparency = 0 | |
| 7037 | v.Color = Color3.new(1,0,0) | |
| 7038 | v.Material = "Neon" | |
| 7039 | end | |
| 7040 | attack = false | |
| 7041 | end | |
| 7042 | elseif k == "b" and attack == false and ModeOfGlitch == 666 then | |
| 7043 | resetmode() | |
| 7044 | end | |
| 7045 | if k == "l" and toggleTag == false then | |
| 7046 | toggleTag = true | |
| 7047 | text.TextTransparency = 0 | |
| 7048 | text.TextStrokeTransparency = 0 | |
| 7049 | elseif k == "l" and toggleTag == true then | |
| 7050 | toggleTag = false | |
| 7051 | text.TextTransparency = 1 | |
| 7052 | text.TextStrokeTransparency = 1 | |
| 7053 | end | |
| 7054 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
| 7055 | ExtinctiveHeartbreak() | |
| 7056 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
| 7057 | PureBomb() | |
| 7058 | elseif k == "z" and attack == false and ModeOfGlitch == 777 then | |
| 7059 | PureBomb() | |
| 7060 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
| 7061 | scattercorrupt() | |
| 7062 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
| 7063 | ChaosGroundStrike() | |
| 7064 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
| 7065 | Judgement() | |
| 7066 | elseif k == "f" and attack == false and ModeOfGlitch == 5 then | |
| 7067 | HolyBarrier() | |
| 7068 | elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654322 then | |
| 7069 | Judgement() | |
| 7070 | elseif k == "v" and attack == false and ModeOfGlitch == 12345678987654322 then | |
| 7071 | ChaosGroundStrike2() | |
| 7072 | elseif k == "x" and attack == false and ModeOfGlitch == 777 then | |
| 7073 | Starfall() | |
| 7074 | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then | |
| 7075 | Starfall() | |
| 7076 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
| 7077 | yinyangi() | |
| 7078 | elseif k == "x" and attack == false and ModeOfGlitch == 6 then | |
| 7079 | MeteorStrike() | |
| 7080 | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then | |
| 7081 | Wip() | |
| 7082 | elseif k == "x" and attack == false and ModeOfGlitch == 6127843 then | |
| 7083 | Starfall() | |
| 7084 | yinyangi2() | |
| 7085 | elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654322 then | |
| 7086 | StarfallEX() | |
| 7087 | ChaosGroundStrike2() | |
| 7088 | yinyangi2() | |
| 7089 | elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then | |
| 7090 | StarfallEX() | |
| 7091 | elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654321 then | |
| 7092 | FinalCalam() | |
| 7093 | elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654322 then | |
| 7094 | FinalCalam() | |
| 7095 | end | |
| 7096 | if k == "n" and attack == false then | |
| 7097 | Blink() | |
| 7098 | elseif k == "n" and ModeOfGlitch == 333 then | |
| 7099 | Blink() | |
| 7100 | elseif k == "x" and attack == false and ModeOfGlitch == 1000000 then | |
| 7101 | StarDivision() | |
| 7102 | end | |
| 7103 | if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then | |
| 7104 | UniversalCollapse() | |
| 7105 | end | |
| 7106 | if k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed < 200 then | |
| 7107 | hum.WalkSpeed = 16 + 184 | |
| 7108 | elseif k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed == 200 then | |
| 7109 | hum.WalkSpeed = 200 - 184 | |
| 7110 | end | |
| 7111 | if k == "x" and attack == false and ModeOfGlitch == 12345678987654321 then | |
| 7112 | UniversalSpark() | |
| 7113 | end | |
| 7114 | if k == "z" and attack == false and ModeOfGlitch == 666 then | |
| 7115 | StarDivision() | |
| 7116 | end | |
| 7117 | if k == "x" and attack == false and ModeOfGlitch == 666 then | |
| 7118 | Starfall() | |
| 7119 | end | |
| 7120 | if k == "x" and attack == false and ModeOfGlitch == 727 then | |
| 7121 | StarDivision() | |
| 7122 | end | |
| 7123 | if k == "x" and attack == false and ModeOfGlitch == 12345678987654322 then | |
| 7124 | StarDivision() | |
| 7125 | end | |
| 7126 | if k == "x" and attack == false and ModeOfGlitch == 333 then | |
| 7127 | StarDivision() | |
| 7128 | end | |
| 7129 | if k == "c" and attack == false and ModeOfGlitch == 12345678987654322 then | |
| 7130 | UniversalSpark() | |
| 7131 | end | |
| 7132 | if k == "c" and attack == false and ModeOfGlitch == 727 then | |
| 7133 | Starfall() | |
| 7134 | end | |
| 7135 | if k == "z" and attack == false and ModeOfGlitch == 727 then | |
| 7136 | MeteorStrike() | |
| 7137 | end | |
| 7138 | if k == "v" and attack == false and ModeOfGlitch == 727 then | |
| 7139 | scattercorrupt2() | |
| 7140 | end | |
| 7141 | --if k == "k" and stop == false then | |
| 7142 | -- stop = true | |
| 7143 | -- kan:Pause() | |
| 7144 | --elseif k == "k" and stop == true then | |
| 7145 | -- kan:Resume() | |
| 7146 | -- stop = false | |
| 7147 | --end | |
| 7148 | if k == "m" and attack == false and ModeOfGlitch == 4 then | |
| 7149 | ChaosBegone() | |
| 7150 | elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == false then | |
| 7151 | THEHELLITSTHATBIG() | |
| 7152 | elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == true then | |
| 7153 | removelol() | |
| 7154 | end | |
| 7155 | end) | |
| 7156 | mouse.KeyUp:connect(function(k) | |
| 7157 | if k == "." then | |
| 7158 | print(ModeOfGlitch) | |
| 7159 | end | |
| 7160 | if k == "f" and ModeOfGlitch == 5 then | |
| 7161 | shielding = false | |
| 7162 | end | |
| 7163 | if k == "z" and ModeOfGlitch == 5 then | |
| 7164 | judgement = false | |
| 7165 | end | |
| 7166 | if k == "c" and ModeOfGlitch == 12345678987654322 then | |
| 7167 | judgement = false | |
| 7168 | end | |
| 7169 | if k == "c" and ModeOfGlitch == 777 then | |
| 7170 | judgement = false | |
| 7171 | end | |
| 7172 | end) | |
| 7173 | coroutine.resume(coroutine.create(function() | |
| 7174 | while true do | |
| 7175 | swait(2) | |
| 7176 | if rainbowmode == true or ModeOfGlitch == 6 then | |
| 7177 | if eff == true then | |
| 7178 | sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0) | |
| 7179 | end | |
| 7180 | end | |
| 7181 | end | |
| 7182 | end)) | |
| 7183 | coroutine.resume(coroutine.create(function() | |
| 7184 | while true do | |
| 7185 | swait(2) | |
| 7186 | if shielding == true then | |
| 7187 | end | |
| 7188 | end | |
| 7189 | end)) | |
| 7190 | ||
| 7191 | ||
| 7192 | coroutine.resume(coroutine.create(function() | |
| 7193 | while true do | |
| 7194 | if ModeOfGlitch == 1000000 then | |
| 7195 | swait(0.5) | |
| 7196 | end | |
| 7197 | swait() | |
| 7198 | if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then | |
| 7199 | sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0) | |
| 7200 | end | |
| 7201 | if ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then | |
| 7202 | sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0) | |
| 7203 | end | |
| 7204 | end | |
| 7205 | end)) | |
| 7206 | ||
| 7207 | ||
| 7208 | coroutine.resume(coroutine.create(function() | |
| 7209 | while true do | |
| 7210 | swait(2) | |
| 7211 | if chaosmode == true then | |
| 7212 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7213 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7214 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7215 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
| |
| 7216 | for i, v in pairs(mw1:GetChildren()) do | |
| 7217 | if v:IsA("Part") then
| |
| 7218 | v.Transparency = 0.75 | |
| 7219 | v.BrickColor = BrickColor.random() | |
| 7220 | v.Material = "Neon" | |
| 7221 | end | |
| 7222 | end | |
| 7223 | for i, v in pairs(m2:GetChildren()) do | |
| 7224 | if v:IsA("Part") then
| |
| 7225 | v.BrickColor = BrickColor.random() | |
| 7226 | v.Material = "Neon" | |
| 7227 | end | |
| 7228 | end | |
| 7229 | for i, v in pairs(secondchar:GetChildren()) do | |
| 7230 | if v:IsA("Part") then
| |
| 7231 | v.BrickColor = BrickColor.random() | |
| 7232 | v.Material = "Neon" | |
| 7233 | tr(true) | |
| 7234 | tr4.Enabled = false | |
| 7235 | tr5.Enabled = false | |
| 7236 | tr6.Enabled = false | |
| 7237 | tl(true) | |
| 7238 | tl4.Enabled = false | |
| 7239 | tl5.Enabled = false | |
| 7240 | tl6.Enabled = false | |
| 7241 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7242 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7243 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7244 | tl4.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7245 | tl5.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7246 | tl6.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7247 | tr1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7248 | tr2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7249 | tr3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7250 | tr4.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7251 | tr5.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7252 | tr6.Color = ColorSequence.new(BrickColor.random().Color) | |
| 7253 | end | |
| 7254 | end | |
| 7255 | end | |
| 7256 | end | |
| 7257 | end)) | |
| 7258 | Humanoid.Name = "STARGLITCHER" | |
| 7259 | Humanoid.MaxHealth = math.huge | |
| 7260 | Humanoid.Health = math.huge | |
| 7261 | Instance.new("ForceField",char).Visible = false
| |
| 7262 | Humanoid.Animator.Parent = nil | |
| 7263 | idleanim=.4 | |
| 7264 | while true do | |
| 7265 | if rainbowmode == false then | |
| 7266 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7267 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7268 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7269 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7270 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7271 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7272 | for i, v in pairs(secondchar:GetChildren()) do | |
| 7273 | if v:IsA("Part") then
| |
| 7274 | v.BrickColor = MAINRUINCOLOR | |
| 7275 | v.Material = "Neon" | |
| 7276 | end | |
| 7277 | end | |
| 7278 | if chaosmode == false then | |
| 7279 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7280 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7281 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7282 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7283 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7284 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7285 | tl4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7286 | tl5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7287 | tl6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7288 | tr4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7289 | tr5.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7290 | tr6.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 7291 | ||
| 7292 | for i, v in pairs(secondchar:GetChildren()) do | |
| 7293 | if v:IsA("Part") then
| |
| 7294 | v.BrickColor = MAINRUINCOLOR | |
| 7295 | v.Material = "Neon" | |
| 7296 | end | |
| 7297 | end | |
| 7298 | end | |
| 7299 | end | |
| 7300 | if rainbowmode == true then | |
| 7301 | RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
| |
| 7302 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 7303 | tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7304 | tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7305 | tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7306 | tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7307 | tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7308 | tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7309 | tr4.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7310 | tr5.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7311 | tr6.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7312 | tl4.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7313 | tl5.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7314 | tl6.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 7315 | for i, v in pairs(m:GetChildren()) do | |
| 7316 | if v:IsA("Part") then
| |
| 7317 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 7318 | end | |
| 7319 | end | |
| 7320 | for i, v in pairs(m2:GetChildren()) do | |
| 7321 | if v:IsA("Part") then
| |
| 7322 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 7323 | end | |
| 7324 | end | |
| 7325 | for i, v in pairs(secondchar:GetChildren()) do | |
| 7326 | if v:IsA("Part") then
| |
| 7327 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 7328 | v.Material = "Neon" | |
| 7329 | end | |
| 7330 | end | |
| 7331 | for i, v in pairs(m3:GetChildren()) do | |
| 7332 | if v:IsA("Part") then
| |
| 7333 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 7334 | end | |
| 7335 | end | |
| 7336 | for i, v in pairs(mw1:GetChildren()) do | |
| 7337 | if v:IsA("Part") then
| |
| 7338 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 7339 | v.Material = "Neon" | |
| 7340 | end | |
| 7341 | end | |
| 7342 | for i, v in pairs(mw2:GetChildren()) do | |
| 7343 | if v:IsA("Part") then
| |
| 7344 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 7345 | v.Material = "Neon" | |
| 7346 | end | |
| 7347 | end | |
| 7348 | end | |
| 7349 | CameraManager() | |
| 7350 | swait() | |
| 7351 | lwing1weld.C1=Clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
| 7352 | lwing2weld.C1=Clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3) | |
| 7353 | lwing3weld.C1=Clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
| 7354 | lwing4weld.C1=Clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
| 7355 | lwing5weld.C1=Clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
| 7356 | lwing6weld.C1=Clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
| 7357 | ||
| 7358 | if attack == false and ActiveGia == false then | |
| 7359 | torsweld.C1=Clerp(torsweld.C1,cf(2,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 7360 | larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1) | |
| 7361 | rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1) | |
| 7362 | llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 7363 | rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 7364 | hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1) | |
| 7365 | elseif attack == false and ActiveGia == true then | |
| 7366 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 666 and ModeOfGlitch ~= 18022547 then | |
| 7367 | torsweld.C1=Clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025) | |
| 7368 | larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025) | |
| 7369 | rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025) | |
| 7370 | llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 7371 | rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 7372 | hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025) | |
| 7373 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 727 or ModeOfGlitch == 666 or ModeOfGlitch == 333 then | |
| 7374 | torsweld.C1=Clerp(torsweld.C1,cf(0,-25 + 0.5 * math.cos(sine / 32) ,-8)*angles(math.rad(20),math.rad(0),math.rad(0)),.025) | |
| 7375 | larmsweld.C1=Clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025) | |
| 7376 | rarmsweld.C1=Clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025) | |
| 7377 | llegsweld.C1=Clerp(llegsweld.C1,cf(0.5*8,1.5*8,0.6*8)*angles(math.rad(20),math.rad(0),math.rad(0)),0.025) | |
| 7378 | rlegsweld.C1=Clerp(rlegsweld.C1,cf(-0.5*8,2*8,0.11*8)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025) | |
| 7379 | hedsweld.C1=Clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(5),math.rad(0),math.rad(0)),0.025) | |
| 7380 | end | |
| 7381 | end | |
| 7382 | ||
| 7383 | rwing1weld.C1=Clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
| 7384 | rwing2weld.C1=Clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
| 7385 | rwing3weld.C1=Clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
| 7386 | rwing4weld.C1=Clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3) | |
| 7387 | rwing5weld.C1=Clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
| 7388 | rwing6weld.C1=Clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
| 7389 | sine = sine + change | |
| 7390 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 7391 | local velderp=RootPart.Velocity.y | |
| 7392 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 7393 | if equipped==true or equipped==false then | |
| 7394 | if attack==false then | |
| 7395 | idle=idle+1 | |
| 7396 | else | |
| 7397 | idle=0 | |
| 7398 | end | |
| 7399 | if idle>=500 then | |
| 7400 | if attack==false then | |
| 7401 | --Sheath() | |
| 7402 | end | |
| 7403 | end | |
| 7404 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 7405 | Anim="Jump" | |
| 7406 | if attack==false then | |
| 7407 | 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(-5),math.rad(0),math.rad(-20)),.1) | |
| 7408 | 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) | |
| 7409 | 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) | |
| 7410 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
| 7411 | 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) | |
| 7412 | 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) | |
| 7413 | end | |
| 7414 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 7415 | Anim="Fall" | |
| 7416 | if attack==false then | |
| 7417 | 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(-5),math.rad(0),math.rad(-20)),.1) | |
| 7418 | 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) | |
| 7419 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 7420 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 7421 | RW.C0=Clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1) | |
| 7422 | LW.C0=Clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1) | |
| 7423 | end | |
| 7424 | elseif torvel<1 and hitfloor~=nil then | |
| 7425 | Anim="Idle" | |
| 7426 | if attack==false then | |
| 7427 | if ModeOfGlitch == 1 then | |
| 7428 | 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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1) | |
| 7429 | 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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1) | |
| 7430 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1) | |
| 7431 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1) | |
| 7432 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1) | |
| 7433 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
| 7434 | ||
| 7435 | elseif ModeOfGlitch == 666 then | |
| 7436 | 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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1) | |
| 7437 | 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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1) | |
| 7438 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1) | |
| 7439 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 7440 | RW.C0=Clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
| 7441 | LW.C0=Clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
| 7442 | ||
| 7443 | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then | |
| 7444 | 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
| 7445 | 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 + 1 * math.cos(sine / 34))),.1) | |
| 7446 | 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) | |
| 7447 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
| 7448 | RW.C0=Clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1) | |
| 7449 | LW.C0=Clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
| 7450 | ||
| 7451 | elseif ModeOfGlitch == 3 then | |
| 7452 | 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) | |
| 7453 | 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) | |
| 7454 | 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(-20)),.1) | |
| 7455 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1) | |
| 7456 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1) | |
| 7457 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1) | |
| 7458 | ||
| 7459 | elseif ModeOfGlitch == 4 then | |
| 7460 | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1) | |
| 7461 | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1) | |
| 7462 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
| 7463 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1) | |
| 7464 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1) | |
| 7465 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1) | |
| 7466 | ||
| 7467 | elseif ModeOfGlitch == 5 or ModeOfGlitch == 777 then | |
| 7468 | 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) | |
| 7469 | 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 + 1 * math.cos(sine / 34))),.1) | |
| 7470 | 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) | |
| 7471 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
| 7472 | RW.C0=Clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1) | |
| 7473 | LW.C0=Clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1) | |
| 7474 | ||
| 7475 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then | |
| 7476 | --ModeOfGlitch == 333 | |
| 7477 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7478 | 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(10)),.1) | |
| 7479 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 7480 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 7481 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
| 7482 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
| 7483 | ||
| 7484 | elseif ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 333 or ModeOfGlitch == 18022547 then | |
| 7485 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7486 | 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(10)),.1) | |
| 7487 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1) | |
| 7488 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1) | |
| 7489 | RW.C0=Clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1) | |
| 7490 | LW.C0=Clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
| 7491 | ||
| 7492 | elseif ModeOfGlitch == 727 or ModeOfGlitch == 12345678987654322 then | |
| 7493 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
| 7494 | 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(10)),.1) | |
| 7495 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1) | |
| 7496 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1) | |
| 7497 | RW.C0=Clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1) | |
| 7498 | LW.C0=Clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
| 7499 | end | |
| 7500 | end | |
| 7501 | elseif torvel>2 and torvel<50 and hitfloor~=nil then | |
| 7502 | Anim="Walk" | |
| 7503 | if attack==false then | |
| 7504 | if ModeOfGlitch == 1 then | |
| 7505 | RH.C0=Clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1) | |
| 7506 | LH.C0=Clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1) | |
| 7507 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1) | |
| 7508 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 5 * math.cos(sine / 0.325)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 + 5 * math.cos(sine / 8))),.1) | |
| 7509 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1) | |
| 7510 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
| 7511 | --or ModeOfGlitch == 333 | |
| 7512 | elseif ModeOfGlitch == 4 or ModeOfGlitch == 666 then | |
| 7513 | RH.C0=Clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(5 + 25 * math.cos(sine / 12))),.1) | |
| 7514 | LH.C0=Clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(-5 + 25 * math.cos(sine / 12))),.1) | |
| 7515 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1) | |
| 7516 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1) | |
| 7517 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1) | |
| 7518 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1) | |
| 7519 | ||
| 7520 | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 or ModeOfGlitch ~= 666 then | |
| 7521 | RH.C0=Clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1) | |
| 7522 | LH.C0=Clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1) | |
| 7523 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1) | |
| 7524 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1) | |
| 7525 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1) | |
| 7526 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1) | |
| 7527 | end | |
| 7528 | end | |
| 7529 | elseif torvel>=22 and hitfloor~=nil then | |
| 7530 | Anim="Run" | |
| 7531 | if attack==false then | |
| 7532 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 666 and ModeOfGlitch ~= 333 and ModeOfGlitch == 18022547 then | |
| 7533 | RH.C0=Clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*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) | |
| 7534 | LH.C0=Clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*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) | |
| 7535 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1) | |
| 7536 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1) | |
| 7537 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 155 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1) | |
| 7538 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 155 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1) | |
| 7539 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 727 or ModeOfGlitch == 666 or ModeOfGlitch == 333 or ModeOfGlitch == 18022547 then | |
| 7540 | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
| 7541 | 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(20)),.2) | |
| 7542 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
| 7543 | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 7544 | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2) | |
| 7545 | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2) | |
| 7546 | end | |
| 7547 | end | |
| 7548 | end | |
| 7549 | end | |
| 7550 | end |