SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --TODO: add comments or something idk |
| 1 | + | |
| 2 | - | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 2 | + | |
| 3 | - | local Player = owner |
| 3 | + | plr = game:service'Players'.artucox7 |
| 4 | - | local Mouse,mouse,UserInputService,ContextActionService |
| 4 | + | |
| 5 | - | do |
| 5 | + | |
| 6 | - | script.Parent = Player.Character |
| 6 | + | |
| 7 | - | local CAS = {Actions={}}
|
| 7 | + | |
| 8 | - | local Event = Instance.new("RemoteEvent")
|
| 8 | + | |
| 9 | - | Event.Name = "UserInput_Event" |
| 9 | + | |
| 10 | - | Event.Parent = Player.Character |
| 10 | + | |
| 11 | - | local fakeEvent = function() |
| 11 | + | |
| 12 | - | local t = {_fakeEvent=true}
|
| 12 | + | |
| 13 | - | t.Connect = function(self,f)self.Function=f end |
| 13 | + | |
| 14 | - | t.connect = t.Connect |
| 14 | + | |
| 15 | - | return t |
| 15 | + | |
| 16 | rl = char["Right Leg"] | |
| 17 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
|
| 17 | + | |
| 18 | - | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
|
| 18 | + | |
| 19 | - | function CAS:BindAction(name,fun,touch,...) |
| 19 | + | |
| 20 | - | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
|
| 20 | + | |
| 21 | hed = char.Head | |
| 22 | - | function CAS:UnbindAction(name) |
| 22 | + | |
| 23 | - | CAS.Actions[name] = nil |
| 23 | + | |
| 24 | larm = char["Left Arm"] | |
| 25 | - | local function te(self,ev,...) |
| 25 | + | |
| 26 | - | local t = m[ev] |
| 26 | + | |
| 27 | - | if t and t._fakeEvent and t.Function then |
| 27 | + | |
| 28 | - | t.Function(...) |
| 28 | + | |
| 29 | cFrame = CFrame.new | |
| 30 | Euler = CFrame.fromEulerAnglesXYZ | |
| 31 | - | m.TrigEvent = te |
| 31 | + | |
| 32 | - | UIS.TrigEvent = te |
| 32 | + | |
| 33 | - | Event.OnServerEvent:Connect(function(plr,io) |
| 33 | + | |
| 34 | - | if plr~=Player then return end |
| 34 | + | |
| 35 | - | if io.isMouse then |
| 35 | + | |
| 36 | - | m.Target = io.Target |
| 36 | + | local eff = true |
| 37 | - | m.Hit = io.Hit |
| 37 | + | local shielding = false |
| 38 | - | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then |
| 38 | + | |
| 39 | - | if io.UserInputState == Enum.UserInputState.Begin then |
| 39 | + | shirt = Instance.new("Shirt", char)
|
| 40 | - | m:TrigEvent("Button1Down")
|
| 40 | + | shirt.Name = "Shirt" |
| 41 | - | else |
| 41 | + | pants = Instance.new("Pants", char)
|
| 42 | - | m:TrigEvent("Button1Up")
|
| 42 | + | pants.Name = "Pants" |
| 43 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537" | |
| 44 | - | else |
| 44 | + | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689" |
| 45 | - | for n,t in pairs(CAS.Actions) do |
| 45 | + | |
| 46 | - | for _,k in pairs(t.Keys) do |
| 46 | + | |
| 47 | - | if k==io.KeyCode then |
| 47 | + | |
| 48 | - | t.Function(t.Name,io.UserInputState,io) |
| 48 | + | |
| 49 | - | end |
| 49 | + | |
| 50 | - | end |
| 50 | + | |
| 51 | function lerp(object, newCFrame, alpha) | |
| 52 | - | if io.UserInputState == Enum.UserInputState.Begin then |
| 52 | + | |
| 53 | - | m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
|
| 53 | + | |
| 54 | - | UIS:TrigEvent("InputBegan",io,false)
|
| 54 | + | |
| 55 | - | else |
| 55 | + | |
| 56 | - | m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
|
| 56 | + | |
| 57 | - | UIS:TrigEvent("InputEnded",io,false)
|
| 57 | + | |
| 58 | - | end |
| 58 | + | |
| 59 | - | end |
| 59 | + | |
| 60 | CPart.CanCollide = false | |
| 61 | - | NLS([==[ |
| 61 | + | |
| 62 | - | local Player = game:GetService("Players").LocalPlayer
|
| 62 | + | |
| 63 | ||
| 64 | - | local Char = Player.Character |
| 64 | + | local RAIN_RAINBOWmode = false |
| 65 | - | local Event = Char:WaitForChild("UserInput_Event")
|
| 65 | + | local CRAZYmode = false |
| 66 | ||
| 67 | - | local UIS = game:GetService("UserInputService")
|
| 67 | + | kan = Instance.new("Sound",tors)
|
| 68 | kan.Volume = 1.25 | |
| 69 | - | local input = function(io,a) |
| 69 | + | |
| 70 | - | if a then return end |
| 70 | + | |
| 71 | - | local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
|
| 71 | + | kan.EmitterSize = 20 |
| 72 | - | Event:FireServer(io) |
| 72 | + | |
| 73 | kan.SoundId = "rbxassetid://2833524128" | |
| 74 | - | UIS.InputBegan:Connect(input) |
| 74 | + | |
| 75 | - | UIS.InputEnded:Connect(input) |
| 75 | + | |
| 76 | - | local Changed = false |
| 76 | + | |
| 77 | - | local Mouse = Player:GetMouse() |
| 77 | + | |
| 78 | - | local h,t = Mouse.Hit,Mouse.Target |
| 78 | + | |
| 79 | - | while wait(1/30) do |
| 79 | + | |
| 80 | - | if h~=Mouse.Hit or t~=Mouse.Target then |
| 80 | + | |
| 81 | - | Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
|
| 81 | + | --kanz.Volume = vol |
| 82 | - | h,t=Mouse.Hit,Mouse.Target |
| 82 | + | |
| 83 | kanz.PlaybackSpeed = pitch | |
| 84 | kanz.Pitch = pitch | |
| 85 | - | ]==],Player.Character) |
| 85 | + | |
| 86 | - | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
| 86 | + | |
| 87 | kanz.Looped = true | |
| 88 | kanz.Volume = 8 | |
| 89 | --kanz:Play() | |
| 90 | --coroutine.resume(coroutine.create(function() | |
| 91 | --wait(0.05) | |
| 92 | - | warn([[SG AWAKEN Loaded. |
| 92 | + | |
| 93 | - | The super switcher. |
| 93 | + | |
| 94 | - | Velnorum is one of the first wielders. |
| 94 | + | |
| 95 | function newThemeCust(ID,timepos,pitch,vol) | |
| 96 | - | Created, Reworked by NoobyGames12 and converted by Helkern |
| 96 | + | |
| 97 | - | ]]) |
| 97 | + | |
| 98 | kanz.Volume = vol | |
| 99 | kanz.TimePosition = timepos | |
| 100 | - | ------------- ORIGINAL WIELDER OC: Velnorum |
| 100 | + | |
| 101 | - | print([[Icons: |
| 101 | + | |
| 102 | - | ! = New |
| 102 | + | |
| 103 | - | ? = Spoilers |
| 103 | + | |
| 104 | - | * = Exclusivity |
| 104 | + | |
| 105 | - | C = Changes |
| 105 | + | |
| 106 | coroutine.resume(coroutine.create(function() | |
| 107 | - | ]]) |
| 107 | + | |
| 108 | - | warn([[V 4.1 Update Log: |
| 108 | + | |
| 109 | - | !C? - Mostly about 7-9 main modes added. |
| 109 | + | |
| 110 | - | ! - Non-canon [N] modes are added from few modes: |
| 110 | + | |
| 111 | - | > Mayhem: NANO |
| 111 | + | |
| 112 | - | > Purity: BRIGHTNESS |
| 112 | + | |
| 113 | - | > Chaos: CRAZED |
| 113 | + | function CameraShake(Times, Power, PlayerTarget) |
| 114 | - | > Divinity: FALLEN |
| 114 | + | |
| 115 | - | > Destiny: OMEGA |
| 115 | + | FV = Instance.new("BoolValue", PlayerTarget)
|
| 116 | - | ! - Added back CALAMITY and INFESTATION. |
| 116 | + | |
| 117 | - | C - Two main click attacks changed. |
| 117 | + | |
| 118 | - | !C - Moves are added back, with severe change and difference. |
| 118 | + | |
| 119 | - | C - Some modes got renamed because fat filter |
| 119 | + | |
| 120 | - | C - Toned down the effects to be compatible with fe without strong lag.]]) |
| 120 | + | |
| 121 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 122 | else | |
| 123 | - | if game.PlaceId == 843468296 then |
| 123 | + | |
| 124 | - | error("This script has been banned. You cannot use it here. Please use Place 2.")
|
| 124 | + | |
| 125 | end | |
| 126 | - | plr = owner |
| 126 | + | |
| 127 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 128 | FV:Destroy() | |
| 129 | end)) | |
| 130 | end | |
| 131 | ||
| 132 | function CameraEnshaking(Length,Intensity) | |
| 133 | coroutine.resume(coroutine.create(function() | |
| 134 | local intensity = 1*Intensity | |
| 135 | local rotM = 0.01*Intensity | |
| 136 | for i = 0, Length, 0.1 do | |
| 137 | swait() | |
| 138 | intensity = intensity - 0.05*Intensity/Length | |
| 139 | rotM = rotM - 0.0005*Intensity/Length | |
| 140 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 141 | 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) | |
| 142 | end | |
| 143 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 144 | end)) | |
| 145 | end | |
| 146 | CamShake=function(Part,Distan,Power,Times) | |
| 147 | local de=Part.Position | |
| 148 | for i,v in pairs(workspace:children()) do | |
| 149 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 150 | for _,c in pairs(v:children()) do | |
| 151 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
| 152 | local Noob=v.Humanoid | |
| 153 | if Noob~=nil then | |
| 154 | coroutine.resume(coroutine.create(function() | |
| 155 | FV = Instance.new("BoolValue", Noob)
| |
| 156 | FV.Name = "CameraShake" | |
| 157 | for ShakeNum=1,Times do | |
| 158 | swait() | |
| 159 | local ef=Power | |
| 160 | if ef>=1 then | |
| 161 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 162 | else | |
| 163 | ef=Power*10 | |
| 164 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 165 | end | |
| 166 | end | |
| 167 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 168 | FV:Destroy() | |
| 169 | end)) | |
| 170 | CameraShake(Times, Power, Noob) | |
| 171 | end | |
| 172 | end | |
| 173 | end | |
| 174 | end | |
| 175 | end | |
| 176 | end | |
| 177 | ||
| 178 | - | local rainbowmode = false |
| 178 | + | function chatfunc(text,color) |
| 179 | - | local chaosmode = false |
| 179 | + | |
| 180 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 181 | - | local kan = Instance.new("Sound",char)
|
| 181 | + | |
| 182 | end | |
| 183 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 184 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 185 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 186 | - | kan.SoundId = "rbxassetid://614032233" |
| 186 | + | |
| 187 | naeeym2.Name = "TalkingBillBoard" | |
| 188 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 189 | tecks2.BackgroundTransparency = 1 | |
| 190 | tecks2.BorderSizePixel = 0 | |
| 191 | - | local currentThemePlaying = kan.SoundId |
| 191 | + | |
| 192 | - | local currentPitch = kan.Pitch |
| 192 | + | tecks2.Font = "SciFi" |
| 193 | - | local currentVol = kan.Volume |
| 193 | + | |
| 194 | tecks2.TextStrokeTransparency = 0 | |
| 195 | tecks2.TextColor3 = color | |
| 196 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 197 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 198 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 199 | tecks3.BackgroundTransparency = 1 | |
| 200 | tecks3.BorderSizePixel = 0 | |
| 201 | tecks3.Text = "" | |
| 202 | tecks3.Font = "SciFi" | |
| 203 | tecks3.TextSize = 30 | |
| 204 | - | currentThemePlaying = kanz.SoundId |
| 204 | + | |
| 205 | - | currentVol = kanz.Volume |
| 205 | + | |
| 206 | - | currentPitch = kanz.Pitch |
| 206 | + | |
| 207 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 208 | coroutine.resume(coroutine.create(function() | |
| 209 | while true do | |
| 210 | swait(1) | |
| 211 | plr.Character.wrecked.Volume = 0.3 | |
| 212 | if CRAZYmode == true then | |
| 213 | tecks2.TextColor3 = BrickColor.random().Color | |
| 214 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
| 215 | end | |
| 216 | tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
| 217 | tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
| 218 | tecks2.Rotation = math.random(-5,5) | |
| 219 | tecks3.Rotation = math.random(-5,5) | |
| 220 | end | |
| 221 | end)) | |
| 222 | for i = 1,string.len(text),1 do | |
| 223 | CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
| |
| 224 | - | currentThemePlaying = kanz.SoundId |
| 224 | + | tecks2.Text = string.sub(text,1,i) |
| 225 | - | currentVol = kanz.Volume |
| 225 | + | tecks3.Text = string.sub(text,1,i) |
| 226 | - | currentPitch = kanz.Pitch |
| 226 | + | |
| 227 | end | |
| 228 | wait(1) | |
| 229 | local randomrot = math.random(1,2) | |
| 230 | if randomrot == 1 then | |
| 231 | for i = 1, 50 do | |
| 232 | swait() | |
| 233 | - | local mutedtog = false |
| 233 | + | tecks2.Rotation = tecks2.Rotation - .75 |
| 234 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 235 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 236 | tecks3.Rotation = tecks2.Rotation + .75 | |
| 237 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 238 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 239 | end | |
| 240 | elseif randomrot == 2 then | |
| 241 | for i = 1, 50 do | |
| 242 | swait() | |
| 243 | tecks2.Rotation = tecks2.Rotation + .75 | |
| 244 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 245 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 246 | tecks3.Rotation = tecks2.Rotation - .75 | |
| 247 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 248 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 249 | end | |
| 250 | end | |
| 251 | naeeym2:Destroy() | |
| 252 | end) | |
| 253 | chat() | |
| 254 | end | |
| 255 | ||
| 256 | ||
| 257 | local Create = LoadLibrary("RbxUtility").Create
| |
| 258 | ||
| 259 | CFuncs = {
| |
| 260 | ["Part"] = {
| |
| 261 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 262 | local Part = Create("Part"){
| |
| 263 | Parent = Parent, | |
| 264 | Reflectance = Reflectance, | |
| 265 | Transparency = Transparency, | |
| 266 | CanCollide = false, | |
| 267 | Locked = true, | |
| 268 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 269 | Name = Name, | |
| 270 | Size = Size, | |
| 271 | Material = Material, | |
| 272 | } | |
| 273 | RemoveOutlines(Part) | |
| 274 | return Part | |
| 275 | end; | |
| 276 | }; | |
| 277 | ||
| 278 | ["Mesh"] = {
| |
| 279 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 280 | local Msh = Create(Mesh){
| |
| 281 | Parent = Part, | |
| 282 | - | local bilguit = Instance.new("BillboardGui", hed)
|
| 282 | + | |
| 283 | - | bilguit.Adornee = nil |
| 283 | + | |
| 284 | - | bilguit.Name = "ModeName" |
| 284 | + | |
| 285 | - | bilguit.Size = UDim2.new(4, 0, 1.2, 0) |
| 285 | + | |
| 286 | - | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) |
| 286 | + | |
| 287 | - | local modet = Instance.new("TextLabel", bilguit)
|
| 287 | + | |
| 288 | - | modet.Size = UDim2.new(10/2, 0, 7/2, 0) |
| 288 | + | |
| 289 | - | modet.FontSize = "Size8" |
| 289 | + | |
| 290 | - | modet.TextScaled = true |
| 290 | + | |
| 291 | - | modet.TextTransparency = 0 |
| 291 | + | |
| 292 | - | modet.BackgroundTransparency = 1 |
| 292 | + | |
| 293 | - | modet.TextTransparency = 0 |
| 293 | + | |
| 294 | - | modet.TextStrokeTransparency = 0 |
| 294 | + | |
| 295 | - | modet.Font = "Antique" |
| 295 | + | |
| 296 | - | modet.TextStrokeColor3 = Color3.new(1,0,0) |
| 296 | + | |
| 297 | - | modet.TextColor3 = Color3.new(0.25,0,0) |
| 297 | + | |
| 298 | - | modet.Text = "MAYHEM" |
| 298 | + | |
| 299 | } | |
| 300 | if Mesh == "SpecialMesh" then | |
| 301 | - | function chatfunc(text,color,typet,font,timeex) |
| 301 | + | |
| 302 | Msh.MeshId = MeshId | |
| 303 | end | |
| 304 | return Msh | |
| 305 | end; | |
| 306 | }; | |
| 307 | ||
| 308 | ["Weld"] = {
| |
| 309 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 310 | local Weld = Create("Weld"){
| |
| 311 | Parent = Parent, | |
| 312 | Part0 = Part0, | |
| 313 | Part1 = Part1, | |
| 314 | C0 = C0, | |
| 315 | - | tecks2.Font = font |
| 315 | + | |
| 316 | } | |
| 317 | return Weld | |
| 318 | end; | |
| 319 | }; | |
| 320 | ||
| 321 | ["Sound"] = {
| |
| 322 | Create = function(id, par, vol, pit) | |
| 323 | coroutine.resume(coroutine.create(function() | |
| 324 | local S = Create("Sound"){
| |
| 325 | - | tecks3.Font = font |
| 325 | + | |
| 326 | Name = "EffectSoundo", | |
| 327 | Pitch = pit or 1, | |
| 328 | - | if typet == "Inverted" then |
| 328 | + | |
| 329 | Parent = par or workspace, | |
| 330 | } | |
| 331 | - | elseif typet == "Normal" then |
| 331 | + | |
| 332 | - | tecks3.TextColor3 = color |
| 332 | + | |
| 333 | - | tecks3.TextStrokeColor3 = Color3.new(0,0,0) |
| 333 | + | |
| 334 | end)) | |
| 335 | end; | |
| 336 | }; | |
| 337 | ||
| 338 | ["LongSound"] = {
| |
| 339 | - | if chaosmode == true then |
| 339 | + | |
| 340 | coroutine.resume(coroutine.create(function() | |
| 341 | local S = Create("Sound"){
| |
| 342 | Volume = vol, | |
| 343 | Pitch = pit or 1, | |
| 344 | SoundId = id, | |
| 345 | - | modet.TextTransparency = modet.TextTransparency + 1 |
| 345 | + | |
| 346 | - | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 |
| 346 | + | |
| 347 | - | for i = 0, 74*timeex do |
| 347 | + | |
| 348 | S:play() | |
| 349 | - | modet.TextTransparency = 1 |
| 349 | + | game:GetService("Debris"):AddItem(S, 30)
|
| 350 | - | modet.TextStrokeTransparency = 1 |
| 350 | + | |
| 351 | - | tecks2.Text = text |
| 351 | + | |
| 352 | - | tecks3.Text = text |
| 352 | + | |
| 353 | ||
| 354 | ["ParticleEmitter"] = {
| |
| 355 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 356 | local fp = Create("ParticleEmitter"){
| |
| 357 | Parent = Parent, | |
| 358 | - | tecks2.Text = text |
| 358 | + | |
| 359 | - | tecks3.Text = text |
| 359 | + | |
| 360 | - | modet.TextTransparency = modet.TextTransparency - .02 |
| 360 | + | |
| 361 | - | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 |
| 361 | + | |
| 362 | Transparency = Transparency, | |
| 363 | ZOffset = ZOffset, | |
| 364 | Acceleration = Accel, | |
| 365 | Drag = Drag, | |
| 366 | LockedToPart = LockedToPart, | |
| 367 | VelocityInheritance = VelocityInheritance, | |
| 368 | EmissionDirection = EmissionDirection, | |
| 369 | Enabled = Enabled, | |
| 370 | - | tecks2.Text = text |
| 370 | + | |
| 371 | - | tecks3.Text = text |
| 371 | + | |
| 372 | - | modet.TextTransparency = modet.TextTransparency - .02 |
| 372 | + | |
| 373 | - | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 |
| 373 | + | |
| 374 | Speed = Speed, | |
| 375 | VelocitySpread = VelocitySpread, | |
| 376 | } | |
| 377 | return fp | |
| 378 | end; | |
| 379 | }; | |
| 380 | - | modet.TextTransparency = 0 |
| 380 | + | |
| 381 | - | modet.TextStrokeTransparency = 0 |
| 381 | + | |
| 382 | - | if toggleTag == false then |
| 382 | + | |
| 383 | - | modet.TextTransparency = 1 |
| 383 | + | |
| 384 | - | modet.TextStrokeTransparency = 1 |
| 384 | + | |
| 385 | ||
| 386 | ||
| 387 | ||
| 388 | New = function(Object, Parent, Name, Data) | |
| 389 | local Object = Instance.new(Object) | |
| 390 | for Index, Value in pairs(Data or {}) do
| |
| 391 | - | function bosschatfunc(text,color,watval) |
| 391 | + | |
| 392 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
|
| 392 | + | |
| 393 | Object.Parent = Parent | |
| 394 | - | if v.PlayerGui:FindFirstChild("Dialog")~= nil then
|
| 394 | + | |
| 395 | - | v.PlayerGui:FindFirstChild("Dialog"):destroy()
|
| 395 | + | |
| 396 | end | |
| 397 | - | local scrg = Instance.new("ScreenGui",v.PlayerGui)
|
| 397 | + | |
| 398 | - | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
|
| 398 | + | |
| 399 | - | scrg.Name = "Dialog" |
| 399 | + | |
| 400 | - | local txtlb = Instance.new("TextLabel",scrg)
|
| 400 | + | |
| 401 | - | txtlb.Text = "" |
| 401 | + | |
| 402 | - | txtlb.Font = "Bodoni" |
| 402 | + | |
| 403 | - | txtlb.TextColor3 = Color3.new(0,0,0) |
| 403 | + | |
| 404 | - | txtlb.TextStrokeTransparency = 0 |
| 404 | + | |
| 405 | - | txtlb.BackgroundTransparency = 0.75 |
| 405 | + | |
| 406 | - | txtlb.BackgroundColor3 = Color3.new(0,0,0) |
| 406 | + | |
| 407 | - | txtlb.TextStrokeColor3 = color |
| 407 | + | |
| 408 | - | txtlb.TextScaled = true |
| 408 | + | |
| 409 | - | txtlb.Size = UDim2.new(1,0,0.25,0) |
| 409 | + | |
| 410 | - | txtlb.TextXAlignment = "Left" |
| 410 | + | |
| 411 | - | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) |
| 411 | + | |
| 412 | - | local txtlb2 = Instance.new("TextLabel",scrg)
|
| 412 | + | |
| 413 | - | txtlb2.Text = "?:" |
| 413 | + | |
| 414 | - | txtlb2.Font = "Arcade" |
| 414 | + | |
| 415 | - | txtlb2.TextColor3 = Color3.new(0,0,0) |
| 415 | + | |
| 416 | - | txtlb2.TextStrokeTransparency = 0 |
| 416 | + | |
| 417 | - | txtlb2.BackgroundTransparency = 1 |
| 417 | + | |
| 418 | - | txtlb2.TextStrokeColor3 = color |
| 418 | + | |
| 419 | - | txtlb2.TextSize = 40 |
| 419 | + | |
| 420 | - | txtlb2.Size = UDim2.new(1,0,0.25,0) |
| 420 | + | |
| 421 | - | txtlb2.TextXAlignment = "Left" |
| 421 | + | |
| 422 | - | txtlb2.Position = UDim2.new(0,0,1,0) |
| 422 | + | |
| 423 | - | local fvalen = 0.55 |
| 423 | + | |
| 424 | - | local fval = -0.49 |
| 424 | + | |
| 425 | return p | |
| 426 | end | |
| 427 | ||
| 428 | - | if chaosmode == true then |
| 428 | + | |
| 429 | - | txtlb.Rotation = math.random(-1,1) |
| 429 | + | |
| 430 | - | txtlb2.Rotation = math.random(-1,1) |
| 430 | + | |
| 431 | - | txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
| 431 | + | |
| 432 | - | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
| 432 | + | |
| 433 | - | txtlb.TextStrokeColor3 = BrickColor.random().Color |
| 433 | + | |
| 434 | - | txtlb2.TextStrokeColor3 = BrickColor.random().Color |
| 434 | + | |
| 435 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
| 436 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 437 | mesh.MeshType = "FileMesh" | |
| 438 | mesh.MeshId = meshid | |
| 439 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 440 | return mesh | |
| 441 | - | if scrg.Parent ~= nil then |
| 441 | + | |
| 442 | - | fvalen = fvalen - 0.0001 |
| 442 | + | |
| 443 | - | elseif scrg.Parent == nil then |
| 443 | + | |
| 444 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
| 445 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 446 | mesh.MeshType = "FileMesh" | |
| 447 | mesh.MeshId = meshid | |
| 448 | - | local flol = 1.75 |
| 448 | + | |
| 449 | - | local flil = 1.6 |
| 449 | + | |
| 450 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 451 | - | for i = 0, 9 do |
| 451 | + | |
| 452 | end | |
| 453 | - | fval = fval + 0.05 |
| 453 | + | |
| 454 | - | flol = flol - 0.1 |
| 454 | + | |
| 455 | - | flil = flil - 0.1 |
| 455 | + | |
| 456 | - | txtlb.Text = "" |
| 456 | + | |
| 457 | - | txtlb.Position = UDim2.new(0,0,flol,0) |
| 457 | + | |
| 458 | - | txtlb2.Position = UDim2.new(0,0,flil,0) |
| 458 | + | |
| 459 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 460 | - | txtlb.Text = text |
| 460 | + | |
| 461 | - | wait(watval) |
| 461 | + | |
| 462 | - | local valinc = 0 |
| 462 | + | |
| 463 | ||
| 464 | ||
| 465 | - | valinc = valinc + 0.0001 |
| 465 | + | |
| 466 | - | flol = flol + valinc |
| 466 | + | local secondchar = Instance.new("Model",char)
|
| 467 | - | flil = flil + valinc |
| 467 | + | local GhostCol = BrickColor.new("Really red")
|
| 468 | - | txtlb.Rotation = txtlb.Rotation + valinc*20 |
| 468 | + | local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol) |
| 469 | - | txtlb2.Rotation = txtlb2.Rotation - valinc*50 |
| 469 | + | CreateMesh(sectors,"Brick",2*8,2*8,1*8) |
| 470 | - | txtlb.Position = UDim2.new(0,0,flol,0) |
| 470 | + | 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)) |
| 471 | - | txtlb2.Position = UDim2.new(0,0,flil,0) |
| 471 | + | |
| 472 | - | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 |
| 472 | + | local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol) |
| 473 | - | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 |
| 473 | + | CreateMesh(seclarm,"Brick",1*8,2*8,1*8) |
| 474 | - | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 |
| 474 | + | 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)) |
| 475 | - | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 |
| 475 | + | |
| 476 | - | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 |
| 476 | + | local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol) |
| 477 | CreateMesh(secrarm,"Brick",1*8,2*8,1*8) | |
| 478 | - | scrg:Destroy() |
| 478 | + | 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)) |
| 479 | ||
| 480 | local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 481 | CreateMesh(seclleg,"Brick",1*8,2*8,1*8) | |
| 482 | 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)) | |
| 483 | ||
| 484 | local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 485 | CreateMesh(secrleg,"Brick",1*8,2*8,1*8) | |
| 486 | 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)) | |
| 487 | ||
| 488 | local seched = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 489 | CreateMesh(seched,"Brick",1*8,1*8,1*8) | |
| 490 | 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)) | |
| 491 | -------------- | |
| 492 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 493 | 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)) | |
| 494 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 495 | 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)) | |
| 496 | ||
| 497 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 498 | CreateMesh(handle,"Brick",0,0,0) | |
| 499 | 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)) | |
| 500 | local valuaring = 10 | |
| 501 | for i = 0, 49 do | |
| 502 | valuaring = valuaring + 10 | |
| 503 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 504 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
| 505 | 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)) | |
| 506 | end | |
| 507 | ||
| 508 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 509 | CreateMesh(handle,"Brick",0,0,0) | |
| 510 | 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)) | |
| 511 | local valuaring = 10 | |
| 512 | for i = 0, 49 do | |
| 513 | valuaring = valuaring + 10 | |
| 514 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 515 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
| 516 | 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)) | |
| 517 | end | |
| 518 | ||
| 519 | ||
| 520 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
| 521 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 522 | 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)) | |
| 523 | ||
| 524 | --- Left wing. | |
| 525 | ||
| 526 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 527 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 528 | 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)) | |
| 529 | ||
| 530 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 531 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 532 | 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)) | |
| 533 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 534 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 535 | 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)) | |
| 536 | A0 = Instance.new('Attachment',wed)
| |
| 537 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 538 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 539 | 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)) | |
| 540 | A1 = Instance.new('Attachment',wed)
| |
| 541 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 542 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 543 | 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)) | |
| 544 | ||
| 545 | tl1 = Instance.new('Trail',wed)
| |
| 546 | tl1.Attachment0 = A0 | |
| 547 | tl1.Attachment1 = A1 | |
| 548 | --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 549 | tl1.LightEmission = 1 | |
| 550 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 551 | tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 552 | tl1.Lifetime = 0.6 | |
| 553 | ||
| 554 | ||
| 555 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 556 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 557 | 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)) | |
| 558 | ||
| 559 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 560 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 561 | 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)) | |
| 562 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 563 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 564 | 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)) | |
| 565 | A0 = Instance.new('Attachment',wed)
| |
| 566 | - | ["TimeSound"] = {
|
| 566 | + | |
| 567 | - | Create = function(id, par, vol, pit, timepos) |
| 567 | + | |
| 568 | 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)) | |
| 569 | A1 = Instance.new('Attachment',wed)
| |
| 570 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 571 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 572 | 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)) | |
| 573 | ||
| 574 | - | TimePosition = timepos, |
| 574 | + | |
| 575 | tl2.Attachment0 = A0 | |
| 576 | tl2.Attachment1 = A1 | |
| 577 | --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 578 | tl2.LightEmission = 1 | |
| 579 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 580 | tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 581 | tl2.Lifetime = 0.6 | |
| 582 | ||
| 583 | - | ["EchoSound"] = {
|
| 583 | + | |
| 584 | - | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) |
| 584 | + | |
| 585 | 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)) | |
| 586 | - | local Sas = Create("Sound"){
|
| 586 | + | |
| 587 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 588 | - | Name = "EffectSoundo", |
| 588 | + | |
| 589 | 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)) | |
| 590 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 591 | - | TimePosition = timepos, |
| 591 | + | |
| 592 | 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)) | |
| 593 | A0 = Instance.new('Attachment',wed)
| |
| 594 | - | local E = Create("EchoSoundEffect"){
|
| 594 | + | |
| 595 | - | Delay = echodelay, |
| 595 | + | |
| 596 | - | Name = "Echo", |
| 596 | + | |
| 597 | - | Feedback = fedb, |
| 597 | + | |
| 598 | - | DryLevel = dryl, |
| 598 | + | |
| 599 | - | Parent = Sas, |
| 599 | + | |
| 600 | 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)) | |
| 601 | ||
| 602 | - | Sas:play() |
| 602 | + | |
| 603 | - | game:GetService("Debris"):AddItem(Sas, delays)
|
| 603 | + | tl3.Attachment0 = A0 |
| 604 | tl3.Attachment1 = A1 | |
| 605 | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 606 | tl3.LightEmission = 1 | |
| 607 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 608 | tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
| |
| 609 | tl3.Lifetime = 0.6 | |
| 610 | ||
| 611 | tl1.Enabled = false | |
| 612 | tl2.Enabled = false | |
| 613 | tl3.Enabled = false | |
| 614 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 615 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 616 | 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)) | |
| 617 | ||
| 618 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 619 | - | game:GetService("Debris"):AddItem(S, 60)
|
| 619 | + | |
| 620 | 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)) | |
| 621 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 622 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 623 | 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)) | |
| 624 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 625 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 626 | 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)) | |
| 627 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 628 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 629 | 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)) | |
| 630 | ||
| 631 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 632 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 633 | 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)) | |
| 634 | ||
| 635 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 636 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 637 | 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)) | |
| 638 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 639 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 640 | 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)) | |
| 641 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 642 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 643 | 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)) | |
| 644 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 645 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 646 | 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)) | |
| 647 | ||
| 648 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 649 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 650 | 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)) | |
| 651 | ||
| 652 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 653 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 654 | 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)) | |
| 655 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 656 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 657 | 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)) | |
| 658 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 659 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 660 | 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)) | |
| 661 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 662 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 663 | 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)) | |
| 664 | ||
| 665 | -- Right wing. | |
| 666 | ||
| 667 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 668 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 669 | 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)) | |
| 670 | ||
| 671 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 672 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 673 | 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)) | |
| 674 | A0 = Instance.new('Attachment',wed)
| |
| 675 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 676 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 677 | 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)) | |
| 678 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 679 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 680 | 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)) | |
| 681 | - | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) |
| 681 | + | |
| 682 | - | local gui = it(GuiType) |
| 682 | + | |
| 683 | - | gui.Parent = parent |
| 683 | + | |
| 684 | - | gui.Text = text |
| 684 | + | |
| 685 | - | gui.BackgroundTransparency = backtrans |
| 685 | + | |
| 686 | - | gui.BackgroundColor3 = backcol |
| 686 | + | |
| 687 | - | gui.SizeConstraint = "RelativeXY" |
| 687 | + | tr1.Attachment0 = A0 |
| 688 | - | gui.TextXAlignment = "Center" |
| 688 | + | tr1.Attachment1 = A1 |
| 689 | - | gui.TextYAlignment = "Center" |
| 689 | + | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 690 | - | gui.Position = pos |
| 690 | + | |
| 691 | - | gui.Size = size |
| 691 | + | |
| 692 | - | gui.Font = "SourceSans" |
| 692 | + | |
| 693 | - | gui.FontSize = "Size14" |
| 693 | + | |
| 694 | - | gui.TextWrapped = false |
| 694 | + | |
| 695 | - | gui.TextStrokeTransparency = 0 |
| 695 | + | |
| 696 | - | gui.TextColor = BrickColor.new("White")
|
| 696 | + | |
| 697 | - | return gui |
| 697 | + | |
| 698 | ||
| 699 | - | --------------------------- GUI STUFF |
| 699 | + | |
| 700 | - | local basgui = it("GuiMain")
|
| 700 | + | |
| 701 | - | basgui.Parent = plr.PlayerGui |
| 701 | + | |
| 702 | - | basgui.Name = "VISgui" |
| 702 | + | |
| 703 | - | local fullscreenz = it("Frame")
|
| 703 | + | |
| 704 | - | fullscreenz.Parent = basgui |
| 704 | + | |
| 705 | - | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) |
| 705 | + | |
| 706 | - | fullscreenz.BackgroundTransparency = 1 |
| 706 | + | |
| 707 | - | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) |
| 707 | + | |
| 708 | - | fullscreenz.Size = UDim2.new(1, 0, 1, 0) |
| 708 | + | |
| 709 | - | fullscreenz.Position = UDim2.new(0, 0, 0, 0) |
| 709 | + | |
| 710 | - | local imgl2 = Instance.new("ImageLabel",fullscreenz)
|
| 710 | + | |
| 711 | - | imgl2.BackgroundTransparency = 1 |
| 711 | + | |
| 712 | - | imgl2.BorderSizePixel = 0 |
| 712 | + | |
| 713 | - | imgl2.ImageTransparency = 0.5 |
| 713 | + | |
| 714 | - | imgl2.ImageColor3 = Color3.new(1,0,0) |
| 714 | + | |
| 715 | - | imgl2.Position = UDim2.new(0.75,-200,0.55,-200) |
| 715 | + | tr2.Attachment0 = A0 |
| 716 | - | imgl2.Size = UDim2.new(0,1000,0,1000) |
| 716 | + | tr2.Attachment1 = A1 |
| 717 | - | imgl2.Image = "rbxassetid://2325939897" |
| 717 | + | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 718 | - | local techc = imgl2:Clone() |
| 718 | + | |
| 719 | - | techc.Parent = fullscreenz |
| 719 | + | |
| 720 | - | techc.ImageTransparency = 0 |
| 720 | + | |
| 721 | - | techc.Size = UDim2.new(0,900,0,900) |
| 721 | + | |
| 722 | - | techc.Position = UDim2.new(0.75,-150,0.55,-150) |
| 722 | + | |
| 723 | - | techc.ImageColor3 = Color3.new(1,0,0) |
| 723 | + | |
| 724 | - | techc.Image = "rbxassetid://2273224484" |
| 724 | + | |
| 725 | - | local circl = imgl2:Clone() |
| 725 | + | |
| 726 | - | circl.Parent = fullscreenz |
| 726 | + | |
| 727 | - | circl.ImageTransparency = 0 |
| 727 | + | |
| 728 | - | circl.Size = UDim2.new(0,550,0,550) |
| 728 | + | |
| 729 | - | circl.Position = UDim2.new(0.75,25,0.55,25) |
| 729 | + | |
| 730 | - | circl.ImageColor3 = Color3.new(0,0,0) |
| 730 | + | |
| 731 | - | circl.Image = "rbxassetid://2312119891" |
| 731 | + | |
| 732 | - | local circl2 = imgl2:Clone() |
| 732 | + | |
| 733 | - | circl2.Parent = fullscreenz |
| 733 | + | |
| 734 | - | circl2.ImageTransparency = 0 |
| 734 | + | |
| 735 | - | circl2.Size = UDim2.new(0,700,0,700) |
| 735 | + | |
| 736 | - | circl2.Position = UDim2.new(0.75,-50,0.55,-50) |
| 736 | + | |
| 737 | - | circl2.ImageColor3 = Color3.new(1,0,0) |
| 737 | + | |
| 738 | - | circl2.Image = "rbxassetid://2312119891" |
| 738 | + | |
| 739 | - | local imgl2b = imgl2:Clone() |
| 739 | + | |
| 740 | - | imgl2b.Parent = fullscreenz |
| 740 | + | |
| 741 | - | imgl2b.ImageTransparency = 0 |
| 741 | + | |
| 742 | - | imgl2b.Size = UDim2.new(0,800,0,800) |
| 742 | + | |
| 743 | - | imgl2b.Position = UDim2.new(0.75,-100,0.55,-100) |
| 743 | + | tr3.Attachment0 = A0 |
| 744 | - | imgl2b.ImageColor3 = Color3.new(0,0,0) |
| 744 | + | tr3.Attachment1 = A1 |
| 745 | - | local ned = Instance.new("TextLabel",fullscreenz)
|
| 745 | + | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
| 746 | - | ned.ZIndex = 2 |
| 746 | + | |
| 747 | - | ned.Font = "Arcade" |
| 747 | + | |
| 748 | - | ned.BackgroundTransparency = 1 |
| 748 | + | |
| 749 | - | ned.BorderSizePixel = 0.65 |
| 749 | + | |
| 750 | - | ned.Size = UDim2.new(0.3,0,0.2,0) |
| 750 | + | |
| 751 | - | ned.Position = UDim2.new(0.7,0,0.8,0) |
| 751 | + | |
| 752 | - | ned.TextColor3 = BrickColor.new("Really red").Color
|
| 752 | + | |
| 753 | - | ned.TextStrokeColor3 = BrickColor.new("Really black").Color
|
| 753 | + | |
| 754 | - | ned.TextScaled = true |
| 754 | + | |
| 755 | - | ned.TextStrokeTransparency = 0 |
| 755 | + | |
| 756 | - | ned.Text = "MAYHEM" |
| 756 | + | |
| 757 | - | ned.TextSize = 24 |
| 757 | + | |
| 758 | - | ned.Rotation = 1 |
| 758 | + | |
| 759 | - | ned.TextXAlignment = "Right" |
| 759 | + | |
| 760 | - | ned.TextYAlignment = "Bottom" |
| 760 | + | |
| 761 | 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)) | |
| 762 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 763 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 764 | 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)) | |
| 765 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 766 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 767 | 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)) | |
| 768 | ||
| 769 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 770 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 771 | 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)) | |
| 772 | ||
| 773 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 774 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 775 | 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)) | |
| 776 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 777 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 778 | 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)) | |
| 779 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 780 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 781 | 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)) | |
| 782 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 783 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 784 | 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)) | |
| 785 | ||
| 786 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 787 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 788 | 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)) | |
| 789 | ||
| 790 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 791 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 792 | 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)) | |
| 793 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 794 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 795 | 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)) | |
| 796 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 797 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 798 | 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)) | |
| 799 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 800 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 801 | 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)) | |
| 802 | ||
| 803 | ---- HERES THE RING | |
| 804 | ||
| 805 | ||
| 806 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 807 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 808 | 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)) | |
| 809 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 810 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 811 | 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)) | |
| 812 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 813 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 814 | 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)) | |
| 815 | ||
| 816 | ||
| 817 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 818 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 819 | 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)) | |
| 820 | ||
| 821 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 822 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 823 | 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)) | |
| 824 | ||
| 825 | ||
| 826 | ||
| 827 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 828 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 829 | 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)) | |
| 830 | ||
| 831 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 832 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 833 | 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)) | |
| 834 | ||
| 835 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 836 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 837 | 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)) | |
| 838 | ||
| 839 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 840 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 841 | 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)) | |
| 842 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 843 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 844 | 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)) | |
| 845 | ||
| 846 | --- second ring | |
| 847 | ||
| 848 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 849 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 850 | 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)) | |
| 851 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 852 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 853 | 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)) | |
| 854 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 855 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 856 | 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)) | |
| 857 | ||
| 858 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 859 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 860 | 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)) | |
| 861 | ||
| 862 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 863 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 864 | - | A0.Position = vt(0,0.25,0.25) |
| 864 | + | |
| 865 | ||
| 866 | ||
| 867 | ||
| 868 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 869 | - | A1.Position = vt(0,-0.25,-2) |
| 869 | + | |
| 870 | 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)) | |
| 871 | ||
| 872 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 873 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 874 | 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)) | |
| 875 | - | tl1.Attachment0 = A1 |
| 875 | + | |
| 876 | - | tl1.Attachment1 = A0 |
| 876 | + | |
| 877 | - | tl1.Texture = "rbxassetid://2108945559" |
| 877 | + | |
| 878 | 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)) | |
| 879 | ||
| 880 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 881 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 882 | 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)) | |
| 883 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 884 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 885 | 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))]]-- | |
| 886 | ||
| 887 | ||
| 888 | ||
| 889 | for i, v in pairs(m:GetChildren()) do | |
| 890 | if v:IsA("Part") then
| |
| 891 | v.BrickColor = BrickColor.new("Really black")
| |
| 892 | v.Material = "Glass" | |
| 893 | end | |
| 894 | end | |
| 895 | - | A0.Position = vt(0,0.25,0.25) |
| 895 | + | |
| 896 | if v:IsA("Part") then
| |
| 897 | v.BrickColor = BrickColor.new("Crimson")
| |
| 898 | v.Material = "Granite" | |
| 899 | end | |
| 900 | - | A1.Position = vt(0,-0.25,-2) |
| 900 | + | |
| 901 | for i, v in pairs(m3:GetChildren()) do | |
| 902 | if v:IsA("Part") then
| |
| 903 | v.BrickColor = BrickColor.new("Really red")
| |
| 904 | v.Material = "Neon" | |
| 905 | end | |
| 906 | - | tl2.Attachment0 = A1 |
| 906 | + | |
| 907 | - | tl2.Attachment1 = A0 |
| 907 | + | |
| 908 | - | tl2.Texture = "rbxassetid://2108945559" |
| 908 | + | |
| 909 | v.BrickColor = BrickColor.new("Really red")
| |
| 910 | v.Material = "Neon" | |
| 911 | end | |
| 912 | end | |
| 913 | for i, v in pairs(mw1:GetChildren()) do | |
| 914 | if v:IsA("Part") then
| |
| 915 | v.Transparency = 1 | |
| 916 | v.BrickColor = BrickColor.new("Really red")
| |
| 917 | v.Material = "Neon" | |
| 918 | end | |
| 919 | end | |
| 920 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 921 | if v:IsA("Part") then
| |
| 922 | v.Transparency = 1 | |
| 923 | v.BrickColor = BrickColor.new("White")
| |
| 924 | v.Material = "Neon" | |
| 925 | - | A0.Position = vt(0,0.25,0.25) |
| 925 | + | |
| 926 | end | |
| 927 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 928 | if v:IsA("Part") then
| |
| 929 | v.Transparency = 1 | |
| 930 | - | A1.Position = vt(0,-0.25,-2) |
| 930 | + | |
| 931 | v.Material = "Neon" | |
| 932 | end | |
| 933 | end | |
| 934 | local MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 935 | ------ | |
| 936 | - | tl3.Attachment0 = A1 |
| 936 | + | |
| 937 | - | tl3.Attachment1 = A0 |
| 937 | + | |
| 938 | - | tl3.Texture = "rbxassetid://2108945559" |
| 938 | + | |
| 939 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 940 | end | |
| 941 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 942 | local Part = Create("Part")({
| |
| 943 | Parent = Parent, | |
| 944 | Reflectance = Reflectance, | |
| 945 | Transparency = Transparency, | |
| 946 | CanCollide = false, | |
| 947 | Locked = true, | |
| 948 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 949 | Name = Name, | |
| 950 | Size = Size, | |
| 951 | Material = Material | |
| 952 | }) | |
| 953 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 954 | RemoveOutlines(Part) | |
| 955 | return Part | |
| 956 | end | |
| 957 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 958 | local Msh = Create(Mesh)({
| |
| 959 | Parent = Part, | |
| 960 | Offset = OffSet, | |
| 961 | Scale = Scale | |
| 962 | }) | |
| 963 | if Mesh == "SpecialMesh" then | |
| 964 | Msh.MeshType = MeshType | |
| 965 | Msh.MeshId = MeshId | |
| 966 | end | |
| 967 | return Msh | |
| 968 | end | |
| 969 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 970 | local Weld = Create("Weld")({
| |
| 971 | Parent = Parent, | |
| 972 | Part0 = Part0, | |
| 973 | Part1 = Part1, | |
| 974 | C0 = C0, | |
| 975 | C1 = C1 | |
| 976 | }) | |
| 977 | return Weld | |
| 978 | end | |
| 979 | ||
| 980 | Player=game:GetService("Players").LocalPlayer
| |
| 981 | Character=Player.Character | |
| 982 | PlayerGui=Player.PlayerGui | |
| 983 | Backpack=Player.Backpack | |
| 984 | Torso=Character.Torso | |
| 985 | Head=Character.Head | |
| 986 | Humanoid=Character.Humanoid | |
| 987 | m=Instance.new('Model',Character)
| |
| 988 | LeftArm=Character["Left Arm"] | |
| 989 | LeftLeg=Character["Left Leg"] | |
| 990 | RightArm=Character["Right Arm"] | |
| 991 | RightLeg=Character["Right Leg"] | |
| 992 | LS=Torso["Left Shoulder"] | |
| 993 | LH=Torso["Left Hip"] | |
| 994 | RS=Torso["Right Shoulder"] | |
| 995 | RH=Torso["Right Hip"] | |
| 996 | Face = Head.face | |
| 997 | Neck=Torso.Neck | |
| 998 | it=Instance.new | |
| 999 | attacktype=1 | |
| 1000 | vt=Vector3.new | |
| 1001 | cf=CFrame.new | |
| 1002 | euler=CFrame.fromEulerAnglesXYZ | |
| 1003 | angles=CFrame.Angles | |
| 1004 | cloaked=false | |
| 1005 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1006 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1007 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1008 | - | A0.Position = vt(0,0.25,0.25) |
| 1008 | + | |
| 1009 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1010 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1011 | RootPart=Character.HumanoidRootPart | |
| 1012 | RootJoint=RootPart.RootJoint | |
| 1013 | RootCF=euler(-1.57,0,3.14) | |
| 1014 | attack = false | |
| 1015 | attackdebounce = false | |
| 1016 | deb=false | |
| 1017 | equipped=true | |
| 1018 | hand=false | |
| 1019 | - | A1.Position = vt(0,2,0.25) |
| 1019 | + | MMouse=nil |
| 1020 | combo=0 | |
| 1021 | mana=0 | |
| 1022 | - | tr1.Attachment0 = A1 |
| 1022 | + | |
| 1023 | - | tr1.Attachment1 = A0 |
| 1023 | + | |
| 1024 | - | tr1.Texture = "rbxassetid://2108945559" |
| 1024 | + | |
| 1025 | local Anim="Idle" | |
| 1026 | local Effects={}
| |
| 1027 | local gun=false | |
| 1028 | local shoot=false | |
| 1029 | local sine = 0 | |
| 1030 | local change = 1 | |
| 1031 | player=nil | |
| 1032 | ||
| 1033 | ||
| 1034 | local toggleTag = true | |
| 1035 | local txt = Instance.new("BillboardGui", Head)
| |
| 1036 | txt.Adornee = nil | |
| 1037 | txt.Name = "NameDetect" | |
| 1038 | - | A0.Position = vt(0,0.25,0.25) |
| 1038 | + | txt.Size = UDim2.new(4, 0, 1.2, 0) |
| 1039 | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
| 1040 | local text = Instance.new("TextLabel", txt)
| |
| 1041 | text.Size = UDim2.new(10/2, 0, 7/2, 0) | |
| 1042 | text.FontSize = "Size8" | |
| 1043 | text.TextScaled = true | |
| 1044 | text.TextTransparency = 0 | |
| 1045 | text.BackgroundTransparency = 1 | |
| 1046 | text.TextTransparency = 0 | |
| 1047 | text.TextStrokeTransparency = 0 | |
| 1048 | text.Font = "Fantasy" | |
| 1049 | - | A1.Position = vt(0,2,0.25) |
| 1049 | + | text.TextStrokeColor3 = Color3.new(1,0,0) |
| 1050 | text.TextColor3 = Color3.new(0,0,0) | |
| 1051 | text.Text = "Default" | |
| 1052 | - | tr2.Attachment0 = A1 |
| 1052 | + | |
| 1053 | - | tr2.Attachment1 = A0 |
| 1053 | + | function RecolorTextAndRename(name,col1,col2) |
| 1054 | - | tr2.Texture = "rbxassetid://2108945559" |
| 1054 | + | text.TextStrokeColor3 = col2 |
| 1055 | text.TextColor3 = col1 | |
| 1056 | text.Text = name | |
| 1057 | end | |
| 1058 | mouse=Player:GetMouse() | |
| 1059 | --save shoulders | |
| 1060 | RSH, LSH=nil, nil | |
| 1061 | --welds | |
| 1062 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 1063 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 1064 | LH=Torso["Left Hip"] | |
| 1065 | RH=Torso["Right Hip"] | |
| 1066 | TorsoColor=Torso.BrickColor | |
| 1067 | function NoOutline(Part) | |
| 1068 | - | A0.Position = vt(0,0.25,0.25) |
| 1068 | + | |
| 1069 | end | |
| 1070 | player=Player | |
| 1071 | ch=Character | |
| 1072 | RSH=ch.Torso["Right Shoulder"] | |
| 1073 | LSH=ch.Torso["Left Shoulder"] | |
| 1074 | -- | |
| 1075 | RSH.Parent=nil | |
| 1076 | LSH.Parent=nil | |
| 1077 | -- | |
| 1078 | RW.Name="Right Shoulder" | |
| 1079 | - | A1.Position = vt(0,2,0.25) |
| 1079 | + | |
| 1080 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 1081 | RW.C1=cf(0, 0.5, 0) | |
| 1082 | - | tr3.Attachment0 = A1 |
| 1082 | + | |
| 1083 | - | tr3.Attachment1 = A0 |
| 1083 | + | |
| 1084 | - | tr3.Texture = "rbxassetid://2108945559" |
| 1084 | + | |
| 1085 | LW.Name="Left Shoulder" | |
| 1086 | LW.Part0=ch.Torso | |
| 1087 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 1088 | LW.C1=cf(0, 0.5, 0) | |
| 1089 | LW.Part1=ch["Left Arm"] | |
| 1090 | LW.Parent=ch.Torso | |
| 1091 | ||
| 1092 | local Stats=Instance.new("BoolValue")
| |
| 1093 | Stats.Name="Stats" | |
| 1094 | Stats.Parent=Character | |
| 1095 | local Atk=Instance.new("NumberValue")
| |
| 1096 | Atk.Name="Damage" | |
| 1097 | Atk.Parent=Stats | |
| 1098 | Atk.Value=1 | |
| 1099 | local Def=Instance.new("NumberValue")
| |
| 1100 | Def.Name="Defense" | |
| 1101 | Def.Parent=Stats | |
| 1102 | Def.Value=1 | |
| 1103 | local Speed=Instance.new("NumberValue")
| |
| 1104 | Speed.Name="Speed" | |
| 1105 | Speed.Parent=Stats | |
| 1106 | Speed.Value=1 | |
| 1107 | local Mvmt=Instance.new("NumberValue")
| |
| 1108 | Mvmt.Name="Movement" | |
| 1109 | Mvmt.Parent=Stats | |
| 1110 | Mvmt.Value=1 | |
| 1111 | ||
| 1112 | local donum=0 | |
| 1113 | ||
| 1114 | ||
| 1115 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 1116 | local fp=it("Part")
| |
| 1117 | fp.formFactor=formfactor | |
| 1118 | fp.Parent=parent | |
| 1119 | fp.Reflectance=reflectance | |
| 1120 | fp.Transparency=transparency | |
| 1121 | fp.CanCollide=false | |
| 1122 | fp.Locked=true | |
| 1123 | fp.BrickColor=brickcolor | |
| 1124 | fp.Name=name | |
| 1125 | fp.Size=size | |
| 1126 | fp.Position=Torso.Position | |
| 1127 | NoOutline(fp) | |
| 1128 | fp.Material="SmoothPlastic" | |
| 1129 | fp:BreakJoints() | |
| 1130 | return fp | |
| 1131 | end | |
| 1132 | ||
| 1133 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1134 | local mesh=it(Mesh) | |
| 1135 | mesh.Parent=part | |
| 1136 | if Mesh=="SpecialMesh" then | |
| 1137 | mesh.MeshType=meshtype | |
| 1138 | if meshid~="nil" then | |
| 1139 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 1140 | end | |
| 1141 | end | |
| 1142 | mesh.Offset=offset | |
| 1143 | mesh.Scale=scale | |
| 1144 | return mesh | |
| 1145 | end | |
| 1146 | ||
| 1147 | function weld(parent,part0,part1,c0) | |
| 1148 | local weld=it("Weld")
| |
| 1149 | weld.Parent=parent | |
| 1150 | weld.Part0=part0 | |
| 1151 | weld.Part1=part1 | |
| 1152 | weld.C0=c0 | |
| 1153 | return weld | |
| 1154 | end | |
| 1155 | ||
| 1156 | local Color1=Torso.BrickColor | |
| 1157 | ||
| 1158 | local bodvel=Instance.new("BodyVelocity")
| |
| 1159 | local bg=Instance.new("BodyGyro")
| |
| 1160 | ||
| 1161 | function swait(num) | |
| 1162 | if num==0 or num==nil then | |
| 1163 | game:service'RunService'.Stepped:wait(0) | |
| 1164 | else | |
| 1165 | for i=0,num do | |
| 1166 | game:service'RunService'.Stepped:wait(0) | |
| 1167 | end | |
| 1168 | end | |
| 1169 | end | |
| 1170 | ||
| 1171 | -------- RAIN_RAINBOW LEAVE IT TO ME | |
| 1172 | local r = 255 | |
| 1173 | local g = 0 | |
| 1174 | local b = 0 | |
| 1175 | coroutine.resume(coroutine.create(function() | |
| 1176 | while wait() do | |
| 1177 | for i = 0, 254/5 do | |
| 1178 | swait() | |
| 1179 | g = g + 5 | |
| 1180 | end | |
| 1181 | for i = 0, 254/5 do | |
| 1182 | swait() | |
| 1183 | r = r - 5 | |
| 1184 | end | |
| 1185 | for i = 0, 254/5 do | |
| 1186 | swait() | |
| 1187 | b = b + 5 | |
| 1188 | end | |
| 1189 | for i = 0, 254/5 do | |
| 1190 | swait() | |
| 1191 | g = g - 5 | |
| 1192 | end | |
| 1193 | for i = 0, 254/5 do | |
| 1194 | swait() | |
| 1195 | r = r + 5 | |
| 1196 | end | |
| 1197 | for i = 0, 254/5 do | |
| 1198 | swait() | |
| 1199 | b = b - 5 | |
| 1200 | end | |
| 1201 | end | |
| 1202 | end)) | |
| 1203 | ||
| 1204 | ||
| 1205 | so = function(id,par,vol,pit) | |
| 1206 | coroutine.resume(coroutine.create(function() | |
| 1207 | local sou = Instance.new("Sound",par or workspace)
| |
| 1208 | sou.Volume=vol | |
| 1209 | sou.Pitch=pit or 1 | |
| 1210 | sou.SoundId=id | |
| 1211 | swait() | |
| 1212 | sou:play() | |
| 1213 | game:GetService("Debris"):AddItem(sou,6)
| |
| 1214 | end)) | |
| 1215 | end | |
| 1216 | ||
| 1217 | function clerp(a,b,t) | |
| 1218 | local qa = {QuaternionFromCFrame(a)}
| |
| 1219 | local qb = {QuaternionFromCFrame(b)}
| |
| 1220 | local ax, ay, az = a.x, a.y, a.z | |
| 1221 | local bx, by, bz = b.x, b.y, b.z | |
| 1222 | local _t = 1-t | |
| 1223 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 1224 | end | |
| 1225 | ||
| 1226 | function QuaternionFromCFrame(cf) | |
| 1227 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1228 | local trace = m00 + m11 + m22 | |
| 1229 | if trace > 0 then | |
| 1230 | local s = math.sqrt(1 + trace) | |
| 1231 | local recip = 0.5/s | |
| 1232 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 1233 | else | |
| 1234 | local i = 0 | |
| 1235 | if m11 > m00 then | |
| 1236 | i = 1 | |
| 1237 | end | |
| 1238 | if m22 > (i == 0 and m00 or m11) then | |
| 1239 | i = 2 | |
| 1240 | end | |
| 1241 | if i == 0 then | |
| 1242 | local s = math.sqrt(m00-m11-m22+1) | |
| 1243 | local recip = 0.5/s | |
| 1244 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 1245 | elseif i == 1 then | |
| 1246 | local s = math.sqrt(m11-m22-m00+1) | |
| 1247 | local recip = 0.5/s | |
| 1248 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 1249 | elseif i == 2 then | |
| 1250 | local s = math.sqrt(m22-m00-m11+1) | |
| 1251 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 1252 | end | |
| 1253 | end | |
| 1254 | end | |
| 1255 | ||
| 1256 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1257 | local xs, ys, zs = x + x, y + y, z + z | |
| 1258 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 1259 | local xx = x*xs | |
| 1260 | local xy = x*ys | |
| 1261 | local xz = x*zs | |
| 1262 | local yy = y*ys | |
| 1263 | local yz = y*zs | |
| 1264 | local zz = z*zs | |
| 1265 | 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)) | |
| 1266 | end | |
| 1267 | ||
| 1268 | function QuaternionSlerp(a, b, t) | |
| 1269 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 1270 | local startInterp, finishInterp; | |
| 1271 | if cosTheta >= 0.0001 then | |
| 1272 | if (1 - cosTheta) > 0.0001 then | |
| 1273 | local theta = math.acos(cosTheta) | |
| 1274 | local invSinTheta = 1/math.sin(theta) | |
| 1275 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 1276 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1277 | else | |
| 1278 | startInterp = 1-t | |
| 1279 | finishInterp = t | |
| 1280 | end | |
| 1281 | else | |
| 1282 | if (1+cosTheta) > 0.0001 then | |
| 1283 | local theta = math.acos(-cosTheta) | |
| 1284 | local invSinTheta = 1/math.sin(theta) | |
| 1285 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 1286 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1287 | else | |
| 1288 | startInterp = t-1 | |
| 1289 | finishInterp = t | |
| 1290 | end | |
| 1291 | end | |
| 1292 | 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 | |
| 1293 | end | |
| 1294 | ||
| 1295 | local function CFrameFromTopBack(at, top, back) | |
| 1296 | - | function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1296 | + | |
| 1297 | return CFrame.new(at.x, at.y, at.z, | |
| 1298 | right.x, top.x, back.x, | |
| 1299 | right.y, top.y, back.y, | |
| 1300 | right.z, top.z, back.z) | |
| 1301 | end | |
| 1302 | ||
| 1303 | function Triangle(a, b, c) | |
| 1304 | local edg1 = (c-a):Dot((b-a).unit) | |
| 1305 | local edg2 = (a-b):Dot((c-b).unit) | |
| 1306 | local edg3 = (b-c):Dot((a-c).unit) | |
| 1307 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 1308 | a, b, c = a, b, c | |
| 1309 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 1310 | a, b, c = b, c, a | |
| 1311 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 1312 | a, b, c = c, a, b | |
| 1313 | else | |
| 1314 | assert(false, "unreachable") | |
| 1315 | end | |
| 1316 | ||
| 1317 | local len1 = (c-a):Dot((b-a).unit) | |
| 1318 | local len2 = (b-a).magnitude - len1 | |
| 1319 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 1320 | ||
| 1321 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 1322 | ||
| 1323 | local list = {}
| |
| 1324 | ||
| 1325 | if len1 > 0.01 then | |
| 1326 | local w1 = Instance.new('WedgePart', m)
| |
| 1327 | game:GetService("Debris"):AddItem(w1,5)
| |
| 1328 | w1.Material = "SmoothPlastic" | |
| 1329 | w1.FormFactor = 'Custom' | |
| 1330 | w1.BrickColor = BrickColor.new("Really red")
| |
| 1331 | w1.Transparency = 0 | |
| 1332 | w1.Reflectance = 0 | |
| 1333 | w1.Material = "SmoothPlastic" | |
| 1334 | w1.CanCollide = false | |
| 1335 | local l1 = Instance.new("PointLight",w1)
| |
| 1336 | l1.Color = Color3.new(170,0,0) | |
| 1337 | NoOutline(w1) | |
| 1338 | local sz = Vector3.new(0.2, width, len1) | |
| 1339 | w1.Size = sz | |
| 1340 | local sp = Instance.new("SpecialMesh",w1)
| |
| 1341 | sp.MeshType = "Wedge" | |
| 1342 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 1343 | w1:BreakJoints() | |
| 1344 | w1.Anchored = true | |
| 1345 | w1.Parent = workspace | |
| 1346 | w1.Transparency = 0.7 | |
| 1347 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 1348 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 1349 | table.insert(list,w1) | |
| 1350 | end | |
| 1351 | ||
| 1352 | if len2 > 0.01 then | |
| 1353 | local w2 = Instance.new('WedgePart', m)
| |
| 1354 | game:GetService("Debris"):AddItem(w2,5)
| |
| 1355 | w2.Material = "SmoothPlastic" | |
| 1356 | w2.FormFactor = 'Custom' | |
| 1357 | w2.BrickColor = BrickColor.new("Really red")
| |
| 1358 | w2.Transparency = 0 | |
| 1359 | w2.Reflectance = 0 | |
| 1360 | w2.Material = "SmoothPlastic" | |
| 1361 | w2.CanCollide = false | |
| 1362 | local l2 = Instance.new("PointLight",w2)
| |
| 1363 | l2.Color = Color3.new(170,0,0) | |
| 1364 | NoOutline(w2) | |
| 1365 | local sz = Vector3.new(0.2, width, len2) | |
| 1366 | w2.Size = sz | |
| 1367 | local sp = Instance.new("SpecialMesh",w2)
| |
| 1368 | sp.MeshType = "Wedge" | |
| 1369 | - | function RecolorTextAndRename(name,col1,col2,font) |
| 1369 | + | |
| 1370 | - | modet.TextStrokeColor3 = col2 |
| 1370 | + | |
| 1371 | - | modet.TextColor3 = col1 |
| 1371 | + | |
| 1372 | - | modet.Font = font |
| 1372 | + | |
| 1373 | - | modet.Text = name |
| 1373 | + | |
| 1374 | - | techc.ImageColor3 = col2 |
| 1374 | + | |
| 1375 | - | circl.ImageColor3 = col2 |
| 1375 | + | |
| 1376 | - | circl2.ImageColor3 = col1 |
| 1376 | + | |
| 1377 | - | imgl2.ImageColor3 = col1 |
| 1377 | + | |
| 1378 | - | imgl2b.ImageColor3 = col2 |
| 1378 | + | |
| 1379 | - | ned.Text = name |
| 1379 | + | |
| 1380 | - | ned.TextColor3 = col1 |
| 1380 | + | |
| 1381 | - | ned.TextStrokeColor3 = col2 |
| 1381 | + | |
| 1382 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1383 | if hit.Parent == nil then | |
| 1384 | return | |
| 1385 | end | |
| 1386 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1387 | for _, v in pairs(hit.Parent:children()) do | |
| 1388 | if v:IsA("Humanoid") then
| |
| 1389 | h = v | |
| 1390 | end | |
| 1391 | end | |
| 1392 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
| |
| 1393 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1394 | return | |
| 1395 | end | |
| 1396 | local c = Create("ObjectValue")({
| |
| 1397 | Name = "creator", | |
| 1398 | Value = game:service("Players").LocalPlayer,
| |
| 1399 | Parent = h | |
| 1400 | }) | |
| 1401 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1402 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1403 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 1404 | end | |
| 1405 | local Damage = math.random(minim, maxim) | |
| 1406 | local blocked = false | |
| 1407 | local block = hit.Parent:findFirstChild("Block")
| |
| 1408 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1409 | blocked = true | |
| 1410 | block.Value = block.Value - 1 | |
| 1411 | print(block.Value) | |
| 1412 | end | |
| 1413 | if blocked == false then | |
| 1414 | HitHealth = h.Health | |
| 1415 | h.Health = h.Health - Damage | |
| 1416 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
| 1417 | print("gained kill")
| |
| 1418 | end | |
| 1419 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1420 | else | |
| 1421 | h.Health = h.Health - Damage / 2 | |
| 1422 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1423 | end | |
| 1424 | if Type == "Knockdown" then | |
| 1425 | local hum = hit.Parent.Humanoid | |
| 1426 | hum.PlatformStand = true | |
| 1427 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1428 | swait(1) | |
| 1429 | HHumanoid.PlatformStand = false | |
| 1430 | end), hum) | |
| 1431 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1432 | local bodvol = Create("BodyVelocity")({
| |
| 1433 | velocity = angle * knockback, | |
| 1434 | P = 5000, | |
| 1435 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1436 | Parent = hit | |
| 1437 | }) | |
| 1438 | local rl = Create("BodyAngularVelocity")({
| |
| 1439 | P = 3000, | |
| 1440 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 1441 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 1442 | Parent = hit | |
| 1443 | }) | |
| 1444 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1445 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1446 | elseif Type == "Normal" then | |
| 1447 | local vp = Create("BodyVelocity")({
| |
| 1448 | P = 500, | |
| 1449 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 1450 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1451 | }) | |
| 1452 | if knockback > 0 then | |
| 1453 | vp.Parent = hit.Parent.Head | |
| 1454 | end | |
| 1455 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1456 | elseif Type == "Up" then | |
| 1457 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1458 | velocity = Vector3.new(0, 20, 0), | |
| 1459 | P = 5000, | |
| 1460 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1461 | Parent = hit | |
| 1462 | }) | |
| 1463 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1464 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1465 | velocity = Vector3.new(0, 20, 0), | |
| 1466 | P = 5000, | |
| 1467 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1468 | Parent = hit | |
| 1469 | }) | |
| 1470 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1471 | elseif Type == "Leech" then | |
| 1472 | local hum = hit.Parent.Humanoid | |
| 1473 | if hum ~= nil then | |
| 1474 | for i = 0, 2 do | |
| 1475 | 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)
| |
| 1476 | end | |
| 1477 | Humanoid.Health = Humanoid.Health + 10 | |
| 1478 | end | |
| 1479 | elseif Type == "UpKnock" then | |
| 1480 | local hum = hit.Parent.Humanoid | |
| 1481 | hum.PlatformStand = true | |
| 1482 | if hum ~= nil then | |
| 1483 | hitr = true | |
| 1484 | - | --------- SazEreno's Artificial HB -------------- |
| 1484 | + | |
| 1485 | - | ArtificialHB = Instance.new("BindableEvent", script)
|
| 1485 | + | |
| 1486 | - | ArtificialHB.Name = "ArtificialHB" |
| 1486 | + | |
| 1487 | HHumanoid.PlatformStand = false | |
| 1488 | - | script:WaitForChild("ArtificialHB")
|
| 1488 | + | |
| 1489 | - | Frame_Speed = 1 / 60 |
| 1489 | + | |
| 1490 | - | frame = Frame_Speed |
| 1490 | + | |
| 1491 | - | tf = 0 |
| 1491 | + | |
| 1492 | - | allowframeloss = false |
| 1492 | + | |
| 1493 | - | tossremainder = false |
| 1493 | + | |
| 1494 | - | lastframe = tick() |
| 1494 | + | |
| 1495 | - | script.ArtificialHB:Fire() |
| 1495 | + | |
| 1496 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1497 | - | game:GetService("RunService").Heartbeat:connect(function(s, p)
|
| 1497 | + | |
| 1498 | - | tf = tf + s |
| 1498 | + | |
| 1499 | - | if tf >= frame then |
| 1499 | + | |
| 1500 | - | if allowframeloss then |
| 1500 | + | |
| 1501 | - | script.ArtificialHB:Fire() |
| 1501 | + | |
| 1502 | - | lastframe = tick() |
| 1502 | + | |
| 1503 | - | else |
| 1503 | + | |
| 1504 | - | for i = 1, math.floor(tf / frame) do |
| 1504 | + | |
| 1505 | - | script.ArtificialHB:Fire() |
| 1505 | + | |
| 1506 | P = 2000, | |
| 1507 | - | lastframe = tick() |
| 1507 | + | |
| 1508 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1509 | - | if tossremainder then |
| 1509 | + | |
| 1510 | - | tf = 0 |
| 1510 | + | |
| 1511 | - | else |
| 1511 | + | |
| 1512 | - | tf = tf - frame * math.floor(tf / frame) |
| 1512 | + | |
| 1513 | elseif Type == "Slashnare" then | |
| 1514 | 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)
| |
| 1515 | for i = 1, math.random(4, 5) do | |
| 1516 | 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)
| |
| 1517 | - | ------------------ |
| 1517 | + | |
| 1518 | local bp = Create("BodyPosition")({
| |
| 1519 | P = 2000, | |
| 1520 | D = 100, | |
| 1521 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1522 | position = hit.Parent.Torso.Position, | |
| 1523 | Parent = hit.Parent.Torso | |
| 1524 | }) | |
| 1525 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1526 | elseif Type == "Spike" then | |
| 1527 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
| 1528 | local bp = Create("BodyPosition")({
| |
| 1529 | P = 2000, | |
| 1530 | - | -------- RAINBOW LEAVE IT TO ME |
| 1530 | + | |
| 1531 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1532 | position = hit.Parent.Torso.Position, | |
| 1533 | Parent = hit.Parent.Torso | |
| 1534 | }) | |
| 1535 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1536 | elseif Type == "Freeze" then | |
| 1537 | local BodPos = Create("BodyPosition")({
| |
| 1538 | P = 50000, | |
| 1539 | D = 1000, | |
| 1540 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1541 | position = hit.Parent.Torso.Position, | |
| 1542 | Parent = hit.Parent.Torso | |
| 1543 | }) | |
| 1544 | local BodGy = Create("BodyGyro")({
| |
| 1545 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 1546 | P = 20000, | |
| 1547 | Parent = hit.Parent.Torso, | |
| 1548 | cframe = hit.Parent.Torso.CFrame | |
| 1549 | }) | |
| 1550 | hit.Parent.Torso.Anchored = true | |
| 1551 | coroutine.resume(coroutine.create(function(Part) | |
| 1552 | swait(1.5) | |
| 1553 | Part.Anchored = false | |
| 1554 | end), hit.Parent.Torso) | |
| 1555 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1556 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1557 | end | |
| 1558 | local debounce = Create("BoolValue")({
| |
| 1559 | Name = "DebounceHit", | |
| 1560 | Parent = hit.Parent, | |
| 1561 | Value = true | |
| 1562 | }) | |
| 1563 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1564 | c = Instance.new("ObjectValue")
| |
| 1565 | c.Name = "creator" | |
| 1566 | c.Value = Player | |
| 1567 | c.Parent = h | |
| 1568 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1569 | end | |
| 1570 | end | |
| 1571 | function ShowDamage(Pos, Text, Time, Color) | |
| 1572 | local Rate = 0.03333333333333333 | |
| 1573 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 1574 | local Text = Text or "" | |
| 1575 | local Time = Time or 2 | |
| 1576 | local Color = Color or Color3.new(1, 0, 1) | |
| 1577 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1578 | EffectPart.Anchored = true | |
| 1579 | local BillboardGui = Create("BillboardGui")({
| |
| 1580 | Size = UDim2.new(3, 0, 3, 0), | |
| 1581 | Adornee = EffectPart, | |
| 1582 | Parent = EffectPart | |
| 1583 | }) | |
| 1584 | local TextLabel = Create("TextLabel")({
| |
| 1585 | BackgroundTransparency = 1, | |
| 1586 | Size = UDim2.new(1, 0, 1, 0), | |
| 1587 | Text = Text, | |
| 1588 | TextColor3 = Color, | |
| 1589 | TextScaled = true, | |
| 1590 | Font = Enum.Font.ArialBold, | |
| 1591 | Parent = BillboardGui | |
| 1592 | }) | |
| 1593 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 1594 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1595 | delay(0, function() | |
| 1596 | local Frames = Time / Rate | |
| 1597 | for Frame = 1, Frames do | |
| 1598 | wait(Rate) | |
| 1599 | local Percent = Frame / Frames | |
| 1600 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1601 | TextLabel.TextTransparency = Percent | |
| 1602 | end | |
| 1603 | if EffectPart and EffectPart.Parent then | |
| 1604 | EffectPart:Destroy() | |
| 1605 | end | |
| 1606 | end) | |
| 1607 | end | |
| 1608 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 1609 | for _, c in pairs(workspace:children()) do | |
| 1610 | local hum = c:findFirstChildOfClass("Humanoid")
| |
| 1611 | if hum ~= nil then | |
| 1612 | local head = c:findFirstChild("Head")
| |
| 1613 | if head ~= nil then | |
| 1614 | local targ = head.Position - Part.Position | |
| 1615 | local mag = targ.magnitude | |
| 1616 | if magni >= mag and c.Name ~= Player.Name then | |
| 1617 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1618 | end | |
| 1619 | end | |
| 1620 | end | |
| 1621 | end | |
| 1622 | end | |
| 1623 | ||
| 1624 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
| 1625 | for _, c in pairs(workspace:children()) do | |
| 1626 | local hum = c:findFirstChild("Humanoid")
| |
| 1627 | if hum ~= nil then | |
| 1628 | local head = c:findFirstChild("Torso")
| |
| 1629 | if head ~= nil then | |
| 1630 | local targ = head.Position - Part.Position | |
| 1631 | local mag = targ.magnitude | |
| 1632 | if magni >= mag and c.Name ~= Player.Name then | |
| 1633 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
| |
| 1634 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1635 | end | |
| 1636 | end | |
| 1637 | end | |
| 1638 | end | |
| 1639 | end | |
| 1640 | ||
| 1641 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 1642 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 1643 | end | |
| 1644 | ||
| 1645 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 1646 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1647 | prt.Anchored=true | |
| 1648 | prt.CFrame=cframe | |
| 1649 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 1650 | --http://www.roblox.com/asset/?id=4770560 | |
| 1651 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1652 | CF=prt.CFrame | |
| 1653 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 1654 | for i=0,1,0.2 do | |
| 1655 | wait() | |
| 1656 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 1657 | end | |
| 1658 | for i=0,1,delay do | |
| 1659 | wait() | |
| 1660 | --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) | |
| 1661 | Mesh.Scale=Mesh.Scale | |
| 1662 | end | |
| 1663 | for i=0,1,0.1 do | |
| 1664 | wait() | |
| 1665 | Part.Transparency=i | |
| 1666 | end | |
| 1667 | Part.Parent=nil | |
| 1668 | end),prt,msh,CF) | |
| 1669 | end | |
| 1670 | ||
| 1671 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1672 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1673 | prt.Anchored=true | |
| 1674 | prt.Material = "Neon" | |
| 1675 | prt.CFrame=cframe | |
| 1676 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1677 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1678 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1679 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1680 | for i=0,1,delay do | |
| 1681 | swait() | |
| 1682 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1683 | Part.Transparency=i | |
| 1684 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1685 | end | |
| 1686 | Part.Parent=nil | |
| 1687 | end),prt,msh) | |
| 1688 | end | |
| 1689 | ||
| 1690 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 1691 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1692 | prt.Anchored=true | |
| 1693 | prt.Material = "Neon" | |
| 1694 | prt.CFrame=cframe | |
| 1695 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1696 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1697 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1698 | local rtype = rottype | |
| 1699 | for i=0,1,delay do | |
| 1700 | swait() | |
| 1701 | if rtype == 1 then | |
| 1702 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1703 | elseif rtype == 2 then | |
| 1704 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1705 | end | |
| 1706 | Part.Transparency=i | |
| 1707 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1708 | end | |
| 1709 | Part.Parent=nil | |
| 1710 | end),prt,msh) | |
| 1711 | end | |
| 1712 | ||
| 1713 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1714 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1715 | prt.Anchored=true | |
| 1716 | prt.CFrame=cframe | |
| 1717 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1718 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1719 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1720 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1721 | for i=0,1,delay do | |
| 1722 | wait() | |
| 1723 | Part.Transparency=i | |
| 1724 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1725 | end | |
| 1726 | Part.Parent=nil | |
| 1727 | end),prt,msh) | |
| 1728 | end | |
| 1729 | ||
| 1730 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 1731 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1732 | prt.Anchored=true | |
| 1733 | prt.Material = "Neon" | |
| 1734 | prt.CFrame=cframe | |
| 1735 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1736 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1737 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1738 | local rtype = rottype | |
| 1739 | for i=0,1,delay do | |
| 1740 | swait() | |
| 1741 | if rtype == 1 then | |
| 1742 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1743 | elseif rtype == 2 then | |
| 1744 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1745 | end | |
| 1746 | Part.Transparency=i | |
| 1747 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1748 | end | |
| 1749 | Part.Parent=nil | |
| 1750 | end),prt,msh) | |
| 1751 | end | |
| 1752 | ||
| 1753 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 1754 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1755 | prt.Anchored=true | |
| 1756 | prt.Material = "Neon" | |
| 1757 | - | Value = game:GetService("Players").LocalPlayer,
|
| 1757 | + | |
| 1758 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 1759 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 1760 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 1761 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1762 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1763 | local rtype = rottype | |
| 1764 | for i=0,1,delay do | |
| 1765 | swait() | |
| 1766 | if rtype == 1 then | |
| 1767 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1768 | elseif rtype == 2 then | |
| 1769 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1770 | end | |
| 1771 | dec.Transparency=i | |
| 1772 | dec2.Transparency=i | |
| 1773 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 1774 | - | h.MaxHealth = 100 |
| 1774 | + | |
| 1775 | Part.Parent=nil | |
| 1776 | end),prt,msh) | |
| 1777 | end | |
| 1778 | - | dmg(h.Parent) |
| 1778 | + | |
| 1779 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 1780 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1781 | prt.Anchored=true | |
| 1782 | prt.Material = "Neon" | |
| 1783 | prt.CFrame=cframe | |
| 1784 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 1785 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1786 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1787 | local rtype = rottype | |
| 1788 | for i=0,1,delay do | |
| 1789 | swait() | |
| 1790 | if rtype == 1 then | |
| 1791 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1792 | elseif rtype == 2 then | |
| 1793 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1794 | end | |
| 1795 | prt.Transparency=i | |
| 1796 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 1797 | end | |
| 1798 | Part.Parent=nil | |
| 1799 | end),prt,msh) | |
| 1800 | end | |
| 1801 | ||
| 1802 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
| 1803 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1804 | prt.Anchored=true | |
| 1805 | prt.Material = "Neon" | |
| 1806 | prt.CFrame=cframe | |
| 1807 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
| |
| 1808 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1809 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1810 | local rtype = rottype | |
| 1811 | for i=0,1,delay do | |
| 1812 | swait() | |
| 1813 | if rtype == 1 then | |
| 1814 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
| 1815 | elseif rtype == 2 then | |
| 1816 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
| 1817 | end | |
| 1818 | prt.Transparency=i | |
| 1819 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
| 1820 | end | |
| 1821 | Part.Parent=nil | |
| 1822 | end),prt,msh) | |
| 1823 | end | |
| 1824 | ||
| 1825 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
| 1826 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1827 | prt.Anchored=true | |
| 1828 | prt.Material = "Neon" | |
| 1829 | prt.CFrame=cframe | |
| 1830 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1831 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1832 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1833 | local rtype = rottype | |
| 1834 | for i=0,1,delay do | |
| 1835 | swait() | |
| 1836 | if rtype == 1 then | |
| 1837 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1838 | elseif rtype == 2 then | |
| 1839 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1840 | end | |
| 1841 | prt.Transparency=i | |
| 1842 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 1843 | end | |
| 1844 | Part.Parent=nil | |
| 1845 | end),prt,msh) | |
| 1846 | end | |
| 1847 | ||
| 1848 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 1849 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1850 | prt.Anchored=true | |
| 1851 | prt.Material = "Neon" | |
| 1852 | prt.CFrame=cframe | |
| 1853 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1854 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1855 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1856 | local rtype = rottype | |
| 1857 | for i=0,1,delay do | |
| 1858 | swait() | |
| 1859 | if rtype == 1 then | |
| 1860 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1861 | elseif rtype == 2 then | |
| 1862 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1863 | end | |
| 1864 | prt.Transparency=i | |
| 1865 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1866 | end | |
| 1867 | Part.Parent=nil | |
| 1868 | end),prt,msh) | |
| 1869 | end | |
| 1870 | ||
| 1871 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 1872 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1873 | prt.Anchored=false | |
| 1874 | prt.CFrame=cframe | |
| 1875 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1876 | local wld=weld(prt,prt,Parent,cframe) | |
| 1877 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1878 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 1879 | for i=0,1,delay do | |
| 1880 | wait() | |
| 1881 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 1882 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1883 | Part.Transparency=i | |
| 1884 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1885 | end | |
| 1886 | Part.Parent=nil | |
| 1887 | end),prt,msh,wld) | |
| 1888 | end | |
| 1889 | ||
| 1890 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 1891 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1892 | prt.Anchored=false | |
| 1893 | prt.CFrame=cframe | |
| 1894 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1895 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 1896 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1897 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 1898 | for i=0,1,delay do | |
| 1899 | wait() | |
| 1900 | Weld.C0=euler(i*20,0,0) | |
| 1901 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1902 | Part.Transparency=i | |
| 1903 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1904 | end | |
| 1905 | Part.Parent=nil | |
| 1906 | end),prt,msh,wld) | |
| 1907 | end | |
| 1908 | ||
| 1909 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1910 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1911 | prt.Anchored=true | |
| 1912 | prt.CFrame=cframe | |
| 1913 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1914 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1915 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1916 | for i=0,1,delay do | |
| 1917 | wait() | |
| 1918 | Part.CFrame=Part.CFrame | |
| 1919 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1920 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1921 | prt2.Anchored=true | |
| 1922 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1923 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 1924 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 1925 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1926 | for i=0,1,0.1 do | |
| 1927 | wait() | |
| 1928 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 1929 | end | |
| 1930 | Part.Parent=nil | |
| 1931 | end),prt2,msh2) | |
| 1932 | end | |
| 1933 | for i=0,1,delay*2 do | |
| 1934 | wait() | |
| 1935 | Part.CFrame=Part.CFrame | |
| 1936 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 1937 | end | |
| 1938 | Part.Parent=nil | |
| 1939 | end),prt,msh) | |
| 1940 | end | |
| 1941 | ||
| 1942 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1943 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1944 | prt.Anchored=true | |
| 1945 | prt.CFrame=cframe | |
| 1946 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1947 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1948 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1949 | for i=0,1,delay do | |
| 1950 | wait() | |
| 1951 | Part.CFrame=Part.CFrame | |
| 1952 | Part.Transparency=i | |
| 1953 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1954 | end | |
| 1955 | Part.Parent=nil | |
| 1956 | end),prt,msh) | |
| 1957 | end | |
| 1958 | ||
| 1959 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 1960 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1961 | prt.Anchored=true | |
| 1962 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1963 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1964 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1965 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 1966 | CF=Part.CFrame | |
| 1967 | Numbb=0 | |
| 1968 | randnumb=math.random()/10 | |
| 1969 | rand1=math.random()/10 | |
| 1970 | for i=0,1,rand1 do | |
| 1971 | wait() | |
| 1972 | CF=CF*cf(0,math.random()/2,0) | |
| 1973 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 1974 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 1975 | Part.Transparency=i | |
| 1976 | Numbb=Numbb+randnumb | |
| 1977 | end | |
| 1978 | Part.Parent=nil | |
| 1979 | end),prt,CF,Numbb,randnumb) | |
| 1980 | end | |
| 1981 | ||
| 1982 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1983 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1984 | prt.Anchored=true | |
| 1985 | prt.CFrame=cframe | |
| 1986 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 1987 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1988 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1989 | for i=0,1,delay do | |
| 1990 | wait() | |
| 1991 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 1992 | Part.Transparency=i | |
| 1993 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1994 | end | |
| 1995 | Part.Parent=nil | |
| 1996 | end),prt,msh) | |
| 1997 | end | |
| 1998 | ||
| 1999 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2000 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2001 | prt.Anchored=true | |
| 2002 | prt.CFrame=cframe | |
| 2003 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 2004 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2005 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2006 | for i=0,1,delay do | |
| 2007 | wait() | |
| 2008 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 2009 | Part.Transparency=i | |
| 2010 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2011 | end | |
| 2012 | Part.Parent=nil | |
| 2013 | end),prt,msh) | |
| 2014 | end | |
| 2015 | ||
| 2016 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 2017 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2018 | prt.Anchored=true | |
| 2019 | prt.CFrame=cframe*cf(x,y,z) | |
| 2020 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 2021 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2022 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 2023 | local num=math.random() | |
| 2024 | local num2=math.random(-3,2)+math.random() | |
| 2025 | local numm=0 | |
| 2026 | for i=0,1,delay*2 do | |
| 2027 | swait() | |
| 2028 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 2029 | Part.Transparency=i | |
| 2030 | numm=numm+0.01 | |
| 2031 | end | |
| 2032 | Part.Parent=nil | |
| 2033 | Mesh.Parent=nil | |
| 2034 | end),prt,msh,x,y,z) | |
| 2035 | end | |
| 2036 | ||
| 2037 | function dmgstart(dmg,what) | |
| 2038 | hitcon = what.Touched:connect(function(hit) | |
| 2039 | local hum = hit.Parent:FindFirstChild("Humanoid")
| |
| 2040 | if hum and not hum:IsDescendantOf(Character) then | |
| 2041 | hum:TakeDamage(dmg) | |
| 2042 | end | |
| 2043 | end) | |
| 2044 | end | |
| 2045 | ||
| 2046 | function dmgstop() | |
| 2047 | hitcon:disconnect() | |
| 2048 | end | |
| 2049 | ||
| 2050 | function Cloak() | |
| 2051 | Face.Parent=nil | |
| 2052 | cloaked=true | |
| 2053 | for _,v in pairs(Torso.Parent:children()) do | |
| 2054 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2055 | coroutine.resume(coroutine.create(function() | |
| 2056 | for i=0,1,0.2 do | |
| 2057 | wait() | |
| 2058 | v.Transparency=i | |
| 2059 | end | |
| 2060 | v.Transparency=1 | |
| 2061 | end)) | |
| 2062 | end | |
| 2063 | if v.className=="Hat" then | |
| 2064 | hatp=v.Handle | |
| 2065 | coroutine.resume(coroutine.create(function(derp) | |
| 2066 | for i=0,1,0.2 do | |
| 2067 | wait() | |
| 2068 | derp.Transparency=i | |
| 2069 | end | |
| 2070 | derp.Transparency=1 | |
| 2071 | end),hatp) | |
| 2072 | end | |
| 2073 | end | |
| 2074 | for _,v in pairs(m:children()) do | |
| 2075 | if v.className=="Part" then | |
| 2076 | coroutine.resume(coroutine.create(function() | |
| 2077 | for i=0,1,0.2 do | |
| 2078 | wait() | |
| 2079 | v.Transparency=i | |
| 2080 | end | |
| 2081 | v.Transparency=1 | |
| 2082 | end)) | |
| 2083 | end | |
| 2084 | end | |
| 2085 | end | |
| 2086 | ||
| 2087 | function UnCloak() | |
| 2088 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
| |
| 2089 | Face.Parent=Head | |
| 2090 | cloaked=false | |
| 2091 | for _,v in pairs(Torso.Parent:children()) do | |
| 2092 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2093 | coroutine.resume(coroutine.create(function() | |
| 2094 | for i=0,1,0.1 do | |
| 2095 | wait() | |
| 2096 | v.Transparency=v.Transparency-0.1 | |
| 2097 | end | |
| 2098 | v.Transparency=0 | |
| 2099 | end)) | |
| 2100 | end | |
| 2101 | if v.className=="Hat" then | |
| 2102 | hatp=v.Handle | |
| 2103 | coroutine.resume(coroutine.create(function(derp) | |
| 2104 | for i=0,1,0.1 do | |
| 2105 | wait() | |
| 2106 | derp.Transparency=derp.Transparency-0.1 | |
| 2107 | end | |
| 2108 | derp.Transparency=0 | |
| 2109 | end),hatp) | |
| 2110 | end | |
| 2111 | end | |
| 2112 | for _,v in pairs(m:children()) do | |
| 2113 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
| 2114 | coroutine.resume(coroutine.create(function() | |
| 2115 | for i=0,1,0.1 do | |
| 2116 | wait() | |
| 2117 | v.Transparency=v.Transparency-0.1 | |
| 2118 | end | |
| 2119 | v.Transparency=0 | |
| 2120 | end)) | |
| 2121 | v.Transparency=0 | |
| 2122 | end | |
| 2123 | end | |
| 2124 | end | |
| 2125 | ||
| 2126 | local origcolor = BrickColor.new("Pastel light blue")
| |
| 2127 | ---- This section of explosions. | |
| 2128 | function Explode(rad,par,pitch,vol,mindam,maxdam) | |
| 2129 | local expart = Instance.new("Part",char)
| |
| 2130 | local expart2 = Instance.new("Part",char)
| |
| 2131 | local rin = Instance.new("Part",char)
| |
| 2132 | local rin2 = Instance.new("Part",char)
| |
| 2133 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2134 | partMesh.MeshType = "Sphere" | |
| 2135 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 2136 | partMesh2.MeshType = "Sphere" | |
| 2137 | local partMesh3 = Instance.new("SpecialMesh",rin)
| |
| 2138 | partMesh3.MeshType = "Brick" | |
| 2139 | local partMesh4 = Instance.new("SpecialMesh",rin2)
| |
| 2140 | partMesh4.MeshType = "Brick" | |
| 2141 | CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
| |
| 2142 | partMesh.Scale = vt(rad,rad,rad) | |
| 2143 | expart.Size = vt(1,1,1) | |
| 2144 | expart.Transparency = 0 | |
| 2145 | expart.Anchored = true | |
| 2146 | expart.Material = "Neon" | |
| 2147 | expart.BrickColor = bc("White")
| |
| 2148 | expart.CFrame = par.CFrame | |
| 2149 | partMesh2.Scale = vt(rad,rad,rad) | |
| 2150 | expart2.Size = vt(1.15,1.15,1.15) | |
| 2151 | expart2.Transparency = 0.5 | |
| 2152 | expart2.Anchored = true | |
| 2153 | expart2.Material = "Neon" | |
| 2154 | expart2.BrickColor = par.BrickColor | |
| 2155 | expart2.CFrame = par.CFrame | |
| 2156 | rin.Size = vt(1.15,1.15,1.15) | |
| 2157 | rin.Transparency = 1 | |
| 2158 | rin.Anchored = true | |
| 2159 | rin.Material = "Neon" | |
| 2160 | rin.BrickColor = par.BrickColor | |
| 2161 | rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 2162 | rin2.Size = vt(1.15,1.15,1.15) | |
| 2163 | rin2.Transparency = 1 | |
| 2164 | rin2.Anchored = true | |
| 2165 | rin2.Material = "Neon" | |
| 2166 | rin2.BrickColor = par.BrickColor | |
| 2167 | rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 2168 | partMesh3.Scale = vt(0,1,0) | |
| 2169 | partMesh4.Scale = vt(0,1,0) | |
| 2170 | local dec2 = Instance.new("Decal", rin)
| |
| 2171 | dec2.Face = "Top" | |
| 2172 | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" | |
| 2173 | dec2.Parent = rin | |
| 2174 | local dec2b = dec2:Clone() | |
| 2175 | dec2b.Face = "Bottom" | |
| 2176 | dec2b.Parent = rin | |
| 2177 | ||
| 2178 | local dec2a = Instance.new("Decal", rin2)
| |
| 2179 | dec2a.Face = "Top" | |
| 2180 | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" | |
| 2181 | dec2a.Parent = rin2 | |
| 2182 | local dec2ab = dec2a:Clone() | |
| 2183 | dec2ab.Face = "Bottom" | |
| 2184 | dec2ab.Parent = rin2 | |
| 2185 | expart.CanCollide = false | |
| 2186 | expart2.CanCollide = false | |
| 2187 | rin.CanCollide = false | |
| 2188 | rin2.CanCollide = false | |
| 2189 | MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal") | |
| 2190 | local value = 1*rad/6.5 | |
| 2191 | for i = 0, 199 do | |
| 2192 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2193 | expart.CFrame = expart.CFrame | |
| 2194 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 2195 | expart2.CFrame = expart.CFrame | |
| 2196 | value = value - 0.035*rad/30 | |
| 2197 | if value < 7.5 then | |
| 2198 | partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5) | |
| 2199 | rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0) | |
| 2200 | partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5) | |
| 2201 | rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0) | |
| 2202 | end | |
| 2203 | if value < 0 then | |
| 2204 | dec2.Transparency = dec2.Transparency + 0.025 | |
| 2205 | dec2a.Transparency = dec2a.Transparency + 0.025 | |
| 2206 | dec2b.Transparency = dec2b.Transparency + 0.025 | |
| 2207 | dec2ab.Transparency = dec2ab.Transparency + 0.025 | |
| 2208 | expart.Transparency = expart.Transparency + 0.025 | |
| 2209 | expart2.Transparency = expart2.Transparency + 0.025 | |
| 2210 | rin.Transparency = rin.Transparency + 0.025 | |
| 2211 | rin2.Transparency = rin2.Transparency + 0.025 | |
| 2212 | end | |
| 2213 | swait() | |
| 2214 | end | |
| 2215 | game:GetService("Debris"):AddItem(expart, 1)
| |
| 2216 | game:GetService("Debris"):AddItem(expart2, 1)
| |
| 2217 | game:GetService("Debris"):AddItem(rin, 1)
| |
| 2218 | game:GetService("Debris"):AddItem(rin2, 1)
| |
| 2219 | end | |
| 2220 | ||
| 2221 | function ExplodeShort(rad,par,pitch,vol,mindam,maxdam) | |
| 2222 | local expart = Instance.new("Part",char)
| |
| 2223 | local expart2 = Instance.new("Part",char)
| |
| 2224 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2225 | partMesh.MeshType = "Sphere" | |
| 2226 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 2227 | partMesh2.MeshType = "Sphere" | |
| 2228 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
| |
| 2229 | partMesh.Scale = vt(rad,rad,rad) | |
| 2230 | expart.Size = vt(1,1,1) | |
| 2231 | expart.Transparency = 0 | |
| 2232 | expart.Anchored = true | |
| 2233 | expart.Material = "Neon" | |
| 2234 | expart.BrickColor = bc("White")
| |
| 2235 | expart.CFrame = par.CFrame | |
| 2236 | partMesh2.Scale = vt(rad,rad,rad) | |
| 2237 | expart2.Size = vt(1.15,1.15,1.15) | |
| 2238 | expart2.Transparency = 0.5 | |
| 2239 | expart2.Anchored = true | |
| 2240 | expart2.Material = "Neon" | |
| 2241 | expart2.BrickColor = par.BrickColor | |
| 2242 | expart2.CFrame = par.CFrame | |
| 2243 | expart.CanCollide = false | |
| 2244 | expart2.CanCollide = false | |
| 2245 | MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal") | |
| 2246 | local value = 1*rad/6.5 | |
| 2247 | for i = 0, 75 do | |
| 2248 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2249 | expart.CFrame = expart.CFrame | |
| 2250 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 2251 | expart2.CFrame = expart.CFrame | |
| 2252 | value = value - 0.035*rad/5 | |
| 2253 | if value < 0 then | |
| 2254 | value = 0 | |
| 2255 | expart.Transparency = expart.Transparency + 0.05 | |
| 2256 | expart2.Transparency = expart2.Transparency + 0.05 | |
| 2257 | end | |
| 2258 | swait() | |
| 2259 | end | |
| 2260 | game:GetService("Debris"):AddItem(expart, 1)
| |
| 2261 | game:GetService("Debris"):AddItem(expart2, 1)
| |
| 2262 | end | |
| 2263 | ||
| 2264 | function AreaDanger(rad,par,mindam,maxdam) | |
| 2265 | local expart = Instance.new("Part",char)
| |
| 2266 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2267 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
| |
| 2268 | partMesh.MeshType = "Sphere" | |
| 2269 | partMesh.Scale = vt(rad,rad,rad) | |
| 2270 | expart.Size = vt(1,1,1) | |
| 2271 | expart.Transparency = 0.5 | |
| 2272 | expart.Anchored = true | |
| 2273 | expart.Material = "Neon" | |
| 2274 | expart.CanCollide = false | |
| 2275 | expart.BrickColor = par.BrickColor | |
| 2276 | expart.CFrame = par.CFrame | |
| 2277 | local value = 1*rad/5 | |
| 2278 | MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1) | |
| 2279 | for i = 0, 14 do | |
| 2280 | wait() | |
| 2281 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2282 | expart.CFrame = expart.CFrame | |
| 2283 | value = value - 0.035*rad | |
| 2284 | if value < 0 then | |
| 2285 | value = 0 | |
| 2286 | end | |
| 2287 | end | |
| 2288 | wait(0.25) | |
| 2289 | CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
| |
| 2290 | wait(0.5) | |
| 2291 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
| |
| 2292 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
| |
| 2293 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
| 2294 | MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025) | |
| 2295 | for i = 0, 14 do | |
| 2296 | wait() | |
| 2297 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2298 | expart.CFrame = expart.CFrame | |
| 2299 | value = value - 0.035*rad/2 | |
| 2300 | end | |
| 2301 | expart.Transparency = 1 | |
| 2302 | game:GetService("Debris"):AddItem(expart, 5)
| |
| 2303 | end | |
| 2304 | ||
| 2305 | function Swarmsplosions(negrad,rad,par,mindam,maxdam) | |
| 2306 | CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
| |
| 2307 | CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
| |
| 2308 | CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
| |
| 2309 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
| |
| 2310 | MagniDamageWithEffect(par, 25, 5,10, 0, "Normal") | |
| 2311 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025) | |
| 2312 | for i = 0, 24 do | |
| 2313 | 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)) | |
| 2314 | end | |
| 2315 | for i = 0, 24 do | |
| 2316 | local expart = Instance.new("Part",char)
| |
| 2317 | expart.Transparency = 1 | |
| 2318 | expart.Anchored = true | |
| 2319 | expart.CanCollide = false | |
| 2320 | expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad)) | |
| 2321 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
| |
| 2322 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
| |
| 2323 | MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal") | |
| 2324 | MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025) | |
| 2325 | for i = 0, 9 do | |
| 2326 | 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)) | |
| 2327 | end | |
| 2328 | game:GetService("Debris"):AddItem(expart, 2)
| |
| 2329 | wait(0.1) | |
| 2330 | end | |
| 2331 | end | |
| 2332 | ||
| 2333 | function EXterPlosion(par) | |
| 2334 | CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
| |
| 2335 | CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
| |
| 2336 | CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
| |
| 2337 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
| |
| 2338 | MagniDamageWithEffect(par, 500, 80,99, 0, "Normal") | |
| 2339 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005) | |
| 2340 | MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1) | |
| 2341 | for i = 0, 24 do | |
| 2342 | 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)) | |
| 2343 | end | |
| 2344 | for i = 0, 24 do | |
| 2345 | 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)) | |
| 2346 | end | |
| 2347 | end | |
| 2348 | ---- | |
| 2349 | ||
| 2350 | ||
| 2351 | function ring(type,pos,scale,value) | |
| 2352 | local type = type | |
| 2353 | local rng = Instance.new("Part", char)
| |
| 2354 | rng.Anchored = true | |
| 2355 | rng.BrickColor = origcolor | |
| 2356 | rng.CanCollide = false | |
| 2357 | rng.FormFactor = 3 | |
| 2358 | rng.Name = "Ring" | |
| 2359 | rng.Size = Vector3.new(1, 1, 1) | |
| 2360 | rng.Transparency = 0 | |
| 2361 | rng.TopSurface = 0 | |
| 2362 | rng.BottomSurface = 0 | |
| 2363 | rng.CFrame = pos | |
| 2364 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2365 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2366 | rngm.Scale = scale | |
| 2367 | local scaler2 = 1 | |
| 2368 | if type == "Add" then | |
| 2369 | scaler2 = 1*value | |
| 2370 | elseif type == "Divide" then | |
| 2371 | scaler2 = 1/value | |
| 2372 | end | |
| 2373 | coroutine.resume(coroutine.create(function() | |
| 2374 | for i = 0,10,0.1 do | |
| 2375 | swait() | |
| 2376 | if type == "Add" then | |
| 2377 | scaler2 = scaler2 - 0.01*value | |
| 2378 | elseif type == "Divide" then | |
| 2379 | scaler2 = scaler2 - 0.01/value | |
| 2380 | end | |
| 2381 | rng.Transparency = rng.Transparency + 0.01 | |
| 2382 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2383 | end | |
| 2384 | rng:Destroy() | |
| 2385 | end)) | |
| 2386 | end | |
| 2387 | ||
| 2388 | ||
| 2389 | function wave(type,pos,scale,value) | |
| 2390 | local type = type | |
| 2391 | local rng = Instance.new("Part", char)
| |
| 2392 | rng.Anchored = true | |
| 2393 | rng.BrickColor = origcolor | |
| 2394 | rng.CanCollide = false | |
| 2395 | rng.FormFactor = 3 | |
| 2396 | rng.Name = "Ring" | |
| 2397 | rng.Size = Vector3.new(1, 1, 1) | |
| 2398 | rng.Transparency = 0 | |
| 2399 | rng.TopSurface = 0 | |
| 2400 | rng.BottomSurface = 0 | |
| 2401 | rng.CFrame = pos | |
| 2402 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2403 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2404 | rngm.Scale = scale | |
| 2405 | local scaler2 = 1 | |
| 2406 | if type == "Add" then | |
| 2407 | scaler2 = 1*value | |
| 2408 | elseif type == "Divide" then | |
| 2409 | scaler2 = 1/value | |
| 2410 | end | |
| 2411 | coroutine.resume(coroutine.create(function() | |
| 2412 | for i = 0,10,0.1 do | |
| 2413 | swait() | |
| 2414 | if type == "Add" then | |
| 2415 | scaler2 = scaler2 - 0.01*value | |
| 2416 | elseif type == "Divide" then | |
| 2417 | scaler2 = scaler2 - 0.01/value | |
| 2418 | end | |
| 2419 | rng.Transparency = rng.Transparency + 0.01 | |
| 2420 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2421 | end | |
| 2422 | rng:Destroy() | |
| 2423 | end)) | |
| 2424 | end | |
| 2425 | ||
| 2426 | function wind(type,pos,scale,value,speed) | |
| 2427 | local type = type | |
| 2428 | local rng = Instance.new("Part", char)
| |
| 2429 | rng.Anchored = true | |
| 2430 | rng.BrickColor = origcolor | |
| 2431 | rng.CanCollide = false | |
| 2432 | rng.FormFactor = 3 | |
| 2433 | rng.Name = "Ring" | |
| 2434 | rng.Size = Vector3.new(1, 1, 1) | |
| 2435 | rng.Transparency = 0 | |
| 2436 | rng.TopSurface = 0 | |
| 2437 | rng.BottomSurface = 0 | |
| 2438 | rng.CFrame = pos | |
| 2439 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2440 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2441 | rngm.Scale = scale | |
| 2442 | local scaler2 = 1 | |
| 2443 | if type == "Add" then | |
| 2444 | scaler2 = 1*value | |
| 2445 | elseif type == "Divide" then | |
| 2446 | scaler2 = 1/value | |
| 2447 | end | |
| 2448 | coroutine.resume(coroutine.create(function() | |
| 2449 | for i = 0,10,0.1 do | |
| 2450 | swait() | |
| 2451 | if type == "Add" then | |
| 2452 | scaler2 = scaler2 - 0.01*value | |
| 2453 | elseif type == "Divide" then | |
| 2454 | scaler2 = scaler2 - 0.01/value | |
| 2455 | end | |
| 2456 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2457 | rng.Transparency = rng.Transparency + 0.01 | |
| 2458 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2459 | end | |
| 2460 | rng:Destroy() | |
| 2461 | end)) | |
| 2462 | end | |
| 2463 | ||
| 2464 | function groundwind(type,pos,scale,value,speed) | |
| 2465 | local type = type | |
| 2466 | local rng = Instance.new("Part", char)
| |
| 2467 | rng.Anchored = true | |
| 2468 | rng.BrickColor = origcolor | |
| 2469 | rng.CanCollide = false | |
| 2470 | rng.FormFactor = 3 | |
| 2471 | rng.Name = "Ring" | |
| 2472 | rng.Size = Vector3.new(1, 1, 1) | |
| 2473 | rng.Transparency = 0 | |
| 2474 | rng.TopSurface = 0 | |
| 2475 | rng.BottomSurface = 0 | |
| 2476 | rng.CFrame = pos | |
| 2477 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2478 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2479 | rngm.Scale = scale | |
| 2480 | local scaler2 = 1 | |
| 2481 | if type == "Add" then | |
| 2482 | scaler2 = 1*value | |
| 2483 | elseif type == "Divide" then | |
| 2484 | scaler2 = 1/value | |
| 2485 | end | |
| 2486 | coroutine.resume(coroutine.create(function() | |
| 2487 | for i = 0,10,0.1 do | |
| 2488 | swait() | |
| 2489 | if type == "Add" then | |
| 2490 | scaler2 = scaler2 - 0.01*value | |
| 2491 | elseif type == "Divide" then | |
| 2492 | scaler2 = scaler2 - 0.01/value | |
| 2493 | end | |
| 2494 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2495 | rng.Transparency = rng.Transparency + 0.01 | |
| 2496 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
| 2497 | end | |
| 2498 | rng:Destroy() | |
| 2499 | end)) | |
| 2500 | end | |
| 2501 | ||
| 2502 | function CameraManager() | |
| 2503 | if TwoD and not CamInterrupt then | |
| 2504 | if Humanoid.Health > 0 then | |
| 2505 | Camera.CameraSubject = Humanoid | |
| 2506 | Camera.CameraType = "Scriptable" | |
| 2507 | Humanoid.AutoRotate = false | |
| 2508 | if Booleans.GyroUse then | |
| 2509 | Directer.MaxTorque = Vec3(0, huge, 0) | |
| 2510 | else | |
| 2511 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 2512 | end | |
| 2513 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
| 2514 | if Booleans.CamFollow then | |
| 2515 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
| 2516 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
| 2517 | else | |
| 2518 | CPart.Position = RootPart.Position | |
| 2519 | end | |
| 2520 | else | |
| 2521 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
| 2522 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
| 2523 | end | |
| 2524 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
| 2525 | else | |
| 2526 | Camera.CameraSubject = Humanoid | |
| 2527 | Camera.CameraType = "Custom" | |
| 2528 | end | |
| 2529 | end | |
| 2530 | end | |
| 2531 | ||
| 2532 | function sphere(bonuspeed,type,pos,scale,value,color) | |
| 2533 | local type = type | |
| 2534 | local rng = Instance.new("Part", char)
| |
| 2535 | rng.Anchored = true | |
| 2536 | rng.BrickColor = color | |
| 2537 | rng.CanCollide = false | |
| 2538 | rng.FormFactor = 3 | |
| 2539 | rng.Name = "Ring" | |
| 2540 | rng.Material = "Neon" | |
| 2541 | rng.Size = Vector3.new(1, 1, 1) | |
| 2542 | rng.Transparency = 0 | |
| 2543 | rng.TopSurface = 0 | |
| 2544 | rng.BottomSurface = 0 | |
| 2545 | rng.CFrame = pos | |
| 2546 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2547 | rngm.MeshType = "Sphere" | |
| 2548 | rngm.Scale = scale | |
| 2549 | if RAIN_RAINBOWmode == true then | |
| 2550 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2551 | end | |
| 2552 | local scaler2 = 1 | |
| 2553 | if type == "Add" then | |
| 2554 | scaler2 = 1*value | |
| 2555 | elseif type == "Divide" then | |
| 2556 | scaler2 = 1/value | |
| 2557 | end | |
| 2558 | coroutine.resume(coroutine.create(function() | |
| 2559 | for i = 0,10/bonuspeed,0.1 do | |
| 2560 | swait() | |
| 2561 | if RAIN_RAINBOWmode == true then | |
| 2562 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2563 | end | |
| 2564 | if type == "Add" then | |
| 2565 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2566 | elseif type == "Divide" then | |
| 2567 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2568 | end | |
| 2569 | if CRAZYmode == true then | |
| 2570 | rng.BrickColor = BrickColor.random() | |
| 2571 | end | |
| 2572 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2573 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2574 | end | |
| 2575 | rng:Destroy() | |
| 2576 | end)) | |
| 2577 | end | |
| 2578 | ||
| 2579 | function spherew(bonuspeed,type,pos,scale,value,color) | |
| 2580 | local type = type | |
| 2581 | local rng = Instance.new("Part", workspace)
| |
| 2582 | rng.Anchored = true | |
| 2583 | rng.BrickColor = color | |
| 2584 | rng.CanCollide = false | |
| 2585 | rng.FormFactor = 3 | |
| 2586 | rng.Name = "Ring" | |
| 2587 | rng.Material = "Neon" | |
| 2588 | rng.Size = Vector3.new(1, 1, 1) | |
| 2589 | rng.Transparency = 0 | |
| 2590 | rng.TopSurface = 0 | |
| 2591 | rng.BottomSurface = 0 | |
| 2592 | rng.CFrame = pos | |
| 2593 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2594 | rngm.MeshType = "Sphere" | |
| 2595 | rngm.Scale = scale | |
| 2596 | if RAIN_RAINBOWmode == true then | |
| 2597 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2598 | end | |
| 2599 | local scaler2 = 1 | |
| 2600 | if type == "Add" then | |
| 2601 | scaler2 = 1*value | |
| 2602 | elseif type == "Divide" then | |
| 2603 | scaler2 = 1/value | |
| 2604 | end | |
| 2605 | coroutine.resume(coroutine.create(function() | |
| 2606 | for i = 0,10/bonuspeed,0.1 do | |
| 2607 | swait() | |
| 2608 | if RAIN_RAINBOWmode == true then | |
| 2609 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2610 | end | |
| 2611 | if type == "Add" then | |
| 2612 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2613 | elseif type == "Divide" then | |
| 2614 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2615 | end | |
| 2616 | if CRAZYmode == true then | |
| 2617 | rng.BrickColor = BrickColor.random() | |
| 2618 | end | |
| 2619 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2620 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2621 | end | |
| 2622 | rng:Destroy() | |
| 2623 | end)) | |
| 2624 | end | |
| 2625 | ||
| 2626 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2627 | local type = type | |
| 2628 | local rng = Instance.new("Part", char)
| |
| 2629 | rng.Anchored = true | |
| 2630 | rng.BrickColor = color | |
| 2631 | rng.CanCollide = false | |
| 2632 | rng.FormFactor = 3 | |
| 2633 | rng.Name = "Ring" | |
| 2634 | rng.Material = "Neon" | |
| 2635 | rng.Size = Vector3.new(1, 1, 1) | |
| 2636 | rng.Transparency = 0 | |
| 2637 | rng.TopSurface = 0 | |
| 2638 | rng.BottomSurface = 0 | |
| 2639 | rng.CFrame = pos | |
| 2640 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2641 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2642 | rngm.MeshType = "Brick" | |
| 2643 | rngm.Scale = vt(x1,y1,z1) | |
| 2644 | if RAIN_RAINBOWmode == true then | |
| 2645 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2646 | end | |
| 2647 | local scaler2 = 1 | |
| 2648 | local speeder = FastSpeed/10 | |
| 2649 | if type == "Add" then | |
| 2650 | scaler2 = 1*value | |
| 2651 | elseif type == "Divide" then | |
| 2652 | scaler2 = 1/value | |
| 2653 | end | |
| 2654 | coroutine.resume(coroutine.create(function() | |
| 2655 | for i = 0,10/bonuspeed,0.1 do | |
| 2656 | swait() | |
| 2657 | if RAIN_RAINBOWmode == true then | |
| 2658 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2659 | end | |
| 2660 | if type == "Add" then | |
| 2661 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2662 | elseif type == "Divide" then | |
| 2663 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2664 | end | |
| 2665 | if CRAZYmode == true then | |
| 2666 | rng.BrickColor = BrickColor.random() | |
| 2667 | end | |
| 2668 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 2669 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2670 | - | Controller.Disabled = false |
| 2670 | + | |
| 2671 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2672 | end | |
| 2673 | rng:Destroy() | |
| 2674 | end)) | |
| 2675 | end | |
| 2676 | ||
| 2677 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2678 | local type = type | |
| 2679 | local rng = Instance.new("Part", char)
| |
| 2680 | rng.Anchored = true | |
| 2681 | rng.BrickColor = color | |
| 2682 | rng.CanCollide = false | |
| 2683 | rng.FormFactor = 3 | |
| 2684 | rng.Name = "Ring" | |
| 2685 | rng.Material = "Neon" | |
| 2686 | rng.Size = Vector3.new(1, 1, 1) | |
| 2687 | rng.Transparency = 0 | |
| 2688 | rng.TopSurface = 0 | |
| 2689 | rng.BottomSurface = 0 | |
| 2690 | rng.CFrame = pos | |
| 2691 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2692 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2693 | rngm.MeshType = "Brick" | |
| 2694 | rngm.Scale = vt(x1,y1,z1) | |
| 2695 | if RAIN_RAINBOWmode == true then | |
| 2696 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2697 | end | |
| 2698 | local scaler2 = 0 | |
| 2699 | local speeder = FastSpeed/10 | |
| 2700 | if type == "Add" then | |
| 2701 | scaler2 = 1*value | |
| 2702 | elseif type == "Divide" then | |
| 2703 | scaler2 = 1/value | |
| 2704 | end | |
| 2705 | coroutine.resume(coroutine.create(function() | |
| 2706 | for i = 0,10/bonuspeed,0.1 do | |
| 2707 | swait() | |
| 2708 | if RAIN_RAINBOWmode == true then | |
| 2709 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2710 | end | |
| 2711 | if type == "Add" then | |
| 2712 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2713 | elseif type == "Divide" then | |
| 2714 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2715 | end | |
| 2716 | if CRAZYmode == true then | |
| 2717 | rng.BrickColor = BrickColor.random() | |
| 2718 | end | |
| 2719 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
| 2720 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2721 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2722 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2723 | end | |
| 2724 | rng:Destroy() | |
| 2725 | end)) | |
| 2726 | end | |
| 2727 | ||
| 2728 | function sphereMKw(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2729 | local type = type | |
| 2730 | local rng = Instance.new("Part", workspace)
| |
| 2731 | rng.Anchored = true | |
| 2732 | rng.BrickColor = color | |
| 2733 | rng.CanCollide = false | |
| 2734 | rng.FormFactor = 3 | |
| 2735 | rng.Name = "Ring" | |
| 2736 | rng.Material = "Neon" | |
| 2737 | rng.Size = Vector3.new(1, 1, 1) | |
| 2738 | rng.Transparency = 0 | |
| 2739 | rng.TopSurface = 0 | |
| 2740 | rng.BottomSurface = 0 | |
| 2741 | rng.CFrame = pos | |
| 2742 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2743 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2744 | rngm.MeshType = "Sphere" | |
| 2745 | rngm.Scale = vt(x1,y1,z1) | |
| 2746 | if RAIN_RAINBOWmode == true then | |
| 2747 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2748 | end | |
| 2749 | local scaler2 = 1 | |
| 2750 | local speeder = FastSpeed | |
| 2751 | if type == "Add" then | |
| 2752 | scaler2 = 1*value | |
| 2753 | elseif type == "Divide" then | |
| 2754 | - | if ModeOfGlitch ~= 9 then |
| 2754 | + | |
| 2755 | end | |
| 2756 | - | elseif ModeOfGlitch == 9 then |
| 2756 | + | |
| 2757 | - | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) |
| 2757 | + | |
| 2758 | swait() | |
| 2759 | if RAIN_RAINBOWmode == true then | |
| 2760 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2761 | end | |
| 2762 | if type == "Add" then | |
| 2763 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2764 | elseif type == "Divide" then | |
| 2765 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2766 | end | |
| 2767 | if CRAZYmode == true then | |
| 2768 | rng.BrickColor = BrickColor.random() | |
| 2769 | end | |
| 2770 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 2771 | - | if rainbowmode == true then |
| 2771 | + | |
| 2772 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2773 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 2774 | - | if ModeOfGlitch == 9 then |
| 2774 | + | |
| 2775 | rng:Destroy() | |
| 2776 | end)) | |
| 2777 | end | |
| 2778 | - | if rng.Parent ~= nil then |
| 2778 | + | |
| 2779 | - | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) |
| 2779 | + | |
| 2780 | local rng = Instance.new("Part", char)
| |
| 2781 | rng.Anchored = true | |
| 2782 | rng.BrickColor = color | |
| 2783 | rng.CanCollide = false | |
| 2784 | rng.FormFactor = 3 | |
| 2785 | rng.Name = "Ring" | |
| 2786 | rng.Material = "Neon" | |
| 2787 | rng.Size = Vector3.new(1, 1, 1) | |
| 2788 | rng.Transparency = 0 | |
| 2789 | rng.TopSurface = 0 | |
| 2790 | rng.BottomSurface = 0 | |
| 2791 | rng.CFrame = pos | |
| 2792 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2793 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2794 | rngm.MeshType = "Sphere" | |
| 2795 | - | if rainbowmode == true then |
| 2795 | + | |
| 2796 | if RAIN_RAINBOWmode == true then | |
| 2797 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2798 | end | |
| 2799 | local scaler2 = 1 | |
| 2800 | local speeder = FastSpeed | |
| 2801 | if type == "Add" then | |
| 2802 | scaler2 = 1*value | |
| 2803 | - | if chaosmode == true then |
| 2803 | + | |
| 2804 | scaler2 = 1/value | |
| 2805 | end | |
| 2806 | coroutine.resume(coroutine.create(function() | |
| 2807 | for i = 0,10/bonuspeed,0.1 do | |
| 2808 | swait() | |
| 2809 | if RAIN_RAINBOWmode == true then | |
| 2810 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2811 | end | |
| 2812 | if type == "Add" then | |
| 2813 | - | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) |
| 2813 | + | |
| 2814 | elseif type == "Divide" then | |
| 2815 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2816 | end | |
| 2817 | - | if ModeOfGlitch ~= 9 then |
| 2817 | + | if CRAZYmode == true then |
| 2818 | rng.BrickColor = BrickColor.random() | |
| 2819 | - | elseif ModeOfGlitch == 9 then |
| 2819 | + | |
| 2820 | - | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) |
| 2820 | + | |
| 2821 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2822 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2823 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 2824 | end | |
| 2825 | rng:Destroy() | |
| 2826 | end)) | |
| 2827 | end | |
| 2828 | ||
| 2829 | ||
| 2830 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2831 | local type = type | |
| 2832 | local rng = Instance.new("Part", char)
| |
| 2833 | rng.Anchored = true | |
| 2834 | rng.BrickColor = color | |
| 2835 | - | local scaler2b = 1 |
| 2835 | + | |
| 2836 | - | local scaler2c = 1 |
| 2836 | + | |
| 2837 | rng.Name = "Ring" | |
| 2838 | rng.Material = "Neon" | |
| 2839 | - | scaler2b = 1*value2 |
| 2839 | + | |
| 2840 | - | scaler2c = 1*value3 |
| 2840 | + | |
| 2841 | rng.TopSurface = 0 | |
| 2842 | rng.BottomSurface = 0 | |
| 2843 | - | scaler2b = 1/value2 |
| 2843 | + | |
| 2844 | - | scaler2c = 1/value3 |
| 2844 | + | |
| 2845 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2846 | - | if ModeOfGlitch == 9 then |
| 2846 | + | |
| 2847 | rngm.Scale = vt(x1,y1,z1) | |
| 2848 | if RAIN_RAINBOWmode == true then | |
| 2849 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2850 | - | if rng.Parent ~= nil then |
| 2850 | + | |
| 2851 | - | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) |
| 2851 | + | |
| 2852 | local speeder = FastSpeed | |
| 2853 | if type == "Add" then | |
| 2854 | scaler2 = 1*value | |
| 2855 | elseif type == "Divide" then | |
| 2856 | scaler2 = 1/value | |
| 2857 | end | |
| 2858 | coroutine.resume(coroutine.create(function() | |
| 2859 | for i = 0,10/bonuspeed,0.1 do | |
| 2860 | swait() | |
| 2861 | if RAIN_RAINBOWmode == true then | |
| 2862 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2863 | - | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 2863 | + | |
| 2864 | - | scaler2c = scaler2c - 0.01*value/bonuspeed |
| 2864 | + | |
| 2865 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2866 | elseif type == "Divide" then | |
| 2867 | - | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 2867 | + | |
| 2868 | - | scaler2c = scaler2c - 0.01/value*bonuspeed |
| 2868 | + | |
| 2869 | if CRAZYmode == true then | |
| 2870 | rng.BrickColor = BrickColor.random() | |
| 2871 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) |
| 2871 | + | |
| 2872 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 2873 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2874 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 2875 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 2876 | end | |
| 2877 | - | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) |
| 2877 | + | |
| 2878 | end)) | |
| 2879 | - | local rotenable = rotatingop |
| 2879 | + | |
| 2880 | ||
| 2881 | function dmg(dude) | |
| 2882 | if dude.Name ~= Character then | |
| 2883 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 2884 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 2885 | local val = Instance.new("BoolValue",dude)
| |
| 2886 | val.Name = "IsHit" | |
| 2887 | local ds = coroutine.wrap(function() | |
| 2888 | dude:WaitForChild("Head"):BreakJoints()
| |
| 2889 | - | if typeoftrans == "In" then |
| 2889 | + | |
| 2890 | - | rng.Transparency = 1 |
| 2890 | + | |
| 2891 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
| |
| 2892 | coroutine.resume(coroutine.create(function() | |
| 2893 | for i, v in pairs(dude:GetChildren()) do | |
| 2894 | if v:IsA("Accessory") then
| |
| 2895 | v:Destroy() | |
| 2896 | - | rngm.MeshType = "FileMesh" |
| 2896 | + | |
| 2897 | - | if typeofshape == "Normal" then |
| 2897 | + | |
| 2898 | - | rngm.MeshId = "rbxassetid://662586858" |
| 2898 | + | |
| 2899 | - | elseif typeofshape == "Round" then |
| 2899 | + | |
| 2900 | - | rngm.MeshId = "rbxassetid://662585058" |
| 2900 | + | |
| 2901 | v:Destroy() | |
| 2902 | end | |
| 2903 | - | local scaler2 = 1/10 |
| 2903 | + | |
| 2904 | v:Destroy() | |
| 2905 | - | scaler2 = 1*value/10 |
| 2905 | + | |
| 2906 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 2907 | - | scaler2 = 1/value/10 |
| 2907 | + | |
| 2908 | if o:IsA("Decal") then
| |
| 2909 | o:Destroy() | |
| 2910 | end | |
| 2911 | end | |
| 2912 | coroutine.resume(coroutine.create(function() | |
| 2913 | v.Material = "Neon" | |
| 2914 | - | scaler2 = scaler2 - 0.01*value/bonuspeed/10 |
| 2914 | + | |
| 2915 | local bld = Instance.new("ParticleEmitter",v)
| |
| 2916 | - | scaler2 = scaler2 - 0.01/value*bonuspeed/10 |
| 2916 | + | bld.LightEmission = 1 |
| 2917 | bld.Texture = "rbxassetid://284205403" | |
| 2918 | - | if rotenable == true then |
| 2918 | + | bld.Color = ColorSequence.new(Color3.new(1,1,1)) |
| 2919 | bld.Rate = 50 | |
| 2920 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) |
| 2920 | + | |
| 2921 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2922 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) |
| 2922 | + | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 2923 | bld.Speed = NumberRange.new(0,0) | |
| 2924 | bld.VelocitySpread = 50000 | |
| 2925 | - | if typeoftrans == "Out" then |
| 2925 | + | |
| 2926 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 2927 | - | elseif typeoftrans == "In" then |
| 2927 | + | |
| 2928 | sbs.P = 3000 | |
| 2929 | sbs.D = 1000 | |
| 2930 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) |
| 2930 | + | |
| 2931 | sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
| 2932 | v.Color = Color3.new(1,1,1) | |
| 2933 | coroutine.resume(coroutine.create(function() | |
| 2934 | for i = 0, 49 do | |
| 2935 | swait(1) | |
| 2936 | v.Transparency = v.Transparency + 0.02 | |
| 2937 | end | |
| 2938 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
| |
| 2939 | bld.Speed = NumberRange.new(1,5) | |
| 2940 | bld.Acceleration = vt(0,10,0) | |
| 2941 | wait(0.5) | |
| 2942 | bld.Enabled = false | |
| 2943 | wait(3) | |
| 2944 | v:Destroy() | |
| 2945 | dude:Destroy() | |
| 2946 | end)) | |
| 2947 | end)) | |
| 2948 | end | |
| 2949 | end | |
| 2950 | end)) | |
| 2951 | end) | |
| 2952 | ds() | |
| 2953 | end | |
| 2954 | - | if rainbowmode == true then |
| 2954 | + | |
| 2955 | ||
| 2956 | ||
| 2957 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 2958 | if SinglePlayer then | |
| 2959 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 2960 | end | |
| 2961 | local List = {}
| |
| 2962 | for i, v in pairs(workspace:GetChildren()) do | |
| 2963 | if v:IsA("Model") then
| |
| 2964 | if v:findFirstChild("Head") then
| |
| 2965 | if v ~= Character then | |
| 2966 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 2967 | - | if rainbowmode == true then |
| 2967 | + | |
| 2968 | end | |
| 2969 | end | |
| 2970 | end | |
| 2971 | end | |
| 2972 | end | |
| 2973 | return List | |
| 2974 | end | |
| 2975 | - | if chaosmode == true then |
| 2975 | + | |
| 2976 | function FaceMouse() | |
| 2977 | Cam = workspace.CurrentCamera | |
| 2978 | return {
| |
| 2979 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 2980 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 2981 | } | |
| 2982 | end | |
| 2983 | ||
| 2984 | function FaceMouse2() | |
| 2985 | Cam = workspace.CurrentCamera | |
| 2986 | return {
| |
| 2987 | - | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
| 2987 | + | |
| 2988 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 2989 | } | |
| 2990 | end | |
| 2991 | ||
| 2992 | local ModeOfGlitch = 1 | |
| 2993 | -- Functions are ready. | |
| 2994 | local storehumanoidWS = 16 | |
| 2995 | ||
| 2996 | function Blink() | |
| 2997 | for i = 0, 14 do | |
| 2998 | 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) | |
| 2999 | end | |
| 3000 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3001 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
| 3002 | CameraEnshaking(2,10) | |
| 3003 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
| 3004 | if v:FindFirstChild('Head') then
| |
| 3005 | - | if rainbowmode == true then |
| 3005 | + | |
| 3006 | end | |
| 3007 | for i = 0, 14 do | |
| 3008 | 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) | |
| 3009 | end | |
| 3010 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3011 | end | |
| 3012 | ||
| 3013 | function ExtinctiveHeartbreak() | |
| 3014 | local targetted = nil | |
| 3015 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 3016 | targetted = mouse.Target.Parent | |
| 3017 | end | |
| 3018 | - | if rainbowmode == true then |
| 3018 | + | |
| 3019 | attack = true | |
| 3020 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 3021 | for i = 0, 9 do | |
| 3022 | 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)
| |
| 3023 | end | |
| 3024 | for i = 0, 24 do | |
| 3025 | 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)
| |
| 3026 | - | if chaosmode == true then |
| 3026 | + | |
| 3027 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 3028 | local originalpos = root.CFrame | |
| 3029 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
| 3030 | for i = 0, 9 do | |
| 3031 | 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)
| |
| 3032 | end | |
| 3033 | for i = 0, 24 do | |
| 3034 | 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)
| |
| 3035 | end | |
| 3036 | hum.WalkSpeed = 0 | |
| 3037 | targetted.Head.Anchored = true | |
| 3038 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 3039 | for i = 0,2,0.1 do | |
| 3040 | swait() | |
| 3041 | 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) | |
| 3042 | 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) | |
| 3043 | 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) | |
| 3044 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
| 3045 | 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) | |
| 3046 | 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) | |
| 3047 | end | |
| 3048 | coroutine.resume(coroutine.create(function() | |
| 3049 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
| |
| 3050 | bld.LightEmission = 0.1 | |
| 3051 | bld.Texture = "rbxassetid://284205403" | |
| 3052 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
| 3053 | bld.Rate = 500 | |
| 3054 | bld.Lifetime = NumberRange.new(1) | |
| 3055 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3056 | - | if rainbowmode == true then |
| 3056 | + | bld.Acceleration = vt(0,-25,0) |
| 3057 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3058 | bld.Speed = NumberRange.new(10,50) | |
| 3059 | bld.EmissionDirection = "Front" | |
| 3060 | bld.VelocitySpread = 25 | |
| 3061 | bld.Rotation = NumberRange.new(-500,500) | |
| 3062 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 3063 | end)) | |
| 3064 | coroutine.resume(coroutine.create(function() | |
| 3065 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
| |
| 3066 | bld.LightEmission = 0.1 | |
| 3067 | bld.Texture = "rbxassetid://284205403" | |
| 3068 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
| 3069 | - | if rainbowmode == true then |
| 3069 | + | |
| 3070 | bld.Lifetime = NumberRange.new(1) | |
| 3071 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3072 | bld.Acceleration = vt(0,-25,0) | |
| 3073 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3074 | bld.Speed = NumberRange.new(10,50) | |
| 3075 | bld.EmissionDirection = "Front" | |
| 3076 | bld.VelocitySpread = 25 | |
| 3077 | - | if chaosmode == true then |
| 3077 | + | |
| 3078 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 3079 | end)) | |
| 3080 | CameraEnshaking(5,5) | |
| 3081 | game:GetService("Debris"):AddItem(bld,3)
| |
| 3082 | dmg(targetted) | |
| 3083 | CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
| |
| 3084 | for i = 0,1,0.1 do | |
| 3085 | swait() | |
| 3086 | 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) | |
| 3087 | 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) | |
| 3088 | 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) | |
| 3089 | - | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) |
| 3089 | + | |
| 3090 | 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) | |
| 3091 | 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) | |
| 3092 | end | |
| 3093 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 3094 | - | rng.Color = color3 |
| 3094 | + | |
| 3095 | 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)
| |
| 3096 | end | |
| 3097 | for i = 0, 24 do | |
| 3098 | 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)
| |
| 3099 | end | |
| 3100 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
| |
| 3101 | root.CFrame = originalpos | |
| 3102 | for i = 0, 9 do | |
| 3103 | 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)
| |
| 3104 | end | |
| 3105 | for i = 0, 24 do | |
| 3106 | 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)
| |
| 3107 | end | |
| 3108 | - | local scaler2b = 1 |
| 3108 | + | |
| 3109 | - | local scaler2c = 1 |
| 3109 | + | |
| 3110 | attack = false | |
| 3111 | hum.WalkSpeed = storehumanoidWS | |
| 3112 | - | scaler2b = 1*value2 |
| 3112 | + | |
| 3113 | - | scaler2c = 1*value3 |
| 3113 | + | |
| 3114 | function MeteorStrike() | |
| 3115 | attack = true | |
| 3116 | - | scaler2b = 1/value2 |
| 3116 | + | for i = 0, 2, 0.1 do |
| 3117 | - | scaler2c = 1/value3 |
| 3117 | + | |
| 3118 | 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) | |
| 3119 | 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) | |
| 3120 | 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) | |
| 3121 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4) | |
| 3122 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1) | |
| 3123 | 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) | |
| 3124 | - | scaler2b = scaler2b - 0.01*value/bonuspeed |
| 3124 | + | |
| 3125 | - | scaler2c = scaler2c - 0.01*value/bonuspeed |
| 3125 | + | CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2)
|
| 3126 | for i=1,20 do | |
| 3127 | 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) | |
| 3128 | - | scaler2b = scaler2b - 0.01/value*bonuspeed |
| 3128 | + | |
| 3129 | - | scaler2c = scaler2c - 0.01/value*bonuspeed |
| 3129 | + | |
| 3130 | swait(30) | |
| 3131 | - | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 3131 | + | |
| 3132 | for i =1,20 do | |
| 3133 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) |
| 3133 | + | 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) |
| 3134 | 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) | |
| 3135 | end | |
| 3136 | for i = 0,2,0.1 do | |
| 3137 | swait() | |
| 3138 | 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) | |
| 3139 | 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) | |
| 3140 | 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) | |
| 3141 | 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) | |
| 3142 | 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) | |
| 3143 | - | if ModeOfGlitch ~= 9 then |
| 3143 | + | |
| 3144 | end | |
| 3145 | - | elseif ModeOfGlitch == 9 then |
| 3145 | + | for i =1,20 do |
| 3146 | - | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) |
| 3146 | + | 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) |
| 3147 | end | |
| 3148 | text.TextTransparency = 1 | |
| 3149 | text.TextStrokeTransparency = 1 | |
| 3150 | tr2.Enabled = false | |
| 3151 | tr1.Enabled = false | |
| 3152 | tr3.Enabled = false | |
| 3153 | tl1.Enabled = false | |
| 3154 | tl2.Enabled = false | |
| 3155 | tl3.Enabled = false | |
| 3156 | spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) | |
| 3157 | eff = false | |
| 3158 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 3159 | local invtab = {}
| |
| 3160 | local function search(targ) | |
| 3161 | - | if rainbowmode == true then |
| 3161 | + | if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
|
| 3162 | table.insert(invtab,targ) | |
| 3163 | end | |
| 3164 | - | if ModeOfGlitch == 9 then |
| 3164 | + | for i,v in pairs(targ:GetChildren()) do |
| 3165 | search(v) | |
| 3166 | end | |
| 3167 | end | |
| 3168 | - | if rng.Parent ~= nil then |
| 3168 | + | search(plr.Character) |
| 3169 | - | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) |
| 3169 | + | local frm = 0 |
| 3170 | local frmcon | |
| 3171 | frmcon = game:GetService("RunService").Heartbeat:connect(function()
| |
| 3172 | if frm < 10 then | |
| 3173 | for i,v in pairs(invtab) do | |
| 3174 | if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
| |
| 3175 | v.Transparency = v.Transparency + 0.1 | |
| 3176 | end | |
| 3177 | end | |
| 3178 | frm = frm + 1 | |
| 3179 | else | |
| 3180 | frmcon:disconnect() | |
| 3181 | end | |
| 3182 | end) | |
| 3183 | swait(200) | |
| 3184 | text.TextTransparency = 0 | |
| 3185 | text.TextStrokeTransparency = 0 | |
| 3186 | - | if rainbowmode == true then |
| 3186 | + | tr2.Enabled = false |
| 3187 | tr1.Enabled = false | |
| 3188 | tr3.Enabled = false | |
| 3189 | tl1.Enabled = false | |
| 3190 | tl2.Enabled = false | |
| 3191 | tl3.Enabled = false | |
| 3192 | eff = true | |
| 3193 | for i =1,20 do | |
| 3194 | - | if chaosmode == true then |
| 3194 | + | 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) |
| 3195 | end | |
| 3196 | spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) | |
| 3197 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 3198 | local invtab = {}
| |
| 3199 | local function search(targ) | |
| 3200 | if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
| |
| 3201 | table.insert(invtab,targ) | |
| 3202 | end | |
| 3203 | for i,v in pairs(targ:GetChildren()) do | |
| 3204 | search(v) | |
| 3205 | end | |
| 3206 | end | |
| 3207 | search(plr.Character) | |
| 3208 | local frm = 0 | |
| 3209 | local frmcon | |
| 3210 | frmcon = game:GetService("RunService").Heartbeat:connect(function()
| |
| 3211 | - | if ModeOfGlitch ~= 9 then |
| 3211 | + | if frm < 10 then |
| 3212 | for i,v in pairs(invtab) do | |
| 3213 | - | elseif ModeOfGlitch == 9 then |
| 3213 | + | if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
|
| 3214 | - | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) |
| 3214 | + | v.Transparency = v.Transparency - 0.1 |
| 3215 | end | |
| 3216 | end | |
| 3217 | frm = frm + 1 | |
| 3218 | else | |
| 3219 | frmcon:disconnect() | |
| 3220 | end | |
| 3221 | end) | |
| 3222 | swait(5) | |
| 3223 | for i = 0, 2, 0.1 do | |
| 3224 | swait() | |
| 3225 | 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) | |
| 3226 | 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) | |
| 3227 | 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) | |
| 3228 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4) | |
| 3229 | - | if rainbowmode == true then |
| 3229 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1) |
| 3230 | 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) | |
| 3231 | end | |
| 3232 | - | if ModeOfGlitch == 9 then |
| 3232 | + | |
| 3233 | CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
| |
| 3234 | MagniDamage(root, 30, 65,90, 0, "Normal") | |
| 3235 | for i =1,20 do | |
| 3236 | - | if rng.Parent ~= nil then |
| 3236 | + | 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) |
| 3237 | - | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) |
| 3237 | + | |
| 3238 | sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR) | |
| 3239 | for i =1,20 do | |
| 3240 | 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) | |
| 3241 | end | |
| 3242 | swait(20) | |
| 3243 | attack = false | |
| 3244 | tr2.Enabled = true | |
| 3245 | tr1.Enabled = true | |
| 3246 | tr3.Enabled = true | |
| 3247 | tl1.Enabled = true | |
| 3248 | tl2.Enabled = true | |
| 3249 | tl3.Enabled = true | |
| 3250 | end | |
| 3251 | function FinalCalam() | |
| 3252 | attack = true | |
| 3253 | hum.WalkSpeed = 0 | |
| 3254 | - | if rainbowmode == true then |
| 3254 | + | |
| 3255 | orb.Anchored = true | |
| 3256 | orb.BrickColor = MAINRUINCOLOR | |
| 3257 | orb.CanCollide = false | |
| 3258 | orb.FormFactor = 3 | |
| 3259 | orb.Name = "Ring" | |
| 3260 | orb.Material = "Neon" | |
| 3261 | orb.Size = Vector3.new(1, 1, 1) | |
| 3262 | - | if chaosmode == true then |
| 3262 | + | |
| 3263 | orb.TopSurface = 0 | |
| 3264 | orb.BottomSurface = 0 | |
| 3265 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3266 | orbm.MeshType = "Sphere" | |
| 3267 | orbm.Name = "SizeMesh" | |
| 3268 | orbm.Scale = vt(0,0,0) | |
| 3269 | local scaled = 0.1 | |
| 3270 | local posid = 0 | |
| 3271 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
| |
| 3272 | for i = 0, 5, 0.1 do | |
| 3273 | swait() | |
| 3274 | scaled = scaled - 0.001 | |
| 3275 | posid = posid - scaled | |
| 3276 | - | local keptcolor = MAINRUINCOLOR |
| 3276 | + | |
| 3277 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 3278 | 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) | |
| 3279 | - | --[[local val = Instance.new("BoolValue",dude)
|
| 3279 | + | 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) |
| 3280 | - | val.Name = "IsHit"]]-- |
| 3280 | + | 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) |
| 3281 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3282 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 3283 | 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) | |
| 3284 | end | |
| 3285 | - | v.Name = "DEMINISHED" |
| 3285 | + | swait(60) |
| 3286 | for i =1,3 do | |
| 3287 | swait(30) | |
| 3288 | CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
| |
| 3289 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) | |
| 3290 | - | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
|
| 3290 | + | |
| 3291 | swait(30) | |
| 3292 | for i = 0, 2, 0.1 do | |
| 3293 | swait() | |
| 3294 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3295 | 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) | |
| 3296 | 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) | |
| 3297 | 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) | |
| 3298 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 3299 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 3300 | 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) | |
| 3301 | end | |
| 3302 | swait(60) | |
| 3303 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3304 | CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
| |
| 3305 | sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR) | |
| 3306 | sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR) | |
| 3307 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 3308 | if v:FindFirstChild('Head') then
| |
| 3309 | dmg(v) | |
| 3310 | end | |
| 3311 | end | |
| 3312 | for i = 1,20 do | |
| 3313 | 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) | |
| 3314 | - | v.Anchored = false |
| 3314 | + | for i = 0, 10 do |
| 3315 | 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) | |
| 3316 | - | bld.LightEmission = 0.75 |
| 3316 | + | |
| 3317 | - | bld.Texture = "rbxassetid://363275192" ---284205403 |
| 3317 | + | |
| 3318 | - | bld.Color = ColorSequence.new(keptcolor.Color) |
| 3318 | + | orb:Remove() |
| 3319 | attack = false | |
| 3320 | hum.WalkSpeed = storehumanoidWS | |
| 3321 | - | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 3321 | + | |
| 3322 | - | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 3322 | + | |
| 3323 | - | bld.Speed = NumberRange.new(2,5) |
| 3323 | + | |
| 3324 | ||
| 3325 | local orb = Instance.new("Part", char)
| |
| 3326 | orb.Anchored = true | |
| 3327 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3328 | orb.CanCollide = false | |
| 3329 | orb.FormFactor = 3 | |
| 3330 | orb.Name = "Ring" | |
| 3331 | - | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) |
| 3331 | + | |
| 3332 | - | v.Color = keptcolor.Color |
| 3332 | + | |
| 3333 | orb.Transparency = 0 | |
| 3334 | orb.TopSurface = 0 | |
| 3335 | orb.BottomSurface = 0 | |
| 3336 | - | v:BreakJoints() |
| 3336 | + | |
| 3337 | orbm.MeshType = "Sphere" | |
| 3338 | orbm.Name = "SizeMesh" | |
| 3339 | - | v:BreakJoints() |
| 3339 | + | |
| 3340 | - | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) |
| 3340 | + | |
| 3341 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
|
| 3341 | + | |
| 3342 | - | bld.Speed = NumberRange.new(10,25) |
| 3342 | + | |
| 3343 | - | bld.Drag = 5 |
| 3343 | + | |
| 3344 | - | bld.Acceleration = vt(0,2,0) |
| 3344 | + | |
| 3345 | scaled = scaled - 0.001 | |
| 3346 | posid = posid - scaled | |
| 3347 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3348 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 3349 | 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)
| |
| 3350 | 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)
| |
| 3351 | 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) | |
| 3352 | 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) | |
| 3353 | 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) | |
| 3354 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3355 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 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 | end | |
| 3358 | for i = 0, 2, 0.1 do | |
| 3359 | swait() | |
| 3360 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3361 | 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) | |
| 3362 | 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) | |
| 3363 | 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) | |
| 3364 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 3365 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 3366 | 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) | |
| 3367 | end | |
| 3368 | coroutine.resume(coroutine.create(function() | |
| 3369 | orb.Anchored = false | |
| 3370 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
| |
| 3371 | local a = Instance.new("Part",workspace)
| |
| 3372 | a.Name = "Direction" | |
| 3373 | a.Anchored = true | |
| 3374 | a.BrickColor = bc("Bright red")
| |
| 3375 | a.Material = "Neon" | |
| 3376 | a.Transparency = 1 | |
| 3377 | a.CanCollide = false | |
| 3378 | local ray = Ray.new( | |
| 3379 | orb.CFrame.p, -- origin | |
| 3380 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 3381 | ) | |
| 3382 | local ignore = orb | |
| 3383 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3384 | a.BottomSurface = 10 | |
| 3385 | a.TopSurface = 10 | |
| 3386 | local distance = (orb.CFrame.p - position).magnitude | |
| 3387 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3388 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3389 | orb.CFrame = a.CFrame | |
| 3390 | a:Destroy() | |
| 3391 | local bv = Instance.new("BodyVelocity")
| |
| 3392 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3393 | bv.velocity = orb.CFrame.lookVector*125 | |
| 3394 | bv.Parent = orb | |
| 3395 | local hitted = false | |
| 3396 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3397 | wait() | |
| 3398 | local hit =orb.Touched:connect(function(hit) | |
| 3399 | if hitted == false then | |
| 3400 | - | function CorruptBlink() |
| 3400 | + | |
| 3401 | CameraEnshaking(10,2.5) | |
| 3402 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
| 3403 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
| |
| 3404 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
| |
| 3405 | for i = 0, 49 do | |
| 3406 | 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)
| |
| 3407 | end | |
| 3408 | for i = 0, 9 do | |
| 3409 | 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)
| |
| 3410 | 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)
| |
| 3411 | end | |
| 3412 | orb.Anchored = true | |
| 3413 | orb.Transparency = 1 | |
| 3414 | wait(8) | |
| 3415 | orb:Destroy() | |
| 3416 | end | |
| 3417 | end) | |
| 3418 | end)) | |
| 3419 | for i = 0, 1, 0.1 do | |
| 3420 | swait() | |
| 3421 | 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) | |
| 3422 | 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) | |
| 3423 | 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) | |
| 3424 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
| 3425 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
| 3426 | 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) | |
| 3427 | end | |
| 3428 | attack = false | |
| 3429 | end | |
| 3430 | ||
| 3431 | function CRAZYGroundStrike() | |
| 3432 | attack = true | |
| 3433 | for i = 0, 2, 0.1 do | |
| 3434 | swait() | |
| 3435 | 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) | |
| 3436 | 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) | |
| 3437 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3438 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3439 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 3440 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 3441 | end | |
| 3442 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
| |
| 3443 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3444 | CameraEnshaking(4,12) | |
| 3445 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3446 | if v:FindFirstChild('Head') then
| |
| 3447 | dmg(v) | |
| 3448 | end | |
| 3449 | end | |
| 3450 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
| 3451 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
| 3452 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
| 3453 | for i = 0, 2, 0.1 do | |
| 3454 | swait() | |
| 3455 | 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) | |
| 3456 | 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) | |
| 3457 | 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) | |
| 3458 | 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) | |
| 3459 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3460 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3461 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 3462 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 3463 | end | |
| 3464 | attack = false | |
| 3465 | end | |
| 3466 | ||
| 3467 | function Starfall() | |
| 3468 | attack = true | |
| 3469 | hum.WalkSpeed = 0 | |
| 3470 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
| |
| 3471 | for i = 0, 5, 0.1 do | |
| 3472 | swait() | |
| 3473 | 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) | |
| 3474 | 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) | |
| 3475 | 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) | |
| 3476 | 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) | |
| 3477 | 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) | |
| 3478 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 3479 | 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) | |
| 3480 | 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) | |
| 3481 | end | |
| 3482 | local Overed = false | |
| 3483 | CameraEnshaking(2,20) | |
| 3484 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3485 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3486 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 3487 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
| |
| 3488 | local orb = Instance.new("Part", char)
| |
| 3489 | orb.Anchored = true | |
| 3490 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3491 | orb.CanCollide = false | |
| 3492 | orb.FormFactor = 3 | |
| 3493 | orb.Name = "Remenant" | |
| 3494 | orb.Material = "Neon" | |
| 3495 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
| 3496 | orb.Size = Vector3.new(1, 1, 1) | |
| 3497 | orb.Transparency = 1 | |
| 3498 | orb.TopSurface = 0 | |
| 3499 | - | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
|
| 3499 | + | |
| 3500 | hum.WalkSpeed = storehumanoidWS | |
| 3501 | coroutine.resume(coroutine.create(function() | |
| 3502 | for i = 0, 9 do | |
| 3503 | swait(10) | |
| 3504 | local lb = Instance.new("Part")
| |
| 3505 | lb.Color = MAINRUINCOLOR.Color | |
| 3506 | lb.CanCollide = false | |
| 3507 | lb.Material = "Neon" | |
| 3508 | lb.Anchored = true | |
| 3509 | lb.TopSurface = 0 | |
| 3510 | lb.BottomSurface = 0 | |
| 3511 | lb.Transparency = 0 | |
| 3512 | lb.Size = vt(1,1,1) | |
| 3513 | 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))) | |
| 3514 | lb.Anchored = false | |
| 3515 | lb.Parent = char | |
| 3516 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 3517 | thingery.MeshType = "Sphere" | |
| 3518 | thingery.Scale = vt(20,20,20) | |
| 3519 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 3520 | local bv = Instance.new("BodyVelocity")
| |
| 3521 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3522 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
| 3523 | bv.Parent = lb | |
| 3524 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
| 3525 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
| 3526 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
| |
| 3527 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
| |
| 3528 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
| |
| 3529 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
| |
| 3530 | - | function BanishingOrb() |
| 3530 | + | |
| 3531 | coroutine.resume(coroutine.create(function() | |
| 3532 | while true do | |
| 3533 | swait(1) | |
| 3534 | if lb.Parent ~= nil and hitted == false then | |
| 3535 | - | orb.BrickColor = BrickColor.new("Black")
|
| 3535 | + | |
| 3536 | elseif lb.Parent == nil then | |
| 3537 | break | |
| 3538 | end | |
| 3539 | end | |
| 3540 | end)) | |
| 3541 | ||
| 3542 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 3543 | ||
| 3544 | coroutine.resume(coroutine.create(function() | |
| 3545 | swait(1) | |
| 3546 | lb.Touched:connect(function(hit) | |
| 3547 | if hitted == false then | |
| 3548 | hitted = true | |
| 3549 | lb.Transparency = 1 | |
| 3550 | - | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
|
| 3550 | + | |
| 3551 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
| |
| 3552 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
| |
| 3553 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
| |
| 3554 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
| |
| 3555 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
| |
| 3556 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
| |
| 3557 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
| 3558 | - | 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("Black"),10)
|
| 3558 | + | |
| 3559 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3560 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3561 | for i = 0, 9 do | |
| 3562 | 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) | |
| 3563 | end | |
| 3564 | for i = 0, 49 do | |
| 3565 | swait() | |
| 3566 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
| 3567 | 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) | |
| 3568 | end | |
| 3569 | end | |
| 3570 | end) | |
| 3571 | end)) | |
| 3572 | end | |
| 3573 | Overed = true | |
| 3574 | orb:Destroy() | |
| 3575 | end)) | |
| 3576 | ||
| 3577 | attack = false | |
| 3578 | - | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
|
| 3578 | + | |
| 3579 | ||
| 3580 | function StarfallEX() | |
| 3581 | attack = true | |
| 3582 | hum.WalkSpeed = 0 | |
| 3583 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
| |
| 3584 | for i = 0, 5, 0.1 do | |
| 3585 | swait() | |
| 3586 | 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) | |
| 3587 | 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) | |
| 3588 | 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) | |
| 3589 | 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) | |
| 3590 | 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) | |
| 3591 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 3592 | 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) | |
| 3593 | 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) | |
| 3594 | end | |
| 3595 | local Overed = false | |
| 3596 | CameraEnshaking(2,20) | |
| 3597 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3598 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3599 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 3600 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3601 | - | bv.velocity = orb.CFrame.lookVector*0 |
| 3601 | + | |
| 3602 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3603 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
| |
| 3604 | - | local rate = 0 |
| 3604 | + | |
| 3605 | orb.Anchored = true | |
| 3606 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3607 | orb.CanCollide = false | |
| 3608 | - | rate = rate + 0.25 |
| 3608 | + | |
| 3609 | - | bv.velocity = bv.velocity + orb.CFrame.lookVector*rate |
| 3609 | + | |
| 3610 | - | for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do |
| 3610 | + | |
| 3611 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
| 3612 | orb.Size = Vector3.new(1, 1, 1) | |
| 3613 | orb.Transparency = 1 | |
| 3614 | orb.TopSurface = 0 | |
| 3615 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
|
| 3615 | + | |
| 3616 | - | sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) |
| 3616 | + | |
| 3617 | - | sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) |
| 3617 | + | |
| 3618 | for i = 0, 9 do | |
| 3619 | swait(10) | |
| 3620 | local lb = Instance.new("Part")
| |
| 3621 | - | for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do |
| 3621 | + | |
| 3622 | lb.CanCollide = false | |
| 3623 | lb.Material = "Neon" | |
| 3624 | lb.Anchored = true | |
| 3625 | lb.TopSurface = 0 | |
| 3626 | - | local eff = Instance.new("ParticleEmitter",orb)
|
| 3626 | + | |
| 3627 | - | eff.Texture = "rbxassetid://296874871" |
| 3627 | + | |
| 3628 | - | eff.LightEmission = 0.95 |
| 3628 | + | |
| 3629 | - | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 3629 | + | |
| 3630 | - | eff.Rate = 1000000000 |
| 3630 | + | |
| 3631 | - | eff.Lifetime = NumberRange.new(3) |
| 3631 | + | |
| 3632 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 3632 | + | |
| 3633 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 3633 | + | |
| 3634 | - | eff.Speed = NumberRange.new(30) |
| 3634 | + | |
| 3635 | - | eff.Acceleration = vt(0,-15,0) |
| 3635 | + | |
| 3636 | - | eff.Rotation = NumberRange.new(-500,500) |
| 3636 | + | |
| 3637 | - | eff.VelocitySpread = 100000 |
| 3637 | + | |
| 3638 | - | eff.RotSpeed = NumberRange.new(-500,500) |
| 3638 | + | |
| 3639 | bv.Parent = lb | |
| 3640 | - | wait(0.6) |
| 3640 | + | |
| 3641 | - | eff.Enabled = false |
| 3641 | + | |
| 3642 | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) | |
| 3643 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
|
| 3643 | + | |
| 3644 | - | CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
|
| 3644 | + | |
| 3645 | - | sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) |
| 3645 | + | |
| 3646 | - | sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 3646 | + | |
| 3647 | - | sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR) |
| 3647 | + | |
| 3648 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
| |
| 3649 | local hitted = false | |
| 3650 | coroutine.resume(coroutine.create(function() | |
| 3651 | while true do | |
| 3652 | swait(1) | |
| 3653 | if lb.Parent ~= nil and hitted == false then | |
| 3654 | 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) | |
| 3655 | 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) | |
| 3656 | elseif lb.Parent == nil then | |
| 3657 | break | |
| 3658 | end | |
| 3659 | end | |
| 3660 | end)) | |
| 3661 | ||
| 3662 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 3663 | ||
| 3664 | coroutine.resume(coroutine.create(function() | |
| 3665 | - | function ChaosGroundStrike() |
| 3665 | + | |
| 3666 | lb.Touched:connect(function(hit) | |
| 3667 | if hitted == false then | |
| 3668 | hitted = true | |
| 3669 | lb.Transparency = 1 | |
| 3670 | lb.Anchored = true | |
| 3671 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
| |
| 3672 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
| |
| 3673 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
| |
| 3674 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
| |
| 3675 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
| |
| 3676 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
| |
| 3677 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
| 3678 | CameraEnshaking(10,5) | |
| 3679 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3680 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3681 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3682 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3683 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3684 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3685 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3686 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3687 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3688 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3689 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3690 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3691 | for i = 0, 9 do | |
| 3692 | 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) | |
| 3693 | 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) | |
| 3694 | 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) | |
| 3695 | 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) | |
| 3696 | 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) | |
| 3697 | 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) | |
| 3698 | end | |
| 3699 | for i = 0, 49 do | |
| 3700 | swait() | |
| 3701 | MagniDamage(lb, 30, 30, 60, 0, "Normal") | |
| 3702 | 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) | |
| 3703 | 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) | |
| 3704 | 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) | |
| 3705 | end | |
| 3706 | end | |
| 3707 | end) | |
| 3708 | end)) | |
| 3709 | end | |
| 3710 | Overed = true | |
| 3711 | orb:Destroy() | |
| 3712 | end)) | |
| 3713 | ||
| 3714 | attack = false | |
| 3715 | end | |
| 3716 | ||
| 3717 | function StarDivision() | |
| 3718 | attack = true | |
| 3719 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
| |
| 3720 | for i = 0, 2, 0.1 do | |
| 3721 | swait() | |
| 3722 | 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) | |
| 3723 | 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) | |
| 3724 | 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) | |
| 3725 | 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) | |
| 3726 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6) | |
| 3727 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) | |
| 3728 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6) | |
| 3729 | end | |
| 3730 | local orb = Instance.new("Part", char)
| |
| 3731 | orb.BrickColor = MAINRUINCOLOR | |
| 3732 | orb.CanCollide = false | |
| 3733 | orb.FormFactor = 3 | |
| 3734 | orb.Name = "Ring" | |
| 3735 | orb.Material = "Neon" | |
| 3736 | orb.Size = Vector3.new(1, 1, 1) | |
| 3737 | orb.Transparency = 0 | |
| 3738 | orb.TopSurface = 0 | |
| 3739 | orb.BottomSurface = 0 | |
| 3740 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3741 | orbm.MeshType = "Sphere" | |
| 3742 | orbm.Name = "SizeMesh" | |
| 3743 | orbm.Scale = vt(2,2,2) | |
| 3744 | local a = Instance.new("Part",workspace)
| |
| 3745 | a.Name = "Direction" | |
| 3746 | a.Anchored = true | |
| 3747 | a.BrickColor = bc("Bright red")
| |
| 3748 | a.Material = "Neon" | |
| 3749 | a.Transparency = 1 | |
| 3750 | a.CanCollide = false | |
| 3751 | local ray = Ray.new( | |
| 3752 | sorb.CFrame.p, -- origin | |
| 3753 | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction | |
| 3754 | ) | |
| 3755 | local ignore = sorb | |
| 3756 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3757 | a.BottomSurface = 10 | |
| 3758 | a.TopSurface = 10 | |
| 3759 | local distance = (sorb.CFrame.p - position).magnitude | |
| 3760 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3761 | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3762 | orb.CFrame = a.CFrame | |
| 3763 | a:Destroy() | |
| 3764 | local bv = Instance.new("BodyVelocity")
| |
| 3765 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3766 | bv.velocity = orb.CFrame.lookVector*100 | |
| 3767 | bv.Parent = orb | |
| 3768 | local hitted = false | |
| 3769 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 3770 | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
| |
| 3771 | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
| |
| 3772 | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
| |
| 3773 | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
| |
| 3774 | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
| |
| 3775 | coroutine.resume(coroutine.create(function() | |
| 3776 | while true do | |
| 3777 | swait(1) | |
| 3778 | if orb.Parent ~= nil and hitted == false then | |
| 3779 | 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) | |
| 3780 | elseif orb.Parent == nil then | |
| 3781 | break | |
| 3782 | end | |
| 3783 | end | |
| 3784 | end)) | |
| 3785 | coroutine.resume(coroutine.create(function() | |
| 3786 | swait(1) | |
| 3787 | orb.Touched:connect(function(hit) | |
| 3788 | if hitted == false then | |
| 3789 | hitted = true | |
| 3790 | game:GetService("Debris"):AddItem(orb, 5)
| |
| 3791 | orb.Transparency = 1 | |
| 3792 | orb.Anchored = true | |
| 3793 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3794 | elocacenter.Anchored = true | |
| 3795 | elocacenter.CFrame = orb.CFrame | |
| 3796 | elocacenter.Orientation = vt(0,0,0) | |
| 3797 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3798 | eloca1.Anchored = true | |
| 3799 | eloca1.CFrame = elocacenter.CFrame | |
| 3800 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3801 | eloca2.Anchored = true | |
| 3802 | eloca2.CFrame = elocacenter.CFrame | |
| 3803 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3804 | eloca3.Anchored = true | |
| 3805 | eloca3.CFrame = elocacenter.CFrame | |
| 3806 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3807 | eloca4.Anchored = true | |
| 3808 | eloca4.CFrame = elocacenter.CFrame | |
| 3809 | local lookavec = 0 | |
| 3810 | local speeds = 0 | |
| 3811 | CameraEnshaking(1,1) | |
| 3812 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
| |
| 3813 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3814 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3815 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3816 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3817 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3818 | for i = 0, 99 do | |
| 3819 | - | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
|
| 3819 | + | |
| 3820 | lookavec = lookavec + 1 | |
| 3821 | speeds = speeds + 0.1 | |
| 3822 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 3823 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 3824 | 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) | |
| 3825 | ||
| 3826 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 3827 | 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) | |
| 3828 | ||
| 3829 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 3830 | 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) | |
| 3831 | ||
| 3832 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 3833 | - | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) |
| 3833 | + | |
| 3834 | - | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) |
| 3834 | + | |
| 3835 | ||
| 3836 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
|
| 3836 | + | |
| 3837 | swait() | |
| 3838 | speeds = speeds + 0.1 | |
| 3839 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 3840 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 3841 | 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) | |
| 3842 | ||
| 3843 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 3844 | - | orb.CFrame = root.CFrame*CFrame.new(0,250,0) |
| 3844 | + | |
| 3845 | ||
| 3846 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 3847 | 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) | |
| 3848 | ||
| 3849 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 3850 | 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) | |
| 3851 | end | |
| 3852 | - | swait(15) |
| 3852 | + | |
| 3853 | if v:FindFirstChild('Head') then
| |
| 3854 | dmg(v) | |
| 3855 | end | |
| 3856 | end | |
| 3857 | CameraEnshaking(7,30) | |
| 3858 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
| 3859 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
| |
| 3860 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
| |
| 3861 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
| |
| 3862 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
| |
| 3863 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) | |
| 3864 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
| 3865 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 3866 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 3867 | - | thingery.Scale = vt(50,50,50) |
| 3867 | + | |
| 3868 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 3869 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 3870 | for i = 0, 24 do | |
| 3871 | - | bv.velocity = lb.CFrame.lookVector*math.random(50,420) |
| 3871 | + | |
| 3872 | 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) | |
| 3873 | 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) | |
| 3874 | 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) | |
| 3875 | - | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
|
| 3875 | + | |
| 3876 | - | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
|
| 3876 | + | |
| 3877 | - | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
|
| 3877 | + | |
| 3878 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
|
| 3878 | + | |
| 3879 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
| 3880 | 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) | |
| 3881 | end | |
| 3882 | elocacenter:Destroy() | |
| 3883 | eloca1:Destroy() | |
| 3884 | - | 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))),25,25,25,0.25,MAINRUINCOLOR,-2) |
| 3884 | + | |
| 3885 | eloca3:Destroy() | |
| 3886 | eloca4:Destroy() | |
| 3887 | end)) | |
| 3888 | end | |
| 3889 | end) | |
| 3890 | end)) | |
| 3891 | attack = false | |
| 3892 | end | |
| 3893 | ||
| 3894 | ||
| 3895 | function UniversalCollapse() | |
| 3896 | attack = true | |
| 3897 | local speedearn = 0 | |
| 3898 | hum.WalkSpeed = 0 | |
| 3899 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
| |
| 3900 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
|
| 3900 | + | |
| 3901 | - | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
|
| 3901 | + | |
| 3902 | - | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
|
| 3902 | + | |
| 3903 | - | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
|
| 3903 | + | |
| 3904 | - | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
|
| 3904 | + | |
| 3905 | - | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
|
| 3905 | + | |
| 3906 | - | MagniDamage(lb, 50, 60,99, 0, "Normal") |
| 3906 | + | |
| 3907 | 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) | |
| 3908 | - | sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR) |
| 3908 | + | |
| 3909 | - | sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR) |
| 3909 | + | |
| 3910 | 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) | |
| 3911 | - | 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,100,-0.1,MAINRUINCOLOR,0) |
| 3911 | + | |
| 3912 | 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) | |
| 3913 | 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) | |
| 3914 | end | |
| 3915 | - | MagniDamage(lb, 30, 6,18, 0, "Normal") |
| 3915 | + | CameraEnshaking(5,45) |
| 3916 | - | 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))),32,32,32,0.32,MAINRUINCOLOR,0) |
| 3916 | + | |
| 3917 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
| |
| 3918 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 3919 | if v:FindFirstChild('Head') then
| |
| 3920 | dmg(v) | |
| 3921 | end | |
| 3922 | end | |
| 3923 | hum.WalkSpeed = storehumanoidWS | |
| 3924 | attack = false | |
| 3925 | end | |
| 3926 | function CRAZYBegone() | |
| 3927 | attack = true | |
| 3928 | local speedearn = 0 | |
| 3929 | - | function DivineBlast() |
| 3929 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
|
| 3930 | for i = 0, 10, 0.1 do | |
| 3931 | swait() | |
| 3932 | - | local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random()) |
| 3932 | + | |
| 3933 | 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) | |
| 3934 | - | elocacenter.CFrame = sorb.CFrame |
| 3934 | + | |
| 3935 | - | local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) |
| 3935 | + | |
| 3936 | 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) | |
| 3937 | 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) | |
| 3938 | - | local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) |
| 3938 | + | |
| 3939 | 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) | |
| 3940 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3941 | - | local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) |
| 3941 | + | |
| 3942 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 3943 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 3944 | - | local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) |
| 3944 | + | |
| 3945 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
| |
| 3946 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
| |
| 3947 | CameraEnshaking(5,25) | |
| 3948 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 3949 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
|
| 3949 | + | |
| 3950 | dmg(v) | |
| 3951 | end | |
| 3952 | - | --- |
| 3952 | + | |
| 3953 | - | lookavec = lookavec + 0.1 |
| 3953 | + | |
| 3954 | - | speeds = speeds + 10 |
| 3954 | + | |
| 3955 | - | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) |
| 3955 | + | |
| 3956 | for i = 0, 3, 0.1 do | |
| 3957 | - | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 3957 | + | |
| 3958 | 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) | |
| 3959 | 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) | |
| 3960 | - | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 3960 | + | 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) |
| 3961 | 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) | |
| 3962 | 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) | |
| 3963 | - | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 3963 | + | |
| 3964 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3965 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3966 | - | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 3966 | + | |
| 3967 | - | --- |
| 3967 | + | |
| 3968 | - | root.CFrame = FaceMouse()[1] |
| 3968 | + | |
| 3969 | attack = false | |
| 3970 | end | |
| 3971 | ||
| 3972 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
| 3973 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) |
| 3973 | + | |
| 3974 | orb.Anchored = true | |
| 3975 | orb.BrickColor = color | |
| 3976 | orb.CanCollide = false | |
| 3977 | orb.FormFactor = 3 | |
| 3978 | - | --- |
| 3978 | + | |
| 3979 | - | speeds = speeds + 10 |
| 3979 | + | |
| 3980 | - | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) |
| 3980 | + | |
| 3981 | orb.Transparency = 0 | |
| 3982 | - | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 3982 | + | |
| 3983 | orb.BottomSurface = 0 | |
| 3984 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3985 | - | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 3985 | + | |
| 3986 | orb.CFrame = positted | |
| 3987 | orbm.Name = "SizeMesh" | |
| 3988 | - | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 3988 | + | |
| 3989 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
| |
| 3990 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
| 3991 | - | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 3991 | + | |
| 3992 | - | --- |
| 3992 | + | |
| 3993 | - | root.CFrame = FaceMouse()[1] |
| 3993 | + | |
| 3994 | coroutine.resume(coroutine.create(function() | |
| 3995 | wait(timer) | |
| 3996 | CameraEnshaking(3,ShakePower) | |
| 3997 | orb.Transparency = 1 | |
| 3998 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) |
| 3998 | + | |
| 3999 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) | |
| 4000 | --[[for i = 0, 4 do | |
| 4001 | - | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
|
| 4001 | + | |
| 4002 | end]]-- | |
| 4003 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
| |
| 4004 | - | --- |
| 4004 | + | |
| 4005 | - | speeds = speeds + 10 |
| 4005 | + | |
| 4006 | - | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) |
| 4006 | + | |
| 4007 | end | |
| 4008 | - | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 4008 | + | |
| 4009 | function orb_spawn(positted,timer) | |
| 4010 | local randomcol = math.random(1,2) | |
| 4011 | - | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 4011 | + | |
| 4012 | orb.Anchored = true | |
| 4013 | if randomcol == 1 then | |
| 4014 | - | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 4014 | + | |
| 4015 | elseif randomcol == 2 then | |
| 4016 | orb.BrickColor = BrickColor.new("Really black")
| |
| 4017 | - | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
| 4017 | + | |
| 4018 | - | --- |
| 4018 | + | |
| 4019 | - | root.CFrame = FaceMouse()[1] |
| 4019 | + | |
| 4020 | orb.Name = "Ring" | |
| 4021 | orb.Material = "Neon" | |
| 4022 | - | 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(40)),.1) |
| 4022 | + | |
| 4023 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1) |
| 4023 | + | |
| 4024 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1) |
| 4024 | + | |
| 4025 | orb.BottomSurface = 0 | |
| 4026 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 4027 | orbm.MeshType = "Sphere" | |
| 4028 | orb.CFrame = positted | |
| 4029 | orbm.Name = "SizeMesh" | |
| 4030 | orbm.Scale = vt(1,1,1) | |
| 4031 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
| |
| 4032 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
| 4033 | for i = 0, 2 do | |
| 4034 | 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) | |
| 4035 | end | |
| 4036 | coroutine.resume(coroutine.create(function() | |
| 4037 | wait(timer) | |
| 4038 | CameraEnshaking(3,2) | |
| 4039 | - | a2.BrickColor = bc("Bright yellow")
|
| 4039 | + | |
| 4040 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
| 4041 | - | a2.Transparency = 0 |
| 4041 | + | |
| 4042 | for i = 0, 4 do | |
| 4043 | 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) | |
| 4044 | - | local b = Instance.new("Part",Character)
|
| 4044 | + | |
| 4045 | - | b.Name = "HitDirect" |
| 4045 | + | |
| 4046 | - | b.Anchored = true |
| 4046 | + | |
| 4047 | - | b.BrickColor = bc("Cool yellow")
|
| 4047 | + | |
| 4048 | - | b.Material = "Neon" |
| 4048 | + | |
| 4049 | - | b.Transparency = 1 |
| 4049 | + | |
| 4050 | - | b.CanCollide = false |
| 4050 | + | |
| 4051 | function scattercorrupt() | |
| 4052 | - | elocacenter.CFrame.p, -- origin |
| 4052 | + | |
| 4053 | - | (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction |
| 4053 | + | |
| 4054 | local randomrotations = math.random(1,2) | |
| 4055 | local lookv = 2.5 | |
| 4056 | local power = 5 | |
| 4057 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
| |
| 4058 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
| |
| 4059 | for i = 0, 9 do | |
| 4060 | 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)
| |
| 4061 | - | local distance = (elocacenter.CFrame.p - position).magnitude |
| 4061 | + | |
| 4062 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
| |
| 4063 | - | a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
| 4063 | + | |
| 4064 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
| |
| 4065 | - | a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
| 4065 | + | |
| 4066 | - | b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance) |
| 4066 | + | |
| 4067 | local hite = Instance.new("Part", char)
| |
| 4068 | hite.Anchored = true | |
| 4069 | - | game:GetService("Debris"):AddItem(a, 10)
|
| 4069 | + | |
| 4070 | - | game:GetService("Debris"):AddItem(a2, 10)
|
| 4070 | + | |
| 4071 | - | game:GetService("Debris"):AddItem(b, 10)
|
| 4071 | + | |
| 4072 | hite.Material = "Neon" | |
| 4073 | hite.Size = Vector3.new(1, 1, 1) | |
| 4074 | - | msh.Scale = vt(1,2,2) |
| 4074 | + | |
| 4075 | hite.TopSurface = 0 | |
| 4076 | hite.BottomSurface = 0 | |
| 4077 | - | msh2.Scale = vt(1,2.5,2.5) |
| 4077 | + | |
| 4078 | - | CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
|
| 4078 | + | |
| 4079 | rem.Anchored = true | |
| 4080 | rem.CanCollide = false | |
| 4081 | rem.FormFactor = 3 | |
| 4082 | - | msh.Scale = msh.Scale + vt(0,0.05,0.05) |
| 4082 | + | |
| 4083 | rem.Material = "Neon" | |
| 4084 | - | msh2.Scale = msh2.Scale + vt(0,0.25,0.25) |
| 4084 | + | |
| 4085 | - | a2.Transparency = a2.Transparency + 0.05 |
| 4085 | + | |
| 4086 | rem.TopSurface = 0 | |
| 4087 | rem.BottomSurface = 0 | |
| 4088 | rem.CFrame = hite.CFrame | |
| 4089 | local rem2 = rem:Clone() | |
| 4090 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
|
| 4090 | + | |
| 4091 | - | CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
|
| 4091 | + | |
| 4092 | - | CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
|
| 4092 | + | |
| 4093 | - | CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
|
| 4093 | + | |
| 4094 | - | CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
|
| 4094 | + | |
| 4095 | - | CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
|
| 4095 | + | |
| 4096 | - | MagniDamage(b, 25, 40,65, 0, "Normal") |
| 4096 | + | |
| 4097 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 4098 | - | PixelBlock(2,math.random(10,20),"Add",b.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.04,BrickColor.new("Bright yellow"),0)
|
| 4098 | + | |
| 4099 | - | PixelBlock(1,math.random(1,10),"Add",b.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("Bright yellow"),0)
|
| 4099 | + | |
| 4100 | for i = 0, 24 do | |
| 4101 | - | sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
|
| 4101 | + | |
| 4102 | - | sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
|
| 4102 | + | |
| 4103 | - | sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
|
| 4103 | + | |
| 4104 | - | sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
|
| 4104 | + | |
| 4105 | - | sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
|
| 4105 | + | |
| 4106 | - | sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
|
| 4106 | + | |
| 4107 | power = power + 0.5 | |
| 4108 | - | game:GetService("Debris"):AddItem(elocacenter, 5)
|
| 4108 | + | |
| 4109 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 4110 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4111 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 4112 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 4113 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4114 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4115 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4116 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4117 | end | |
| 4118 | end)) | |
| 4119 | attack = false | |
| 4120 | end | |
| 4121 | function yinyangi() | |
| 4122 | attack = true | |
| 4123 | for i = 0, 2, 0.1 do | |
| 4124 | swait() | |
| 4125 | 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) | |
| 4126 | 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) | |
| 4127 | 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) | |
| 4128 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4129 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
| 4130 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 4131 | end | |
| 4132 | local bv = Instance.new("BodyVelocity")
| |
| 4133 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4134 | bv.velocity = root.CFrame.lookVector*175 | |
| 4135 | bv.Parent = root | |
| 4136 | for Rotations = 0, 9 do | |
| 4137 | for i = 0, 1, 0.5 do | |
| 4138 | swait() | |
| 4139 | bv.velocity = root.CFrame.lookVector*175 | |
| 4140 | 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) | |
| 4141 | 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) | |
| 4142 | 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) | |
| 4143 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4144 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4145 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4146 | end | |
| 4147 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4148 | for i = 0, 1, 0.5 do | |
| 4149 | swait() | |
| 4150 | bv.velocity = root.CFrame.lookVector*175 | |
| 4151 | 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) | |
| 4152 | 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) | |
| 4153 | 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) | |
| 4154 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4155 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4156 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4157 | end | |
| 4158 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4159 | for i = 0, 1, 0.5 do | |
| 4160 | swait() | |
| 4161 | bv.velocity = root.CFrame.lookVector*175 | |
| 4162 | 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) | |
| 4163 | 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) | |
| 4164 | 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) | |
| 4165 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4166 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4167 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4168 | end | |
| 4169 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4170 | for i = 0, 1, 0.5 do | |
| 4171 | swait() | |
| 4172 | bv.velocity = root.CFrame.lookVector*175 | |
| 4173 | 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) | |
| 4174 | 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) | |
| 4175 | 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) | |
| 4176 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4177 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4178 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4179 | end | |
| 4180 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4181 | end | |
| 4182 | bv:Destroy() | |
| 4183 | attack = false | |
| 4184 | end | |
| 4185 | ||
| 4186 | function Wip() | |
| 4187 | attack = true | |
| 4188 | ||
| 4189 | local rngb = Instance.new("Part", char)
| |
| 4190 | rngb.Anchored = true | |
| 4191 | rngb.BrickColor = origcolor | |
| 4192 | rngb.CanCollide = false | |
| 4193 | rngb.FormFactor = 3 | |
| 4194 | rngb.Name = "Ring" | |
| 4195 | rngb.Material = "Neon" | |
| 4196 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 4197 | rngb.Transparency = 1 | |
| 4198 | rngb.TopSurface = 0 | |
| 4199 | rngb.BottomSurface = 0 | |
| 4200 | local rngmb = Instance.new("SpecialMesh", rngb)
| |
| 4201 | rngmb.MeshType = "Brick" | |
| 4202 | rngmb.Name = "SizeMesh" | |
| 4203 | rngmb.Scale = vt(0,1,0) | |
| 4204 | ||
| 4205 | local orb = rngb:Clone() | |
| 4206 | orb.Parent = char | |
| 4207 | orb.Transparency = 0 | |
| 4208 | orb.BrickColor = BrickColor.new("White")
| |
| 4209 | orb.Size = vt(1,1,1) | |
| 4210 | local orbmish = orb.SizeMesh | |
| 4211 | orbmish.Scale = vt(0,0,0) | |
| 4212 | orbmish.MeshType = "Sphere" | |
| 4213 | ||
| 4214 | local orbe = rngb:Clone() | |
| 4215 | orbe.Parent = char | |
| 4216 | orbe.Transparency = 0.5 | |
| 4217 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 4218 | orbe.Size = vt(1,1,1) | |
| 4219 | local orbmish2 = orbe.SizeMesh | |
| 4220 | orbmish2.Scale = vt(0,0,0) | |
| 4221 | orbmish2.MeshType = "Sphere" | |
| 4222 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4223 | ||
| 4224 | rngb:Destroy() | |
| 4225 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
| |
| 4226 | local scaled = 1 | |
| 4227 | for i = 0,5,0.1 do | |
| 4228 | swait() | |
| 4229 | scaled = scaled - 0.02 | |
| 4230 | if RAIN_RAINBOWmode == true then | |
| 4231 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4232 | end | |
| 4233 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
| 4234 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
| 4235 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4236 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4237 | 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) | |
| 4238 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4239 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 4240 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4241 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4242 | 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) | |
| 4243 | 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) | |
| 4244 | RootPart.CFrame = FaceMouse()[1] | |
| 4245 | end]]-- | |
| 4246 | for i = 0,5,0.1 do | |
| 4247 | swait() | |
| 4248 | if RAIN_RAINBOWmode == true then | |
| 4249 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4250 | end | |
| 4251 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4252 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4253 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4254 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 4255 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4256 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4257 | 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) | |
| 4258 | 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) | |
| 4259 | RootPart.CFrame = FaceMouse()[1] | |
| 4260 | end | |
| 4261 | orbe.Transparency = 1 | |
| 4262 | orb.Transparency = 1 | |
| 4263 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
| 4264 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
| |
| 4265 | local a = Instance.new("Part",Character)
| |
| 4266 | a.Name = "Direction" | |
| 4267 | a.Anchored = true | |
| 4268 | a.BrickColor = bc("White")
| |
| 4269 | a.Material = "Neon" | |
| 4270 | a.Transparency = 0 | |
| 4271 | a.Shape = "Cylinder" | |
| 4272 | a.CanCollide = false | |
| 4273 | local a2 = Instance.new("Part",Character)
| |
| 4274 | a2.Name = "Direction" | |
| 4275 | a2.Anchored = true | |
| 4276 | a2.BrickColor = bc("New Yeller")
| |
| 4277 | a2.Color = Color3.new(r/255,g/255,b/255) | |
| 4278 | a2.Material = "Neon" | |
| 4279 | a2.Transparency = 0.5 | |
| 4280 | a2.Shape = "Cylinder" | |
| 4281 | a2.CanCollide = false | |
| 4282 | local ba = Instance.new("Part",Character)
| |
| 4283 | ba.Name = "HitDirect" | |
| 4284 | ba.Anchored = true | |
| 4285 | ba.BrickColor = bc("Cool yellow")
| |
| 4286 | ba.Material = "Neon" | |
| 4287 | ba.Transparency = 1 | |
| 4288 | ba.CanCollide = false | |
| 4289 | local ray = Ray.new( | |
| 4290 | - | function THE_TRUE_POWER_OF_VIOLENCE() |
| 4290 | + | |
| 4291 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4292 | ) | |
| 4293 | - | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
|
| 4293 | + | |
| 4294 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4295 | a.BottomSurface = 10 | |
| 4296 | a.TopSurface = 10 | |
| 4297 | a2.BottomSurface = 10 | |
| 4298 | - | 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(0)),.4) |
| 4298 | + | |
| 4299 | - | 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(40)),.4) |
| 4299 | + | |
| 4300 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4) |
| 4300 | + | |
| 4301 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) |
| 4301 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
| 4302 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) |
| 4302 | + | |
| 4303 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4304 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4305 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4306 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4307 | game:GetService("Debris"):AddItem(a, 20)
| |
| 4308 | game:GetService("Debris"):AddItem(a2, 20)
| |
| 4309 | game:GetService("Debris"):AddItem(ba, 20)
| |
| 4310 | local msh = Instance.new("SpecialMesh",a)
| |
| 4311 | msh.MeshType = "Cylinder" | |
| 4312 | msh.Scale = vt(1,5*5,5*5) | |
| 4313 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 4314 | - | orb.CFrame = sorb.CFrame |
| 4314 | + | |
| 4315 | msh2.Scale = vt(1,6*5,6*5) | |
| 4316 | ||
| 4317 | for i = 0,10,0.1 do | |
| 4318 | swait() | |
| 4319 | - | local sbs = Instance.new("BodyPosition", orb)
|
| 4319 | + | |
| 4320 | a2.Color = Color3.new(r/255,g/255,b/255) | |
| 4321 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4322 | - | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) |
| 4322 | + | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 |
| 4323 | - | sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0) |
| 4323 | + | ray = Ray.new( |
| 4324 | - | CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
|
| 4324 | + | |
| 4325 | - | sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4325 | + | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction |
| 4326 | - | sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4326 | + | |
| 4327 | - | sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4327 | + | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 4328 | - | sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4328 | + | distance = (orb.CFrame.p - position).magnitude |
| 4329 | - | sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
| 4329 | + | if typrot == 1 then |
| 4330 | rotation = rotation + 2.5 | |
| 4331 | elseif typrot == 2 then | |
| 4332 | - | PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0) |
| 4332 | + | rotation = rotation - 2.5 |
| 4333 | - | 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))),.6) |
| 4333 | + | |
| 4334 | - | 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(0)),.6) |
| 4334 | + | |
| 4335 | - | 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(60)),.6) |
| 4335 | + | a.Size = Vector3.new(distance, 1, 1) |
| 4336 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) |
| 4336 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
| 4337 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) |
| 4337 | + | a2.Size = Vector3.new(distance, 1, 1) |
| 4338 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6) |
| 4338 | + | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
| 4339 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4340 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4341 | - | local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) |
| 4341 | + | |
| 4342 | msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5) | |
| 4343 | msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5) | |
| 4344 | 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) | |
| 4345 | - | local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) |
| 4345 | + | 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) |
| 4346 | MagniDamage(ba, 30, 500,60000, 0, "Normal") | |
| 4347 | end | |
| 4348 | - | local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) |
| 4348 | + | |
| 4349 | a2:Destroy() | |
| 4350 | ba:Destroy() | |
| 4351 | - | local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) |
| 4351 | + | |
| 4352 | orbe:Destroy() | |
| 4353 | attack = false | |
| 4354 | - | local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) |
| 4354 | + | |
| 4355 | function HolyBarrier() | |
| 4356 | attack = true | |
| 4357 | shielding = true | |
| 4358 | for i = 0, 2, 0.1 do | |
| 4359 | swait() | |
| 4360 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
|
| 4360 | + | 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) |
| 4361 | - | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
|
| 4361 | + | 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) |
| 4362 | - | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
|
| 4362 | + | 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) |
| 4363 | - | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
|
| 4363 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4) |
| 4364 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1) | |
| 4365 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1) | |
| 4366 | end | |
| 4367 | CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
| |
| 4368 | stash = Instance.new("Model",workspace)
| |
| 4369 | local barrier = Instance.new("Part",stash)
| |
| 4370 | barrier.Anchored = true | |
| 4371 | - | lookavec = lookavec + 2.5 |
| 4371 | + | barrier.CanCollide = false |
| 4372 | - | speeds = speeds + 0.25 |
| 4372 | + | barrier.Size = Vector3.new(20,20,20) |
| 4373 | barrier.CFrame = root.CFrame | |
| 4374 | barrier.Transparency = 0.6 | |
| 4375 | - | PixelBlockNeg(2,0,"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) |
| 4375 | + | barrier.BrickColor = MAINRUINCOLOR |
| 4376 | barrier.Material = Enum.Material.Neon | |
| 4377 | barrier.Shape = Enum.PartType.Ball | |
| 4378 | - | PixelBlockNeg(2,0,"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) |
| 4378 | + | barrier.CFrame = root.CFrame |
| 4379 | sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR) | |
| 4380 | Torso.Anchored = true | |
| 4381 | - | PixelBlockNeg(2,0,"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) |
| 4381 | + | for i=1,50 do |
| 4382 | local p = Instance.new("Part",stash)
| |
| 4383 | p.Anchored = true | |
| 4384 | - | PixelBlockNeg(2,0,"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) |
| 4384 | + | p.Transparency = 1 |
| 4385 | p.Size = Vector3.new(11,11,11) | |
| 4386 | p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)) | |
| 4387 | end | |
| 4388 | repeat | |
| 4389 | - | speeds = speeds + 0.25 |
| 4389 | + | swait(5) |
| 4390 | 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)
| |
| 4391 | until shielding == false | |
| 4392 | - | PixelBlockNeg(2,0,"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) |
| 4392 | + | stash:Remove() |
| 4393 | Torso.Anchored = false | |
| 4394 | shielding = false | |
| 4395 | - | PixelBlockNeg(2,0,"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) |
| 4395 | + | sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR) |
| 4396 | attack = false | |
| 4397 | end | |
| 4398 | - | PixelBlockNeg(2,0,"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) |
| 4398 | + | function Judgement() |
| 4399 | attack = true | |
| 4400 | judgement = true | |
| 4401 | - | PixelBlockNeg(2,0,"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) |
| 4401 | + | hum.WalkSpeed = 0 |
| 4402 | local p = Instance.new("Part",root)
| |
| 4403 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
|
| 4403 | + | p.Anchored = true |
| 4404 | p.CanCollide = false | |
| 4405 | p.BrickColor = MAINRUINCOLOR | |
| 4406 | - | lookavec = lookavec - 2.5 |
| 4406 | + | p.Material = Enum.Material.Neon |
| 4407 | - | speeds = speeds + 0.25 |
| 4407 | + | p.Size = Vector3.new(1,1,1) |
| 4408 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 4409 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 4410 | - | PixelBlockNeg(2,0,"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) |
| 4410 | + | local m = Instance.new("SpecialMesh",p)
|
| 4411 | m.MeshType = "Cylinder" | |
| 4412 | m.Scale = Vector3.new(2000,2,2) | |
| 4413 | - | PixelBlockNeg(2,0,"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) |
| 4413 | + | local targ = Instance.new("Part",root)
|
| 4414 | targ.Anchored = true | |
| 4415 | targ.Transparency = 1 | |
| 4416 | - | PixelBlockNeg(2,0,"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) |
| 4416 | + | targ.CanCollide = false |
| 4417 | targ.Size = Vector3.new(1,1,1) | |
| 4418 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 4419 | - | PixelBlockNeg(2,0,"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) |
| 4419 | + | local s = Instance.new("Sound",targ)
|
| 4420 | s.SoundId = "https://roblox.com/asset/?id=115327352" | |
| 4421 | - | local scaled = 0.1*75 |
| 4421 | + | s.Looped = true |
| 4422 | - | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
|
| 4422 | + | s.Pitch = 1.2 |
| 4423 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
|
| 4423 | + | s.Volume = 3 |
| 4424 | - | CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
|
| 4424 | + | spawn(function() |
| 4425 | - | CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
|
| 4425 | + | swait(15) |
| 4426 | - | CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
|
| 4426 | + | s:Play() |
| 4427 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
|
| 4427 | + | |
| 4428 | - | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4428 | + | CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
|
| 4429 | - | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4429 | + | for i = 1,15 do |
| 4430 | - | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4430 | + | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) |
| 4431 | - | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4431 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) |
| 4432 | - | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4432 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) |
| 4433 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
| 4434 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
| 4435 | - | scaled = scaled - 0.001*75 |
| 4435 | + | 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) |
| 4436 | 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) | |
| 4437 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR) | |
| 4438 | - | 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))),.6) |
| 4438 | + | 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) |
| 4439 | - | 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(0)),.6) |
| 4439 | + | m.Scale = m.Scale+Vector3.new(0,1,1) |
| 4440 | - | 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(60)),.6) |
| 4440 | + | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) |
| 4441 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) |
| 4441 | + | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) |
| 4442 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) |
| 4442 | + | |
| 4443 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6) |
| 4443 | + | |
| 4444 | 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) | |
| 4445 | - | for x = 0, 4 do |
| 4445 | + | repeat |
| 4446 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 4447 | - | sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0) |
| 4447 | + | 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) |
| 4448 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR) | |
| 4449 | - | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
|
| 4449 | + | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) |
| 4450 | - | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
|
| 4450 | + | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) |
| 4451 | - | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4451 | + | MagniDamage(targ, 25, 5, 8, 0, "Normal") |
| 4452 | - | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4452 | + | |
| 4453 | - | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4453 | + | until judgement == false |
| 4454 | - | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4454 | + | for i =1,15 do |
| 4455 | - | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4455 | + | m.Scale = m.Scale-Vector3.new(1,1,1) |
| 4456 | p.Transparency = i / 15 | |
| 4457 | s.Pitch = s.Pitch - 0.4 | |
| 4458 | swait() | |
| 4459 | end | |
| 4460 | p:Destroy() | |
| 4461 | - | 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(0)),.1) |
| 4461 | + | hum.WalkSpeed = storehumanoidWS |
| 4462 | attack = false | |
| 4463 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1) |
| 4463 | + | |
| 4464 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1) |
| 4464 | + | |
| 4465 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1) |
| 4465 | + | function UniversalSpark() |
| 4466 | attack = true | |
| 4467 | ||
| 4468 | local rngb = Instance.new("Part", char)
| |
| 4469 | - | CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
|
| 4469 | + | rngb.Anchored = true |
| 4470 | - | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
|
| 4470 | + | rngb.BrickColor = origcolor |
| 4471 | - | CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
|
| 4471 | + | rngb.CanCollide = false |
| 4472 | - | for i = 0, 30, 0.1 do |
| 4472 | + | rngb.FormFactor = 3 |
| 4473 | rngb.Name = "Ring" | |
| 4474 | - | scaled = scaled - 0.001*75/10 |
| 4474 | + | rngb.Material = "Neon" |
| 4475 | - | speedearn = speedearn + 0.5 |
| 4475 | + | rngb.Size = Vector3.new(1, 0.05, 1) |
| 4476 | - | for i = 0, 4 do |
| 4476 | + | rngb.Transparency = 1 |
| 4477 | - | sphereMK(1+speedearn,speedearn,"Add",elocacenter.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) |
| 4477 | + | rngb.TopSurface = 0 |
| 4478 | rngb.BottomSurface = 0 | |
| 4479 | - | PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0) |
| 4479 | + | local rngmb = Instance.new("SpecialMesh", rngb)
|
| 4480 | rngmb.MeshType = "Brick" | |
| 4481 | rngmb.Name = "SizeMesh" | |
| 4482 | rngmb.Scale = vt(0,1,0) | |
| 4483 | - | 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))),.6) |
| 4483 | + | |
| 4484 | - | 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(0)),.6) |
| 4484 | + | local orb = rngb:Clone() |
| 4485 | - | 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)),.6) |
| 4485 | + | orb.Parent = char |
| 4486 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6) |
| 4486 | + | orb.Transparency = 0 |
| 4487 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4) |
| 4487 | + | orb.BrickColor = BrickColor.new("White")
|
| 4488 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6) |
| 4488 | + | orb.Size = vt(1,1,1) |
| 4489 | local orbmish = orb.SizeMesh | |
| 4490 | orbmish.Scale = vt(0,0,0) | |
| 4491 | - | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do |
| 4491 | + | orbmish.MeshType = "Sphere" |
| 4492 | ||
| 4493 | local orbe = rngb:Clone() | |
| 4494 | orbe.Parent = char | |
| 4495 | orbe.Transparency = 0.5 | |
| 4496 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 4497 | - | MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal") |
| 4497 | + | orbe.Size = vt(1,1,1) |
| 4498 | - | CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
|
| 4498 | + | local orbmish2 = orbe.SizeMesh |
| 4499 | - | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
|
| 4499 | + | orbmish2.Scale = vt(0,0,0) |
| 4500 | - | CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
|
| 4500 | + | orbmish2.MeshType = "Sphere" |
| 4501 | - | CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
|
| 4501 | + | orbe.Color = Color3.new(r/255,g/255,b/255) |
| 4502 | - | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
|
| 4502 | + | |
| 4503 | - | CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
|
| 4503 | + | rngb:Destroy() |
| 4504 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
| |
| 4505 | - | CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
|
| 4505 | + | local scaled = 1 |
| 4506 | - | CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
|
| 4506 | + | for i = 0,5,0.1 do |
| 4507 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
|
| 4507 | + | |
| 4508 | - | CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
|
| 4508 | + | scaled = scaled - 0.02 |
| 4509 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
|
| 4509 | + | if RAIN_RAINBOWmode == true then |
| 4510 | - | CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
|
| 4510 | + | orbe.Color = Color3.new(r/255,g/255,b/255) |
| 4511 | - | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4511 | + | |
| 4512 | - | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4512 | + | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) |
| 4513 | - | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4513 | + | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) |
| 4514 | - | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4514 | + | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 |
| 4515 | - | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 4515 | + | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 |
| 4516 | 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) | |
| 4517 | - | PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0) |
| 4517 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) |
| 4518 | - | PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0) |
| 4518 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) |
| 4519 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4520 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4521 | - | sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0) |
| 4521 | + | 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) |
| 4522 | 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) | |
| 4523 | RootPart.CFrame = FaceMouse()[1] | |
| 4524 | end]]-- | |
| 4525 | for i = 0,5,0.1 do | |
| 4526 | swait() | |
| 4527 | if RAIN_RAINBOWmode == true then | |
| 4528 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4529 | end | |
| 4530 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4531 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4532 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4533 | - | function ViolentRing() |
| 4533 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) |
| 4534 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4535 | - | CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
|
| 4535 | + | |
| 4536 | 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) | |
| 4537 | 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) | |
| 4538 | - | local snap = math.random(1,10) |
| 4538 | + | |
| 4539 | - | if snap == 1 then |
| 4539 | + | |
| 4540 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1) |
| 4540 | + | orbe.Transparency = 1 |
| 4541 | orb.Transparency = 1 | |
| 4542 | - | PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0) |
| 4542 | + | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 |
| 4543 | - | PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0) |
| 4543 | + | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
|
| 4544 | - | PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0) |
| 4544 | + | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
|
| 4545 | - | 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))),.6) |
| 4545 | + | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
|
| 4546 | - | 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(0)),.6) |
| 4546 | + | |
| 4547 | - | 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)),.6) |
| 4547 | + | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
|
| 4548 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6) |
| 4548 | + | CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
|
| 4549 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4) |
| 4549 | + | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
|
| 4550 | - | 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)),.6) |
| 4550 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
|
| 4551 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
| |
| 4552 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 4553 | CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
| |
| 4554 | local xd= Instance.new("Sound",char)
| |
| 4555 | xd.SoundId = "rbxassetid://445796828" | |
| 4556 | xd.Pitch = 0.75 | |
| 4557 | xd.Looped = true | |
| 4558 | xd.Volume = 1.25 | |
| 4559 | xd:Play() | |
| 4560 | local a = Instance.new("Part",Character)
| |
| 4561 | a.Name = "Direction" | |
| 4562 | a.Anchored = true | |
| 4563 | a.BrickColor = bc("Alder")
| |
| 4564 | a.Color = MAINRUINCOLOR.Color | |
| 4565 | a.Material = "Neon" | |
| 4566 | a.Transparency = 0.5 | |
| 4567 | - | orb.CFrame = mouse.Hit |
| 4567 | + | |
| 4568 | a.CanCollide = false | |
| 4569 | local a2 = Instance.new("Part",Character)
| |
| 4570 | a2.Name = "Direction" | |
| 4571 | a2.Anchored = true | |
| 4572 | a2.BrickColor = bc("New Yeller")
| |
| 4573 | a2.Color = MAINRUINCOLOR.Color | |
| 4574 | a2.Material = "Neon" | |
| 4575 | a2.Transparency = 0.5 | |
| 4576 | a2.Shape = "Cylinder" | |
| 4577 | a2.CanCollide = false | |
| 4578 | local ba = Instance.new("Part",Character)
| |
| 4579 | ba.Name = "HitDirect" | |
| 4580 | ba.Anchored = true | |
| 4581 | ba.BrickColor = bc("Cool yellow")
| |
| 4582 | ba.Material = "Neon" | |
| 4583 | ba.Transparency = 1 | |
| 4584 | ba.CanCollide = false | |
| 4585 | local ray = Ray.new( | |
| 4586 | orb.CFrame.p, -- origin | |
| 4587 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4588 | ) | |
| 4589 | local ignore = Character | |
| 4590 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4591 | a.BottomSurface = 10 | |
| 4592 | a.TopSurface = 10 | |
| 4593 | a2.BottomSurface = 10 | |
| 4594 | a2.TopSurface = 10 | |
| 4595 | local distance = (orb.CFrame.p - position).magnitude | |
| 4596 | a.Size = Vector3.new(distance, 1, 1) | |
| 4597 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4598 | - | sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 4598 | + | |
| 4599 | - | sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 4599 | + | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
| 4600 | - | sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 4600 | + | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
| 4601 | - | sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 4601 | + | |
| 4602 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4603 | game:GetService("Debris"):AddItem(a, 60)
| |
| 4604 | - | lookavec = lookavec + 3.5 |
| 4604 | + | game:GetService("Debris"):AddItem(a2, 60)
|
| 4605 | - | speeds = speeds + 1 |
| 4605 | + | game:GetService("Debris"):AddItem(ba, 60)
|
| 4606 | local outerscale = 0 | |
| 4607 | local msh = Instance.new("SpecialMesh",a)
| |
| 4608 | msh.MeshType = "Cylinder" | |
| 4609 | msh.Scale = vt(1,0,0) | |
| 4610 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 4611 | msh2.MeshType = "Cylinder" | |
| 4612 | msh2.Scale = vt(1,0,0) | |
| 4613 | for i = 0,2,0.1 do | |
| 4614 | swait() | |
| 4615 | CameraEnshaking(1,1) | |
| 4616 | msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20) | |
| 4617 | msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15) | |
| 4618 | outerscale = outerscale - 0.015 | |
| 4619 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4620 | - | local risen = 0 |
| 4620 | + | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 |
| 4621 | ray = Ray.new( | |
| 4622 | orb.CFrame.p, -- origin | |
| 4623 | - | risen = risen + 0.05 |
| 4623 | + | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction |
| 4624 | ) | |
| 4625 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4626 | distance = (orb.CFrame.p - position).magnitude | |
| 4627 | - | PixelBlockNeg(2,math.random(1+risen,2+risen),"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) |
| 4627 | + | if typrot == 1 then |
| 4628 | rotation = rotation + 2.5 | |
| 4629 | elseif typrot == 2 then | |
| 4630 | - | PixelBlockNeg(2,math.random(1+risen,2+risen),"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) |
| 4630 | + | rotation = rotation - 2.5 |
| 4631 | end | |
| 4632 | RootPart.CFrame = FaceMouse()[1] | |
| 4633 | - | PixelBlockNeg(2,math.random(1+risen,2+risen),"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) |
| 4633 | + | a.Size = Vector3.new(distance, 1, 1) |
| 4634 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4635 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4636 | - | PixelBlockNeg(2,math.random(1+risen,2+risen),"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) |
| 4636 | + | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
| 4637 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4638 | - | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do |
| 4638 | + | |
| 4639 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4640 | 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) | |
| 4641 | 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) | |
| 4642 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 4643 | - | CameraEnshaking(4,10) |
| 4643 | + | |
| 4644 | - | MagniDamage(elocacenter, 150, 50,75, 0, "Normal") |
| 4644 | + | for z = 0, 2 do |
| 4645 | - | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
|
| 4645 | + | |
| 4646 | - | CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
|
| 4646 | + | |
| 4647 | - | CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
|
| 4647 | + | |
| 4648 | - | CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
|
| 4648 | + | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) |
| 4649 | - | CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
|
| 4649 | + | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) |
| 4650 | - | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR) |
| 4650 | + | outerscale = outerscale + 0.015 |
| 4651 | - | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR) |
| 4651 | + | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 |
| 4652 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4653 | ray = Ray.new( | |
| 4654 | orb.CFrame.p, -- origin | |
| 4655 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4656 | ) | |
| 4657 | - | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR) |
| 4657 | + | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 4658 | distance = (orb.CFrame.p - position).magnitude | |
| 4659 | - | sphereMK(2,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.25,MAINRUINCOLOR,0) |
| 4659 | + | if typrot == 1 then |
| 4660 | - | sphereMK(4,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) |
| 4660 | + | rotation = rotation + 2.5 |
| 4661 | - | sphereMK(6,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) |
| 4661 | + | elseif typrot == 2 then |
| 4662 | - | sphereMK(8,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) |
| 4662 | + | rotation = rotation - 2.5 |
| 4663 | end | |
| 4664 | RootPart.CFrame = FaceMouse()[1] | |
| 4665 | - | wait(10) |
| 4665 | + | a.Size = Vector3.new(distance, 1, 1) |
| 4666 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4667 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4668 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4669 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4670 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4671 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4672 | 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) | |
| 4673 | 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) | |
| 4674 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 4675 | end | |
| 4676 | for i = 0,4,0.1 do | |
| 4677 | swait() | |
| 4678 | CameraEnshaking(1,1) | |
| 4679 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
| 4680 | - | local sbs = Instance.new("BodyPosition", root)
|
| 4680 | + | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) |
| 4681 | outerscale = outerscale - 0.015 | |
| 4682 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4683 | - | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) |
| 4683 | + | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 |
| 4684 | - | sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0) |
| 4684 | + | ray = Ray.new( |
| 4685 | - | CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
|
| 4685 | + | |
| 4686 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4687 | - | for i = 0, 110, 0.1 do |
| 4687 | + | |
| 4688 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4689 | distance = (orb.CFrame.p - position).magnitude | |
| 4690 | if typrot == 1 then | |
| 4691 | rotation = rotation + 2.5 | |
| 4692 | elseif typrot == 2 then | |
| 4693 | rotation = rotation - 2.5 | |
| 4694 | end | |
| 4695 | - | sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR) |
| 4695 | + | |
| 4696 | a.Size = Vector3.new(distance, 1, 1) | |
| 4697 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4698 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4699 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4700 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4701 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4702 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4703 | - | CameraEnshaking(5,50) |
| 4703 | + | 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) |
| 4704 | 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) | |
| 4705 | - | for i = 0, 2 do |
| 4705 | + | MagniDamage(ba, 100, 500,60000, 0, "Normal") |
| 4706 | end | |
| 4707 | - | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
|
| 4707 | + | |
| 4708 | - | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
|
| 4708 | + | |
| 4709 | - | CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
|
| 4709 | + | |
| 4710 | CameraEnshaking(1,1) | |
| 4711 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
| 4712 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
| 4713 | xd.Volume = xd.Volume - 0.025 | |
| 4714 | a.Transparency = a.Transparency + 0.025 | |
| 4715 | a2.Transparency = a2.Transparency + 0.025 | |
| 4716 | outerscale = outerscale - 0.015 | |
| 4717 | - | sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
| 4717 | + | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 |
| 4718 | - | sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
| 4718 | + | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 |
| 4719 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
| 4719 | + | ray = Ray.new( |
| 4720 | - | sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
| 4720 | + | |
| 4721 | - | sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
| 4721 | + | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction |
| 4722 | - | sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
| 4722 | + | |
| 4723 | - | sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
| 4723 | + | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
| 4724 | - | sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
| 4724 | + | distance = (orb.CFrame.p - position).magnitude |
| 4725 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
| 4725 | + | if typrot == 1 then |
| 4726 | - | sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
| 4726 | + | rotation = rotation + 2.5 |
| 4727 | elseif typrot == 2 then | |
| 4728 | - | sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
| 4728 | + | rotation = rotation - 2.5 |
| 4729 | end | |
| 4730 | - | PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0) |
| 4730 | + | |
| 4731 | - | PixelBlock(2,math.random(250,1000),"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,10,0.2,MAINRUINCOLOR,0) |
| 4731 | + | a.Size = Vector3.new(distance, 1, 1) |
| 4732 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4733 | - | for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do |
| 4733 | + | a2.Size = Vector3.new(distance, 1, 1) |
| 4734 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4735 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4736 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4737 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4738 | - | MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal") |
| 4738 | + | 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) |
| 4739 | - | sbs:Destroy() |
| 4739 | + | 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) |
| 4740 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 4741 | end | |
| 4742 | xd:Destroy() | |
| 4743 | a:Destroy() | |
| 4744 | a2:Destroy() | |
| 4745 | - | function ChaosEND() |
| 4745 | + | ba:Destroy() |
| 4746 | orb:Destroy() | |
| 4747 | orbe:Destroy() | |
| 4748 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
|
| 4748 | + | |
| 4749 | - | for i = 0, 15, 0.1 do |
| 4749 | + | |
| 4750 | ||
| 4751 | - | speedearn = speedearn + 0.25 |
| 4751 | + | |
| 4752 | - | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) |
| 4752 | + | function resetmode() |
| 4753 | - | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) |
| 4753 | + | RAIN_RAINBOWmode = false |
| 4754 | - | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) |
| 4754 | + | CRAZYmode = false |
| 4755 | - | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) |
| 4755 | + | |
| 4756 | - | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) |
| 4756 | + | |
| 4757 | tl3.Enabled = false | |
| 4758 | ModeOfGlitch = 1 | |
| 4759 | storehumanoidWS = 16 | |
| 4760 | coroutine.resume(coroutine.create(function() | |
| 4761 | attack = true | |
| 4762 | hum.WalkSpeed = 0 | |
| 4763 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
| |
| 4764 | for i = 0,4,0.1 do | |
| 4765 | swait() | |
| 4766 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
|
| 4766 | + | |
| 4767 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
|
| 4767 | + | 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) |
| 4768 | 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) | |
| 4769 | 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) | |
| 4770 | 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) | |
| 4771 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.5) | |
| 4772 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.5) | |
| 4773 | end | |
| 4774 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
| |
| 4775 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
| |
| 4776 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
| |
| 4777 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
| |
| 4778 | RecolorTextAndRename("Default",Color3.new(0,0,0),Color3.new(1,0,0))
| |
| 4779 | - | 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))),25,25,250,-0.25,BrickColor.random(),0) |
| 4779 | + | |
| 4780 | - | 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))),25,25,250,-0.25,BrickColor.random(),0) |
| 4780 | + | |
| 4781 | - | 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))),25,25,250,-0.25,BrickColor.random(),0) |
| 4781 | + | |
| 4782 | - | 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))),25,25,250,-0.25,BrickColor.random(),0) |
| 4782 | + | |
| 4783 | 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) | |
| 4784 | end | |
| 4785 | for i = 0,3,0.1 do | |
| 4786 | 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) | |
| 4787 | end | |
| 4788 | for i, v in pairs(mw2:GetChildren()) do | |
| 4789 | if v:IsA("Part") then
| |
| 4790 | v.BrickColor = BrickColor.new("Really red")
| |
| 4791 | v.Material = "Neon" | |
| 4792 | end | |
| 4793 | end | |
| 4794 | for i, v in pairs(mw1:GetChildren()) do | |
| 4795 | if v:IsA("Part") then
| |
| 4796 | v.Transparency = 1 | |
| 4797 | v.BrickColor = BrickColor.new("Really red")
| |
| 4798 | v.Material = "Neon" | |
| 4799 | end | |
| 4800 | end | |
| 4801 | for i, v in pairs(m:GetChildren()) do | |
| 4802 | if v:IsA("Part") then
| |
| 4803 | v.BrickColor = BrickColor.new("Really black")
| |
| 4804 | v.Material = "Glass" | |
| 4805 | end | |
| 4806 | end | |
| 4807 | for i, v in pairs(m2:GetChildren()) do | |
| 4808 | if v:IsA("Part") then
| |
| 4809 | v.BrickColor = BrickColor.new("Crimson")
| |
| 4810 | v.Material = "Granite" | |
| 4811 | end | |
| 4812 | end | |
| 4813 | for i, v in pairs(m3:GetChildren()) do | |
| 4814 | if v:IsA("Part") then
| |
| 4815 | v.BrickColor = BrickColor.new("Really red")
| |
| 4816 | v.Material = "Neon" | |
| 4817 | end | |
| 4818 | end | |
| 4819 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4820 | if v:IsA("Part") then
| |
| 4821 | v.Transparency = 1 | |
| 4822 | v.BrickColor = BrickColor.new("White")
| |
| 4823 | v.Material = "Neon" | |
| 4824 | end | |
| 4825 | end | |
| 4826 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4827 | if v:IsA("Part") then
| |
| 4828 | v.Transparency = 1 | |
| 4829 | v.BrickColor = BrickColor.new("White")
| |
| 4830 | v.Material = "Neon" | |
| 4831 | end | |
| 4832 | end | |
| 4833 | for i = 0,2,0.1 do | |
| 4834 | swait() | |
| 4835 | 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) | |
| 4836 | 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) | |
| 4837 | 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) | |
| 4838 | 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) | |
| 4839 | 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) | |
| 4840 | 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) | |
| 4841 | end | |
| 4842 | hum.WalkSpeed = storehumanoidWS | |
| 4843 | attack = false | |
| 4844 | end)) | |
| 4845 | newTheme("rbxassetid://2833524128",48.6,1,0.3)
| |
| 4846 | end | |
| 4847 | ||
| 4848 | function attackone() | |
| 4849 | attack = true | |
| 4850 | for i = 0,1,0.1 do | |
| 4851 | swait() | |
| 4852 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2) | |
| 4853 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2) | |
| 4854 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 4855 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 4856 | 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) | |
| 4857 | 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) | |
| 4858 | end | |
| 4859 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
| |
| 4860 | ||
| 4861 | local hitb = Instance.new("Part", char)
| |
| 4862 | hitb.Anchored = true | |
| 4863 | hitb.CanCollide = false | |
| 4864 | hitb.FormFactor = 3 | |
| 4865 | hitb.Name = "Ring" | |
| 4866 | hitb.Material = "Neon" | |
| 4867 | hitb.Size = Vector3.new(1, 1, 1) | |
| 4868 | hitb.Transparency = 1 | |
| 4869 | hitb.TopSurface = 0 | |
| 4870 | hitb.BottomSurface = 0 | |
| 4871 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
| 4872 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
| 4873 | hitb:Destroy() | |
| 4874 | for i = 0,1,0.1 do | |
| 4875 | swait() | |
| 4876 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4) | |
| 4877 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4) | |
| 4878 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
| 4879 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
| 4880 | 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) | |
| 4881 | 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) | |
| 4882 | end | |
| 4883 | ||
| 4884 | attack = false | |
| 4885 | end | |
| 4886 | ||
| 4887 | function attacktwo() | |
| 4888 | attack = true | |
| 4889 | for i = 0,1,0.1 do | |
| 4890 | swait() | |
| 4891 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2) | |
| 4892 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
| 4893 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 4894 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 4895 | 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) | |
| 4896 | 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) | |
| 4897 | end | |
| 4898 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
| |
| 4899 | local hitb = Instance.new("Part", char)
| |
| 4900 | hitb.Anchored = true | |
| 4901 | hitb.CanCollide = false | |
| 4902 | hitb.FormFactor = 3 | |
| 4903 | hitb.Name = "Ring" | |
| 4904 | hitb.Material = "Neon" | |
| 4905 | hitb.Size = Vector3.new(1, 1, 1) | |
| 4906 | hitb.Transparency = 1 | |
| 4907 | hitb.TopSurface = 0 | |
| 4908 | hitb.BottomSurface = 0 | |
| 4909 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
| 4910 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
| 4911 | hitb:Destroy() | |
| 4912 | for i = 0,1,0.1 do | |
| 4913 | swait() | |
| 4914 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4) | |
| 4915 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4) | |
| 4916 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
| 4917 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
| 4918 | 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) | |
| 4919 | 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) | |
| 4920 | end | |
| 4921 | attack = false | |
| 4922 | end | |
| 4923 | ||
| 4924 | function attackthree() | |
| 4925 | attack = true | |
| 4926 | for i = 0,1,0.1 do | |
| 4927 | swait() | |
| 4928 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3) | |
| 4929 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3) | |
| 4930 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
| 4931 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4932 | 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) | |
| 4933 | 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) | |
| 4934 | end | |
| 4935 | local distlook = 5 | |
| 4936 | for i = 0, 4 do | |
| 4937 | swait(2) | |
| 4938 | CameraEnshaking(2,3) | |
| 4939 | local hite = Instance.new("Part", char)
| |
| 4940 | hite.Anchored = true | |
| 4941 | hite.CanCollide = false | |
| 4942 | hite.FormFactor = 3 | |
| 4943 | hite.Name = "Ring" | |
| 4944 | hite.Material = "Neon" | |
| 4945 | hite.Size = Vector3.new(1, 1, 1) | |
| 4946 | hite.Transparency = 1 | |
| 4947 | hite.TopSurface = 0 | |
| 4948 | hite.BottomSurface = 0 | |
| 4949 | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook | |
| 4950 | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR) | |
| 4951 | sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) | |
| 4952 | MagniDamage(hite, 10, 15,35, 0, "Normal") | |
| 4953 | for i = 0, 2 do | |
| 4954 | 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) | |
| 4955 | 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) | |
| 4956 | 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) | |
| 4957 | end | |
| 4958 | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
| |
| 4959 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
| |
| 4960 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 4961 | distlook = distlook + 10 | |
| 4962 | end | |
| 4963 | attack = false | |
| 4964 | end | |
| 4965 | ||
| 4966 | local ActiveGia = false | |
| 4967 | function THEHELLITSTHATBIG() | |
| 4968 | ActiveGia = true | |
| 4969 | attack = true | |
| 4970 | hum.WalkSpeed = 0 | |
| 4971 | for i = 0,2,0.1 do | |
| 4972 | swait() | |
| 4973 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
| 4974 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
| 4975 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
| 4976 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
| 4977 | 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) | |
| 4978 | 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) | |
| 4979 | end | |
| 4980 | for i = 0,1,0.1 do | |
| 4981 | torsweld.C1=clerp(torsweld.C1,cf(0,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 4982 | larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1) | |
| 4983 | rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1) | |
| 4984 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 4985 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 4986 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1) | |
| 4987 | end | |
| 4988 | CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1)
| |
| 4989 | secrleg.Transparency = 0.5 | |
| 4990 | seclleg.Transparency = 0.5 | |
| 4991 | secrarm.Transparency = 0.5 | |
| 4992 | seclarm.Transparency = 0.5 | |
| 4993 | seched.Transparency = 0.5 | |
| 4994 | sectors.Transparency = 0.5 | |
| 4995 | for i = 0,25,0.1 do | |
| 4996 | swait() | |
| 4997 | 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) | |
| 4998 | 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) | |
| 4999 | 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) | |
| 5000 | 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) | |
| 5001 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 5002 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 5003 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025) | |
| 5004 | end | |
| 5005 | --[[secrleg.Transparency = 1 | |
| 5006 | seclleg.Transparency = 1 | |
| 5007 | - | function createBGCircle(size,parent,color) |
| 5007 | + | secrarm.Transparency = 1 |
| 5008 | - | local bgui = Instance.new("BillboardGui",parent)
|
| 5008 | + | seclarm.Transparency = 1 |
| 5009 | - | bgui.Size = UDim2.new(size, 0, size, 0) |
| 5009 | + | seched.Transparency = 1 |
| 5010 | - | local imgc = Instance.new("ImageLabel",bgui)
|
| 5010 | + | sectors.Transparency = 1]]-- |
| 5011 | - | imgc.BackgroundTransparency = 1 |
| 5011 | + | torsweld.Part0 = root |
| 5012 | - | imgc.ImageTransparency = 0 |
| 5012 | + | |
| 5013 | - | imgc.Size = UDim2.new(1,0,1,0) |
| 5013 | + | |
| 5014 | - | imgc.Image = "rbxassetid://997291547" --997291547,521073910 |
| 5014 | + | |
| 5015 | - | imgc.ImageColor3 = color |
| 5015 | + | |
| 5016 | - | return bgui,imgc |
| 5016 | + | function removelol() |
| 5017 | ActiveGia = false | |
| 5018 | attack = true | |
| 5019 | - | function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay) |
| 5019 | + | |
| 5020 | - | local bgui,imgc = createBGCircle(size,guipar,color) |
| 5020 | + | |
| 5021 | - | bgui.AlwaysOnTop = true |
| 5021 | + | |
| 5022 | - | imgc.Image = "rbxassetid://" ..img |
| 5022 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) |
| 5023 | - | local rrot = math.random(1,2) |
| 5023 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) |
| 5024 | - | CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
|
| 5024 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) |
| 5025 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
| 5026 | - | for i = 0, 24*delay do |
| 5026 | + | 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) |
| 5027 | 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) | |
| 5028 | - | if rotationenabled == true then |
| 5028 | + | |
| 5029 | - | if rrot == 1 then |
| 5029 | + | CFuncs["Sound"].Create("rbxassetid://528589274", sectors, 5, 1)
|
| 5030 | - | imgc.Rotation = imgc.Rotation + rotsp |
| 5030 | + | for i = 0,25,0.1 do |
| 5031 | - | elseif rrot == 2 then |
| 5031 | + | |
| 5032 | - | imgc.Rotation = imgc.Rotation - rotsp |
| 5032 | + | secrleg.Transparency = secrleg.Transparency + 0.00225 |
| 5033 | seclleg.Transparency = secrleg.Transparency | |
| 5034 | secrarm.Transparency = secrleg.Transparency | |
| 5035 | - | bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0) |
| 5035 | + | seclarm.Transparency = secrleg.Transparency |
| 5036 | - | imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay |
| 5036 | + | seched.Transparency = secrleg.Transparency |
| 5037 | sectors.Transparency = secrleg.Transparency | |
| 5038 | - | bgui:Destroy() |
| 5038 | + | 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) |
| 5039 | 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) | |
| 5040 | 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) | |
| 5041 | - | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled) |
| 5041 | + | 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) |
| 5042 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 5043 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 5044 | - | v.BrickColor = one |
| 5044 | + | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025) |
| 5045 | end | |
| 5046 | CFuncs["Sound"].Create("rbxassetid://468991944", sectors, 10, 1)
| |
| 5047 | sphere(1,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5048 | - | CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
|
| 5048 | + | sphere(2,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 5049 | - | symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1) |
| 5049 | + | sphere(3,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
| 5050 | - | symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1) |
| 5050 | + | secrleg.Transparency = 1 |
| 5051 | - | tr1.Color = ColorSequence.new(one.Color) |
| 5051 | + | seclleg.Transparency = 1 |
| 5052 | - | tr2.Color = ColorSequence.new(one.Color) |
| 5052 | + | secrarm.Transparency = 1 |
| 5053 | - | tr3.Color = ColorSequence.new(one.Color) |
| 5053 | + | seclarm.Transparency = 1 |
| 5054 | seched.Transparency = 1 | |
| 5055 | sectors.Transparency = 1 | |
| 5056 | - | if secondaryenabled == false then |
| 5056 | + | torsweld.Part0 = root |
| 5057 | hum.WalkSpeed = storehumanoidWS | |
| 5058 | - | elseif secondaryenabled == true then |
| 5058 | + | |
| 5059 | end | |
| 5060 | ||
| 5061 | - | v.BrickColor = two |
| 5061 | + | function FinalCalamity() |
| 5062 | end | |
| 5063 | ||
| 5064 | local attacktype = 1 | |
| 5065 | - | if secondaryenabled == false then |
| 5065 | + | |
| 5066 | if attack == false and attacktype == 1 then | |
| 5067 | attacktype = 2 | |
| 5068 | attackone() | |
| 5069 | - | elseif secondaryenabled == true then |
| 5069 | + | |
| 5070 | attacktype = 3 | |
| 5071 | attacktwo() | |
| 5072 | elseif attack == false and attacktype == 3 then | |
| 5073 | attacktype = 1 | |
| 5074 | - | tl1.Color = ColorSequence.new(two.Color) |
| 5074 | + | |
| 5075 | - | tl2.Color = ColorSequence.new(two.Color) |
| 5075 | + | |
| 5076 | - | tl3.Color = ColorSequence.new(two.Color) |
| 5076 | + | |
| 5077 | --attackfour() | |
| 5078 | end | |
| 5079 | - | v.BrickColor = three |
| 5079 | + | |
| 5080 | mouse.KeyDown:connect(function(k) | |
| 5081 | if k == "q" and attack == false and ModeOfGlitch ~= 2 then | |
| 5082 | ModeOfGlitch = 2 | |
| 5083 | storehumanoidWS = 16 | |
| 5084 | hum.WalkSpeed = 16 | |
| 5085 | - | v.BrickColor = four |
| 5085 | + | RAIN_RAINBOWmode = false |
| 5086 | CRAZYmode = false | |
| 5087 | tl1.Enabled = false | |
| 5088 | tl2.Enabled = false | |
| 5089 | tl3.Enabled = false | |
| 5090 | RecolorTextAndRename("Brightness",Color3.new(1,1,1),Color3.new(0,1,1))
| |
| 5091 | - | v.BrickColor = five |
| 5091 | + | newTheme("rbxassetid://1539245059",0,1,0.3)
|
| 5092 | MAINRUINCOLOR = BrickColor.new("Toothpaste")
| |
| 5093 | for i, v in pairs(mw2:GetChildren()) do | |
| 5094 | if v:IsA("Part") then
| |
| 5095 | v.BrickColor = MAINRUINCOLOR | |
| 5096 | v.Material = "Neon" | |
| 5097 | - | v.Transparency = exonetran |
| 5097 | + | |
| 5098 | - | v.BrickColor = exone |
| 5098 | + | |
| 5099 | for i, v in pairs(mw1:GetChildren()) do | |
| 5100 | if v:IsA("Part") then
| |
| 5101 | v.Transparency = 1 | |
| 5102 | v.BrickColor = MAINRUINCOLOR | |
| 5103 | v.Material = "Neon" | |
| 5104 | - | v.Transparency = extwotran |
| 5104 | + | |
| 5105 | - | v.BrickColor = extwo |
| 5105 | + | |
| 5106 | for i, v in pairs(m:GetChildren()) do | |
| 5107 | if v:IsA("Part") then
| |
| 5108 | v.BrickColor = BrickColor.new("White")
| |
| 5109 | v.Material = "Ice" | |
| 5110 | end | |
| 5111 | end | |
| 5112 | - | function normalmog() |
| 5112 | + | |
| 5113 | if v:IsA("Part") then
| |
| 5114 | v.BrickColor = BrickColor.new("Pastel light blue")
| |
| 5115 | - | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
|
| 5115 | + | |
| 5116 | - | for i = 0,6,0.1 do |
| 5116 | + | |
| 5117 | end | |
| 5118 | for i, v in pairs(m3:GetChildren()) do | |
| 5119 | - | slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR) |
| 5119 | + | |
| 5120 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2) |
| 5120 | + | v.BrickColor = BrickColor.new("Toothpaste")
|
| 5121 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2) |
| 5121 | + | |
| 5122 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2) |
| 5122 | + | |
| 5123 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) |
| 5123 | + | |
| 5124 | - | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) |
| 5124 | + | |
| 5125 | - | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) |
| 5125 | + | |
| 5126 | v.Transparency = 1 | |
| 5127 | - | CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
|
| 5127 | + | |
| 5128 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
|
| 5128 | + | |
| 5129 | - | CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
|
| 5129 | + | |
| 5130 | - | CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
|
| 5130 | + | |
| 5131 | - | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
|
| 5131 | + | |
| 5132 | - | CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
|
| 5132 | + | |
| 5133 | - | CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
|
| 5133 | + | |
| 5134 | - | rainbowmode = false |
| 5134 | + | |
| 5135 | - | chaosmode = false |
| 5135 | + | |
| 5136 | - | ModeOfGlitch = 1 |
| 5136 | + | |
| 5137 | end | |
| 5138 | - | newTheme("rbxassetid://614032233",48.6,1,1.25)
|
| 5138 | + | elseif k == "q" and attack == false and ModeOfGlitch == 2 then |
| 5139 | - | RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
|
| 5139 | + | resetmode() |
| 5140 | end | |
| 5141 | if k == "e" and attack == false and ModeOfGlitch ~= 3 then | |
| 5142 | ModeOfGlitch = 3 | |
| 5143 | storehumanoidWS = 16 | |
| 5144 | hum.WalkSpeed = 16 | |
| 5145 | RAIN_RAINBOWmode = false | |
| 5146 | CRAZYmode = false | |
| 5147 | - | sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR) |
| 5147 | + | |
| 5148 | - | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
|
| 5148 | + | |
| 5149 | tl3.Enabled = false | |
| 5150 | RecolorTextAndRename("Corrupted",Color3.new(0,0,0),Color3.new(0.35,0,1))
| |
| 5151 | newTheme("rbxassetid://2671155652",58.15,0.98,1.25)
| |
| 5152 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 5153 | - | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) |
| 5153 | + | |
| 5154 | if v:IsA("Part") then
| |
| 5155 | v.BrickColor = MAINRUINCOLOR | |
| 5156 | v.Material = "Neon" | |
| 5157 | end | |
| 5158 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) |
| 5158 | + | |
| 5159 | for i, v in pairs(mw1:GetChildren()) do | |
| 5160 | if v:IsA("Part") then
| |
| 5161 | v.Transparency = 1 | |
| 5162 | v.BrickColor = MAINRUINCOLOR | |
| 5163 | v.Material = "Neon" | |
| 5164 | end | |
| 5165 | end | |
| 5166 | for i, v in pairs(m:GetChildren()) do | |
| 5167 | if v:IsA("Part") then
| |
| 5168 | v.BrickColor = BrickColor.new("Black")
| |
| 5169 | - | local keptcolor = MAINRUINCOLOR |
| 5169 | + | |
| 5170 | end | |
| 5171 | end | |
| 5172 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3) |
| 5172 | + | |
| 5173 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3) |
| 5173 | + | |
| 5174 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) |
| 5174 | + | v.BrickColor = BrickColor.new("Dark indigo")
|
| 5175 | v.Material = "Glass" | |
| 5176 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3) |
| 5176 | + | |
| 5177 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) |
| 5177 | + | |
| 5178 | for i, v in pairs(m3:GetChildren()) do | |
| 5179 | if v:IsA("Part") then
| |
| 5180 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 5181 | v.Material = "Neon" | |
| 5182 | end | |
| 5183 | end | |
| 5184 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5185 | if v:IsA("Part") then
| |
| 5186 | v.Transparency = 1 | |
| 5187 | v.BrickColor = BrickColor.new("White")
| |
| 5188 | v.Material = "Neon" | |
| 5189 | end | |
| 5190 | end | |
| 5191 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5192 | if v:IsA("Part") then
| |
| 5193 | v.Transparency = 1 | |
| 5194 | - | hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook) |
| 5194 | + | |
| 5195 | - | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor) |
| 5195 | + | |
| 5196 | - | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor) |
| 5196 | + | |
| 5197 | - | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor) |
| 5197 | + | |
| 5198 | - | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor) |
| 5198 | + | elseif k == "e" and attack == false and ModeOfGlitch == 3 then |
| 5199 | - | MagniDamage(hite, 9, 10,25, 0, "Normal") |
| 5199 | + | resetmode() |
| 5200 | end | |
| 5201 | - | local rsiz = math.random(5,20) |
| 5201 | + | if k == "r" and attack == false and ModeOfGlitch ~= 4 then |
| 5202 | - | sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) |
| 5202 | + | |
| 5203 | storehumanoidWS = 16 | |
| 5204 | - | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
|
| 5204 | + | |
| 5205 | - | CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
|
| 5205 | + | RAIN_RAINBOWmode = false |
| 5206 | CRAZYmode = true | |
| 5207 | tl1.Enabled = true | |
| 5208 | tl2.Enabled = true | |
| 5209 | tl3.Enabled = true | |
| 5210 | RecolorTextAndRename("CRAZY",Color3.new(0,0,0),BrickColor.random().Color)
| |
| 5211 | newTheme("rbxassetid://1372412973",0,1,1)
| |
| 5212 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5) |
| 5212 | + | |
| 5213 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5) |
| 5213 | + | |
| 5214 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5) |
| 5214 | + | |
| 5215 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5) |
| 5215 | + | v.BrickColor = MAINRUINCOLOR |
| 5216 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5) |
| 5216 | + | |
| 5217 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5) |
| 5217 | + | |
| 5218 | end | |
| 5219 | for i, v in pairs(mw1:GetChildren()) do | |
| 5220 | if v:IsA("Part") then
| |
| 5221 | v.Transparency = 0.75 | |
| 5222 | v.BrickColor = BrickColor.random() | |
| 5223 | v.Material = "Neon" | |
| 5224 | - | hum.WalkSpeed = 2 |
| 5224 | + | |
| 5225 | - | local keptcolor = MAINRUINCOLOR |
| 5225 | + | |
| 5226 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
|
| 5226 | + | |
| 5227 | - | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) |
| 5227 | + | |
| 5228 | - | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color) |
| 5228 | + | v.BrickColor = BrickColor.new("Black")
|
| 5229 | v.Material = "Neon" | |
| 5230 | end | |
| 5231 | end | |
| 5232 | for i, v in pairs(m2:GetChildren()) do | |
| 5233 | - | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5233 | + | |
| 5234 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3) |
| 5234 | + | |
| 5235 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3) |
| 5235 | + | |
| 5236 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) |
| 5236 | + | |
| 5237 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3) |
| 5237 | + | |
| 5238 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) |
| 5238 | + | |
| 5239 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) |
| 5239 | + | |
| 5240 | v.BrickColor = BrickColor.new("Black")
| |
| 5241 | - | for i = 0, 1 do |
| 5241 | + | |
| 5242 | - | CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
|
| 5242 | + | |
| 5243 | - | for i = 0,1,0.6 do |
| 5243 | + | |
| 5244 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5245 | - | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5245 | + | |
| 5246 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 5246 | + | |
| 5247 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 5247 | + | |
| 5248 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) |
| 5248 | + | |
| 5249 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 5249 | + | |
| 5250 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 5250 | + | |
| 5251 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 5251 | + | |
| 5252 | if v:IsA("Part") then
| |
| 5253 | - | for i = 0,1,0.6 do |
| 5253 | + | |
| 5254 | v.BrickColor = BrickColor.new("White")
| |
| 5255 | - | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5255 | + | |
| 5256 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 5256 | + | |
| 5257 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 5257 | + | |
| 5258 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6) |
| 5258 | + | elseif k == "r" and attack == false and ModeOfGlitch == 4 then |
| 5259 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 5259 | + | resetmode() |
| 5260 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 5260 | + | |
| 5261 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 5261 | + | if k == "t" and attack == false and ModeOfGlitch ~= 5 then |
| 5262 | ModeOfGlitch = 5 | |
| 5263 | - | for i = 0,1,0.6 do |
| 5263 | + | |
| 5264 | hum.WalkSpeed = 16 | |
| 5265 | - | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5265 | + | RAIN_RAINBOWmode = false |
| 5266 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 5266 | + | CRAZYmode = false |
| 5267 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 5267 | + | |
| 5268 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6) |
| 5268 | + | |
| 5269 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 5269 | + | |
| 5270 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 5270 | + | RecolorTextAndRename("MERCY",Color3.new(1,1,1),Color3.new(1,1,0.5))
|
| 5271 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 5271 | + | newTheme("rbxassetid://661079869",0,1.02,1)
|
| 5272 | MAINRUINCOLOR = BrickColor.new("Bright yellow")
| |
| 5273 | - | for i = 0,1,0.6 do |
| 5273 | + | |
| 5274 | if v:IsA("Part") then
| |
| 5275 | - | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5275 | + | v.BrickColor = MAINRUINCOLOR |
| 5276 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 5276 | + | |
| 5277 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 5277 | + | |
| 5278 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6) |
| 5278 | + | |
| 5279 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
| 5279 | + | |
| 5280 | - | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
| 5280 | + | |
| 5281 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
| 5281 | + | |
| 5282 | v.BrickColor = MAINRUINCOLOR | |
| 5283 | v.Material = "Neon" | |
| 5284 | - | local dis = CreateParta(char,0.5,1,"Neon",keptcolor) |
| 5284 | + | |
| 5285 | - | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
|
| 5285 | + | |
| 5286 | - | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) |
| 5286 | + | |
| 5287 | - | CreateMesh(dis,"Sphere",10,1,10) |
| 5287 | + | |
| 5288 | - | local at1 = Instance.new("Attachment",dis)
|
| 5288 | + | v.BrickColor = BrickColor.new("Cool yellow")
|
| 5289 | - | at1.Position = vt(-5,0,0) |
| 5289 | + | |
| 5290 | - | local at2 = Instance.new("Attachment",dis)
|
| 5290 | + | |
| 5291 | - | at2.Position = vt(5,0,0) |
| 5291 | + | |
| 5292 | - | local trl = Instance.new('Trail',wed)
|
| 5292 | + | |
| 5293 | - | trl.Attachment0 = at1 |
| 5293 | + | |
| 5294 | - | trl.Attachment1 = at2 |
| 5294 | + | v.BrickColor = BrickColor.new("Bright yellow")
|
| 5295 | - | trl.Texture = "rbxassetid://1049219073" |
| 5295 | + | |
| 5296 | - | trl.LightEmission = 1 |
| 5296 | + | |
| 5297 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 5297 | + | |
| 5298 | - | trl.Color = ColorSequence.new(dis.Color) |
| 5298 | + | |
| 5299 | - | trl.Lifetime = 0.6 |
| 5299 | + | |
| 5300 | v.BrickColor = BrickColor.new("Bright yellow")
| |
| 5301 | v.Material = "Neon" | |
| 5302 | end | |
| 5303 | end | |
| 5304 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5305 | if v:IsA("Part") then
| |
| 5306 | v.Transparency = 1 | |
| 5307 | v.BrickColor = BrickColor.new("White")
| |
| 5308 | - | dis.CFrame.p, -- origin |
| 5308 | + | |
| 5309 | - | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction |
| 5309 | + | |
| 5310 | end | |
| 5311 | - | local ignore = dis |
| 5311 | + | |
| 5312 | if v:IsA("Part") then
| |
| 5313 | v.Transparency = 1 | |
| 5314 | v.BrickColor = BrickColor.new("White")
| |
| 5315 | - | local distance = (dis.CFrame.p - position).magnitude |
| 5315 | + | |
| 5316 | end | |
| 5317 | - | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) |
| 5317 | + | |
| 5318 | - | dis.CFrame = a.CFrame |
| 5318 | + | elseif k == "t" and attack == false and ModeOfGlitch == 5 then |
| 5319 | - | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) |
| 5319 | + | resetmode() |
| 5320 | end | |
| 5321 | if k == "y" and attack == false and ModeOfGlitch ~= 6 then | |
| 5322 | ModeOfGlitch = 6 | |
| 5323 | - | bv.velocity = dis.CFrame.lookVector*250 |
| 5323 | + | storehumanoidWS = 75 |
| 5324 | - | bv.Parent = dis |
| 5324 | + | hum.WalkSpeed = 75 |
| 5325 | - | game:GetService("Debris"):AddItem(dis, 5)
|
| 5325 | + | RAIN_RAINBOWmode = false |
| 5326 | CRAZYmode = false | |
| 5327 | tl1.Enabled = true | |
| 5328 | - | dis.Touched:connect(function(hit) |
| 5328 | + | |
| 5329 | - | if hitted == false and hit.Parent ~= char then |
| 5329 | + | |
| 5330 | RecolorTextAndRename("Phobs",Color3.new(0,0,0),Color3.new(1,1,1))
| |
| 5331 | - | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
|
| 5331 | + | newTheme("rbxassetid://395351949",0,1,1)
|
| 5332 | - | MagniDamage(dis, 30, 33,56, 0, "Normal") |
| 5332 | + | |
| 5333 | - | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) |
| 5333 | + | |
| 5334 | - | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) |
| 5334 | + | |
| 5335 | - | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) |
| 5335 | + | v.BrickColor = MAINRUINCOLOR |
| 5336 | - | coroutine.resume(coroutine.create(function() |
| 5336 | + | |
| 5337 | - | for i = 0, 9 do |
| 5337 | + | |
| 5338 | - | local disr = CreateParta(char,1,1,"Neon",keptcolor) |
| 5338 | + | |
| 5339 | - | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 5339 | + | |
| 5340 | - | local at1 = Instance.new("Attachment",disr)
|
| 5340 | + | |
| 5341 | - | at1.Position = vt(-5,0,0) |
| 5341 | + | |
| 5342 | - | local at2 = Instance.new("Attachment",disr)
|
| 5342 | + | v.BrickColor = MAINRUINCOLOR |
| 5343 | - | at2.Position = vt(5,0,0) |
| 5343 | + | |
| 5344 | - | local trl = Instance.new('Trail',disr)
|
| 5344 | + | |
| 5345 | - | trl.Attachment0 = at1 |
| 5345 | + | |
| 5346 | - | trl.FaceCamera = true |
| 5346 | + | |
| 5347 | - | trl.Attachment1 = at2 |
| 5347 | + | |
| 5348 | - | trl.Texture = "rbxassetid://2342682798" |
| 5348 | + | |
| 5349 | - | trl.LightEmission = 1 |
| 5349 | + | |
| 5350 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 5350 | + | |
| 5351 | - | trl.Color = ColorSequence.new(keptcolor.Color) |
| 5351 | + | |
| 5352 | - | trl.Lifetime = 0.5 |
| 5352 | + | |
| 5353 | if v:IsA("Part") then
| |
| 5354 | v.BrickColor = BrickColor.new("Really black")
| |
| 5355 | - | bv.velocity = disr.CFrame.lookVector*math.random(50,200) |
| 5355 | + | |
| 5356 | - | bv.Parent = disr |
| 5356 | + | |
| 5357 | - | local val = 0 |
| 5357 | + | |
| 5358 | for i, v in pairs(m3:GetChildren()) do | |
| 5359 | if v:IsA("Part") then
| |
| 5360 | - | for i = 0, 9 do |
| 5360 | + | |
| 5361 | v.Material = "Neon" | |
| 5362 | - | val = val + 0.1 |
| 5362 | + | |
| 5363 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
|
| 5363 | + | |
| 5364 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5365 | - | game:GetService("Debris"):AddItem(disr, 3)
|
| 5365 | + | |
| 5366 | v.Transparency = 1 | |
| 5367 | v.BrickColor = BrickColor.new("White")
| |
| 5368 | - | local eff = Instance.new("ParticleEmitter",dis)
|
| 5368 | + | |
| 5369 | - | eff.Texture = "rbxassetid://2273224484" |
| 5369 | + | |
| 5370 | - | eff.LightEmission = 1 |
| 5370 | + | |
| 5371 | - | eff.Color = ColorSequence.new(keptcolor.Color) |
| 5371 | + | |
| 5372 | - | eff.Rate = 50 |
| 5372 | + | |
| 5373 | - | eff.Lifetime = NumberRange.new(0.5,2) |
| 5373 | + | |
| 5374 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 5374 | + | |
| 5375 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 5375 | + | |
| 5376 | - | eff.Speed = NumberRange.new(20,250) |
| 5376 | + | |
| 5377 | - | eff.Drag = 5 |
| 5377 | + | |
| 5378 | - | eff.Rotation = NumberRange.new(-500,500) |
| 5378 | + | elseif k == "y" and attack == false and ModeOfGlitch == 6 then |
| 5379 | - | eff.VelocitySpread = 9000 |
| 5379 | + | resetmode() |
| 5380 | - | eff.RotSpeed = NumberRange.new(-50,50) |
| 5380 | + | |
| 5381 | - | wait(0.25) |
| 5381 | + | if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then |
| 5382 | - | eff.Enabled = false |
| 5382 | + | ModeOfGlitch = 6127843 |
| 5383 | storehumanoidWS = 50 | |
| 5384 | - | for i = 0, 9 do |
| 5384 | + | hum.WalkSpeed = 50 |
| 5385 | RAIN_RAINBOWmode = true | |
| 5386 | - | for i = 0, 19 do |
| 5386 | + | CRAZYmode = false |
| 5387 | tl1.Enabled = true | |
| 5388 | tl2.Enabled = true | |
| 5389 | - | for i = 0, 19 do |
| 5389 | + | |
| 5390 | RecolorTextAndRename("RAIN-BOW",Color3.new(1,1,1),Color3.new(1,1,1))
| |
| 5391 | - | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) |
| 5391 | + | newTheme("rbxassetid://147930134",0,1,1)
|
| 5392 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 5393 | - | hum.CameraOffset = vt(0,0,0) |
| 5393 | + | |
| 5394 | if v:IsA("Part") then
| |
| 5395 | - | dis.Anchored = true |
| 5395 | + | v.BrickColor = MAINRUINCOLOR |
| 5396 | - | dis.Transparency = 1 |
| 5396 | + | |
| 5397 | end | |
| 5398 | - | dis:Destroy() |
| 5398 | + | |
| 5399 | for i, v in pairs(mw1:GetChildren()) do | |
| 5400 | if v:IsA("Part") then
| |
| 5401 | v.Transparency = 0 | |
| 5402 | - | rot = rot - 15 |
| 5402 | + | v.BrickColor = MAINRUINCOLOR |
| 5403 | v.Material = "Neon" | |
| 5404 | end | |
| 5405 | end | |
| 5406 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3) |
| 5406 | + | |
| 5407 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3) |
| 5407 | + | |
| 5408 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) |
| 5408 | + | |
| 5409 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3) |
| 5409 | + | |
| 5410 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) |
| 5410 | + | |
| 5411 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) |
| 5411 | + | |
| 5412 | for i, v in pairs(m2:GetChildren()) do | |
| 5413 | if v:IsA("Part") then
| |
| 5414 | v.BrickColor = BrickColor.new("White")
| |
| 5415 | v.Material = "Neon" | |
| 5416 | end | |
| 5417 | end | |
| 5418 | for i, v in pairs(m3:GetChildren()) do | |
| 5419 | - | local keptcolor = MAINRUINCOLOR |
| 5419 | + | |
| 5420 | v.BrickColor = BrickColor.new("White")
| |
| 5421 | v.Material = "Neon" | |
| 5422 | end | |
| 5423 | - | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 5423 | + | |
| 5424 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3) |
| 5424 | + | |
| 5425 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3) |
| 5425 | + | |
| 5426 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3) |
| 5426 | + | |
| 5427 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3) |
| 5427 | + | |
| 5428 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3) |
| 5428 | + | |
| 5429 | - | 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(40)),.3) |
| 5429 | + | |
| 5430 | end | |
| 5431 | - | CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
|
| 5431 | + | |
| 5432 | - | CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
|
| 5432 | + | |
| 5433 | - | CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
|
| 5433 | + | |
| 5434 | - | CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
|
| 5434 | + | |
| 5435 | - | sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) |
| 5435 | + | |
| 5436 | - | sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR) |
| 5436 | + | |
| 5437 | end | |
| 5438 | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then | |
| 5439 | resetmode() | |
| 5440 | end | |
| 5441 | - | root.CFrame = root.CFrame + root.CFrame.lookVector*5 |
| 5441 | + | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then |
| 5442 | - | local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) |
| 5442 | + | ModeOfGlitch = 1000000 |
| 5443 | - | CreateMesh(dis,"Sphere",1,1,1) |
| 5443 | + | |
| 5444 | - | dis.Anchored = true |
| 5444 | + | |
| 5445 | - | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) |
| 5445 | + | RAIN_RAINBOWmode = false |
| 5446 | - | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) |
| 5446 | + | CRAZYmode = false |
| 5447 | tl1.Enabled = true | |
| 5448 | tl2.Enabled = true | |
| 5449 | - | dis.Transparency = 1 |
| 5449 | + | |
| 5450 | RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
| |
| 5451 | - | for i = 0, 19 do |
| 5451 | + | newTheme("rbxassetid://1359036559",0,1,1)
|
| 5452 | MAINRUINCOLOR = BrickColor.new("Bright violet")
| |
| 5453 | - | hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40) |
| 5453 | + | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5454 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5455 | - | hum.CameraOffset = vt(0,0,0) |
| 5455 | + | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5456 | for i, v in pairs(mw2:GetChildren()) do | |
| 5457 | if v:IsA("Part") then
| |
| 5458 | - | local eff = Instance.new("ParticleEmitter",dis)
|
| 5458 | + | v.BrickColor = MAINRUINCOLOR |
| 5459 | - | eff.Texture = "rbxassetid://2273224484" |
| 5459 | + | |
| 5460 | - | eff.LightEmission = 1 |
| 5460 | + | |
| 5461 | - | eff.Color = ColorSequence.new(dis.Color) |
| 5461 | + | |
| 5462 | - | eff.Rate = 500000 |
| 5462 | + | |
| 5463 | - | eff.Lifetime = NumberRange.new(0.5,2) |
| 5463 | + | |
| 5464 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 5464 | + | |
| 5465 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 5465 | + | v.BrickColor = MAINRUINCOLOR |
| 5466 | - | eff.Speed = NumberRange.new(50,450) |
| 5466 | + | |
| 5467 | - | eff.Drag = 5 |
| 5467 | + | |
| 5468 | - | eff.Rotation = NumberRange.new(-500,500) |
| 5468 | + | |
| 5469 | - | eff.VelocitySpread = 9000 |
| 5469 | + | |
| 5470 | - | eff.RotSpeed = NumberRange.new(-50,50) |
| 5470 | + | |
| 5471 | - | wait(0.125) |
| 5471 | + | v.Color = Color3.new(0.5,0,1) |
| 5472 | - | eff.Enabled = false |
| 5472 | + | |
| 5473 | end | |
| 5474 | - | MagniDamage(dis, 30, 45,50, 0, "Normal") |
| 5474 | + | |
| 5475 | - | for i = 0, 2 do |
| 5475 | + | |
| 5476 | - | --slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor) |
| 5476 | + | |
| 5477 | v.Color = Color3.new(0.25,0,1) | |
| 5478 | - | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
|
| 5478 | + | |
| 5479 | - | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
|
| 5479 | + | |
| 5480 | - | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
|
| 5480 | + | |
| 5481 | - | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color) |
| 5481 | + | |
| 5482 | if v:IsA("Part") then
| |
| 5483 | - | game:GetService("Debris"):AddItem(dis, 5)
|
| 5483 | + | v.Color = Color3.new(0.45,0,1) |
| 5484 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5) |
| 5484 | + | |
| 5485 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5) |
| 5485 | + | |
| 5486 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5) |
| 5486 | + | |
| 5487 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5) |
| 5487 | + | |
| 5488 | - | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5) |
| 5488 | + | |
| 5489 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5) |
| 5489 | + | |
| 5490 | v.Color = Color3.new(0.25,0,1) | |
| 5491 | v.Material = "Neon" | |
| 5492 | end | |
| 5493 | - | ----------------------------------- Abilities |
| 5493 | + | |
| 5494 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5495 | if v:IsA("Part") then
| |
| 5496 | v.Transparency = 0.75 | |
| 5497 | v.Color = Color3.new(0.5,0,1) | |
| 5498 | v.Material = "Neon" | |
| 5499 | end | |
| 5500 | end | |
| 5501 | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then | |
| 5502 | resetmode() | |
| 5503 | end | |
| 5504 | - | --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)
|
| 5504 | + | if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then |
| 5505 | newThemeCust("rbxassetid://1504604335",0,1,1)
| |
| 5506 | attack = true | |
| 5507 | - | -- |
| 5507 | + | |
| 5508 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 5509 | - | --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
|
| 5509 | + | for i = 0, 24, 0.1 do |
| 5510 | swait() | |
| 5511 | 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) | |
| 5512 | 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) | |
| 5513 | - | --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)
|
| 5513 | + | |
| 5514 | 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) | |
| 5515 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 5516 | 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) | |
| 5517 | 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) | |
| 5518 | end | |
| 5519 | - | local radm = math.random(1,3) |
| 5519 | + | |
| 5520 | - | if radm == 1 then |
| 5520 | + | |
| 5521 | - | --bosschatfunc("YOU WON'T BE NECCESSARY.",MAINRUINCOLOR.Color,2)
|
| 5521 | + | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
|
| 5522 | - | elseif radm == 2 then |
| 5522 | + | wait(0.55) |
| 5523 | - | --bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
|
| 5523 | + | CameraEnshaking(1,2) |
| 5524 | - | elseif radm == 3 then |
| 5524 | + | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) |
| 5525 | - | --bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
|
| 5525 | + | |
| 5526 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5527 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 5528 | wait(0.55) | |
| 5529 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4) |
| 5529 | + | CameraEnshaking(1,3) |
| 5530 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 5531 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 5532 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 5533 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 5534 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5535 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
| |
| 5536 | - | CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
|
| 5536 | + | wait(0.55) |
| 5537 | - | CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
|
| 5537 | + | CameraEnshaking(10,5) |
| 5538 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 5539 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 5540 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 5541 | - | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) |
| 5541 | + | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
|
| 5542 | - | for i,v in pairs(targetted:GetChildren()) do |
| 5542 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
|
| 5543 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 5544 | - | v.Velocity = vt(0,0,0) |
| 5544 | + | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) |
| 5545 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
| 5546 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
| 5547 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 5548 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
| 5549 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8) |
| 5549 | + | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) |
| 5550 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
| 5551 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
| 5552 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
| 5553 | for i = 0, 49 do | |
| 5554 | 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) | |
| 5555 | - | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
|
| 5555 | + | |
| 5556 | - | CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
|
| 5556 | + | |
| 5557 | - | for i = 0, 1 do |
| 5557 | + | |
| 5558 | - | CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
|
| 5558 | + | |
| 5559 | ModeOfGlitch = 12345678987654321 | |
| 5560 | - | CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
|
| 5560 | + | storehumanoidWS = 200 |
| 5561 | - | --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
|
| 5561 | + | hum.WalkSpeed = 200 |
| 5562 | RAIN_RAINBOWmode = false | |
| 5563 | CRAZYmode = false | |
| 5564 | tl1.Enabled = true | |
| 5565 | - | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) |
| 5565 | + | |
| 5566 | - | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 5566 | + | |
| 5567 | - | local at1 = Instance.new("Attachment",dis)
|
| 5567 | + | RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
|
| 5568 | - | at1.Position = vt(-25000,0,0) |
| 5568 | + | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5569 | - | local at2 = Instance.new("Attachment",dis)
|
| 5569 | + | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5570 | - | at2.Position = vt(25000,0,0) |
| 5570 | + | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5571 | - | local trl = Instance.new('Trail',dis)
|
| 5571 | + | |
| 5572 | - | trl.Attachment0 = at1 |
| 5572 | + | |
| 5573 | - | trl.FaceCamera = true |
| 5573 | + | v.BrickColor = MAINRUINCOLOR |
| 5574 | - | trl.Attachment1 = at2 |
| 5574 | + | |
| 5575 | - | trl.Texture = "rbxassetid://1049219073" |
| 5575 | + | |
| 5576 | - | trl.LightEmission = 1 |
| 5576 | + | |
| 5577 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 5577 | + | |
| 5578 | - | trl.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 5578 | + | |
| 5579 | - | trl.Lifetime = 5 |
| 5579 | + | |
| 5580 | v.BrickColor = MAINRUINCOLOR | |
| 5581 | v.Material = "Neon" | |
| 5582 | - | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) |
| 5582 | + | |
| 5583 | - | bv.Parent = dis |
| 5583 | + | |
| 5584 | - | game:GetService("Debris"):AddItem(dis, 5)
|
| 5584 | + | |
| 5585 | - | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) |
| 5585 | + | |
| 5586 | - | CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
|
| 5586 | + | v.Color = Color3.new(0.5,0,1) |
| 5587 | - | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
|
| 5587 | + | |
| 5588 | - | CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
|
| 5588 | + | |
| 5589 | - | CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
|
| 5589 | + | |
| 5590 | - | CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
|
| 5590 | + | |
| 5591 | - | sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR) |
| 5591 | + | |
| 5592 | - | targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
|
| 5592 | + | v.Color = Color3.new(0.5,0,1) |
| 5593 | v.Material = "Neon" | |
| 5594 | - | --slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
|
| 5594 | + | |
| 5595 | end | |
| 5596 | - | symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25) |
| 5596 | + | |
| 5597 | - | for i,v in pairs(targetted:GetChildren()) do |
| 5597 | + | |
| 5598 | v.Color = Color3.new(0.5,0,1) | |
| 5599 | - | v.Velocity = vt(0,0,0) |
| 5599 | + | |
| 5600 | end | |
| 5601 | end | |
| 5602 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5603 | - | hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25) |
| 5603 | + | |
| 5604 | v.Transparency = 0 | |
| 5605 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8) |
| 5605 | + | v.Color = Color3.new(0.5,0,1) |
| 5606 | v.Material = "Neon" | |
| 5607 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8) |
| 5607 | + | |
| 5608 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8) |
| 5608 | + | |
| 5609 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8) |
| 5609 | + | |
| 5610 | if v:IsA("Part") then
| |
| 5611 | - | hum.CameraOffset = vt(0,0,0) |
| 5611 | + | |
| 5612 | v.Color = Color3.new(0.5,0,1) | |
| 5613 | - | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) |
| 5613 | + | |
| 5614 | - | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 5614 | + | |
| 5615 | - | local at1 = Instance.new("Attachment",dis)
|
| 5615 | + | |
| 5616 | - | at1.Position = vt(-50000,0,0) |
| 5616 | + | |
| 5617 | - | local at2 = Instance.new("Attachment",dis)
|
| 5617 | + | elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then |
| 5618 | - | at2.Position = vt(50000,0,0) |
| 5618 | + | resetmode() |
| 5619 | - | local trl = Instance.new('Trail',dis)
|
| 5619 | + | |
| 5620 | - | trl.Attachment0 = at1 |
| 5620 | + | if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 666 then |
| 5621 | - | trl.FaceCamera = true |
| 5621 | + | newThemeCust("rbxassetid://562347944",0,1,1)
|
| 5622 | - | trl.Attachment1 = at2 |
| 5622 | + | |
| 5623 | - | trl.Texture = "rbxassetid://1049219073" |
| 5623 | + | |
| 5624 | - | trl.LightEmission = 1 |
| 5624 | + | MAINRUINCOLOR = BrickColor.new("Crimson")
|
| 5625 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 5625 | + | for i = 0, 24, 0.1 do |
| 5626 | - | trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1)) |
| 5626 | + | |
| 5627 | - | trl.Lifetime = 5 |
| 5627 | + | 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) |
| 5628 | 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) | |
| 5629 | 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) | |
| 5630 | - | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) |
| 5630 | + | |
| 5631 | - | bv.Parent = dis |
| 5631 | + | |
| 5632 | - | game:GetService("Debris"):AddItem(dis, 5)
|
| 5632 | + | |
| 5633 | 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) | |
| 5634 | end | |
| 5635 | - | sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR) |
| 5635 | + | |
| 5636 | - | --slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
|
| 5636 | + | |
| 5637 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
| |
| 5638 | - | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
|
| 5638 | + | wait(0.55) |
| 5639 | - | for i = 0, 1 do |
| 5639 | + | CameraEnshaking(1,2) |
| 5640 | - | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
|
| 5640 | + | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) |
| 5641 | - | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
|
| 5641 | + | |
| 5642 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5643 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 5644 | - | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
|
| 5644 | + | wait(0.55) |
| 5645 | CameraEnshaking(1,3) | |
| 5646 | - | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1) |
| 5646 | + | |
| 5647 | - | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2) |
| 5647 | + | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) |
| 5648 | - | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4) |
| 5648 | + | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) |
| 5649 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 5650 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 5651 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
| |
| 5652 | - | --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)
|
| 5652 | + | wait(0.55) |
| 5653 | CameraEnshaking(10,5) | |
| 5654 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 5655 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 5656 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 5657 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 5658 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
| |
| 5659 | - | --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)
|
| 5659 | + | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) |
| 5660 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
| 5661 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
| 5662 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
| 5663 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 5664 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
| 5665 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
| 5666 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
| 5667 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
| 5668 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
| 5669 | - | function CorruptionEvent() |
| 5669 | + | |
| 5670 | 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) | |
| 5671 | 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) | |
| 5672 | - | CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
|
| 5672 | + | |
| 5673 | - | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
|
| 5673 | + | |
| 5674 | - | local keptcolor = MAINRUINCOLOR |
| 5674 | + | |
| 5675 | ModeOfGlitch = 666 | |
| 5676 | storehumanoidWS = 16 | |
| 5677 | - | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) |
| 5677 | + | |
| 5678 | - | block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 5678 | + | RAIN_RAINBOWmode = false |
| 5679 | - | RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1) |
| 5679 | + | CRAZYmode = false |
| 5680 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1) |
| 5680 | + | |
| 5681 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1) |
| 5681 | + | |
| 5682 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1) |
| 5682 | + | |
| 5683 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1) |
| 5683 | + | RecolorTextAndRename("DeMoNiAcMoDe",Color3.new(1,0,0),Color3.new(0.75,0,0))
|
| 5684 | - | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) |
| 5684 | + | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5685 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5686 | - | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) |
| 5686 | + | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5687 | - | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5) |
| 5687 | + | |
| 5688 | - | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3) |
| 5688 | + | |
| 5689 | - | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
|
| 5689 | + | v.BrickColor = MAINRUINCOLOR |
| 5690 | - | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
|
| 5690 | + | |
| 5691 | - | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
|
| 5691 | + | |
| 5692 | - | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
|
| 5692 | + | |
| 5693 | - | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
|
| 5693 | + | |
| 5694 | - | hum.CameraOffset = vt(0,0,0) |
| 5694 | + | |
| 5695 | - | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 5695 | + | |
| 5696 | - | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 5696 | + | v.BrickColor = MAINRUINCOLOR |
| 5697 | v.Material = "Neon" | |
| 5698 | - | --slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
|
| 5698 | + | |
| 5699 | end | |
| 5700 | - | local rrot = 0 |
| 5700 | + | |
| 5701 | if v:IsA("Part") then
| |
| 5702 | v.Color = Color3.new(1,0,0) | |
| 5703 | - | rrot = rrot + 45 |
| 5703 | + | |
| 5704 | - | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
| 5704 | + | |
| 5705 | - | xa.Anchored = true |
| 5705 | + | |
| 5706 | - | local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
| 5706 | + | |
| 5707 | - | xb.Anchored = true |
| 5707 | + | |
| 5708 | - | local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
| 5708 | + | v.Color = Color3.new(1,0,0) |
| 5709 | - | xc.Anchored = true |
| 5709 | + | |
| 5710 | - | local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
| 5710 | + | |
| 5711 | - | xd.Anchored = true |
| 5711 | + | |
| 5712 | - | CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
|
| 5712 | + | |
| 5713 | - | CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
|
| 5713 | + | |
| 5714 | - | CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
|
| 5714 | + | v.Color = Color3.new(1,0,0) |
| 5715 | - | CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
|
| 5715 | + | |
| 5716 | - | CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
|
| 5716 | + | |
| 5717 | - | CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
|
| 5717 | + | |
| 5718 | - | CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
|
| 5718 | + | |
| 5719 | - | CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
|
| 5719 | + | |
| 5720 | - | CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
|
| 5720 | + | |
| 5721 | - | CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
|
| 5721 | + | v.Color = Color3.new(1,0,0) |
| 5722 | - | CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
|
| 5722 | + | |
| 5723 | - | CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
|
| 5723 | + | |
| 5724 | - | xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75) |
| 5724 | + | |
| 5725 | - | xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75) |
| 5725 | + | |
| 5726 | - | xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0) |
| 5726 | + | |
| 5727 | - | xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0) |
| 5727 | + | |
| 5728 | - | MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") |
| 5728 | + | v.Color = Color3.new(1,0,0) |
| 5729 | - | MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") |
| 5729 | + | |
| 5730 | - | MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") |
| 5730 | + | |
| 5731 | - | MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") |
| 5731 | + | |
| 5732 | - | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) |
| 5732 | + | |
| 5733 | - | block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) |
| 5733 | + | elseif k == "b" and attack == false and ModeOfGlitch == 666 then |
| 5734 | - | block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) |
| 5734 | + | resetmode() |
| 5735 | - | block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) |
| 5735 | + | |
| 5736 | - | sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) |
| 5736 | + | if k == "l" and toggleTag == false then |
| 5737 | - | sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) |
| 5737 | + | |
| 5738 | - | sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) |
| 5738 | + | text.TextTransparency = 0 |
| 5739 | - | sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) |
| 5739 | + | text.TextStrokeTransparency = 0 |
| 5740 | - | sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
|
| 5740 | + | elseif k == "l" and toggleTag == true then |
| 5741 | - | sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
|
| 5741 | + | |
| 5742 | - | sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
|
| 5742 | + | text.TextTransparency = 1 |
| 5743 | - | sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
|
| 5743 | + | text.TextStrokeTransparency = 1 |
| 5744 | - | game:GetService("Debris"):AddItem(xa, 5)
|
| 5744 | + | |
| 5745 | - | game:GetService("Debris"):AddItem(xb, 5)
|
| 5745 | + | |
| 5746 | - | game:GetService("Debris"):AddItem(xc, 5)
|
| 5746 | + | |
| 5747 | - | game:GetService("Debris"):AddItem(xd, 5)
|
| 5747 | + | |
| 5748 | PureBomb() | |
| 5749 | - | for i = 0, 19 do |
| 5749 | + | |
| 5750 | scattercorrupt() | |
| 5751 | - | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) |
| 5751 | + | |
| 5752 | CRAZYGroundStrike() | |
| 5753 | - | hum.CameraOffset = vt(0,0,0) |
| 5753 | + | |
| 5754 | Judgement() | |
| 5755 | - | swait(9) |
| 5755 | + | elseif k == "f" and attack == false and ModeOfGlitch == 5 then |
| 5756 | HolyBarrier() | |
| 5757 | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then | |
| 5758 | Starfall() | |
| 5759 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
| 5760 | - | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8) |
| 5760 | + | yinyangi() |
| 5761 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8) |
| 5761 | + | elseif k == "x" and attack == false and ModeOfGlitch == 6 then |
| 5762 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8) |
| 5762 | + | MeteorStrike() |
| 5763 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8) |
| 5763 | + | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then |
| 5764 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8) |
| 5764 | + | Wip() |
| 5765 | - | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) |
| 5765 | + | elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then |
| 5766 | StarfallEX() | |
| 5767 | elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654321 then | |
| 5768 | FinalCalam() | |
| 5769 | end | |
| 5770 | if k == "n" and attack == false then | |
| 5771 | - | function EndGROUND() |
| 5771 | + | Blink() |
| 5772 | elseif k == "x" and attack == false and ModeOfGlitch == 1000000 then | |
| 5773 | StarDivision() | |
| 5774 | - | bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
|
| 5774 | + | |
| 5775 | - | --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
|
| 5775 | + | if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then |
| 5776 | - | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
|
| 5776 | + | UniversalCollapse() |
| 5777 | - | CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
|
| 5777 | + | |
| 5778 | - | CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
|
| 5778 | + | if k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed < 200 then |
| 5779 | - | local keptcolor = MAINRUINCOLOR |
| 5779 | + | hum.WalkSpeed = 16 + 184 |
| 5780 | elseif k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed == 200 then | |
| 5781 | hum.WalkSpeed = 200 - 184 | |
| 5782 | - | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) |
| 5782 | + | |
| 5783 | - | block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 5783 | + | if k == "x" and attack == false and ModeOfGlitch == 12345678987654321 then |
| 5784 | - | --slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
|
| 5784 | + | UniversalSpark() |
| 5785 | - | RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1) |
| 5785 | + | |
| 5786 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1) |
| 5786 | + | if k == "z" and attack == false and ModeOfGlitch == 666 then |
| 5787 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1) |
| 5787 | + | StarDivision() |
| 5788 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1) |
| 5788 | + | |
| 5789 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1) |
| 5789 | + | if k == "x" and attack == false and ModeOfGlitch == 666 then |
| 5790 | - | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) |
| 5790 | + | Starfall() |
| 5791 | end | |
| 5792 | - | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) |
| 5792 | + | if k == "m" and attack == false and ModeOfGlitch == 4 then |
| 5793 | - | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
|
| 5793 | + | CRAZYBegone() |
| 5794 | - | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
|
| 5794 | + | elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == false then |
| 5795 | - | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
|
| 5795 | + | THEHELLITSTHATBIG() |
| 5796 | - | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
|
| 5796 | + | elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == true then |
| 5797 | - | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
|
| 5797 | + | removelol() |
| 5798 | end | |
| 5799 | - | local shval = 10 |
| 5799 | + | |
| 5800 | - | for i = 0, 99 do |
| 5800 | + | mouse.KeyUp:connect(function(k) |
| 5801 | if k == "f" and ModeOfGlitch == 5 then | |
| 5802 | - | shval = shval - 0.1 |
| 5802 | + | shielding = false |
| 5803 | - | hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15) |
| 5803 | + | |
| 5804 | if k == "z" and ModeOfGlitch == 5 then | |
| 5805 | - | hum.CameraOffset = vt(0,0,0) |
| 5805 | + | judgement = false |
| 5806 | end | |
| 5807 | - | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 5807 | + | |
| 5808 | - | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
| 5808 | + | |
| 5809 | while true do | |
| 5810 | - | --slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
|
| 5810 | + | |
| 5811 | if RAIN_RAINBOWmode == true or ModeOfGlitch == 6 then | |
| 5812 | - | local rrot = 0 |
| 5812 | + | if eff == true then |
| 5813 | - | local xam = 1 |
| 5813 | + | 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) |
| 5814 | end | |
| 5815 | end | |
| 5816 | - | --swait() |
| 5816 | + | |
| 5817 | - | rrot = rrot + 40*xam |
| 5817 | + | |
| 5818 | - | xam = xam + 0.25 |
| 5818 | + | |
| 5819 | - | local bonus = xam |
| 5819 | + | |
| 5820 | - | local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random()) |
| 5820 | + | |
| 5821 | - | xa.Anchored = true |
| 5821 | + | if shielding == true then |
| 5822 | - | xa.Color = Color3.new(0,0,0) |
| 5822 | + | |
| 5823 | - | xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75) |
| 5823 | + | |
| 5824 | - | CreateMesh(xa,"Sphere",30*bonus,1,30*bonus) |
| 5824 | + | |
| 5825 | - | local xc = 0 |
| 5825 | + | |
| 5826 | ||
| 5827 | coroutine.resume(coroutine.create(function() | |
| 5828 | while true do | |
| 5829 | - | xc = xc + 0.01 |
| 5829 | + | if ModeOfGlitch == 1000000 then |
| 5830 | - | xa.Color = Color3.new(xc,0,0) |
| 5830 | + | swait(0.5) |
| 5831 | end | |
| 5832 | - | xa.Transparency = 1 |
| 5832 | + | |
| 5833 | - | CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
|
| 5833 | + | if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then |
| 5834 | - | MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal") |
| 5834 | + | 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) |
| 5835 | end | |
| 5836 | - | --slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
|
| 5836 | + | if ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then |
| 5837 | 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) | |
| 5838 | - | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color) |
| 5838 | + | |
| 5839 | - | sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color) |
| 5839 | + | |
| 5840 | - | sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
|
| 5840 | + | |
| 5841 | - | game:GetService("Debris"):AddItem(xa, 5)
|
| 5841 | + | |
| 5842 | ||
| 5843 | - | for i = 0, 19 do |
| 5843 | + | |
| 5844 | while true do | |
| 5845 | - | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) |
| 5845 | + | |
| 5846 | if CRAZYmode == true then | |
| 5847 | - | hum.CameraOffset = vt(0,0,0) |
| 5847 | + | |
| 5848 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 5849 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 5850 | RecolorTextAndRename("CRAZY",Color3.new(0,0,0),BrickColor.random().Color)
| |
| 5851 | for i, v in pairs(mw1:GetChildren()) do | |
| 5852 | if v:IsA("Part") then
| |
| 5853 | v.Transparency = 0.75 | |
| 5854 | - | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8) |
| 5854 | + | |
| 5855 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8) |
| 5855 | + | |
| 5856 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8) |
| 5856 | + | |
| 5857 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8) |
| 5857 | + | |
| 5858 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8) |
| 5858 | + | |
| 5859 | - | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) |
| 5859 | + | |
| 5860 | v.BrickColor = BrickColor.random() | |
| 5861 | v.Material = "Neon" | |
| 5862 | end | |
| 5863 | end | |
| 5864 | for i, v in pairs(secondchar:GetChildren()) do | |
| 5865 | - | function HeavenlyDisk() |
| 5865 | + | |
| 5866 | v.BrickColor = BrickColor.random() | |
| 5867 | - | hum.WalkSpeed = 2 |
| 5867 | + | |
| 5868 | - | local keptcolor = MAINRUINCOLOR |
| 5868 | + | |
| 5869 | - | local radm = math.random(1,3) |
| 5869 | + | |
| 5870 | - | if radm == 1 then |
| 5870 | + | |
| 5871 | - | --bosschatfunc("Don't make this too easy for you.",MAINRUINCOLOR.Color,1)
|
| 5871 | + | |
| 5872 | - | elseif radm == 2 then |
| 5872 | + | |
| 5873 | - | --bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
|
| 5873 | + | |
| 5874 | - | elseif radm == 3 then |
| 5874 | + | |
| 5875 | - | --bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
|
| 5875 | + | |
| 5876 | Instance.new("ForceField",char).Visible = false
| |
| 5877 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
|
| 5877 | + | |
| 5878 | - | CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
|
| 5878 | + | |
| 5879 | while true do | |
| 5880 | - | -- |
| 5880 | + | if RAIN_RAINBOWmode == false then |
| 5881 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5882 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5883 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5884 | - | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5884 | + | for i, v in pairs(secondchar:GetChildren()) do |
| 5885 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3) |
| 5885 | + | |
| 5886 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3) |
| 5886 | + | v.BrickColor = MAINRUINCOLOR |
| 5887 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) |
| 5887 | + | |
| 5888 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3) |
| 5888 | + | |
| 5889 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) |
| 5889 | + | |
| 5890 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) |
| 5890 | + | if CRAZYmode == false then |
| 5891 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5892 | - | CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
|
| 5892 | + | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5893 | - | for i = 0,1,0.6 do |
| 5893 | + | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
| 5894 | for i, v in pairs(secondchar:GetChildren()) do | |
| 5895 | - | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5895 | + | |
| 5896 | - | --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
|
| 5896 | + | v.BrickColor = MAINRUINCOLOR |
| 5897 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 5897 | + | |
| 5898 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 5898 | + | |
| 5899 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) |
| 5899 | + | |
| 5900 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) |
| 5900 | + | |
| 5901 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) |
| 5901 | + | |
| 5902 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) |
| 5902 | + | if RAIN_RAINBOWmode == true then |
| 5903 | RecolorTextAndRename("RAIN_RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
| |
| 5904 | - | for i = 0,1,0.6 do |
| 5904 | + | |
| 5905 | tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 5906 | - | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5906 | + | tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) |
| 5907 | - | --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
|
| 5907 | + | tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) |
| 5908 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 5908 | + | tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) |
| 5909 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 5909 | + | tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) |
| 5910 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6) |
| 5910 | + | tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) |
| 5911 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) |
| 5911 | + | |
| 5912 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) |
| 5912 | + | |
| 5913 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) |
| 5913 | + | v.Color = Color3.new(r/255,g/255,b/255) |
| 5914 | end | |
| 5915 | - | for i = 0,1,0.6 do |
| 5915 | + | |
| 5916 | for i, v in pairs(m2:GetChildren()) do | |
| 5917 | - | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5917 | + | |
| 5918 | - | --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
|
| 5918 | + | v.Color = Color3.new(r/255,g/255,b/255) |
| 5919 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 5919 | + | |
| 5920 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 5920 | + | |
| 5921 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6) |
| 5921 | + | for i, v in pairs(secondchar:GetChildren()) do |
| 5922 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) |
| 5922 | + | |
| 5923 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) |
| 5923 | + | v.Color = Color3.new(r/255,g/255,b/255) |
| 5924 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) |
| 5924 | + | |
| 5925 | end | |
| 5926 | - | for i = 0,1,0.6 do |
| 5926 | + | |
| 5927 | for i, v in pairs(m3:GetChildren()) do | |
| 5928 | - | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
| 5928 | + | |
| 5929 | - | --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
|
| 5929 | + | v.Color = Color3.new(r/255,g/255,b/255) |
| 5930 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6) |
| 5930 | + | |
| 5931 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6) |
| 5931 | + | |
| 5932 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6) |
| 5932 | + | |
| 5933 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) |
| 5933 | + | |
| 5934 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) |
| 5934 | + | v.Color = Color3.new(r/255,g/255,b/255) |
| 5935 | - | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) |
| 5935 | + | |
| 5936 | end | |
| 5937 | - | local rot = 15 |
| 5937 | + | |
| 5938 | for i, v in pairs(mw2:GetChildren()) do | |
| 5939 | - | local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
|
| 5939 | + | |
| 5940 | - | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
|
| 5940 | + | v.Color = Color3.new(r/255,g/255,b/255) |
| 5941 | - | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) |
| 5941 | + | |
| 5942 | - | CreateMesh(dis,"Sphere",10,1,10) |
| 5942 | + | |
| 5943 | - | local at1 = Instance.new("Attachment",dis)
|
| 5943 | + | |
| 5944 | - | at1.Position = vt(-5,0,0) |
| 5944 | + | |
| 5945 | - | local at2 = Instance.new("Attachment",dis)
|
| 5945 | + | |
| 5946 | - | at2.Position = vt(5,0,0) |
| 5946 | + | |
| 5947 | - | local trl = Instance.new('Trail',wed)
|
| 5947 | + | |
| 5948 | - | trl.Attachment0 = at1 |
| 5948 | + | |
| 5949 | - | trl.Attachment1 = at2 |
| 5949 | + | |
| 5950 | - | trl.Texture = "rbxassetid://1049219073" |
| 5950 | + | |
| 5951 | - | trl.LightEmission = 1 |
| 5951 | + | |
| 5952 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 5952 | + | |
| 5953 | - | trl.Color = ColorSequence.new(dis.Color) |
| 5953 | + | |
| 5954 | - | trl.Lifetime = 0.6 |
| 5954 | + | if attack == false and ActiveGia == false then |
| 5955 | torsweld.C1=clerp(torsweld.C1,cf(2,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 5956 | larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1) | |
| 5957 | rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1) | |
| 5958 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 5959 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
| 5960 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1) | |
| 5961 | elseif attack == false and ActiveGia == true then | |
| 5962 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then | |
| 5963 | - | dis.CFrame.p, -- origin |
| 5963 | + | 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) |
| 5964 | - | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction |
| 5964 | + | 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) |
| 5965 | 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) | |
| 5966 | - | local ignore = dis |
| 5966 | + | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) |
| 5967 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
| 5968 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025) | |
| 5969 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then | |
| 5970 | - | local distance = (dis.CFrame.p - position).magnitude |
| 5970 | + | 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) |
| 5971 | 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) | |
| 5972 | - | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) |
| 5972 | + | 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) |
| 5973 | - | dis.CFrame = a.CFrame |
| 5973 | + | 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) |
| 5974 | - | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) |
| 5974 | + | 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) |
| 5975 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(5),math.rad(0),math.rad(0)),0.025) | |
| 5976 | end | |
| 5977 | end | |
| 5978 | - | bv.velocity = dis.CFrame.lookVector*250 |
| 5978 | + | |
| 5979 | - | bv.Parent = dis |
| 5979 | + | |
| 5980 | - | game:GetService("Debris"):AddItem(dis, 5)
|
| 5980 | + | |
| 5981 | 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) | |
| 5982 | 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) | |
| 5983 | - | dis.Touched:connect(function(hit) |
| 5983 | + | |
| 5984 | - | if hitted == false and hit.Parent ~= char then |
| 5984 | + | |
| 5985 | sine = sine + change | |
| 5986 | - | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
|
| 5986 | + | |
| 5987 | - | MagniDamage(dis, 30, 82,34575, 0, "Normal") |
| 5987 | + | |
| 5988 | - | --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) |
| 5988 | + | |
| 5989 | - | --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) |
| 5989 | + | |
| 5990 | - | --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
|
| 5990 | + | |
| 5991 | - | coroutine.resume(coroutine.create(function() |
| 5991 | + | |
| 5992 | - | for i = 0, 9 do |
| 5992 | + | |
| 5993 | - | local disr = CreateParta(char,1,1,"Neon",keptcolor) |
| 5993 | + | |
| 5994 | - | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 5994 | + | |
| 5995 | - | local at1 = Instance.new("Attachment",disr)
|
| 5995 | + | |
| 5996 | - | at1.Position = vt(-2,0,0) |
| 5996 | + | |
| 5997 | - | local at2 = Instance.new("Attachment",disr)
|
| 5997 | + | |
| 5998 | - | at2.Position = vt(2,0,0) |
| 5998 | + | |
| 5999 | - | local trl = Instance.new('Trail',disr)
|
| 5999 | + | |
| 6000 | - | trl.Attachment0 = at1 |
| 6000 | + | |
| 6001 | - | trl.FaceCamera = true |
| 6001 | + | |
| 6002 | - | trl.Attachment1 = at2 |
| 6002 | + | |
| 6003 | - | trl.Texture = "rbxassetid://2342682798" |
| 6003 | + | 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) |
| 6004 | - | trl.LightEmission = 1 |
| 6004 | + | |
| 6005 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 6005 | + | |
| 6006 | - | trl.Color = ColorSequence.new(Color3.new(0.3,1,1)) |
| 6006 | + | |
| 6007 | - | trl.Lifetime = 0.5 |
| 6007 | + | |
| 6008 | 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) | |
| 6009 | end | |
| 6010 | - | bv.velocity = disr.CFrame.lookVector*math.random(50,200) |
| 6010 | + | |
| 6011 | - | bv.Parent = disr |
| 6011 | + | |
| 6012 | - | local val = 0 |
| 6012 | + | |
| 6013 | 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) | |
| 6014 | 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) | |
| 6015 | - | for i = 0, 9 do |
| 6015 | + | 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) |
| 6016 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 6017 | - | val = val + 0.1 |
| 6017 | + | 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) |
| 6018 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
|
| 6018 | + | 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) |
| 6019 | end | |
| 6020 | - | game:GetService("Debris"):AddItem(disr, 3)
|
| 6020 | + | |
| 6021 | Anim="Idle" | |
| 6022 | if attack==false then | |
| 6023 | - | local eff = Instance.new("ParticleEmitter",dis)
|
| 6023 | + | |
| 6024 | - | eff.Texture = "rbxassetid://2273224484" |
| 6024 | + | 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) |
| 6025 | - | eff.LightEmission = 1 |
| 6025 | + | 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) |
| 6026 | - | eff.Color = ColorSequence.new(Color3.new(0.3,1,1)) |
| 6026 | + | 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) |
| 6027 | - | eff.Rate = 500000 |
| 6027 | + | 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) |
| 6028 | - | eff.Lifetime = NumberRange.new(0.5,2) |
| 6028 | + | 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) |
| 6029 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
|
| 6029 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) |
| 6030 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
|
| 6030 | + | |
| 6031 | - | eff.Speed = NumberRange.new(20,250) |
| 6031 | + | elseif ModeOfGlitch == 666 then |
| 6032 | - | eff.Drag = 5 |
| 6032 | + | 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) |
| 6033 | - | eff.Rotation = NumberRange.new(-500,500) |
| 6033 | + | 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) |
| 6034 | - | eff.VelocitySpread = 9000 |
| 6034 | + | 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) |
| 6035 | - | eff.RotSpeed = NumberRange.new(-50,50) |
| 6035 | + | |
| 6036 | - | wait(0.25) |
| 6036 | + | |
| 6037 | - | eff.Enabled = false |
| 6037 | + | |
| 6038 | ||
| 6039 | - | for i = 0, 9 do |
| 6039 | + | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then |
| 6040 | - | --slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
|
| 6040 | + | 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) |
| 6041 | 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) | |
| 6042 | - | for i = 0, 19 do |
| 6042 | + | |
| 6043 | - | -- |
| 6043 | + | 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) |
| 6044 | 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) | |
| 6045 | 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) | |
| 6046 | - | for i = 0, 19 do |
| 6046 | + | |
| 6047 | elseif ModeOfGlitch == 3 then | |
| 6048 | - | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) |
| 6048 | + | 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) |
| 6049 | 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) | |
| 6050 | - | hum.CameraOffset = vt(0,0,0) |
| 6050 | + | 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) |
| 6051 | 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) | |
| 6052 | - | dis.Anchored = true |
| 6052 | + | 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) |
| 6053 | - | dis.Transparency = 1 |
| 6053 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1) |
| 6054 | ||
| 6055 | - | dis:Destroy() |
| 6055 | + | |
| 6056 | 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) | |
| 6057 | 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) | |
| 6058 | 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) | |
| 6059 | - | rot = rot - 15 |
| 6059 | + | 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) |
| 6060 | 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) | |
| 6061 | 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) | |
| 6062 | ||
| 6063 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3) |
| 6063 | + | |
| 6064 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3) |
| 6064 | + | |
| 6065 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) |
| 6065 | + | |
| 6066 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) |
| 6066 | + | |
| 6067 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) |
| 6067 | + | |
| 6068 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) |
| 6068 | + | 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) |
| 6069 | 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) | |
| 6070 | ||
| 6071 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then | |
| 6072 | 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) | |
| 6073 | 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) | |
| 6074 | - | function RapidBurst() |
| 6074 | + | 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) |
| 6075 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 6076 | 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) | |
| 6077 | - | CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
|
| 6077 | + | 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) |
| 6078 | - | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
|
| 6078 | + | |
| 6079 | - | CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
|
| 6079 | + | elseif ModeOfGlitch == 12345678987654321 then |
| 6080 | - | bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
|
| 6080 | + | |
| 6081 | - | local keptcolor = MAINRUINCOLOR |
| 6081 | + | |
| 6082 | - | for i = 0,8,0.1 do |
| 6082 | + | 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) |
| 6083 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1) | |
| 6084 | - | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) |
| 6084 | + | 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) |
| 6085 | - | --slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random()) |
| 6085 | + | 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) |
| 6086 | - | block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color) |
| 6086 | + | |
| 6087 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1) |
| 6087 | + | |
| 6088 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1) |
| 6088 | + | elseif torvel>2 and torvel<50 and hitfloor~=nil then |
| 6089 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) |
| 6089 | + | |
| 6090 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
| 6090 | + | |
| 6091 | - | RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1) |
| 6091 | + | |
| 6092 | - | LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1) |
| 6092 | + | 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) |
| 6093 | 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) | |
| 6094 | 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) | |
| 6095 | - | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) |
| 6095 | + | 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) |
| 6096 | - | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
| 6096 | + | 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) |
| 6097 | - | local at1 = Instance.new("Attachment",dis)
|
| 6097 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) |
| 6098 | - | at1.Position = vt(-25000,0,0) |
| 6098 | + | |
| 6099 | - | local at2 = Instance.new("Attachment",dis)
|
| 6099 | + | elseif ModeOfGlitch == 4 or ModeOfGlitch == 666 then |
| 6100 | - | at2.Position = vt(25000,0,0) |
| 6100 | + | 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) |
| 6101 | - | local trl = Instance.new('Trail',dis)
|
| 6101 | + | 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) |
| 6102 | - | trl.Attachment0 = at1 |
| 6102 | + | 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) |
| 6103 | - | trl.FaceCamera = true |
| 6103 | + | 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) |
| 6104 | - | trl.Attachment1 = at2 |
| 6104 | + | 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) |
| 6105 | - | trl.Texture = "rbxassetid://1049219073" |
| 6105 | + | 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) |
| 6106 | - | trl.LightEmission = 1 |
| 6106 | + | |
| 6107 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
|
| 6107 | + | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 or ModeOfGlitch ~= 666 then |
| 6108 | - | trl.Color = ColorSequence.new(BrickColor.random().Color) |
| 6108 | + | 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) |
| 6109 | - | trl.Lifetime = 5 |
| 6109 | + | 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) |
| 6110 | 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) | |
| 6111 | 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) | |
| 6112 | - | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) |
| 6112 | + | 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) |
| 6113 | - | bv.Parent = dis |
| 6113 | + | 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) |
| 6114 | - | game:GetService("Debris"):AddItem(dis, 5)
|
| 6114 | + | |
| 6115 | end | |
| 6116 | - | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1) |
| 6116 | + | |
| 6117 | - | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5) |
| 6117 | + | |
| 6118 | - | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3) |
| 6118 | + | |
| 6119 | - | sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) |
| 6119 | + | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then |
| 6120 | - | sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) |
| 6120 | + | 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) |
| 6121 | - | sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color) |
| 6121 | + | 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) |
| 6122 | - | sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color) |
| 6122 | + | 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) |
| 6123 | - | CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
|
| 6123 | + | 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) |
| 6124 | - | CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
|
| 6124 | + | 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) |
| 6125 | - | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
|
| 6125 | + | 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) |
| 6126 | - | hum.CameraOffset = vt(0,0,0) |
| 6126 | + | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then |
| 6127 | 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) | |
| 6128 | - | --slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random()) |
| 6128 | + | |
| 6129 | 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) | |
| 6130 | - | local distam = 0 |
| 6130 | + | |
| 6131 | 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) | |
| 6132 | 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) | |
| 6133 | - | wait() |
| 6133 | + | |
| 6134 | - | distam = distam + 1 |
| 6134 | + | |
| 6135 | - | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
| 6135 | + | |
| 6136 | - | xa.Anchored = true |
| 6136 | + | |
| 6137 | - | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam)) |
| 6137 | + |