SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 6 | warn'Star Glitcher Loaded.' | |
| 7 | warn'normally if a mode have a form then press M for transform only if a mode have another form' | |
| 8 | warn'To unlock umm rape... do combo adad and so is CATASTROPHE [wich is a form for calamity lol]' | |
| 9 | warn'chaosbegone is now on every mode/form double tap w to do chaosbegone on every mode/form' | |
| 10 | warn'press L to toggle mode tag' | |
| 11 | print("Attacks are Click,Z,X,C only sometimes JUST PRESS THEM ALL!")
| |
| 12 | print([[NOW ONTO CONTROLS YEY | |
| 13 | Q for Purity | |
| 14 | E for Glitch | |
| 15 | R for Chaos{can transform into insanity}
| |
| 16 | T for Divinity | |
| 17 | Y for Justice | |
| 18 | U for Rainbow {press U while in rainbow to be Vaporwave}
| |
| 19 | F for Loost {do combo adad to unlock umm rape...}
| |
| 20 | P for calamity{do combo wsws and press M to be Catastrophe}
| |
| 21 | Press the same key of the mode to turn back to solitude]]) | |
| 22 | --- its obs smooth af do not touch | |
| 23 | - | local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
|
| 23 | + | |
| 24 | plr = game:GetService("Players").LocalPlayer
| |
| 25 | char = plr.Character | |
| 26 | hum = char:FindFirstChildOfClass'Humanoid' | |
| 27 | local cam = game.Workspace.CurrentCamera | |
| 28 | Camera = cam | |
| 29 | local CamInterrupt = false | |
| 30 | local TwoD = false | |
| 31 | local TargetInfo = {nil, nil}
| |
| 32 | cam.CameraType = "Custom" | |
| 33 | t = char.Torso | |
| 34 | h = char.Head | |
| 35 | ra = char["Right Arm"] | |
| 36 | la = char["Left Arm"] | |
| 37 | rl = char["Right Leg"] | |
| 38 | ll = char["Left Leg"] | |
| 39 | tors = char.Torso | |
| 40 | lleg = char["Left Leg"] | |
| 41 | root = char.HumanoidRootPart | |
| 42 | hed = char.Head | |
| 43 | rleg = char["Right Leg"] | |
| 44 | rarm = char["Right Arm"] | |
| 45 | larm = char["Left Arm"] | |
| 46 | radian = math.rad | |
| 47 | random = math.random | |
| 48 | Vec3 = Vector3.new | |
| 49 | Inst = Instance.new | |
| 50 | cFrame = CFrame.new | |
| 51 | Euler = CFrame.fromEulerAnglesXYZ | |
| 52 | vt = Vector3.new | |
| 53 | bc = BrickColor.new | |
| 54 | br = BrickColor.random | |
| 55 | it = Instance.new | |
| 56 | cf = CFrame.new | |
| 57 | ||
| 58 | local ODers = {}
| |
| 59 | ||
| 60 | local AllowRape = false; | |
| 61 | local AllowCata = false; | |
| 62 | ||
| 63 | local Booleans = {
| |
| 64 | CamFollow = true, | |
| 65 | GyroUse = true | |
| 66 | } | |
| 67 | ||
| 68 | function lerp(object, newCFrame, alpha) | |
| 69 | return object:lerp(newCFrame, alpha) | |
| 70 | end | |
| 71 | ||
| 72 | local Directer = Inst("BodyGyro", root)
| |
| 73 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 74 | Directer.P = 600000 | |
| 75 | local CPart = Inst("Part")
| |
| 76 | CPart.Anchored = true | |
| 77 | CPart.CanCollide = false | |
| 78 | CPart.Locked = true | |
| 79 | CPart.Transparency = 1 | |
| 80 | ||
| 81 | local rainbowmode = false | |
| 82 | local chaosmode = false | |
| 83 | local glitchymode = false | |
| 84 | kan = Instance.new("Sound",char)
| |
| 85 | kan.Volume = 1.25 | |
| 86 | kan.TimePosition = 0 | |
| 87 | kan.PlaybackSpeed = 1 | |
| 88 | kan.Pitch = 1 | |
| 89 | kan.SoundId = "rbxassetid://1564523997" | |
| 90 | kan.Name = "wrecked" | |
| 91 | kan.Looped = true | |
| 92 | kan:Play() | |
| 93 | ||
| 94 | local MID = "rbxassetid://1564523997"; | |
| 95 | local Pitch = 1; | |
| 96 | ||
| 97 | function newTheme(ID,timepos,pitch,vol) | |
| 98 | local kanz = kan | |
| 99 | --kanz:Stop() | |
| 100 | --kanz.Volume = vol | |
| 101 | --kanz.TimePosition = timepos | |
| 102 | kanz.PlaybackSpeed = pitch | |
| 103 | kanz.Pitch = pitch | |
| 104 | kanz.SoundId = ID | |
| 105 | kanz.Name = "wrecked" | |
| 106 | kanz.Looped = true | |
| 107 | Pitch = pitch | |
| 108 | MID = ID | |
| 109 | --kanz:Play() | |
| 110 | --coroutine.resume(coroutine.create(function() | |
| 111 | --wait(0.05) | |
| 112 | --end)) | |
| 113 | end | |
| 114 | ||
| 115 | function newThemeCust(ID,timepos,pitch,vol) | |
| 116 | local kanz = kan | |
| 117 | kanz:Stop() | |
| 118 | kanz.Volume = vol | |
| 119 | kanz.TimePosition = timepos | |
| 120 | kanz.PlaybackSpeed = pitch | |
| 121 | kanz.Pitch = pitch | |
| 122 | MID = ID | |
| 123 | kanz.SoundId = ID | |
| 124 | kanz.Name = "wrecked" | |
| 125 | kanz.Looped = true | |
| 126 | kanz:Play() | |
| 127 | coroutine.resume(coroutine.create(function() | |
| 128 | wait(0.05) | |
| 129 | end)) | |
| 130 | end | |
| 131 | ||
| 132 | ||
| 133 | ||
| 134 | function CameraShake(Times, Power, PlayerTarget) | |
| 135 | coroutine.resume(coroutine.create(function() | |
| 136 | FV = Instance.new("BoolValue", PlayerTarget)
| |
| 137 | FV.Name = "CameraShake" | |
| 138 | for ShakeNum=1,Times do | |
| 139 | swait() | |
| 140 | local ef=Power | |
| 141 | if ef>=1 then | |
| 142 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 143 | else | |
| 144 | ef=Power*10 | |
| 145 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 146 | end | |
| 147 | end | |
| 148 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 149 | FV:Destroy() | |
| 150 | end)) | |
| 151 | end | |
| 152 | ||
| 153 | function CameraEnshaking(Length,Intensity) | |
| 154 | coroutine.resume(coroutine.create(function() | |
| 155 | local intensity = 1*Intensity | |
| 156 | local rotM = 0.01*Intensity | |
| 157 | for i = 0, Length, 0.1 do | |
| 158 | swait() | |
| 159 | intensity = intensity - 0.05*Intensity/Length | |
| 160 | rotM = rotM - 0.0005*Intensity/Length | |
| 161 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 162 | 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) | |
| 163 | end | |
| 164 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 165 | end)) | |
| 166 | end | |
| 167 | CamShake=function(Part,Distan,Power,Times) | |
| 168 | local de=Part.Position | |
| 169 | for i,v in pairs(workspace:children()) do | |
| 170 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 171 | for _,c in pairs(v:children()) do | |
| 172 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
| 173 | local Noob=vFindFirstChildOfClass'Humanoid' | |
| 174 | if Noob~=nil then | |
| 175 | coroutine.resume(coroutine.create(function() | |
| 176 | FV = Instance.new("BoolValue", Noob)
| |
| 177 | FV.Name = "CameraShake" | |
| 178 | for ShakeNum=1,Times do | |
| 179 | swait() | |
| 180 | local ef=Power | |
| 181 | if ef>=1 then | |
| 182 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 183 | else | |
| 184 | ef=Power*10 | |
| 185 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 186 | end | |
| 187 | end | |
| 188 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 189 | FV:Destroy() | |
| 190 | end)) | |
| 191 | CameraShake(Times, Power, Noob) | |
| 192 | end | |
| 193 | end | |
| 194 | end | |
| 195 | end | |
| 196 | end | |
| 197 | end | |
| 198 | ||
| 199 | function chatfunc(text,color) | |
| 200 | local chat = coroutine.wrap(function() | |
| 201 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 202 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 203 | end | |
| 204 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 205 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 206 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 207 | naeeym2.Adornee = Character.Head | |
| 208 | naeeym2.Name = "TalkingBillBoard" | |
| 209 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 210 | tecks2.BackgroundTransparency = 1 | |
| 211 | tecks2.BorderSizePixel = 0 | |
| 212 | tecks2.Text = "" | |
| 213 | tecks2.Font = "SciFi" | |
| 214 | tecks2.TextSize = 30 | |
| 215 | tecks2.TextStrokeTransparency = 0 | |
| 216 | tecks2.TextColor3 = color | |
| 217 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 218 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 219 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 220 | tecks3.BackgroundTransparency = 1 | |
| 221 | tecks3.BorderSizePixel = 0 | |
| 222 | tecks3.Text = "" | |
| 223 | tecks3.Font = "SciFi" | |
| 224 | tecks3.TextSize = 30 | |
| 225 | tecks3.TextStrokeTransparency = 0 | |
| 226 | tecks3.TextColor3 = Color3.new(0,0,0) | |
| 227 | tecks3.TextStrokeColor3 = color | |
| 228 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 229 | coroutine.resume(coroutine.create(function() | |
| 230 | while true do | |
| 231 | swait(1) | |
| 232 | if chaosmode == true then | |
| 233 | tecks2.TextColor3 = BrickColor.random().Color | |
| 234 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
| 235 | end | |
| 236 | if(glitchymode)then | |
| 237 | local val = math.random(1,255) | |
| 238 | local color = Color3.fromRGB(val,val,val) | |
| 239 | tecks2.TextColor3 = color | |
| 240 | tecks3.TextStrokeColor3 = color | |
| 241 | end | |
| 242 | tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
| 243 | tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
| 244 | tecks2.Rotation = math.random(-5,5) | |
| 245 | tecks3.Rotation = math.random(-5,5) | |
| 246 | end | |
| 247 | end)) | |
| 248 | for i = 1,string.len(text),1 do | |
| 249 | CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
| |
| 250 | tecks2.Text = string.sub(text,1,i) | |
| 251 | tecks3.Text = string.sub(text,1,i) | |
| 252 | swait(1) | |
| 253 | end | |
| 254 | wait(1) | |
| 255 | local randomrot = math.random(1,2) | |
| 256 | if randomrot == 1 then | |
| 257 | for i = 1, 50 do | |
| 258 | swait() | |
| 259 | tecks2.Rotation = tecks2.Rotation - .75 | |
| 260 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 261 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 262 | tecks3.Rotation = tecks2.Rotation + .75 | |
| 263 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 264 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 265 | end | |
| 266 | elseif randomrot == 2 then | |
| 267 | for i = 1, 50 do | |
| 268 | swait() | |
| 269 | tecks2.Rotation = tecks2.Rotation + .75 | |
| 270 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 271 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 272 | tecks3.Rotation = tecks2.Rotation - .75 | |
| 273 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 274 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 275 | end | |
| 276 | end | |
| 277 | naeeym2:Destroy() | |
| 278 | end) | |
| 279 | chat() | |
| 280 | end | |
| 281 | ||
| 282 | ||
| 283 | local Create = LoadLibrary("RbxUtility").Create
| |
| 284 | ||
| 285 | CFuncs = {
| |
| 286 | ["Part"] = {
| |
| 287 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 288 | local Part = Create("Part"){
| |
| 289 | Parent = Parent, | |
| 290 | Reflectance = Reflectance, | |
| 291 | Transparency = Transparency, | |
| 292 | CanCollide = false, | |
| 293 | Locked = true, | |
| 294 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 295 | Name = Name, | |
| 296 | Size = Size, | |
| 297 | Material = Material, | |
| 298 | } | |
| 299 | RemoveOutlines(Part) | |
| 300 | return Part | |
| 301 | end; | |
| 302 | }; | |
| 303 | ||
| 304 | ["Mesh"] = {
| |
| 305 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 306 | local Msh = Create(Mesh){
| |
| 307 | Parent = Part, | |
| 308 | Offset = OffSet, | |
| 309 | Scale = Scale, | |
| 310 | } | |
| 311 | if Mesh == "SpecialMesh" then | |
| 312 | Msh.MeshType = MeshType | |
| 313 | Msh.MeshId = MeshId | |
| 314 | end | |
| 315 | return Msh | |
| 316 | end; | |
| 317 | }; | |
| 318 | ||
| 319 | ["Mesh"] = {
| |
| 320 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 321 | local Msh = Create(Mesh){
| |
| 322 | Parent = Part, | |
| 323 | Offset = OffSet, | |
| 324 | Scale = Scale, | |
| 325 | } | |
| 326 | if Mesh == "SpecialMesh" then | |
| 327 | Msh.MeshType = MeshType | |
| 328 | Msh.MeshId = MeshId | |
| 329 | end | |
| 330 | return Msh | |
| 331 | end; | |
| 332 | }; | |
| 333 | ||
| 334 | ["Weld"] = {
| |
| 335 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 336 | local Weld = Create("Weld"){
| |
| 337 | Parent = Parent, | |
| 338 | Part0 = Part0, | |
| 339 | Part1 = Part1, | |
| 340 | C0 = C0, | |
| 341 | C1 = C1, | |
| 342 | } | |
| 343 | return Weld | |
| 344 | end; | |
| 345 | }; | |
| 346 | ||
| 347 | ["Sound"] = {
| |
| 348 | Create = function(id, par, vol, pit) | |
| 349 | return coroutine.wrap(function() | |
| 350 | local S = Create("Sound"){
| |
| 351 | Volume = vol, | |
| 352 | Name = "EffectSoundo", | |
| 353 | Pitch = pit or 1, | |
| 354 | SoundId = id, | |
| 355 | Parent = par or workspace, | |
| 356 | } | |
| 357 | S:Play() | |
| 358 | S.Ended:connect(function() | |
| 359 | S:Destroy() | |
| 360 | end) | |
| 361 | return S; | |
| 362 | end)() | |
| 363 | end; | |
| 364 | }; | |
| 365 | ||
| 366 | ["LongSound"] = {
| |
| 367 | Create = function(id, par, vol, pit) | |
| 368 | coroutine.resume(coroutine.create(function() | |
| 369 | local S = Create("Sound"){
| |
| 370 | Volume = vol, | |
| 371 | Pitch = pit or 1, | |
| 372 | SoundId = id, | |
| 373 | Parent = par or workspace, | |
| 374 | } | |
| 375 | wait() | |
| 376 | S:play() | |
| 377 | game:GetService("Debris"):AddItem(S, 30)
| |
| 378 | end)) | |
| 379 | end; | |
| 380 | }; | |
| 381 | ||
| 382 | ["ParticleEmitter"] = {
| |
| 383 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 384 | local fp = Create("ParticleEmitter"){
| |
| 385 | Parent = Parent, | |
| 386 | Color = ColorSequence.new(Color1, Color2), | |
| 387 | LightEmission = LightEmission, | |
| 388 | Size = Size, | |
| 389 | Texture = Texture, | |
| 390 | Transparency = Transparency, | |
| 391 | ZOffset = ZOffset, | |
| 392 | Acceleration = Accel, | |
| 393 | Drag = Drag, | |
| 394 | LockedToPart = LockedToPart, | |
| 395 | VelocityInheritance = VelocityInheritance, | |
| 396 | EmissionDirection = EmissionDirection, | |
| 397 | Enabled = Enabled, | |
| 398 | Lifetime = LifeTime, | |
| 399 | Rate = Rate, | |
| 400 | Rotation = Rotation, | |
| 401 | RotSpeed = RotSpeed, | |
| 402 | Speed = Speed, | |
| 403 | VelocitySpread = VelocitySpread, | |
| 404 | } | |
| 405 | return fp | |
| 406 | end; | |
| 407 | }; | |
| 408 | ||
| 409 | CreateTemplate = {
| |
| 410 | ||
| 411 | }; | |
| 412 | } | |
| 413 | ||
| 414 | ||
| 415 | ||
| 416 | New = function(Object, Parent, Name, Data) | |
| 417 | local Object = Instance.new(Object) | |
| 418 | for Index, Value in pairs(Data or {}) do
| |
| 419 | Object[Index] = Value | |
| 420 | end | |
| 421 | Object.Parent = Parent | |
| 422 | Object.Name = Name | |
| 423 | return Object | |
| 424 | end | |
| 425 | local halocolor = BrickColor.new("Pastel light blue")
| |
| 426 | local halocolor2 = BrickColor.new("Cool yellow")
| |
| 427 | local starcolor = BrickColor.new("Bright yellow")
| |
| 428 | local lunacolor = BrickColor.new("Navy blue")
| |
| 429 | local lunacolor2 = BrickColor.new("Bright blue")
| |
| 430 | local wepcolor = BrickColor.new("Really black")
| |
| 431 | local maincolor = BrickColor.new("Really black")
| |
| 432 | local m = Instance.new("Model",char)
| |
| 433 | local m2 = Instance.new("Model",char)
| |
| 434 | local m3 = Instance.new("Model",char)
| |
| 435 | local mw1 = Instance.new("Model",char)
| |
| 436 | local mw2 = Instance.new("Model",char)
| |
| 437 | ||
| 438 | local extrawingmod1 = Instance.new("Model",char)
| |
| 439 | local extrawingmod2 = Instance.new("Model",char)
| |
| 440 | ||
| 441 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
| 442 | local p = Instance.new("Part")
| |
| 443 | p.TopSurface = 0 | |
| 444 | p.BottomSurface = 0 | |
| 445 | p.Parent = parent | |
| 446 | p.Size = Vector3.new(0.1,0.1,0.1) | |
| 447 | p.Transparency = transparency | |
| 448 | p.Reflectance = reflectance | |
| 449 | p.CanCollide = false | |
| 450 | p.Locked = true | |
| 451 | p.BrickColor = brickcolor | |
| 452 | p.Material = material | |
| 453 | return p | |
| 454 | end | |
| 455 | ||
| 456 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
| 457 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 458 | mesh.MeshType = meshtype | |
| 459 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
| 460 | return mesh | |
| 461 | end | |
| 462 | ||
| 463 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
| 464 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 465 | mesh.MeshType = "FileMesh" | |
| 466 | mesh.MeshId = meshid | |
| 467 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 468 | return mesh | |
| 469 | end | |
| 470 | ||
| 471 | ||
| 472 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
| 473 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 474 | mesh.MeshType = "FileMesh" | |
| 475 | mesh.MeshId = meshid | |
| 476 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
| 477 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 478 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 479 | return mesh | |
| 480 | end | |
| 481 | ||
| 482 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
| 483 | local weld = Instance.new("Weld")
| |
| 484 | weld.Parent = parent | |
| 485 | weld.Part0 = part0 | |
| 486 | weld.Part1 = part1 | |
| 487 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 488 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
| 489 | return weld | |
| 490 | end | |
| 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('Black').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 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 567 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 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 | tl2 = Instance.new('Trail',wed)
| |
| 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('Black').Color)
| |
| 581 | tl2.Lifetime = 0.6 | |
| 582 | ||
| 583 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 584 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 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 | ||
| 587 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 588 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 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 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 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 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 595 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 596 | CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 597 | A1 = Instance.new('Attachment',wed)
| |
| 598 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 599 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 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 | tl3 = Instance.new('Trail',wed)
| |
| 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('Black').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 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 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 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 682 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 683 | CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 684 | A1 = Instance.new('Attachment',wed)
| |
| 685 | ||
| 686 | tr1 = Instance.new('Trail',wed)
| |
| 687 | tr1.Attachment0 = A0 | |
| 688 | tr1.Attachment1 = A1 | |
| 689 | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 690 | tr1.LightEmission = 1 | |
| 691 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 692 | tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
| |
| 693 | tr1.Lifetime = 0.6 | |
| 694 | ||
| 695 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 696 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 697 | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 698 | ||
| 699 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 700 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 701 | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 702 | A0 = Instance.new('Attachment',wed)
| |
| 703 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 704 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 705 | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 706 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 707 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 708 | CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 709 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 710 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 711 | CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 712 | A1 = Instance.new('Attachment',wed)
| |
| 713 | ||
| 714 | tr2 = Instance.new('Trail',wed)
| |
| 715 | tr2.Attachment0 = A0 | |
| 716 | tr2.Attachment1 = A1 | |
| 717 | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 718 | tr2.LightEmission = 1 | |
| 719 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 720 | tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
| |
| 721 | tr2.Lifetime = 0.6 | |
| 722 | ||
| 723 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 724 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 725 | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 726 | ||
| 727 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 728 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 729 | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 730 | A0 = Instance.new('Attachment',wed)
| |
| 731 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 732 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 733 | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 734 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 735 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 736 | CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 737 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 738 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 739 | CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 740 | A1 = Instance.new('Attachment',wed)
| |
| 741 | ||
| 742 | tr3 = Instance.new('Trail',wed)
| |
| 743 | tr3.Attachment0 = A0 | |
| 744 | tr3.Attachment1 = A1 | |
| 745 | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 746 | tr3.LightEmission = 1 | |
| 747 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 748 | tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
| |
| 749 | tr3.Lifetime = 0.6 | |
| 750 | ||
| 751 | ||
| 752 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 753 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 754 | local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 755 | ||
| 756 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 757 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 758 | 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)) | |
| 759 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 760 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 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 | -- S section A | |
| 847 | ||
| 848 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 849 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 850 | CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 851 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 852 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 853 | CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 854 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 855 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 856 | CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 857 | ||
| 858 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 859 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 860 | CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 861 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 862 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 863 | CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 864 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 865 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 866 | CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 867 | ||
| 868 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 869 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 870 | CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 871 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 872 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 873 | CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 874 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 875 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 876 | CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 877 | ||
| 878 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 879 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 880 | CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 881 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 882 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 883 | CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 884 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 885 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 886 | CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 887 | ||
| 888 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 889 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 890 | CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 891 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 892 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 893 | CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 894 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 895 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 896 | CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 897 | ||
| 898 | -- S section B | |
| 899 | ||
| 900 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 901 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 902 | CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 903 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 904 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 905 | CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 906 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 907 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 908 | CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 909 | ||
| 910 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 911 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 912 | CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 913 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 914 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 915 | CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 916 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 917 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 918 | CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 919 | ||
| 920 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 921 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 922 | CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 923 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 924 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 925 | CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 926 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 927 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 928 | CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 929 | ||
| 930 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 931 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 932 | CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 933 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 934 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 935 | CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 936 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 937 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 938 | CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 939 | ||
| 940 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 941 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 942 | CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 943 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 944 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 945 | CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 946 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 947 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 948 | CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 949 | ||
| 950 | --- second ring | |
| 951 | ||
| 952 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 953 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 954 | 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)) | |
| 955 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 956 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 957 | 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)) | |
| 958 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 959 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 960 | 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)) | |
| 961 | ||
| 962 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 963 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 964 | 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)) | |
| 965 | ||
| 966 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 967 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 968 | 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)) | |
| 969 | ||
| 970 | ||
| 971 | ||
| 972 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 973 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 974 | 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)) | |
| 975 | ||
| 976 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 977 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 978 | 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)) | |
| 979 | ||
| 980 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 981 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 982 | 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)) | |
| 983 | ||
| 984 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 985 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 986 | 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)) | |
| 987 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 988 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 989 | 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)) | |
| 990 | ||
| 991 | -- S section A | |
| 992 | ||
| 993 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 994 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 995 | CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 996 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 997 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 998 | CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 999 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1000 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1001 | CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1002 | ||
| 1003 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 1004 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 1005 | CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1006 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1007 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 1008 | CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1009 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1010 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1011 | CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1012 | ||
| 1013 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 1014 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 1015 | CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1016 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1017 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 1018 | CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1019 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1020 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1021 | CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1022 | ||
| 1023 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 1024 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 1025 | CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1026 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1027 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 1028 | CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1029 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1030 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1031 | CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1032 | ||
| 1033 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 1034 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 1035 | CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1036 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1037 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 1038 | CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1039 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1040 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1041 | CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1042 | ||
| 1043 | -- S section B | |
| 1044 | ||
| 1045 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 1046 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 1047 | CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1048 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1049 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 1050 | CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1051 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1052 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1053 | CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1054 | ||
| 1055 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 1056 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 1057 | CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1058 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1059 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 1060 | CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1061 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1062 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1063 | CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1064 | ||
| 1065 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 1066 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 1067 | CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1068 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1069 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 1070 | CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1071 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1072 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1073 | CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1074 | ||
| 1075 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 1076 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 1077 | CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1078 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1079 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 1080 | CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1081 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1082 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1083 | CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1084 | ||
| 1085 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
| 1086 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
| 1087 | CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1088 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 1089 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
| 1090 | CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 1091 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
| 1092 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
| 1093 | CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- | |
| 1094 | ||
| 1095 | ||
| 1096 | for i, v in pairs(m:GetChildren()) do | |
| 1097 | if v:IsA("Part") then
| |
| 1098 | v.BrickColor = BrickColor.new("Really black")
| |
| 1099 | v.Material = "Glass" | |
| 1100 | end | |
| 1101 | end | |
| 1102 | for i, v in pairs(m2:GetChildren()) do | |
| 1103 | if v:IsA("Part") then
| |
| 1104 | v.BrickColor = BrickColor.new("Dark stone grey")
| |
| 1105 | v.Material = "Granite" | |
| 1106 | end | |
| 1107 | end | |
| 1108 | for i, v in pairs(m3:GetChildren()) do | |
| 1109 | if v:IsA("Part") then
| |
| 1110 | v.BrickColor = BrickColor.new("Really black")
| |
| 1111 | v.Material = "Neon" | |
| 1112 | end | |
| 1113 | end | |
| 1114 | for i, v in pairs(mw2:GetChildren()) do | |
| 1115 | if v:IsA("Part") then
| |
| 1116 | v.BrickColor = BrickColor.new("Really black")
| |
| 1117 | v.Material = "Neon" | |
| 1118 | end | |
| 1119 | end | |
| 1120 | for i, v in pairs(mw1:GetChildren()) do | |
| 1121 | if v:IsA("Part") then
| |
| 1122 | v.Transparency = 1 | |
| 1123 | v.BrickColor = BrickColor.new("Really black")
| |
| 1124 | v.Material = "Neon" | |
| 1125 | end | |
| 1126 | end | |
| 1127 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 1128 | if v:IsA("Part") then
| |
| 1129 | v.Transparency = 1 | |
| 1130 | v.BrickColor = BrickColor.new("White")
| |
| 1131 | v.Material = "Neon" | |
| 1132 | end | |
| 1133 | end | |
| 1134 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 1135 | if v:IsA("Part") then
| |
| 1136 | v.Transparency = 1 | |
| 1137 | v.BrickColor = BrickColor.new("White")
| |
| 1138 | v.Material = "Neon" | |
| 1139 | end | |
| 1140 | end | |
| 1141 | local MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 1142 | ------ | |
| 1143 | ||
| 1144 | ||
| 1145 | function RemoveOutlines(part) | |
| 1146 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 1147 | end | |
| 1148 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1149 | local Part = Create("Part")({
| |
| 1150 | Parent = Parent, | |
| 1151 | Reflectance = Reflectance, | |
| 1152 | Transparency = Transparency, | |
| 1153 | CanCollide = false, | |
| 1154 | Locked = true, | |
| 1155 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1156 | Name = Name, | |
| 1157 | Size = Size, | |
| 1158 | Material = Material | |
| 1159 | }) | |
| 1160 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1161 | RemoveOutlines(Part) | |
| 1162 | return Part | |
| 1163 | end | |
| 1164 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1165 | local Msh = Create(Mesh)({
| |
| 1166 | Parent = Part, | |
| 1167 | Offset = OffSet, | |
| 1168 | Scale = Scale | |
| 1169 | }) | |
| 1170 | if Mesh == "SpecialMesh" then | |
| 1171 | Msh.MeshType = MeshType | |
| 1172 | Msh.MeshId = MeshId | |
| 1173 | end | |
| 1174 | return Msh | |
| 1175 | end | |
| 1176 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 1177 | local Weld = Create("Weld")({
| |
| 1178 | Parent = Parent, | |
| 1179 | Part0 = Part0, | |
| 1180 | Part1 = Part1, | |
| 1181 | C0 = C0, | |
| 1182 | C1 = C1 | |
| 1183 | }) | |
| 1184 | return Weld | |
| 1185 | end | |
| 1186 | ||
| 1187 | Player=game:GetService("Players").LocalPlayer
| |
| 1188 | Character=Player.Character | |
| 1189 | PlayerGui=Player.PlayerGui | |
| 1190 | Backpack=Player.Backpack | |
| 1191 | Torso=Character.Torso | |
| 1192 | Head=Character.Head | |
| 1193 | Humanoid=Character:FindFirstChildOfClass'Humanoid' | |
| 1194 | m=Instance.new('Model',Character)
| |
| 1195 | LeftArm=Character["Left Arm"] | |
| 1196 | LeftLeg=Character["Left Leg"] | |
| 1197 | RightArm=Character["Right Arm"] | |
| 1198 | RightLeg=Character["Right Leg"] | |
| 1199 | LS=Torso["Left Shoulder"] | |
| 1200 | LH=Torso["Left Hip"] | |
| 1201 | RS=Torso["Right Shoulder"] | |
| 1202 | RH=Torso["Right Hip"] | |
| 1203 | Face = Head.face | |
| 1204 | Neck=Torso.Neck | |
| 1205 | it=Instance.new | |
| 1206 | attacktype=1 | |
| 1207 | vt=Vector3.new | |
| 1208 | cf=CFrame.new | |
| 1209 | euler=CFrame.fromEulerAnglesXYZ | |
| 1210 | angles=CFrame.Angles | |
| 1211 | cloaked=false | |
| 1212 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1213 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1214 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1215 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1216 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1217 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1218 | RootPart=Character.HumanoidRootPart | |
| 1219 | RootJoint=RootPart.RootJoint | |
| 1220 | RootCF=euler(-1.57,0,3.14) | |
| 1221 | attack = false | |
| 1222 | attackdebounce = false | |
| 1223 | deb=false | |
| 1224 | equipped=true | |
| 1225 | hand=false | |
| 1226 | MMouse=nil | |
| 1227 | combo=0 | |
| 1228 | mana=0 | |
| 1229 | trispeed=.2 | |
| 1230 | attackmode='none' | |
| 1231 | local idle=0 | |
| 1232 | local Anim="Idle" | |
| 1233 | local Effects={}
| |
| 1234 | local gun=false | |
| 1235 | local shoot=false | |
| 1236 | local sine = 0 | |
| 1237 | local change = 1 | |
| 1238 | player=nil | |
| 1239 | pcall(function()char.LeftWing:destroy()end) | |
| 1240 | pcall(function()char.Halo:destroy()end) | |
| 1241 | local toggleTag = true | |
| 1242 | local txt = Instance.new("BillboardGui", Head)
| |
| 1243 | txt.Adornee = nil | |
| 1244 | txt.Name = "NameDetect" | |
| 1245 | txt.Size = UDim2.new(4, 0, 1.2, 0) | |
| 1246 | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
| 1247 | local text = Instance.new("TextLabel", txt)
| |
| 1248 | text.Size = UDim2.new(10/2, 0, 7/2, 0) | |
| 1249 | text.FontSize = "Size8" | |
| 1250 | text.TextScaled = true | |
| 1251 | text.TextTransparency = 0 | |
| 1252 | text.BackgroundTransparency = 1 | |
| 1253 | text.TextTransparency = 0 | |
| 1254 | text.TextStrokeTransparency = 0 | |
| 1255 | text.Font = "Fantasy" | |
| 1256 | text.TextStrokeColor3 = Color3.new(1,1,1) | |
| 1257 | text.TextColor3 = Color3.new(0,0,0) | |
| 1258 | text.Text = "Solitude" | |
| 1259 | ||
| 1260 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
| 1261 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
| 1262 | ||
| 1263 | function RecolorTextAndRename(name,col1,col2) | |
| 1264 | text.TextStrokeColor3 = col2 | |
| 1265 | text.TextColor3 = col1 | |
| 1266 | text.Text = name | |
| 1267 | end | |
| 1268 | mouse=Player:GetMouse() | |
| 1269 | --save shoulders | |
| 1270 | RSH, LSH=nil, nil | |
| 1271 | --welds | |
| 1272 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 1273 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 1274 | LH=Torso["Left Hip"] | |
| 1275 | RH=Torso["Right Hip"] | |
| 1276 | TorsoColor=Torso.BrickColor | |
| 1277 | function NoOutline(Part) | |
| 1278 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 1279 | end | |
| 1280 | player=Player | |
| 1281 | ch=Character | |
| 1282 | RSH=ch.Torso["Right Shoulder"] | |
| 1283 | LSH=ch.Torso["Left Shoulder"] | |
| 1284 | -- | |
| 1285 | RSH.Parent=nil | |
| 1286 | LSH.Parent=nil | |
| 1287 | -- | |
| 1288 | RW.Name="Right Shoulder" | |
| 1289 | RW.Part0=ch.Torso | |
| 1290 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 1291 | RW.C1=cf(0, 0.5, 0) | |
| 1292 | RW.Part1=ch["Right Arm"] | |
| 1293 | RW.Parent=ch.Torso | |
| 1294 | -- | |
| 1295 | LW.Name="Left Shoulder" | |
| 1296 | LW.Part0=ch.Torso | |
| 1297 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 1298 | LW.C1=cf(0, 0.5, 0) | |
| 1299 | LW.Part1=ch["Left Arm"] | |
| 1300 | LW.Parent=ch.Torso | |
| 1301 | ||
| 1302 | local Stats=Instance.new("BoolValue")
| |
| 1303 | Stats.Name="Stats" | |
| 1304 | Stats.Parent=Character | |
| 1305 | local Atk=Instance.new("NumberValue")
| |
| 1306 | Atk.Name="Damage" | |
| 1307 | Atk.Parent=Stats | |
| 1308 | Atk.Value=1 | |
| 1309 | local Def=Instance.new("NumberValue")
| |
| 1310 | Def.Name="Defense" | |
| 1311 | Def.Parent=Stats | |
| 1312 | Def.Value=1 | |
| 1313 | local Speed=Instance.new("NumberValue")
| |
| 1314 | Speed.Name="Speed" | |
| 1315 | Speed.Parent=Stats | |
| 1316 | Speed.Value=1 | |
| 1317 | local Mvmt=Instance.new("NumberValue")
| |
| 1318 | Mvmt.Name="Movement" | |
| 1319 | Mvmt.Parent=Stats | |
| 1320 | Mvmt.Value=1 | |
| 1321 | ||
| 1322 | local donum=0 | |
| 1323 | ||
| 1324 | ||
| 1325 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 1326 | local fp=it("Part")
| |
| 1327 | fp.formFactor=formfactor | |
| 1328 | fp.Parent=parent | |
| 1329 | fp.Reflectance=reflectance | |
| 1330 | fp.Transparency=transparency | |
| 1331 | fp.CanCollide=false | |
| 1332 | fp.Locked=true | |
| 1333 | fp.BrickColor=brickcolor | |
| 1334 | fp.Name=name | |
| 1335 | fp.Size=size | |
| 1336 | fp.Position=Torso.Position | |
| 1337 | NoOutline(fp) | |
| 1338 | fp.Material="SmoothPlastic" | |
| 1339 | fp:BreakJoints() | |
| 1340 | return fp | |
| 1341 | end | |
| 1342 | ||
| 1343 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1344 | local mesh=it(Mesh) | |
| 1345 | mesh.Parent=part | |
| 1346 | if Mesh=="SpecialMesh" then | |
| 1347 | mesh.MeshType=meshtype | |
| 1348 | if meshid~="nil" then | |
| 1349 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 1350 | end | |
| 1351 | end | |
| 1352 | mesh.Offset=offset | |
| 1353 | mesh.Scale=scale | |
| 1354 | return mesh | |
| 1355 | end | |
| 1356 | ||
| 1357 | function weld(parent,part0,part1,c0) | |
| 1358 | local weld=it("Weld")
| |
| 1359 | weld.Parent=parent | |
| 1360 | weld.Part0=part0 | |
| 1361 | weld.Part1=part1 | |
| 1362 | weld.C0=c0 | |
| 1363 | return weld | |
| 1364 | end | |
| 1365 | ||
| 1366 | local Color1=Torso.BrickColor | |
| 1367 | ||
| 1368 | local bodvel=Instance.new("BodyVelocity")
| |
| 1369 | local bg=Instance.new("BodyGyro")
| |
| 1370 | ||
| 1371 | --// Artificial HB \\-- | |
| 1372 | ||
| 1373 | local ArtificialHB = Instance.new("BindableEvent", script)
| |
| 1374 | ArtificialHB.Name = "Heartbeat" | |
| 1375 | ||
| 1376 | script:WaitForChild("Heartbeat")
| |
| 1377 | ||
| 1378 | local tf = 0 | |
| 1379 | local allowframeloss = false | |
| 1380 | local tossremainder = false | |
| 1381 | local lastframe = tick() | |
| 1382 | local frame = 1/60 | |
| 1383 | ArtificialHB:Fire() | |
| 1384 | ||
| 1385 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 1386 | tf = tf + s | |
| 1387 | if tf >= frame then | |
| 1388 | if allowframeloss then | |
| 1389 | script.Heartbeat:Fire() | |
| 1390 | lastframe = tick() | |
| 1391 | else | |
| 1392 | for i = 1, math.floor(tf / frame) do | |
| 1393 | ArtificialHB:Fire() | |
| 1394 | end | |
| 1395 | lastframe = tick() | |
| 1396 | end | |
| 1397 | if tossremainder then | |
| 1398 | tf = 0 | |
| 1399 | else | |
| 1400 | tf = tf - frame * math.floor(tf / frame) | |
| 1401 | end | |
| 1402 | end | |
| 1403 | end) | |
| 1404 | ||
| 1405 | function swait(num) | |
| 1406 | if num == 0 or num == nil then | |
| 1407 | ArtificialHB.Event:wait() | |
| 1408 | else | |
| 1409 | for i = 0, num do | |
| 1410 | ArtificialHB.Event:wait() | |
| 1411 | end | |
| 1412 | end | |
| 1413 | end | |
| 1414 | ||
| 1415 | -------- RAINBOW LEAVE IT TO ME | |
| 1416 | local r = 255 | |
| 1417 | local g = 0 | |
| 1418 | local b = 0 | |
| 1419 | coroutine.resume(coroutine.create(function() | |
| 1420 | while wait() do | |
| 1421 | for i = 0, 254/5 do | |
| 1422 | swait() | |
| 1423 | g = g + 5 | |
| 1424 | end | |
| 1425 | for i = 0, 254/5 do | |
| 1426 | swait() | |
| 1427 | r = r - 5 | |
| 1428 | end | |
| 1429 | for i = 0, 254/5 do | |
| 1430 | swait() | |
| 1431 | b = b + 5 | |
| 1432 | end | |
| 1433 | for i = 0, 254/5 do | |
| 1434 | swait() | |
| 1435 | g = g - 5 | |
| 1436 | end | |
| 1437 | for i = 0, 254/5 do | |
| 1438 | swait() | |
| 1439 | r = r + 5 | |
| 1440 | end | |
| 1441 | for i = 0, 254/5 do | |
| 1442 | swait() | |
| 1443 | b = b - 5 | |
| 1444 | end | |
| 1445 | end | |
| 1446 | end)) | |
| 1447 | ||
| 1448 | ||
| 1449 | so = function(id,par,vol,pit) | |
| 1450 | coroutine.resume(coroutine.create(function() | |
| 1451 | local sou = Instance.new("Sound",par or workspace)
| |
| 1452 | sou.Volume=vol | |
| 1453 | sou.Pitch=pit or 1 | |
| 1454 | sou.SoundId=id | |
| 1455 | swait() | |
| 1456 | sou:play() | |
| 1457 | game:GetService("Debris"):AddItem(sou,6)
| |
| 1458 | end)) | |
| 1459 | end | |
| 1460 | ||
| 1461 | function clerp(a,b,t) | |
| 1462 | return a:lerp(b,t) | |
| 1463 | end | |
| 1464 | ||
| 1465 | local function CFrameFromTopBack(at, top, back) | |
| 1466 | local right = top:Cross(back) | |
| 1467 | return CFrame.new(at.x, at.y, at.z, | |
| 1468 | right.x, top.x, back.x, | |
| 1469 | right.y, top.y, back.y, | |
| 1470 | right.z, top.z, back.z) | |
| 1471 | end | |
| 1472 | ||
| 1473 | function Triangle(a, b, c) | |
| 1474 | local edg1 = (c-a):Dot((b-a).unit) | |
| 1475 | local edg2 = (a-b):Dot((c-b).unit) | |
| 1476 | local edg3 = (b-c):Dot((a-c).unit) | |
| 1477 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 1478 | a, b, c = a, b, c | |
| 1479 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 1480 | a, b, c = b, c, a | |
| 1481 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 1482 | a, b, c = c, a, b | |
| 1483 | else | |
| 1484 | assert(false, "unreachable") | |
| 1485 | end | |
| 1486 | ||
| 1487 | local len1 = (c-a):Dot((b-a).unit) | |
| 1488 | local len2 = (b-a).magnitude - len1 | |
| 1489 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 1490 | ||
| 1491 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 1492 | ||
| 1493 | local list = {}
| |
| 1494 | ||
| 1495 | if len1 > 0.01 then | |
| 1496 | local w1 = Instance.new('WedgePart', m)
| |
| 1497 | game:GetService("Debris"):AddItem(w1,5)
| |
| 1498 | w1.Material = "SmoothPlastic" | |
| 1499 | w1.FormFactor = 'Custom' | |
| 1500 | w1.BrickColor = BrickColor.new("Really black")
| |
| 1501 | w1.Transparency = 0 | |
| 1502 | w1.Reflectance = 0 | |
| 1503 | w1.Material = "SmoothPlastic" | |
| 1504 | w1.CanCollide = false | |
| 1505 | local l1 = Instance.new("PointLight",w1)
| |
| 1506 | l1.Color = Color3.new(170,0,0) | |
| 1507 | NoOutline(w1) | |
| 1508 | local sz = Vector3.new(0.2, width, len1) | |
| 1509 | w1.Size = sz | |
| 1510 | local sp = Instance.new("SpecialMesh",w1)
| |
| 1511 | sp.MeshType = "Wedge" | |
| 1512 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 1513 | w1:BreakJoints() | |
| 1514 | w1.Anchored = true | |
| 1515 | w1.Parent = workspace | |
| 1516 | w1.Transparency = 0.7 | |
| 1517 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 1518 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 1519 | table.insert(list,w1) | |
| 1520 | end | |
| 1521 | ||
| 1522 | if len2 > 0.01 then | |
| 1523 | local w2 = Instance.new('WedgePart', m)
| |
| 1524 | game:GetService("Debris"):AddItem(w2,5)
| |
| 1525 | w2.Material = "SmoothPlastic" | |
| 1526 | w2.FormFactor = 'Custom' | |
| 1527 | w2.BrickColor = BrickColor.new("Really black")
| |
| 1528 | w2.Transparency = 0 | |
| 1529 | w2.Reflectance = 0 | |
| 1530 | w2.Material = "SmoothPlastic" | |
| 1531 | w2.CanCollide = false | |
| 1532 | local l2 = Instance.new("PointLight",w2)
| |
| 1533 | l2.Color = Color3.new(170,0,0) | |
| 1534 | NoOutline(w2) | |
| 1535 | local sz = Vector3.new(0.2, width, len2) | |
| 1536 | w2.Size = sz | |
| 1537 | local sp = Instance.new("SpecialMesh",w2)
| |
| 1538 | sp.MeshType = "Wedge" | |
| 1539 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 1540 | w2:BreakJoints() | |
| 1541 | w2.Anchored = true | |
| 1542 | w2.Parent = workspace | |
| 1543 | w2.Transparency = 0.7 | |
| 1544 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 1545 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 1546 | table.insert(list,w2) | |
| 1547 | end | |
| 1548 | return unpack(list) | |
| 1549 | end | |
| 1550 | ||
| 1551 | ||
| 1552 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1553 | if hit.Parent == nil then | |
| 1554 | return | |
| 1555 | end | |
| 1556 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1557 | for _, v in pairs(hit.Parent:children()) do | |
| 1558 | if v:IsA("Humanoid") then
| |
| 1559 | h = v | |
| 1560 | end | |
| 1561 | end | |
| 1562 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
| |
| 1563 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1564 | return | |
| 1565 | end | |
| 1566 | local c = Create("ObjectValue")({
| |
| 1567 | Name = "creator", | |
| 1568 | Value = game:service("Players").LocalPlayer,
| |
| 1569 | Parent = h | |
| 1570 | }) | |
| 1571 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1572 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1573 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 1574 | end | |
| 1575 | local Damage = math.random(minim, maxim) | |
| 1576 | local blocked = false | |
| 1577 | local block = hit.Parent:findFirstChild("Block")
| |
| 1578 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1579 | blocked = true | |
| 1580 | block.Value = block.Value - 1 | |
| 1581 | print(block.Value) | |
| 1582 | end | |
| 1583 | if blocked == false then | |
| 1584 | HitHealth = h.Health | |
| 1585 | h.Health = h.Health - Damage | |
| 1586 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
| 1587 | print("gained kill")
| |
| 1588 | end | |
| 1589 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1590 | else | |
| 1591 | h.Health = h.Health - Damage / 2 | |
| 1592 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1593 | end | |
| 1594 | if Type == "Knockdown" then | |
| 1595 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
| 1596 | hum.PlatformStand = true | |
| 1597 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1598 | swait(1) | |
| 1599 | HHumanoid.PlatformStand = false | |
| 1600 | end), hum) | |
| 1601 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1602 | local bodvol = Create("BodyVelocity")({
| |
| 1603 | velocity = angle * knockback, | |
| 1604 | P = 5000, | |
| 1605 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1606 | Parent = hit | |
| 1607 | }) | |
| 1608 | local rl = Create("BodyAngularVelocity")({
| |
| 1609 | P = 3000, | |
| 1610 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 1611 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 1612 | Parent = hit | |
| 1613 | }) | |
| 1614 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1615 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1616 | elseif Type == "Normal" then | |
| 1617 | local vp = Create("BodyVelocity")({
| |
| 1618 | P = 500, | |
| 1619 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 1620 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1621 | }) | |
| 1622 | if knockback > 0 then | |
| 1623 | vp.Parent = hit.Parent.Head | |
| 1624 | end | |
| 1625 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1626 | elseif Type == "Up" then | |
| 1627 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1628 | velocity = Vector3.new(0, 20, 0), | |
| 1629 | P = 5000, | |
| 1630 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1631 | Parent = hit | |
| 1632 | }) | |
| 1633 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1634 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1635 | velocity = Vector3.new(0, 20, 0), | |
| 1636 | P = 5000, | |
| 1637 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1638 | Parent = hit | |
| 1639 | }) | |
| 1640 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1641 | elseif Type == "Leech" then | |
| 1642 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
| 1643 | if hum ~= nil then | |
| 1644 | for i = 0, 2 do | |
| 1645 | 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)
| |
| 1646 | end | |
| 1647 | Humanoid.Health = Humanoid.Health + 10 | |
| 1648 | end | |
| 1649 | elseif Type == "UpKnock" then | |
| 1650 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
| 1651 | hum.PlatformStand = true | |
| 1652 | if hum ~= nil then | |
| 1653 | hitr = true | |
| 1654 | end | |
| 1655 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1656 | swait(5) | |
| 1657 | HHumanoid.PlatformStand = false | |
| 1658 | hitr = false | |
| 1659 | end), hum) | |
| 1660 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1661 | velocity = Vector3.new(0, 20, 0), | |
| 1662 | P = 5000, | |
| 1663 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1664 | Parent = hit | |
| 1665 | }) | |
| 1666 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1667 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1668 | velocity = Vector3.new(0, 20, 0), | |
| 1669 | P = 5000, | |
| 1670 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1671 | Parent = hit | |
| 1672 | }) | |
| 1673 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1674 | elseif Type == "Snare" then | |
| 1675 | local bp = Create("BodyPosition")({
| |
| 1676 | P = 2000, | |
| 1677 | D = 100, | |
| 1678 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1679 | position = hit.Parent.Torso.Position, | |
| 1680 | Parent = hit.Parent.Torso | |
| 1681 | }) | |
| 1682 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1683 | elseif Type == "Slashnare" then | |
| 1684 | 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)
| |
| 1685 | for i = 1, math.random(4, 5) do | |
| 1686 | 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)
| |
| 1687 | end | |
| 1688 | local bp = Create("BodyPosition")({
| |
| 1689 | P = 2000, | |
| 1690 | D = 100, | |
| 1691 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1692 | position = hit.Parent.Torso.Position, | |
| 1693 | Parent = hit.Parent.Torso | |
| 1694 | }) | |
| 1695 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1696 | elseif Type == "Spike" then | |
| 1697 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
| 1698 | local bp = Create("BodyPosition")({
| |
| 1699 | P = 2000, | |
| 1700 | D = 100, | |
| 1701 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1702 | position = hit.Parent.Torso.Position, | |
| 1703 | Parent = hit.Parent.Torso | |
| 1704 | }) | |
| 1705 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1706 | elseif Type == "Freeze" then | |
| 1707 | local BodPos = Create("BodyPosition")({
| |
| 1708 | P = 50000, | |
| 1709 | D = 1000, | |
| 1710 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1711 | position = hit.Parent.Torso.Position, | |
| 1712 | Parent = hit.Parent.Torso | |
| 1713 | }) | |
| 1714 | local BodGy = Create("BodyGyro")({
| |
| 1715 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 1716 | P = 20000, | |
| 1717 | Parent = hit.Parent.Torso, | |
| 1718 | cframe = hit.Parent.Torso.CFrame | |
| 1719 | }) | |
| 1720 | hit.Parent.Torso.Anchored = true | |
| 1721 | coroutine.resume(coroutine.create(function(Part) | |
| 1722 | swait(1.5) | |
| 1723 | Part.Anchored = false | |
| 1724 | end), hit.Parent.Torso) | |
| 1725 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1726 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1727 | end | |
| 1728 | local debounce = Create("BoolValue")({
| |
| 1729 | Name = "DebounceHit", | |
| 1730 | Parent = hit.Parent, | |
| 1731 | Value = true | |
| 1732 | }) | |
| 1733 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1734 | c = Instance.new("ObjectValue")
| |
| 1735 | c.Name = "creator" | |
| 1736 | c.Value = Player | |
| 1737 | c.Parent = h | |
| 1738 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1739 | end | |
| 1740 | end | |
| 1741 | function ShowDamage(Pos, Text, Time, Color) | |
| 1742 | local Rate = 0.03333333333333333 | |
| 1743 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 1744 | local Text = Text or "" | |
| 1745 | local Time = Time or 2 | |
| 1746 | local Color = Color or Color3.new(1, 0, 1) | |
| 1747 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1748 | EffectPart.Anchored = true | |
| 1749 | local BillboardGui = Create("BillboardGui")({
| |
| 1750 | Size = UDim2.new(3, 0, 3, 0), | |
| 1751 | Adornee = EffectPart, | |
| 1752 | Parent = EffectPart | |
| 1753 | }) | |
| 1754 | local TextLabel = Create("TextLabel")({
| |
| 1755 | BackgroundTransparency = 1, | |
| 1756 | Size = UDim2.new(1, 0, 1, 0), | |
| 1757 | Text = Text, | |
| 1758 | TextColor3 = Color, | |
| 1759 | TextScaled = true, | |
| 1760 | Font = Enum.Font.ArialBold, | |
| 1761 | Parent = BillboardGui | |
| 1762 | }) | |
| 1763 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 1764 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1765 | delay(0, function() | |
| 1766 | local Frames = Time / Rate | |
| 1767 | for Frame = 1, Frames do | |
| 1768 | wait(Rate) | |
| 1769 | local Percent = Frame / Frames | |
| 1770 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1771 | TextLabel.TextTransparency = Percent | |
| 1772 | end | |
| 1773 | if EffectPart and EffectPart.Parent then | |
| 1774 | EffectPart:Destroy() | |
| 1775 | end | |
| 1776 | end) | |
| 1777 | end | |
| 1778 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 1779 | for _, c in pairs(workspace:children()) do | |
| 1780 | local hum = c:findFirstChildOfClass("Humanoid")
| |
| 1781 | if hum ~= nil then | |
| 1782 | local head = c:findFirstChild("Head")
| |
| 1783 | if head ~= nil then | |
| 1784 | local targ = head.Position - Part.Position | |
| 1785 | local mag = targ.magnitude | |
| 1786 | if magni >= mag and c.Name ~= Player.Name then | |
| 1787 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1788 | end | |
| 1789 | end | |
| 1790 | end | |
| 1791 | end | |
| 1792 | end | |
| 1793 | ||
| 1794 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
| 1795 | for _, c in pairs(workspace:children()) do | |
| 1796 | local hum = c:findFirstChild("Humanoid")
| |
| 1797 | if hum ~= nil then | |
| 1798 | local head = c:findFirstChild("Torso")
| |
| 1799 | if head ~= nil then | |
| 1800 | local targ = head.Position - Part.Position | |
| 1801 | local mag = targ.magnitude | |
| 1802 | if magni >= mag and c.Name ~= Player.Name then | |
| 1803 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
| |
| 1804 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1805 | end | |
| 1806 | end | |
| 1807 | end | |
| 1808 | end | |
| 1809 | end | |
| 1810 | ||
| 1811 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 1812 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 1813 | end | |
| 1814 | ||
| 1815 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 1816 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1817 | prt.Anchored=true | |
| 1818 | prt.CFrame=cframe | |
| 1819 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 1820 | --http://www.roblox.com/asset/?id=4770560 | |
| 1821 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1822 | CF=prt.CFrame | |
| 1823 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 1824 | for i=0,1,0.2 do | |
| 1825 | wait() | |
| 1826 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 1827 | end | |
| 1828 | for i=0,1,delay do | |
| 1829 | wait() | |
| 1830 | --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) | |
| 1831 | Mesh.Scale=Mesh.Scale | |
| 1832 | end | |
| 1833 | for i=0,1,0.1 do | |
| 1834 | wait() | |
| 1835 | Part.Transparency=i | |
| 1836 | end | |
| 1837 | Part.Parent=nil | |
| 1838 | end),prt,msh,CF) | |
| 1839 | end | |
| 1840 | ||
| 1841 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1842 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1843 | prt.Anchored=true | |
| 1844 | prt.Material = "Neon" | |
| 1845 | prt.CFrame=cframe | |
| 1846 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1847 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1848 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1849 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1850 | for i=0,1,delay do | |
| 1851 | swait() | |
| 1852 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1853 | Part.Transparency=i | |
| 1854 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1855 | end | |
| 1856 | Part.Parent=nil | |
| 1857 | end),prt,msh) | |
| 1858 | end | |
| 1859 | ||
| 1860 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 1861 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1862 | prt.Anchored=true | |
| 1863 | prt.Material = "Neon" | |
| 1864 | prt.CFrame=cframe | |
| 1865 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1866 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1867 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1868 | local rtype = rottype | |
| 1869 | for i=0,1,delay do | |
| 1870 | swait() | |
| 1871 | if rtype == 1 then | |
| 1872 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1873 | elseif rtype == 2 then | |
| 1874 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1875 | end | |
| 1876 | Part.Transparency=i | |
| 1877 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1878 | end | |
| 1879 | Part.Parent=nil | |
| 1880 | end),prt,msh) | |
| 1881 | end | |
| 1882 | ||
| 1883 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1884 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1885 | prt.Anchored=true | |
| 1886 | prt.CFrame=cframe | |
| 1887 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1888 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1889 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1890 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1891 | for i=0,1,delay do | |
| 1892 | wait() | |
| 1893 | Part.Transparency=i | |
| 1894 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1895 | end | |
| 1896 | Part.Parent=nil | |
| 1897 | end),prt,msh) | |
| 1898 | end | |
| 1899 | ||
| 1900 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 1901 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1902 | prt.Anchored=true | |
| 1903 | prt.Material = "Neon" | |
| 1904 | prt.CFrame=cframe | |
| 1905 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1906 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1907 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1908 | local rtype = rottype | |
| 1909 | for i=0,1,delay do | |
| 1910 | swait() | |
| 1911 | if rtype == 1 then | |
| 1912 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1913 | elseif rtype == 2 then | |
| 1914 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1915 | end | |
| 1916 | Part.Transparency=i | |
| 1917 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1918 | end | |
| 1919 | Part.Parent=nil | |
| 1920 | end),prt,msh) | |
| 1921 | end | |
| 1922 | ||
| 1923 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 1924 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1925 | prt.Anchored=true | |
| 1926 | prt.Material = "Neon" | |
| 1927 | prt.CFrame=cframe | |
| 1928 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 1929 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 1930 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 1931 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1932 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1933 | local rtype = rottype | |
| 1934 | for i=0,1,delay do | |
| 1935 | swait() | |
| 1936 | if rtype == 1 then | |
| 1937 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1938 | elseif rtype == 2 then | |
| 1939 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1940 | end | |
| 1941 | dec.Transparency=i | |
| 1942 | dec2.Transparency=i | |
| 1943 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 1944 | end | |
| 1945 | Part.Parent=nil | |
| 1946 | end),prt,msh) | |
| 1947 | end | |
| 1948 | ||
| 1949 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 1950 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1951 | prt.Anchored=true | |
| 1952 | prt.Material = "Neon" | |
| 1953 | prt.CFrame=cframe | |
| 1954 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 1955 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1956 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1957 | local rtype = rottype | |
| 1958 | for i=0,1,delay do | |
| 1959 | swait() | |
| 1960 | if rtype == 1 then | |
| 1961 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1962 | elseif rtype == 2 then | |
| 1963 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1964 | end | |
| 1965 | prt.Transparency=i | |
| 1966 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 1967 | end | |
| 1968 | Part.Parent=nil | |
| 1969 | end),prt,msh) | |
| 1970 | end | |
| 1971 | ||
| 1972 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
| 1973 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1974 | prt.Anchored=true | |
| 1975 | prt.Material = "Neon" | |
| 1976 | prt.CFrame=cframe | |
| 1977 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
| |
| 1978 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1979 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1980 | local rtype = rottype | |
| 1981 | for i=0,1,delay do | |
| 1982 | swait() | |
| 1983 | if rtype == 1 then | |
| 1984 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
| 1985 | elseif rtype == 2 then | |
| 1986 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
| 1987 | end | |
| 1988 | prt.Transparency=i | |
| 1989 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
| 1990 | end | |
| 1991 | Part.Parent=nil | |
| 1992 | end),prt,msh) | |
| 1993 | end | |
| 1994 | ||
| 1995 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
| 1996 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1997 | prt.Anchored=true | |
| 1998 | prt.Material = "Neon" | |
| 1999 | prt.CFrame=cframe | |
| 2000 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2001 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2002 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2003 | local rtype = rottype | |
| 2004 | for i=0,1,delay do | |
| 2005 | swait() | |
| 2006 | if rtype == 1 then | |
| 2007 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2008 | elseif rtype == 2 then | |
| 2009 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2010 | end | |
| 2011 | prt.Transparency=i | |
| 2012 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 2013 | end | |
| 2014 | Part.Parent=nil | |
| 2015 | end),prt,msh) | |
| 2016 | end | |
| 2017 | ||
| 2018 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2019 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2020 | prt.Anchored=true | |
| 2021 | prt.Material = "Neon" | |
| 2022 | prt.CFrame=cframe | |
| 2023 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2024 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2025 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2026 | local rtype = rottype | |
| 2027 | for i=0,1,delay do | |
| 2028 | swait() | |
| 2029 | if rtype == 1 then | |
| 2030 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2031 | elseif rtype == 2 then | |
| 2032 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2033 | end | |
| 2034 | prt.Transparency=i | |
| 2035 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2036 | end | |
| 2037 | Part.Parent=nil | |
| 2038 | end),prt,msh) | |
| 2039 | end | |
| 2040 | ||
| 2041 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2042 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2043 | prt.Anchored=false | |
| 2044 | prt.CFrame=cframe | |
| 2045 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2046 | local wld=weld(prt,prt,Parent,cframe) | |
| 2047 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2048 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2049 | for i=0,1,delay do | |
| 2050 | wait() | |
| 2051 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 2052 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2053 | Part.Transparency=i | |
| 2054 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2055 | end | |
| 2056 | Part.Parent=nil | |
| 2057 | end),prt,msh,wld) | |
| 2058 | end | |
| 2059 | ||
| 2060 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2061 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2062 | prt.Anchored=false | |
| 2063 | prt.CFrame=cframe | |
| 2064 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2065 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 2066 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2067 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2068 | for i=0,1,delay do | |
| 2069 | wait() | |
| 2070 | Weld.C0=euler(i*20,0,0) | |
| 2071 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2072 | Part.Transparency=i | |
| 2073 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2074 | end | |
| 2075 | Part.Parent=nil | |
| 2076 | end),prt,msh,wld) | |
| 2077 | end | |
| 2078 | ||
| 2079 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2080 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2081 | prt.Anchored=true | |
| 2082 | prt.CFrame=cframe | |
| 2083 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2084 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2085 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2086 | for i=0,1,delay do | |
| 2087 | wait() | |
| 2088 | Part.CFrame=Part.CFrame | |
| 2089 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2090 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2091 | prt2.Anchored=true | |
| 2092 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2093 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 2094 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 2095 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2096 | for i=0,1,0.1 do | |
| 2097 | wait() | |
| 2098 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 2099 | end | |
| 2100 | Part.Parent=nil | |
| 2101 | end),prt2,msh2) | |
| 2102 | end | |
| 2103 | for i=0,1,delay*2 do | |
| 2104 | wait() | |
| 2105 | Part.CFrame=Part.CFrame | |
| 2106 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 2107 | end | |
| 2108 | Part.Parent=nil | |
| 2109 | end),prt,msh) | |
| 2110 | end | |
| 2111 | ||
| 2112 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2113 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2114 | prt.Anchored=true | |
| 2115 | prt.CFrame=cframe | |
| 2116 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2117 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2118 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2119 | for i=0,1,delay do | |
| 2120 | wait() | |
| 2121 | Part.CFrame=Part.CFrame | |
| 2122 | Part.Transparency=i | |
| 2123 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2124 | end | |
| 2125 | Part.Parent=nil | |
| 2126 | end),prt,msh) | |
| 2127 | end | |
| 2128 | ||
| 2129 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 2130 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2131 | prt.Anchored=true | |
| 2132 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2133 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2134 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2135 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 2136 | CF=Part.CFrame | |
| 2137 | Numbb=0 | |
| 2138 | randnumb=math.random()/10 | |
| 2139 | rand1=math.random()/10 | |
| 2140 | for i=0,1,rand1 do | |
| 2141 | wait() | |
| 2142 | CF=CF*cf(0,math.random()/2,0) | |
| 2143 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 2144 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 2145 | Part.Transparency=i | |
| 2146 | Numbb=Numbb+randnumb | |
| 2147 | end | |
| 2148 | Part.Parent=nil | |
| 2149 | end),prt,CF,Numbb,randnumb) | |
| 2150 | end | |
| 2151 | ||
| 2152 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2153 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2154 | prt.Anchored=true | |
| 2155 | prt.CFrame=cframe | |
| 2156 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 2157 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2158 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2159 | for i=0,1,delay do | |
| 2160 | wait() | |
| 2161 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 2162 | Part.Transparency=i | |
| 2163 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2164 | end | |
| 2165 | Part.Parent=nil | |
| 2166 | end),prt,msh) | |
| 2167 | end | |
| 2168 | ||
| 2169 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2170 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2171 | prt.Anchored=true | |
| 2172 | prt.CFrame=cframe | |
| 2173 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 2174 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2175 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2176 | for i=0,1,delay do | |
| 2177 | wait() | |
| 2178 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 2179 | Part.Transparency=i | |
| 2180 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2181 | end | |
| 2182 | Part.Parent=nil | |
| 2183 | end),prt,msh) | |
| 2184 | end | |
| 2185 | ||
| 2186 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 2187 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2188 | prt.Anchored=true | |
| 2189 | prt.CFrame=cframe*cf(x,y,z) | |
| 2190 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 2191 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2192 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 2193 | local num=math.random() | |
| 2194 | local num2=math.random(-3,2)+math.random() | |
| 2195 | local numm=0 | |
| 2196 | for i=0,1,delay*2 do | |
| 2197 | swait() | |
| 2198 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 2199 | Part.Transparency=i | |
| 2200 | numm=numm+0.01 | |
| 2201 | end | |
| 2202 | Part.Parent=nil | |
| 2203 | Mesh.Parent=nil | |
| 2204 | end),prt,msh,x,y,z) | |
| 2205 | end | |
| 2206 | ||
| 2207 | function dmgstart(dmg,what) | |
| 2208 | hitcon = what.Touched:connect(function(hit) | |
| 2209 | local hum = hit.Parent:FindFirstChild("Humanoid")
| |
| 2210 | if hum and not hum:IsDescendantOf(Character) then | |
| 2211 | hum:TakeDamage(dmg) | |
| 2212 | end | |
| 2213 | end) | |
| 2214 | end | |
| 2215 | ||
| 2216 | function dmgstop() | |
| 2217 | hitcon:disconnect() | |
| 2218 | end | |
| 2219 | ||
| 2220 | function Cloak() | |
| 2221 | Face.Parent=nil | |
| 2222 | cloaked=true | |
| 2223 | for _,v in pairs(Torso.Parent:children()) do | |
| 2224 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2225 | coroutine.resume(coroutine.create(function() | |
| 2226 | for i=0,1,0.2 do | |
| 2227 | wait() | |
| 2228 | v.Transparency=i | |
| 2229 | end | |
| 2230 | v.Transparency=1 | |
| 2231 | end)) | |
| 2232 | end | |
| 2233 | if v.className=="Hat" then | |
| 2234 | hatp=v.Handle | |
| 2235 | coroutine.resume(coroutine.create(function(derp) | |
| 2236 | for i=0,1,0.2 do | |
| 2237 | wait() | |
| 2238 | derp.Transparency=i | |
| 2239 | end | |
| 2240 | derp.Transparency=1 | |
| 2241 | end),hatp) | |
| 2242 | end | |
| 2243 | end | |
| 2244 | for _,v in pairs(m:children()) do | |
| 2245 | if v.className=="Part" then | |
| 2246 | coroutine.resume(coroutine.create(function() | |
| 2247 | for i=0,1,0.2 do | |
| 2248 | wait() | |
| 2249 | v.Transparency=i | |
| 2250 | end | |
| 2251 | v.Transparency=1 | |
| 2252 | end)) | |
| 2253 | end | |
| 2254 | end | |
| 2255 | end | |
| 2256 | ||
| 2257 | function UnCloak() | |
| 2258 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
| |
| 2259 | Face.Parent=Head | |
| 2260 | cloaked=false | |
| 2261 | for _,v in pairs(Torso.Parent:children()) do | |
| 2262 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 2263 | coroutine.resume(coroutine.create(function() | |
| 2264 | for i=0,1,0.1 do | |
| 2265 | wait() | |
| 2266 | v.Transparency=v.Transparency-0.1 | |
| 2267 | end | |
| 2268 | v.Transparency=0 | |
| 2269 | end)) | |
| 2270 | end | |
| 2271 | if v.className=="Hat" then | |
| 2272 | hatp=v.Handle | |
| 2273 | coroutine.resume(coroutine.create(function(derp) | |
| 2274 | for i=0,1,0.1 do | |
| 2275 | wait() | |
| 2276 | derp.Transparency=derp.Transparency-0.1 | |
| 2277 | end | |
| 2278 | derp.Transparency=0 | |
| 2279 | end),hatp) | |
| 2280 | end | |
| 2281 | end | |
| 2282 | for _,v in pairs(m:children()) do | |
| 2283 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
| 2284 | coroutine.resume(coroutine.create(function() | |
| 2285 | for i=0,1,0.1 do | |
| 2286 | wait() | |
| 2287 | v.Transparency=v.Transparency-0.1 | |
| 2288 | end | |
| 2289 | v.Transparency=0 | |
| 2290 | end)) | |
| 2291 | v.Transparency=0 | |
| 2292 | end | |
| 2293 | end | |
| 2294 | end | |
| 2295 | ||
| 2296 | local origcolor = BrickColor.new("Pastel light blue")
| |
| 2297 | ---- This section of explosions. | |
| 2298 | function Explode(rad,par,pitch,vol,mindam,maxdam) | |
| 2299 | local expart = Instance.new("Part",char)
| |
| 2300 | local expart2 = Instance.new("Part",char)
| |
| 2301 | local rin = Instance.new("Part",char)
| |
| 2302 | local rin2 = Instance.new("Part",char)
| |
| 2303 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2304 | partMesh.MeshType = "Sphere" | |
| 2305 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 2306 | partMesh2.MeshType = "Sphere" | |
| 2307 | local partMesh3 = Instance.new("SpecialMesh",rin)
| |
| 2308 | partMesh3.MeshType = "Brick" | |
| 2309 | local partMesh4 = Instance.new("SpecialMesh",rin2)
| |
| 2310 | partMesh4.MeshType = "Brick" | |
| 2311 | CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
| |
| 2312 | partMesh.Scale = vt(rad,rad,rad) | |
| 2313 | expart.Size = vt(1,1,1) | |
| 2314 | expart.Transparency = 0 | |
| 2315 | expart.Anchored = true | |
| 2316 | expart.Material = "Neon" | |
| 2317 | expart.BrickColor = bc("White")
| |
| 2318 | expart.CFrame = par.CFrame | |
| 2319 | partMesh2.Scale = vt(rad,rad,rad) | |
| 2320 | expart2.Size = vt(1.15,1.15,1.15) | |
| 2321 | expart2.Transparency = 0.5 | |
| 2322 | expart2.Anchored = true | |
| 2323 | expart2.Material = "Neon" | |
| 2324 | expart2.BrickColor = par.BrickColor | |
| 2325 | expart2.CFrame = par.CFrame | |
| 2326 | rin.Size = vt(1.15,1.15,1.15) | |
| 2327 | rin.Transparency = 1 | |
| 2328 | rin.Anchored = true | |
| 2329 | rin.Material = "Neon" | |
| 2330 | rin.BrickColor = par.BrickColor | |
| 2331 | rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 2332 | rin2.Size = vt(1.15,1.15,1.15) | |
| 2333 | rin2.Transparency = 1 | |
| 2334 | rin2.Anchored = true | |
| 2335 | rin2.Material = "Neon" | |
| 2336 | rin2.BrickColor = par.BrickColor | |
| 2337 | rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 2338 | partMesh3.Scale = vt(0,1,0) | |
| 2339 | partMesh4.Scale = vt(0,1,0) | |
| 2340 | local dec2 = Instance.new("Decal", rin)
| |
| 2341 | dec2.Face = "Top" | |
| 2342 | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" | |
| 2343 | dec2.Parent = rin | |
| 2344 | local dec2b = dec2:Clone() | |
| 2345 | dec2b.Face = "Bottom" | |
| 2346 | dec2b.Parent = rin | |
| 2347 | ||
| 2348 | local dec2a = Instance.new("Decal", rin2)
| |
| 2349 | dec2a.Face = "Top" | |
| 2350 | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" | |
| 2351 | dec2a.Parent = rin2 | |
| 2352 | local dec2ab = dec2a:Clone() | |
| 2353 | dec2ab.Face = "Bottom" | |
| 2354 | dec2ab.Parent = rin2 | |
| 2355 | expart.CanCollide = false | |
| 2356 | expart2.CanCollide = false | |
| 2357 | rin.CanCollide = false | |
| 2358 | rin2.CanCollide = false | |
| 2359 | MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal") | |
| 2360 | local value = 1*rad/6.5 | |
| 2361 | for i = 0, 199 do | |
| 2362 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2363 | expart.CFrame = expart.CFrame | |
| 2364 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 2365 | expart2.CFrame = expart.CFrame | |
| 2366 | value = value - 0.035*rad/30 | |
| 2367 | if value < 7.5 then | |
| 2368 | partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5) | |
| 2369 | rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0) | |
| 2370 | partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5) | |
| 2371 | rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0) | |
| 2372 | end | |
| 2373 | if value < 0 then | |
| 2374 | dec2.Transparency = dec2.Transparency + 0.025 | |
| 2375 | dec2a.Transparency = dec2a.Transparency + 0.025 | |
| 2376 | dec2b.Transparency = dec2b.Transparency + 0.025 | |
| 2377 | dec2ab.Transparency = dec2ab.Transparency + 0.025 | |
| 2378 | expart.Transparency = expart.Transparency + 0.025 | |
| 2379 | expart2.Transparency = expart2.Transparency + 0.025 | |
| 2380 | rin.Transparency = rin.Transparency + 0.025 | |
| 2381 | rin2.Transparency = rin2.Transparency + 0.025 | |
| 2382 | end | |
| 2383 | swait() | |
| 2384 | end | |
| 2385 | game:GetService("Debris"):AddItem(expart, 1)
| |
| 2386 | game:GetService("Debris"):AddItem(expart2, 1)
| |
| 2387 | game:GetService("Debris"):AddItem(rin, 1)
| |
| 2388 | game:GetService("Debris"):AddItem(rin2, 1)
| |
| 2389 | end | |
| 2390 | ||
| 2391 | function ExplodeShort(rad,par,pitch,vol,mindam,maxdam) | |
| 2392 | local expart = Instance.new("Part",char)
| |
| 2393 | local expart2 = Instance.new("Part",char)
| |
| 2394 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2395 | partMesh.MeshType = "Sphere" | |
| 2396 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 2397 | partMesh2.MeshType = "Sphere" | |
| 2398 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
| |
| 2399 | partMesh.Scale = vt(rad,rad,rad) | |
| 2400 | expart.Size = vt(1,1,1) | |
| 2401 | expart.Transparency = 0 | |
| 2402 | expart.Anchored = true | |
| 2403 | expart.Material = "Neon" | |
| 2404 | expart.BrickColor = bc("White")
| |
| 2405 | expart.CFrame = par.CFrame | |
| 2406 | partMesh2.Scale = vt(rad,rad,rad) | |
| 2407 | expart2.Size = vt(1.15,1.15,1.15) | |
| 2408 | expart2.Transparency = 0.5 | |
| 2409 | expart2.Anchored = true | |
| 2410 | expart2.Material = "Neon" | |
| 2411 | expart2.BrickColor = par.BrickColor | |
| 2412 | expart2.CFrame = par.CFrame | |
| 2413 | expart.CanCollide = false | |
| 2414 | expart2.CanCollide = false | |
| 2415 | MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal") | |
| 2416 | local value = 1*rad/6.5 | |
| 2417 | for i = 0, 75 do | |
| 2418 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2419 | expart.CFrame = expart.CFrame | |
| 2420 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 2421 | expart2.CFrame = expart.CFrame | |
| 2422 | value = value - 0.035*rad/5 | |
| 2423 | if value < 0 then | |
| 2424 | value = 0 | |
| 2425 | expart.Transparency = expart.Transparency + 0.05 | |
| 2426 | expart2.Transparency = expart2.Transparency + 0.05 | |
| 2427 | end | |
| 2428 | swait() | |
| 2429 | end | |
| 2430 | game:GetService("Debris"):AddItem(expart, 1)
| |
| 2431 | game:GetService("Debris"):AddItem(expart2, 1)
| |
| 2432 | end | |
| 2433 | ||
| 2434 | function AreaDanger(rad,par,mindam,maxdam) | |
| 2435 | local expart = Instance.new("Part",char)
| |
| 2436 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2437 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
| |
| 2438 | partMesh.MeshType = "Sphere" | |
| 2439 | partMesh.Scale = vt(rad,rad,rad) | |
| 2440 | expart.Size = vt(1,1,1) | |
| 2441 | expart.Transparency = 0.5 | |
| 2442 | expart.Anchored = true | |
| 2443 | expart.Material = "Neon" | |
| 2444 | expart.CanCollide = false | |
| 2445 | expart.BrickColor = par.BrickColor | |
| 2446 | expart.CFrame = par.CFrame | |
| 2447 | local value = 1*rad/5 | |
| 2448 | MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1) | |
| 2449 | for i = 0, 14 do | |
| 2450 | wait() | |
| 2451 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2452 | expart.CFrame = expart.CFrame | |
| 2453 | value = value - 0.035*rad | |
| 2454 | if value < 0 then | |
| 2455 | value = 0 | |
| 2456 | end | |
| 2457 | end | |
| 2458 | wait(0.25) | |
| 2459 | CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
| |
| 2460 | wait(0.5) | |
| 2461 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
| |
| 2462 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
| |
| 2463 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
| 2464 | MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025) | |
| 2465 | for i = 0, 14 do | |
| 2466 | wait() | |
| 2467 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2468 | expart.CFrame = expart.CFrame | |
| 2469 | value = value - 0.035*rad/2 | |
| 2470 | end | |
| 2471 | expart.Transparency = 1 | |
| 2472 | game:GetService("Debris"):AddItem(expart, 5)
| |
| 2473 | end | |
| 2474 | ||
| 2475 | function Swarmsplosions(negrad,rad,par,mindam,maxdam) | |
| 2476 | CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
| |
| 2477 | CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
| |
| 2478 | CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
| |
| 2479 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
| |
| 2480 | MagniDamageWithEffect(par, 25, 5,10, 0, "Normal") | |
| 2481 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025) | |
| 2482 | for i = 0, 24 do | |
| 2483 | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2)) | |
| 2484 | end | |
| 2485 | for i = 0, 24 do | |
| 2486 | local expart = Instance.new("Part",char)
| |
| 2487 | expart.Transparency = 1 | |
| 2488 | expart.Anchored = true | |
| 2489 | expart.CanCollide = false | |
| 2490 | expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad)) | |
| 2491 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
| |
| 2492 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
| |
| 2493 | MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal") | |
| 2494 | MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025) | |
| 2495 | for i = 0, 9 do | |
| 2496 | 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)) | |
| 2497 | end | |
| 2498 | game:GetService("Debris"):AddItem(expart, 2)
| |
| 2499 | wait(0.1) | |
| 2500 | end | |
| 2501 | end | |
| 2502 | ||
| 2503 | function EXterPlosion(par) | |
| 2504 | CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
| |
| 2505 | CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
| |
| 2506 | CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
| |
| 2507 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
| |
| 2508 | MagniDamageWithEffect(par, 500, 80,99, 0, "Normal") | |
| 2509 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005) | |
| 2510 | MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1) | |
| 2511 | for i = 0, 24 do | |
| 2512 | 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)) | |
| 2513 | end | |
| 2514 | for i = 0, 24 do | |
| 2515 | 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)) | |
| 2516 | end | |
| 2517 | end | |
| 2518 | ---- | |
| 2519 | ||
| 2520 | ||
| 2521 | function ring(type,pos,scale,value) | |
| 2522 | local type = type | |
| 2523 | local rng = Instance.new("Part", char)
| |
| 2524 | rng.Anchored = true | |
| 2525 | rng.BrickColor = origcolor | |
| 2526 | rng.CanCollide = false | |
| 2527 | rng.FormFactor = 3 | |
| 2528 | rng.Name = "Ring" | |
| 2529 | rng.Size = Vector3.new(1, 1, 1) | |
| 2530 | rng.Transparency = 0 | |
| 2531 | rng.TopSurface = 0 | |
| 2532 | rng.BottomSurface = 0 | |
| 2533 | rng.CFrame = pos | |
| 2534 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2535 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2536 | rngm.Scale = scale | |
| 2537 | local scaler2 = 1 | |
| 2538 | if type == "Add" then | |
| 2539 | scaler2 = 1*value | |
| 2540 | elseif type == "Divide" then | |
| 2541 | scaler2 = 1/value | |
| 2542 | end | |
| 2543 | coroutine.resume(coroutine.create(function() | |
| 2544 | for i = 0,10,0.1 do | |
| 2545 | swait() | |
| 2546 | if type == "Add" then | |
| 2547 | scaler2 = scaler2 - 0.01*value | |
| 2548 | elseif type == "Divide" then | |
| 2549 | scaler2 = scaler2 - 0.01/value | |
| 2550 | end | |
| 2551 | rng.Transparency = rng.Transparency + 0.01 | |
| 2552 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2553 | end | |
| 2554 | rng:Destroy() | |
| 2555 | end)) | |
| 2556 | end | |
| 2557 | ||
| 2558 | ||
| 2559 | function wave(type,pos,scale,value) | |
| 2560 | local type = type | |
| 2561 | local rng = Instance.new("Part", char)
| |
| 2562 | rng.Anchored = true | |
| 2563 | rng.BrickColor = origcolor | |
| 2564 | rng.CanCollide = false | |
| 2565 | rng.FormFactor = 3 | |
| 2566 | rng.Name = "Ring" | |
| 2567 | rng.Size = Vector3.new(1, 1, 1) | |
| 2568 | rng.Transparency = 0 | |
| 2569 | rng.TopSurface = 0 | |
| 2570 | rng.BottomSurface = 0 | |
| 2571 | rng.CFrame = pos | |
| 2572 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2573 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2574 | rngm.Scale = scale | |
| 2575 | local scaler2 = 1 | |
| 2576 | if type == "Add" then | |
| 2577 | scaler2 = 1*value | |
| 2578 | elseif type == "Divide" then | |
| 2579 | scaler2 = 1/value | |
| 2580 | end | |
| 2581 | coroutine.resume(coroutine.create(function() | |
| 2582 | for i = 0,10,0.1 do | |
| 2583 | swait() | |
| 2584 | if type == "Add" then | |
| 2585 | scaler2 = scaler2 - 0.01*value | |
| 2586 | elseif type == "Divide" then | |
| 2587 | scaler2 = scaler2 - 0.01/value | |
| 2588 | end | |
| 2589 | rng.Transparency = rng.Transparency + 0.01 | |
| 2590 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2591 | end | |
| 2592 | rng:Destroy() | |
| 2593 | end)) | |
| 2594 | end | |
| 2595 | ||
| 2596 | function wind(type,pos,scale,value,speed) | |
| 2597 | local type = type | |
| 2598 | local rng = Instance.new("Part", char)
| |
| 2599 | rng.Anchored = true | |
| 2600 | rng.BrickColor = origcolor | |
| 2601 | rng.CanCollide = false | |
| 2602 | rng.FormFactor = 3 | |
| 2603 | rng.Name = "Ring" | |
| 2604 | rng.Size = Vector3.new(1, 1, 1) | |
| 2605 | rng.Transparency = 0 | |
| 2606 | rng.TopSurface = 0 | |
| 2607 | rng.BottomSurface = 0 | |
| 2608 | rng.CFrame = pos | |
| 2609 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2610 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2611 | rngm.Scale = scale | |
| 2612 | local scaler2 = 1 | |
| 2613 | if type == "Add" then | |
| 2614 | scaler2 = 1*value | |
| 2615 | elseif type == "Divide" then | |
| 2616 | scaler2 = 1/value | |
| 2617 | end | |
| 2618 | coroutine.resume(coroutine.create(function() | |
| 2619 | for i = 0,10,0.1 do | |
| 2620 | swait() | |
| 2621 | if type == "Add" then | |
| 2622 | scaler2 = scaler2 - 0.01*value | |
| 2623 | elseif type == "Divide" then | |
| 2624 | scaler2 = scaler2 - 0.01/value | |
| 2625 | end | |
| 2626 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2627 | rng.Transparency = rng.Transparency + 0.01 | |
| 2628 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2629 | end | |
| 2630 | rng:Destroy() | |
| 2631 | end)) | |
| 2632 | end | |
| 2633 | ||
| 2634 | function groundwind(type,pos,scale,value,speed) | |
| 2635 | local type = type | |
| 2636 | local rng = Instance.new("Part", char)
| |
| 2637 | rng.Anchored = true | |
| 2638 | rng.BrickColor = origcolor | |
| 2639 | rng.CanCollide = false | |
| 2640 | rng.FormFactor = 3 | |
| 2641 | rng.Name = "Ring" | |
| 2642 | rng.Size = Vector3.new(1, 1, 1) | |
| 2643 | rng.Transparency = 0 | |
| 2644 | rng.TopSurface = 0 | |
| 2645 | rng.BottomSurface = 0 | |
| 2646 | rng.CFrame = pos | |
| 2647 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2648 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2649 | rngm.Scale = scale | |
| 2650 | local scaler2 = 1 | |
| 2651 | if type == "Add" then | |
| 2652 | scaler2 = 1*value | |
| 2653 | elseif type == "Divide" then | |
| 2654 | scaler2 = 1/value | |
| 2655 | end | |
| 2656 | coroutine.resume(coroutine.create(function() | |
| 2657 | for i = 0,10,0.1 do | |
| 2658 | swait() | |
| 2659 | if type == "Add" then | |
| 2660 | scaler2 = scaler2 - 0.01*value | |
| 2661 | elseif type == "Divide" then | |
| 2662 | scaler2 = scaler2 - 0.01/value | |
| 2663 | end | |
| 2664 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
| 2665 | rng.Transparency = rng.Transparency + 0.01 | |
| 2666 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
| 2667 | end | |
| 2668 | rng:Destroy() | |
| 2669 | end)) | |
| 2670 | end | |
| 2671 | ||
| 2672 | function CameraManager() | |
| 2673 | if TwoD and not CamInterrupt then | |
| 2674 | if Humanoid.Health > 0 then | |
| 2675 | Camera.CameraSubject = Humanoid | |
| 2676 | Camera.CameraType = "Scriptable" | |
| 2677 | Humanoid.AutoRotate = false | |
| 2678 | if Booleans.GyroUse then | |
| 2679 | Directer.MaxTorque = Vec3(0, huge, 0) | |
| 2680 | else | |
| 2681 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 2682 | end | |
| 2683 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
| 2684 | if Booleans.CamFollow then | |
| 2685 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
| 2686 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
| 2687 | else | |
| 2688 | CPart.Position = RootPart.Position | |
| 2689 | end | |
| 2690 | else | |
| 2691 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
| 2692 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
| 2693 | end | |
| 2694 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
| 2695 | else | |
| 2696 | Camera.CameraSubject = Humanoid | |
| 2697 | Camera.CameraType = "Custom" | |
| 2698 | Controller.Disabled = false | |
| 2699 | end | |
| 2700 | end | |
| 2701 | end | |
| 2702 | ||
| 2703 | function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow) | |
| 2704 | local type = type | |
| 2705 | local rng = Instance.new("Part", char)
| |
| 2706 | rng.Anchored = true | |
| 2707 | rng.BrickColor = color | |
| 2708 | rng.CanCollide = false | |
| 2709 | rng.FormFactor = 3 | |
| 2710 | rng.Name = "Ring" | |
| 2711 | rng.Material = "Neon" | |
| 2712 | rng.Size = Vector3.new(1, 1, 1) | |
| 2713 | rng.Transparency = 0 | |
| 2714 | rng.TopSurface = 0 | |
| 2715 | rng.BottomSurface = 0 | |
| 2716 | rng.CFrame = pos | |
| 2717 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2718 | rngm.MeshType = "Sphere" | |
| 2719 | ||
| 2720 | ||
| 2721 | if(heart)then | |
| 2722 | rngm.MeshType = Enum.MeshType.FileMesh | |
| 2723 | rngm.MeshId = "rbxassetid://105992239" | |
| 2724 | rngm.Offset = Vector3.new(0,0,-.25) | |
| 2725 | end | |
| 2726 | rngm.Scale = scale | |
| 2727 | if rainbowmode == true and not notaffectbychaosrainbow then | |
| 2728 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2729 | end | |
| 2730 | local scaler2 = 1 | |
| 2731 | if type == "Add" then | |
| 2732 | scaler2 = 1*value | |
| 2733 | elseif type == "Divide" then | |
| 2734 | scaler2 = 1/value | |
| 2735 | end | |
| 2736 | coroutine.resume(coroutine.create(function() | |
| 2737 | for i = 0,10/bonuspeed,0.1 do | |
| 2738 | swait() | |
| 2739 | if rainbowmode == true and not notaffectbychaosrainbow then | |
| 2740 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2741 | end | |
| 2742 | if type == "Add" then | |
| 2743 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2744 | elseif type == "Divide" then | |
| 2745 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2746 | end | |
| 2747 | if chaosmode == true and not notaffectbychaosrainbow then | |
| 2748 | rng.BrickColor = BrickColor.random() | |
| 2749 | end | |
| 2750 | if glitchymode then | |
| 2751 | local val = math.random(1,255) | |
| 2752 | local color = Color3.fromRGB(val,val,val) | |
| 2753 | rng.Color = color | |
| 2754 | end | |
| 2755 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2756 | if(invert)then | |
| 2757 | if(heart)then | |
| 2758 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 2759 | else | |
| 2760 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2761 | end | |
| 2762 | else | |
| 2763 | if(heart)then | |
| 2764 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 2765 | else | |
| 2766 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2767 | end | |
| 2768 | end | |
| 2769 | rng.CFrame = pos | |
| 2770 | end | |
| 2771 | rng:Destroy() | |
| 2772 | end)) | |
| 2773 | end | |
| 2774 | ||
| 2775 | function newBezier(startpos, pos2, pos3, endpos, t) | |
| 2776 | local A = clerp(startpos, pos2, t) | |
| 2777 | local B = clerp(pos2, pos3, t) | |
| 2778 | local C = clerp(pos3, endpos, t) | |
| 2779 | local lerp1 = clerp(A, B, t) | |
| 2780 | local lerp2 = clerp(B, C, t) | |
| 2781 | local cubic = clerp(lerp1, lerp2, t) | |
| 2782 | return cubic | |
| 2783 | end | |
| 2784 | ||
| 2785 | ||
| 2786 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert) | |
| 2787 | local type = type | |
| 2788 | local rng = Instance.new("Part", char)
| |
| 2789 | rng.Anchored = true | |
| 2790 | rng.BrickColor = color | |
| 2791 | rng.CanCollide = false | |
| 2792 | rng.FormFactor = 3 | |
| 2793 | rng.Name = "Ring" | |
| 2794 | rng.Material = "Neon" | |
| 2795 | rng.Size = Vector3.new(1, 1, 1) | |
| 2796 | rng.Transparency = 0 | |
| 2797 | rng.TopSurface = 0 | |
| 2798 | rng.BottomSurface = 0 | |
| 2799 | rng.CFrame = pos | |
| 2800 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2801 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2802 | rngm.MeshType = "Brick" | |
| 2803 | if(heart)then | |
| 2804 | rngm.MeshType = Enum.MeshType.FileMesh | |
| 2805 | rngm.MeshId = "rbxassetid://105992239" | |
| 2806 | rngm.Offset = Vector3.new(0,0,-.25) | |
| 2807 | end | |
| 2808 | rngm.Scale = vt(x1,y1,z1) | |
| 2809 | if rainbowmode == true then | |
| 2810 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2811 | end | |
| 2812 | local scaler2 = 1 | |
| 2813 | local speeder = FastSpeed/10 | |
| 2814 | if type == "Add" then | |
| 2815 | scaler2 = 1*value | |
| 2816 | elseif type == "Divide" then | |
| 2817 | scaler2 = 1/value | |
| 2818 | end | |
| 2819 | coroutine.resume(coroutine.create(function() | |
| 2820 | for i = 0,10/bonuspeed,0.1 do | |
| 2821 | swait() | |
| 2822 | if rainbowmode == true then | |
| 2823 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2824 | end | |
| 2825 | if type == "Add" then | |
| 2826 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2827 | elseif type == "Divide" then | |
| 2828 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2829 | end | |
| 2830 | if chaosmode == true then | |
| 2831 | rng.BrickColor = BrickColor.random() | |
| 2832 | end | |
| 2833 | if glitchymode then | |
| 2834 | local val = math.random(1,255) | |
| 2835 | local color = Color3.fromRGB(val,val,val) | |
| 2836 | rng.Color = color | |
| 2837 | end | |
| 2838 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 2839 | if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end | |
| 2840 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2841 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2842 | end | |
| 2843 | rng:Destroy() | |
| 2844 | end)) | |
| 2845 | end | |
| 2846 | ||
| 2847 | ||
| 2848 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert) | |
| 2849 | local type = type | |
| 2850 | local rng = Instance.new("Part", char)
| |
| 2851 | rng.Anchored = true | |
| 2852 | rng.BrickColor = color | |
| 2853 | rng.CanCollide = false | |
| 2854 | rng.FormFactor = 3 | |
| 2855 | rng.Name = "Ring" | |
| 2856 | rng.Material = "Neon" | |
| 2857 | rng.Size = Vector3.new(1, 1, 1) | |
| 2858 | rng.Transparency = 0 | |
| 2859 | rng.TopSurface = 0 | |
| 2860 | rng.BottomSurface = 0 | |
| 2861 | rng.CFrame = pos | |
| 2862 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2863 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2864 | rngm.MeshType = "Brick" | |
| 2865 | if(heart)then | |
| 2866 | rngm.MeshType = Enum.MeshType.FileMesh | |
| 2867 | rngm.MeshId = "rbxassetid://105992239" | |
| 2868 | rngm.Offset = Vector3.new(0,0,-.25) | |
| 2869 | end | |
| 2870 | rngm.Scale = vt(x1,y1,z1) | |
| 2871 | if rainbowmode == true then | |
| 2872 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2873 | end | |
| 2874 | local scaler2 = 0 | |
| 2875 | local speeder = FastSpeed/10 | |
| 2876 | if type == "Add" then | |
| 2877 | scaler2 = 1*value | |
| 2878 | elseif type == "Divide" then | |
| 2879 | scaler2 = 1/value | |
| 2880 | end | |
| 2881 | coroutine.resume(coroutine.create(function() | |
| 2882 | for i = 0,10/bonuspeed,0.1 do | |
| 2883 | swait() | |
| 2884 | if rainbowmode == true then | |
| 2885 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2886 | end | |
| 2887 | if type == "Add" then | |
| 2888 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2889 | elseif type == "Divide" then | |
| 2890 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2891 | end | |
| 2892 | if chaosmode == true then | |
| 2893 | rng.BrickColor = BrickColor.random() | |
| 2894 | end | |
| 2895 | if glitchymode then | |
| 2896 | local val = math.random(1,255) | |
| 2897 | local color = Color3.fromRGB(val,val,val) | |
| 2898 | rng.Color = color | |
| 2899 | end | |
| 2900 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
| 2901 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2902 | if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end | |
| 2903 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2904 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 2905 | end | |
| 2906 | rng:Destroy() | |
| 2907 | end)) | |
| 2908 | end | |
| 2909 | ||
| 2910 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2911 | local type = type | |
| 2912 | local rng = Instance.new("Part", char)
| |
| 2913 | rng.Anchored = true | |
| 2914 | rng.BrickColor = color | |
| 2915 | rng.CanCollide = false | |
| 2916 | rng.FormFactor = 3 | |
| 2917 | rng.Name = "Ring" | |
| 2918 | rng.Material = "Neon" | |
| 2919 | rng.Size = Vector3.new(1, 1, 1) | |
| 2920 | rng.Transparency = 0 | |
| 2921 | rng.TopSurface = 0 | |
| 2922 | rng.BottomSurface = 0 | |
| 2923 | rng.CFrame = pos | |
| 2924 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2925 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2926 | rngm.MeshType = "Sphere" | |
| 2927 | rngm.Scale = vt(x1,y1,z1) | |
| 2928 | if rainbowmode == true then | |
| 2929 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2930 | end | |
| 2931 | local scaler2 = 1 | |
| 2932 | local speeder = FastSpeed | |
| 2933 | if type == "Add" then | |
| 2934 | scaler2 = 1*value | |
| 2935 | elseif type == "Divide" then | |
| 2936 | scaler2 = 1/value | |
| 2937 | end | |
| 2938 | coroutine.resume(coroutine.create(function() | |
| 2939 | for i = 0,10/bonuspeed,0.1 do | |
| 2940 | swait() | |
| 2941 | if rainbowmode == true then | |
| 2942 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2943 | end | |
| 2944 | if type == "Add" then | |
| 2945 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2946 | elseif type == "Divide" then | |
| 2947 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2948 | end | |
| 2949 | if chaosmode == true then | |
| 2950 | rng.BrickColor = BrickColor.random() | |
| 2951 | end | |
| 2952 | if glitchymode then | |
| 2953 | local val = math.random(1,255) | |
| 2954 | local color = Color3.fromRGB(val,val,val) | |
| 2955 | rng.Color = color | |
| 2956 | end | |
| 2957 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 2958 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2959 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2960 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 2961 | end | |
| 2962 | rng:Destroy() | |
| 2963 | end)) | |
| 2964 | end | |
| 2965 | ||
| 2966 | ||
| 2967 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 2968 | local type = type | |
| 2969 | local rng = Instance.new("Part", char)
| |
| 2970 | rng.Anchored = true | |
| 2971 | rng.BrickColor = color | |
| 2972 | rng.CanCollide = false | |
| 2973 | rng.FormFactor = 3 | |
| 2974 | rng.Name = "Ring" | |
| 2975 | rng.Material = "Neon" | |
| 2976 | rng.Size = Vector3.new(1, 1, 1) | |
| 2977 | rng.Transparency = 1 | |
| 2978 | rng.TopSurface = 0 | |
| 2979 | rng.BottomSurface = 0 | |
| 2980 | rng.CFrame = pos | |
| 2981 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2982 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2983 | rngm.MeshType = "Sphere" | |
| 2984 | rngm.Scale = vt(x1,y1,z1) | |
| 2985 | if rainbowmode == true then | |
| 2986 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2987 | end | |
| 2988 | local scaler2 = 1 | |
| 2989 | local speeder = FastSpeed | |
| 2990 | if type == "Add" then | |
| 2991 | scaler2 = 1*value | |
| 2992 | elseif type == "Divide" then | |
| 2993 | scaler2 = 1/value | |
| 2994 | end | |
| 2995 | coroutine.resume(coroutine.create(function() | |
| 2996 | for i = 0,10/bonuspeed,0.1 do | |
| 2997 | swait() | |
| 2998 | if rainbowmode == true then | |
| 2999 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3000 | end | |
| 3001 | if type == "Add" then | |
| 3002 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3003 | elseif type == "Divide" then | |
| 3004 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3005 | end | |
| 3006 | if chaosmode == true then | |
| 3007 | rng.BrickColor = BrickColor.random() | |
| 3008 | end | |
| 3009 | if glitchymode then | |
| 3010 | local val = math.random(1,255) | |
| 3011 | local color = Color3.fromRGB(val,val,val) | |
| 3012 | rng.Color = color | |
| 3013 | end | |
| 3014 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 3015 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3016 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 3017 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 3018 | end | |
| 3019 | rng:Destroy() | |
| 3020 | end)) | |
| 3021 | end | |
| 3022 | ||
| 3023 | function dmg(dude) | |
| 3024 | if dude.Name ~= Character then | |
| 3025 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 3026 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 3027 | local val = Instance.new("BoolValue",dude)
| |
| 3028 | val.Name = "IsHit" | |
| 3029 | local ds = coroutine.wrap(function() | |
| 3030 | local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' | |
| 3031 | for i = 1, 10 do | |
| 3032 | sphereMK(1.5,2,"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,25,-.01,BrickColor.new("White"),0,true)
| |
| 3033 | end | |
| 3034 | dude:WaitForChild("Head"):BreakJoints()
| |
| 3035 | wait(0.5) | |
| 3036 | targetted = nil | |
| 3037 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
| |
| 3038 | ||
| 3039 | coroutine.resume(coroutine.create(function() | |
| 3040 | for i, v in pairs(dude:GetChildren()) do | |
| 3041 | if v:IsA("Accessory") then
| |
| 3042 | v:Destroy() | |
| 3043 | end | |
| 3044 | if v:IsA("Humanoid") then
| |
| 3045 | v:Destroy() | |
| 3046 | end | |
| 3047 | if v:IsA("CharacterMesh") then
| |
| 3048 | v:Destroy() | |
| 3049 | end | |
| 3050 | if v:IsA("Model") then
| |
| 3051 | v:Destroy() | |
| 3052 | end | |
| 3053 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 3054 | for x, o in pairs(v:GetChildren()) do | |
| 3055 | if o:IsA("Decal") then
| |
| 3056 | o:Destroy() | |
| 3057 | end | |
| 3058 | end | |
| 3059 | coroutine.resume(coroutine.create(function() | |
| 3060 | v.Material = "Neon" | |
| 3061 | v.CanCollide = false | |
| 3062 | local bld = Instance.new("ParticleEmitter",v)
| |
| 3063 | bld.LightEmission = 1 | |
| 3064 | bld.Texture = "rbxassetid://284205403" | |
| 3065 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 3066 | bld.Rate = 50 | |
| 3067 | bld.Lifetime = NumberRange.new(1) | |
| 3068 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3069 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3070 | bld.Speed = NumberRange.new(0,0) | |
| 3071 | bld.VelocitySpread = 50000 | |
| 3072 | bld.Rotation = NumberRange.new(-500,500) | |
| 3073 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 3074 | local sbs = Instance.new("BodyPosition", v)
| |
| 3075 | sbs.P = 3000 | |
| 3076 | sbs.D = 1000 | |
| 3077 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 3078 | sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
| 3079 | v.Color = Color3.new(1,1,1) | |
| 3080 | coroutine.resume(coroutine.create(function() | |
| 3081 | for i = 0, 49 do | |
| 3082 | swait(1) | |
| 3083 | v.Transparency = v.Transparency + 0.02 | |
| 3084 | end | |
| 3085 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
| |
| 3086 | bld.Speed = NumberRange.new(1,5) | |
| 3087 | bld.Acceleration = vt(0,10,0) | |
| 3088 | wait(0.5) | |
| 3089 | bld.Enabled = false | |
| 3090 | wait(3) | |
| 3091 | v:Destroy() | |
| 3092 | dude:Destroy() | |
| 3093 | end)) | |
| 3094 | end)) | |
| 3095 | end | |
| 3096 | end | |
| 3097 | end)) | |
| 3098 | end) | |
| 3099 | ds() | |
| 3100 | end | |
| 3101 | end | |
| 3102 | ||
| 3103 | ||
| 3104 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 3105 | if SinglePlayer then | |
| 3106 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 3107 | end | |
| 3108 | local List = {}
| |
| 3109 | for i, v in pairs(workspace:GetChildren()) do | |
| 3110 | if v:IsA("Model") then
| |
| 3111 | if v:findFirstChild("Head") then
| |
| 3112 | if v ~= Character then | |
| 3113 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 3114 | table.insert(List, v) | |
| 3115 | end | |
| 3116 | end | |
| 3117 | end | |
| 3118 | end | |
| 3119 | end | |
| 3120 | return List | |
| 3121 | end | |
| 3122 | ||
| 3123 | function FaceMouse() | |
| 3124 | Cam = workspace.CurrentCamera | |
| 3125 | return {
| |
| 3126 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 3127 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3128 | } | |
| 3129 | end | |
| 3130 | ||
| 3131 | function FaceMouse2() | |
| 3132 | Cam = workspace.CurrentCamera | |
| 3133 | return {
| |
| 3134 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
| 3135 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3136 | } | |
| 3137 | end | |
| 3138 | ||
| 3139 | local ModeOfGlitch = 1 | |
| 3140 | -- Functions are ready. | |
| 3141 | local storehumanoidWS = 16 | |
| 3142 | ||
| 3143 | function CorruptBlink() | |
| 3144 | for i = 0, 14 do | |
| 3145 | 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) | |
| 3146 | end | |
| 3147 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3148 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
| |
| 3149 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
| 3150 | CameraEnshaking(2,10) | |
| 3151 | if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
| 3152 | if v:FindFirstChild('Head') then
| |
| 3153 | dmg(v) | |
| 3154 | end | |
| 3155 | end end | |
| 3156 | for i = 0, 14 do | |
| 3157 | 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) | |
| 3158 | end | |
| 3159 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3160 | end | |
| 3161 | ||
| 3162 | function ExtinctiveHeartbreak() | |
| 3163 | local targetted = nil | |
| 3164 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 3165 | targetted = mouse.Target.Parent | |
| 3166 | end | |
| 3167 | if targetted ~= nil then | |
| 3168 | attack = true | |
| 3169 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 3170 | for i = 0, 9 do | |
| 3171 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
| |
| 3172 | end | |
| 3173 | for i = 0, 24 do | |
| 3174 | 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 black"),0)
| |
| 3175 | end | |
| 3176 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
| |
| 3177 | local originalpos = root.CFrame | |
| 3178 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
| 3179 | for i = 0, 9 do | |
| 3180 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
| |
| 3181 | end | |
| 3182 | for i = 0, 24 do | |
| 3183 | 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 black"),0)
| |
| 3184 | end | |
| 3185 | hum.WalkSpeed = 0 | |
| 3186 | targetted.Head.Anchored = true | |
| 3187 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
| |
| 3188 | for i = 0,2,0.1 do | |
| 3189 | swait() | |
| 3190 | 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) | |
| 3191 | 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) | |
| 3192 | 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) | |
| 3193 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
| 3194 | 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) | |
| 3195 | 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) | |
| 3196 | end | |
| 3197 | coroutine.resume(coroutine.create(function() | |
| 3198 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
| |
| 3199 | bld.LightEmission = 0.1 | |
| 3200 | bld.Texture = "rbxassetid://284205403" | |
| 3201 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
| 3202 | bld.Rate = 500 | |
| 3203 | bld.Lifetime = NumberRange.new(1) | |
| 3204 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3205 | bld.Acceleration = vt(0,-25,0) | |
| 3206 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3207 | bld.Speed = NumberRange.new(10,50) | |
| 3208 | bld.EmissionDirection = "Front" | |
| 3209 | bld.VelocitySpread = 25 | |
| 3210 | bld.Rotation = NumberRange.new(-500,500) | |
| 3211 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 3212 | end)) | |
| 3213 | coroutine.resume(coroutine.create(function() | |
| 3214 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
| |
| 3215 | bld.LightEmission = 0.1 | |
| 3216 | bld.Texture = "rbxassetid://284205403" | |
| 3217 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
| 3218 | bld.Rate = 500 | |
| 3219 | bld.Lifetime = NumberRange.new(1) | |
| 3220 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3221 | bld.Acceleration = vt(0,-25,0) | |
| 3222 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3223 | bld.Speed = NumberRange.new(10,50) | |
| 3224 | bld.EmissionDirection = "Front" | |
| 3225 | bld.VelocitySpread = 25 | |
| 3226 | bld.Rotation = NumberRange.new(-500,500) | |
| 3227 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 3228 | end)) | |
| 3229 | CameraEnshaking(5,5) | |
| 3230 | game:GetService("Debris"):AddItem(bld,3)
| |
| 3231 | dmg(targetted) | |
| 3232 | CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
| |
| 3233 | for i = 0,1,0.1 do | |
| 3234 | swait() | |
| 3235 | 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) | |
| 3236 | 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) | |
| 3237 | 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) | |
| 3238 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) | |
| 3239 | 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) | |
| 3240 | 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) | |
| 3241 | end | |
| 3242 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 3243 | for i = 0, 9 do | |
| 3244 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
| |
| 3245 | end | |
| 3246 | for i = 0, 24 do | |
| 3247 | 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 black"),0)
| |
| 3248 | end | |
| 3249 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
| |
| 3250 | root.CFrame = originalpos | |
| 3251 | for i = 0, 9 do | |
| 3252 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
| |
| 3253 | end | |
| 3254 | for i = 0, 24 do | |
| 3255 | 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 black"),0)
| |
| 3256 | end | |
| 3257 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
| |
| 3258 | bld.Enabled = false | |
| 3259 | attack = false | |
| 3260 | hum.WalkSpeed = storehumanoidWS | |
| 3261 | end | |
| 3262 | end | |
| 3263 | function PureBomb() | |
| 3264 | attack = true | |
| 3265 | ||
| 3266 | local orb = Instance.new("Part", char)
| |
| 3267 | orb.Anchored = true | |
| 3268 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3269 | orb.CanCollide = false | |
| 3270 | orb.FormFactor = 3 | |
| 3271 | orb.Name = "Ring" | |
| 3272 | orb.Material = "Neon" | |
| 3273 | orb.Size = Vector3.new(1, 1, 1) | |
| 3274 | orb.Transparency = 0 | |
| 3275 | orb.TopSurface = 0 | |
| 3276 | orb.BottomSurface = 0 | |
| 3277 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3278 | orbm.MeshType = "Sphere" | |
| 3279 | orbm.Name = "SizeMesh" | |
| 3280 | orbm.Scale = vt(0,0,0) | |
| 3281 | local scaled = 0.1 | |
| 3282 | local posid = 0 | |
| 3283 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
| |
| 3284 | for i = 0, 5, 0.1 do | |
| 3285 | swait() | |
| 3286 | scaled = scaled - 0.001 | |
| 3287 | posid = posid - scaled | |
| 3288 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3289 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
| 3290 | 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)
| |
| 3291 | 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)
| |
| 3292 | 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) | |
| 3293 | 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) | |
| 3294 | 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) | |
| 3295 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 3296 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
| 3297 | 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) | |
| 3298 | end | |
| 3299 | for i = 0, 2, 0.1 do | |
| 3300 | swait() | |
| 3301 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
| 3302 | 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) | |
| 3303 | 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) | |
| 3304 | 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) | |
| 3305 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
| 3306 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
| 3307 | 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) | |
| 3308 | end | |
| 3309 | coroutine.resume(coroutine.create(function() | |
| 3310 | orb.Anchored = false | |
| 3311 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
| |
| 3312 | local a = Instance.new("Part",workspace)
| |
| 3313 | a.Name = "Direction" | |
| 3314 | a.Anchored = true | |
| 3315 | a.BrickColor = bc("Bright red")
| |
| 3316 | a.Material = "Neon" | |
| 3317 | a.Transparency = 1 | |
| 3318 | a.CanCollide = false | |
| 3319 | local ray = Ray.new( | |
| 3320 | orb.CFrame.p, -- origin | |
| 3321 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
| 3322 | ) | |
| 3323 | local ignore = orb | |
| 3324 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3325 | a.BottomSurface = 10 | |
| 3326 | a.TopSurface = 10 | |
| 3327 | local distance = (orb.CFrame.p - position).magnitude | |
| 3328 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3329 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3330 | orb.CFrame = a.CFrame | |
| 3331 | a:Destroy() | |
| 3332 | local bv = Instance.new("BodyVelocity")
| |
| 3333 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3334 | bv.velocity = orb.CFrame.lookVector*125 | |
| 3335 | bv.Parent = orb | |
| 3336 | local hitted = false | |
| 3337 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3338 | wait() | |
| 3339 | local hit =orb.Touched:connect(function(hit) | |
| 3340 | if hitted == false then | |
| 3341 | hitted = true | |
| 3342 | CameraEnshaking(10,2.5) | |
| 3343 | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
| |
| 3344 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
| 3345 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
| |
| 3346 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
| |
| 3347 | for i = 0, 49 do | |
| 3348 | 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)
| |
| 3349 | end | |
| 3350 | for i = 0, 9 do | |
| 3351 | 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)
| |
| 3352 | 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)
| |
| 3353 | end | |
| 3354 | orb.Anchored = true | |
| 3355 | orb.Transparency = 1 | |
| 3356 | wait(8) | |
| 3357 | orb:Destroy() | |
| 3358 | end | |
| 3359 | end) | |
| 3360 | end)) | |
| 3361 | for i = 0, 1, 0.1 do | |
| 3362 | swait() | |
| 3363 | 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) | |
| 3364 | 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) | |
| 3365 | 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) | |
| 3366 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
| 3367 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
| 3368 | 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) | |
| 3369 | end | |
| 3370 | attack = false | |
| 3371 | end | |
| 3372 | ||
| 3373 | function ChaosGroundStrike() | |
| 3374 | attack = true | |
| 3375 | for i = 0, 2, 0.1 do | |
| 3376 | swait() | |
| 3377 | 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) | |
| 3378 | 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) | |
| 3379 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3380 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3381 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 3382 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 3383 | end | |
| 3384 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
| |
| 3385 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3386 | CameraEnshaking(4,12) | |
| 3387 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3388 | if v:FindFirstChild('Head') then
| |
| 3389 | dmg(v) | |
| 3390 | end | |
| 3391 | end | |
| 3392 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
| 3393 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
| 3394 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
| 3395 | for i = 0, 2, 0.1 do | |
| 3396 | swait() | |
| 3397 | 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) | |
| 3398 | 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) | |
| 3399 | 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) | |
| 3400 | 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) | |
| 3401 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3402 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3403 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 3404 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 3405 | end | |
| 3406 | attack = false | |
| 3407 | end | |
| 3408 | ||
| 3409 | function InsaneGroundStrike() | |
| 3410 | attack = true | |
| 3411 | chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
| |
| 3412 | for i = 0, 8, 0.1 do | |
| 3413 | swait() | |
| 3414 | PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*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)
| |
| 3415 | ||
| 3416 | 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) | |
| 3417 | 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) | |
| 3418 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3419 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3420 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 3421 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 3422 | end | |
| 3423 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
| |
| 3424 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3425 | CameraEnshaking(8,24) | |
| 3426 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do | |
| 3427 | if v:FindFirstChild('Head') then
| |
| 3428 | dmg(v) | |
| 3429 | end | |
| 3430 | end | |
| 3431 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
| 3432 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
| 3433 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random()) | |
| 3434 | CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
| |
| 3435 | chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
| |
| 3436 | for i = 0, 2, 0.1 do | |
| 3437 | swait() | |
| 3438 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
| 3439 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
| 3440 | 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) | |
| 3441 | 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) | |
| 3442 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3443 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3444 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 3445 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 3446 | end | |
| 3447 | attack = false | |
| 3448 | end | |
| 3449 | ||
| 3450 | function Starfall() | |
| 3451 | attack = true | |
| 3452 | hum.WalkSpeed = 0 | |
| 3453 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
| |
| 3454 | for i = 0, 5, 0.1 do | |
| 3455 | swait() | |
| 3456 | 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) | |
| 3457 | 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) | |
| 3458 | 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) | |
| 3459 | 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) | |
| 3460 | 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) | |
| 3461 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 3462 | 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) | |
| 3463 | 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) | |
| 3464 | end | |
| 3465 | local Overed = false | |
| 3466 | CameraEnshaking(2,20) | |
| 3467 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3468 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3469 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 3470 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
| |
| 3471 | local orb = Instance.new("Part", char)
| |
| 3472 | orb.Anchored = true | |
| 3473 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3474 | orb.CanCollide = false | |
| 3475 | orb.FormFactor = 3 | |
| 3476 | orb.Name = "Remenant" | |
| 3477 | orb.Material = "Neon" | |
| 3478 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
| 3479 | orb.Size = Vector3.new(1, 1, 1) | |
| 3480 | orb.Transparency = 1 | |
| 3481 | orb.TopSurface = 0 | |
| 3482 | orb.BottomSurface = 0 | |
| 3483 | hum.WalkSpeed = storehumanoidWS | |
| 3484 | coroutine.resume(coroutine.create(function() | |
| 3485 | for i = 0, 9 do | |
| 3486 | swait(10) | |
| 3487 | local lb = Instance.new("Part")
| |
| 3488 | lb.Color = MAINRUINCOLOR.Color | |
| 3489 | lb.CanCollide = false | |
| 3490 | lb.Material = "Neon" | |
| 3491 | lb.Anchored = true | |
| 3492 | lb.TopSurface = 0 | |
| 3493 | lb.BottomSurface = 0 | |
| 3494 | lb.Transparency = 0 | |
| 3495 | lb.Size = vt(1,1,1) | |
| 3496 | 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))) | |
| 3497 | lb.Anchored = false | |
| 3498 | lb.Parent = char | |
| 3499 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 3500 | thingery.MeshType = "Sphere" | |
| 3501 | thingery.Scale = vt(20,20,20) | |
| 3502 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 3503 | local bv = Instance.new("BodyVelocity")
| |
| 3504 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3505 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
| 3506 | bv.Parent = lb | |
| 3507 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
| 3508 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
| 3509 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
| |
| 3510 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
| |
| 3511 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
| |
| 3512 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
| |
| 3513 | local hitted = false | |
| 3514 | coroutine.resume(coroutine.create(function() | |
| 3515 | while true do | |
| 3516 | swait(1) | |
| 3517 | if lb.Parent ~= nil and hitted == false then | |
| 3518 | 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) | |
| 3519 | elseif lb.Parent == nil then | |
| 3520 | break | |
| 3521 | end | |
| 3522 | end | |
| 3523 | end)) | |
| 3524 | ||
| 3525 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 3526 | ||
| 3527 | coroutine.resume(coroutine.create(function() | |
| 3528 | swait(1) | |
| 3529 | lb.Touched:connect(function(hit) | |
| 3530 | if hitted == false then | |
| 3531 | hitted = true | |
| 3532 | lb.Transparency = 1 | |
| 3533 | lb.Anchored = true | |
| 3534 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
| |
| 3535 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
| |
| 3536 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
| |
| 3537 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
| |
| 3538 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
| |
| 3539 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
| |
| 3540 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
| 3541 | CameraEnshaking(1,5) | |
| 3542 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3543 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3544 | for i = 0, 9 do | |
| 3545 | 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) | |
| 3546 | end | |
| 3547 | for i = 0, 49 do | |
| 3548 | swait() | |
| 3549 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
| 3550 | 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) | |
| 3551 | end | |
| 3552 | end | |
| 3553 | end) | |
| 3554 | end)) | |
| 3555 | end | |
| 3556 | Overed = true | |
| 3557 | orb:Destroy() | |
| 3558 | end)) | |
| 3559 | ||
| 3560 | attack = false | |
| 3561 | end | |
| 3562 | ||
| 3563 | function StarfallEX() | |
| 3564 | attack = true | |
| 3565 | hum.WalkSpeed = 0 | |
| 3566 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
| |
| 3567 | for i = 0, 5, 0.1 do | |
| 3568 | swait() | |
| 3569 | 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) | |
| 3570 | 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) | |
| 3571 | 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) | |
| 3572 | 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) | |
| 3573 | 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) | |
| 3574 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 3575 | 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) | |
| 3576 | 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) | |
| 3577 | end | |
| 3578 | local Overed = false | |
| 3579 | CameraEnshaking(2,20) | |
| 3580 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3581 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
| 3582 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 3583 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
| |
| 3584 | local orb = Instance.new("Part", char)
| |
| 3585 | orb.Anchored = true | |
| 3586 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3587 | orb.CanCollide = false | |
| 3588 | orb.FormFactor = 3 | |
| 3589 | orb.Name = "Remenant" | |
| 3590 | orb.Material = "Neon" | |
| 3591 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
| 3592 | orb.Size = Vector3.new(1, 1, 1) | |
| 3593 | orb.Transparency = 1 | |
| 3594 | orb.TopSurface = 0 | |
| 3595 | orb.BottomSurface = 0 | |
| 3596 | hum.WalkSpeed = storehumanoidWS | |
| 3597 | coroutine.resume(coroutine.create(function() | |
| 3598 | for i = 1, 5 do | |
| 3599 | swait(10) | |
| 3600 | local lb = Instance.new("Part")
| |
| 3601 | lb.Color = MAINRUINCOLOR.Color | |
| 3602 | lb.CanCollide = false | |
| 3603 | lb.Material = "Neon" | |
| 3604 | lb.Anchored = true | |
| 3605 | lb.TopSurface = 0 | |
| 3606 | lb.BottomSurface = 0 | |
| 3607 | lb.Transparency = 0 | |
| 3608 | lb.Size = vt(1,1,1) | |
| 3609 | lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) | |
| 3610 | lb.Anchored = false | |
| 3611 | lb.Parent = char | |
| 3612 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 3613 | thingery.MeshType = "Sphere" | |
| 3614 | thingery.Scale = vt(20,20,20) | |
| 3615 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 3616 | local bv = Instance.new("BodyVelocity")
| |
| 3617 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3618 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
| 3619 | bv.Parent = lb | |
| 3620 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
| 3621 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
| 3622 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
| |
| 3623 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
| |
| 3624 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
| |
| 3625 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
| |
| 3626 | local hitted = false | |
| 3627 | coroutine.resume(coroutine.create(function() | |
| 3628 | while true do | |
| 3629 | swait(1) | |
| 3630 | if lb.Parent ~= nil and hitted == false then | |
| 3631 | 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) | |
| 3632 | elseif lb.Parent == nil then | |
| 3633 | break | |
| 3634 | end | |
| 3635 | end | |
| 3636 | end)) | |
| 3637 | ||
| 3638 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 3639 | ||
| 3640 | coroutine.resume(coroutine.create(function() | |
| 3641 | swait(5) | |
| 3642 | lb.Touched:connect(function(hit) | |
| 3643 | if hitted == false and not hit:IsDescendantOf(Character) then | |
| 3644 | hitted = true | |
| 3645 | lb.Transparency = 1 | |
| 3646 | lb.Anchored = true | |
| 3647 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
| |
| 3648 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
| |
| 3649 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
| |
| 3650 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
| |
| 3651 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
| |
| 3652 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
| |
| 3653 | MagniDamage(lb, 45, 90,170, 0, "Normal") | |
| 3654 | CameraEnshaking(1,5) | |
| 3655 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
| 3656 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
| 3657 | for i = 0, 9 do | |
| 3658 | 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) | |
| 3659 | end | |
| 3660 | for i = 0, 49 do | |
| 3661 | swait() | |
| 3662 | MagniDamage(lb, 60, 20,40, 0, "Normal") | |
| 3663 | 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) | |
| 3664 | end | |
| 3665 | end | |
| 3666 | end) | |
| 3667 | end)) | |
| 3668 | end | |
| 3669 | Overed = true | |
| 3670 | orb:Destroy() | |
| 3671 | end)) | |
| 3672 | ||
| 3673 | attack = false | |
| 3674 | end | |
| 3675 | ||
| 3676 | ||
| 3677 | function StarDivision() | |
| 3678 | attack = true | |
| 3679 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
| |
| 3680 | for i = 0, 2, 0.1 do | |
| 3681 | swait() | |
| 3682 | 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) | |
| 3683 | 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) | |
| 3684 | 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) | |
| 3685 | 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) | |
| 3686 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6) | |
| 3687 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) | |
| 3688 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6) | |
| 3689 | end | |
| 3690 | local orb = Instance.new("Part", char)
| |
| 3691 | orb.BrickColor = MAINRUINCOLOR | |
| 3692 | orb.CanCollide = false | |
| 3693 | orb.FormFactor = 3 | |
| 3694 | orb.Name = "Ring" | |
| 3695 | orb.Material = "Neon" | |
| 3696 | orb.Size = Vector3.new(1, 1, 1) | |
| 3697 | orb.Transparency = 0 | |
| 3698 | orb.TopSurface = 0 | |
| 3699 | orb.BottomSurface = 0 | |
| 3700 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3701 | orbm.MeshType = "Sphere" | |
| 3702 | orbm.Name = "SizeMesh" | |
| 3703 | orbm.Scale = vt(2,2,2) | |
| 3704 | local a = Instance.new("Part",workspace)
| |
| 3705 | a.Name = "Direction" | |
| 3706 | a.Anchored = true | |
| 3707 | a.BrickColor = bc("Bright red")
| |
| 3708 | a.Material = "Neon" | |
| 3709 | a.Transparency = 1 | |
| 3710 | a.CanCollide = false | |
| 3711 | local ray = Ray.new( | |
| 3712 | sorb.CFrame.p, -- origin | |
| 3713 | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction | |
| 3714 | ) | |
| 3715 | local ignore = sorb | |
| 3716 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3717 | a.BottomSurface = 10 | |
| 3718 | a.TopSurface = 10 | |
| 3719 | local distance = (sorb.CFrame.p - position).magnitude | |
| 3720 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3721 | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3722 | orb.CFrame = a.CFrame | |
| 3723 | a:Destroy() | |
| 3724 | local bv = Instance.new("BodyVelocity")
| |
| 3725 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3726 | bv.velocity = orb.CFrame.lookVector*100 | |
| 3727 | bv.Parent = orb | |
| 3728 | local hitted = false | |
| 3729 | game:GetService("Debris"):AddItem(orb, 10)
| |
| 3730 | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
| |
| 3731 | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
| |
| 3732 | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
| |
| 3733 | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
| |
| 3734 | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
| |
| 3735 | coroutine.resume(coroutine.create(function() | |
| 3736 | while true do | |
| 3737 | swait(1) | |
| 3738 | if orb.Parent ~= nil and hitted == false then | |
| 3739 | 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) | |
| 3740 | elseif orb.Parent == nil then | |
| 3741 | break | |
| 3742 | end | |
| 3743 | end | |
| 3744 | end)) | |
| 3745 | coroutine.resume(coroutine.create(function() | |
| 3746 | swait(1) | |
| 3747 | orb.Touched:connect(function(hit) | |
| 3748 | if hitted == false then | |
| 3749 | hitted = true | |
| 3750 | game:GetService("Debris"):AddItem(orb, 5)
| |
| 3751 | orb.Transparency = 1 | |
| 3752 | orb.Anchored = true | |
| 3753 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3754 | elocacenter.Anchored = true | |
| 3755 | elocacenter.CFrame = orb.CFrame | |
| 3756 | elocacenter.Orientation = vt(0,0,0) | |
| 3757 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3758 | eloca1.Anchored = true | |
| 3759 | eloca1.CFrame = elocacenter.CFrame | |
| 3760 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3761 | eloca2.Anchored = true | |
| 3762 | eloca2.CFrame = elocacenter.CFrame | |
| 3763 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3764 | eloca3.Anchored = true | |
| 3765 | eloca3.CFrame = elocacenter.CFrame | |
| 3766 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 3767 | eloca4.Anchored = true | |
| 3768 | eloca4.CFrame = elocacenter.CFrame | |
| 3769 | local lookavec = 0 | |
| 3770 | local speeds = 0 | |
| 3771 | CameraEnshaking(1,1) | |
| 3772 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
| |
| 3773 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3774 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3775 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3776 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3777 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 3778 | for i = 0, 99 do | |
| 3779 | swait() | |
| 3780 | lookavec = lookavec + 1 | |
| 3781 | speeds = speeds + 0.1 | |
| 3782 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 3783 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 3784 | 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) | |
| 3785 | ||
| 3786 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 3787 | 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) | |
| 3788 | ||
| 3789 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 3790 | 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) | |
| 3791 | ||
| 3792 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 3793 | 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) | |
| 3794 | end | |
| 3795 | ||
| 3796 | for i = 0, 149 do | |
| 3797 | swait() | |
| 3798 | speeds = speeds + 0.1 | |
| 3799 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
| 3800 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
| 3801 | 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) | |
| 3802 | ||
| 3803 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
| 3804 | 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) | |
| 3805 | ||
| 3806 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
| 3807 | 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) | |
| 3808 | ||
| 3809 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
| 3810 | 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) | |
| 3811 | end | |
| 3812 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do | |
| 3813 | if v:FindFirstChild('Head') then
| |
| 3814 | dmg(v) | |
| 3815 | end | |
| 3816 | end | |
| 3817 | CameraEnshaking(7,30) | |
| 3818 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
| 3819 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
| |
| 3820 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
| |
| 3821 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
| |
| 3822 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
| |
| 3823 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) | |
| 3824 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
| 3825 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 3826 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 3827 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 3828 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 3829 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 3830 | for i = 0, 24 do | |
| 3831 | sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0) | |
| 3832 | 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) | |
| 3833 | 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) | |
| 3834 | 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) | |
| 3835 | end | |
| 3836 | coroutine.resume(coroutine.create(function() | |
| 3837 | for i = 0, 499 do | |
| 3838 | swait(1) | |
| 3839 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
| 3840 | 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) | |
| 3841 | end | |
| 3842 | elocacenter:Destroy() | |
| 3843 | eloca1:Destroy() | |
| 3844 | eloca2:Destroy() | |
| 3845 | eloca3:Destroy() | |
| 3846 | eloca4:Destroy() | |
| 3847 | end)) | |
| 3848 | end | |
| 3849 | end) | |
| 3850 | end)) | |
| 3851 | attack = false | |
| 3852 | end | |
| 3853 | ||
| 3854 | ||
| 3855 | function UniversalCollapse() | |
| 3856 | attack = true | |
| 3857 | local speedearn = 0 | |
| 3858 | hum.WalkSpeed = 0 | |
| 3859 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
| |
| 3860 | for i = 0, 10, 0.1 do | |
| 3861 | swait() | |
| 3862 | speedearn = speedearn + 0.1 | |
| 3863 | 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) | |
| 3864 | 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) | |
| 3865 | 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) | |
| 3866 | 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) | |
| 3867 | 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) | |
| 3868 | 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) | |
| 3869 | 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) | |
| 3870 | 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) | |
| 3871 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 3872 | 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) | |
| 3873 | 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) | |
| 3874 | end | |
| 3875 | CameraEnshaking(5,45) | |
| 3876 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
| 3877 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
| |
| 3878 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 3879 | if v:FindFirstChild('Head') then
| |
| 3880 | dmg(v) | |
| 3881 | end | |
| 3882 | end | |
| 3883 | hum.WalkSpeed = storehumanoidWS | |
| 3884 | attack = false | |
| 3885 | end | |
| 3886 | function ChaosBegone() | |
| 3887 | attack = true | |
| 3888 | local speedearn = 0 | |
| 3889 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
| |
| 3890 | for i = 0, 10, 0.1 do | |
| 3891 | swait() | |
| 3892 | speedearn = speedearn + 0.1 | |
| 3893 | 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) | |
| 3894 | 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) | |
| 3895 | 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) | |
| 3896 | 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) | |
| 3897 | 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) | |
| 3898 | 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) | |
| 3899 | 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) | |
| 3900 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3901 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 3902 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
| 3903 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
| 3904 | end | |
| 3905 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
| |
| 3906 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
| |
| 3907 | CameraEnshaking(5,25) | |
| 3908 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 3909 | if v:FindFirstChild('Head') then
| |
| 3910 | dmg(v) | |
| 3911 | end | |
| 3912 | end | |
| 3913 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
| 3914 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
| 3915 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
| 3916 | for i = 0, 3, 0.1 do | |
| 3917 | swait() | |
| 3918 | 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) | |
| 3919 | 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) | |
| 3920 | 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) | |
| 3921 | 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) | |
| 3922 | 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) | |
| 3923 | 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) | |
| 3924 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3925 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
| 3926 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
| 3927 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
| 3928 | end | |
| 3929 | attack = false | |
| 3930 | end | |
| 3931 | ||
| 3932 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
| 3933 | local orb = Instance.new("Part", char)
| |
| 3934 | orb.Anchored = true | |
| 3935 | orb.BrickColor = color | |
| 3936 | orb.CanCollide = false | |
| 3937 | orb.FormFactor = 3 | |
| 3938 | orb.Name = "Ring" | |
| 3939 | orb.Material = "Neon" | |
| 3940 | orb.Size = Vector3.new(1, 1, 1) | |
| 3941 | orb.Transparency = 0 | |
| 3942 | orb.TopSurface = 0 | |
| 3943 | orb.BottomSurface = 0 | |
| 3944 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3945 | orbm.MeshType = "Sphere" | |
| 3946 | orb.CFrame = positted | |
| 3947 | orbm.Name = "SizeMesh" | |
| 3948 | orbm.Scale = vt(1,1,1) | |
| 3949 | coroutine.wrap(function() | |
| 3950 | while orb and orb.Parent do | |
| 3951 | if glitchymode then | |
| 3952 | local val = math.random(1,255) | |
| 3953 | local color = Color3.fromRGB(val,val,val) | |
| 3954 | orb.Color = color | |
| 3955 | end | |
| 3956 | swait() | |
| 3957 | end | |
| 3958 | end)() | |
| 3959 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
| |
| 3960 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
| 3961 | --[[for i = 0, 2 do | |
| 3962 | 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) | |
| 3963 | end]]-- | |
| 3964 | coroutine.resume(coroutine.create(function() | |
| 3965 | wait(timer) | |
| 3966 | CameraEnshaking(3,ShakePower) | |
| 3967 | orb.Transparency = 1 | |
| 3968 | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") | |
| 3969 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) | |
| 3970 | --[[for i = 0, 4 do | |
| 3971 | sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
| 3972 | end]]-- | |
| 3973 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
| |
| 3974 | wait(3) | |
| 3975 | orb:Destroy() | |
| 3976 | end)) | |
| 3977 | end | |
| 3978 | ||
| 3979 | function orb_spawn(positted,timer) | |
| 3980 | local orb = Instance.new("Part", char)
| |
| 3981 | orb.Anchored = true | |
| 3982 | orb.BrickColor = BrickColor.new("White")
| |
| 3983 | ||
| 3984 | orb.CanCollide = false | |
| 3985 | orb.FormFactor = 3 | |
| 3986 | orb.Name = "Ring" | |
| 3987 | orb.Material = "Neon" | |
| 3988 | orb.Size = Vector3.new(1, 1, 1) | |
| 3989 | orb.Transparency = 0 | |
| 3990 | orb.TopSurface = 0 | |
| 3991 | orb.BottomSurface = 0 | |
| 3992 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3993 | orbm.MeshType = "Sphere" | |
| 3994 | orb.CFrame = positted | |
| 3995 | orbm.Name = "SizeMesh" | |
| 3996 | orbm.Scale = vt(1,1,1) | |
| 3997 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
| |
| 3998 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
| 3999 | coroutine.wrap(function() | |
| 4000 | while orb and orb.Parent do | |
| 4001 | if glitchymode then | |
| 4002 | local val = math.random(1,255) | |
| 4003 | local color = Color3.fromRGB(val,val,val) | |
| 4004 | orb.Color = color | |
| 4005 | end | |
| 4006 | swait() | |
| 4007 | end | |
| 4008 | end)() | |
| 4009 | for i = 0, 2 do | |
| 4010 | 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) | |
| 4011 | end | |
| 4012 | ||
| 4013 | coroutine.resume(coroutine.create(function() | |
| 4014 | wait(timer) | |
| 4015 | CameraEnshaking(3,2) | |
| 4016 | orb.Transparency = 1 | |
| 4017 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
| 4018 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) | |
| 4019 | for i = 0, 4 do | |
| 4020 | 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) | |
| 4021 | end | |
| 4022 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
| |
| 4023 | wait(3) | |
| 4024 | orb:Destroy() | |
| 4025 | end)) | |
| 4026 | end | |
| 4027 | ||
| 4028 | function scattercorrupt() | |
| 4029 | attack = true | |
| 4030 | local rot = 0 | |
| 4031 | local randomrotations = math.random(1,2) | |
| 4032 | local lookv = 2.5 | |
| 4033 | local power = 5 | |
| 4034 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
| |
| 4035 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
| |
| 4036 | for i = 0, 9 do | |
| 4037 | 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)
| |
| 4038 | end | |
| 4039 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
| |
| 4040 | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
| |
| 4041 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
| |
| 4042 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
| |
| 4043 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
| |
| 4044 | local hite = Instance.new("Part", char)
| |
| 4045 | hite.Anchored = true | |
| 4046 | hite.CanCollide = false | |
| 4047 | hite.FormFactor = 3 | |
| 4048 | hite.Name = "Ring" | |
| 4049 | hite.Material = "Neon" | |
| 4050 | hite.Size = Vector3.new(1, 1, 1) | |
| 4051 | hite.Transparency = 1 | |
| 4052 | hite.TopSurface = 0 | |
| 4053 | hite.BottomSurface = 0 | |
| 4054 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
| 4055 | local rem = Instance.new("Part", char)
| |
| 4056 | rem.Anchored = true | |
| 4057 | rem.CanCollide = false | |
| 4058 | rem.FormFactor = 3 | |
| 4059 | rem.Name = "Ring" | |
| 4060 | rem.Material = "Neon" | |
| 4061 | rem.Size = Vector3.new(1, 1, 1) | |
| 4062 | rem.Transparency = 1 | |
| 4063 | rem.TopSurface = 0 | |
| 4064 | rem.BottomSurface = 0 | |
| 4065 | rem.CFrame = hite.CFrame | |
| 4066 | local rem2 = rem:Clone() | |
| 4067 | rem2.Parent = char | |
| 4068 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4069 | local rem3 = rem:Clone() | |
| 4070 | rem3.Parent = char | |
| 4071 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 4072 | local rem4 = rem:Clone() | |
| 4073 | rem4.Parent = char | |
| 4074 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 4075 | hite:Destroy() | |
| 4076 | coroutine.resume(coroutine.create(function() | |
| 4077 | for i = 0, 24 do | |
| 4078 | swait(1) | |
| 4079 | if randomrotations == 1 then | |
| 4080 | rot = rot + 1 | |
| 4081 | elseif randomrotations == 2 then | |
| 4082 | rot = rot - 1 | |
| 4083 | end | |
| 4084 | power = power + 0.5 | |
| 4085 | lookv = lookv + 7.5 | |
| 4086 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
| 4087 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4088 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
| 4089 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
| 4090 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4091 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4092 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4093 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
| |
| 4094 | end | |
| 4095 | end)) | |
| 4096 | attack = false | |
| 4097 | end | |
| 4098 | function yinyangi() | |
| 4099 | attack = true | |
| 4100 | for i = 0, 2, 0.1 do | |
| 4101 | swait() | |
| 4102 | 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) | |
| 4103 | 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) | |
| 4104 | 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) | |
| 4105 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4106 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
| 4107 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 4108 | end | |
| 4109 | local bv = Instance.new("BodyVelocity")
| |
| 4110 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4111 | bv.velocity = root.CFrame.lookVector*175 | |
| 4112 | bv.Parent = root | |
| 4113 | for Rotations = 0, 9 do | |
| 4114 | ||
| 4115 | for i = 0, 1, 0.5 do | |
| 4116 | swait() | |
| 4117 | bv.velocity = root.CFrame.lookVector*175 | |
| 4118 | 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) | |
| 4119 | 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) | |
| 4120 | 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) | |
| 4121 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4122 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4123 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4124 | end | |
| 4125 | ||
| 4126 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4127 | for i = 0, 1, 0.5 do | |
| 4128 | swait() | |
| 4129 | bv.velocity = root.CFrame.lookVector*175 | |
| 4130 | 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) | |
| 4131 | 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) | |
| 4132 | 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) | |
| 4133 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4134 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4135 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4136 | end | |
| 4137 | ||
| 4138 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4139 | for i = 0, 1, 0.5 do | |
| 4140 | swait() | |
| 4141 | bv.velocity = root.CFrame.lookVector*175 | |
| 4142 | 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) | |
| 4143 | 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) | |
| 4144 | 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) | |
| 4145 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4146 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4147 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4148 | end | |
| 4149 | ||
| 4150 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4151 | for i = 0, 1, 0.5 do | |
| 4152 | swait() | |
| 4153 | bv.velocity = root.CFrame.lookVector*175 | |
| 4154 | 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) | |
| 4155 | 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) | |
| 4156 | 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) | |
| 4157 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
| 4158 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
| 4159 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
| 4160 | end | |
| 4161 | ||
| 4162 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
| 4163 | end | |
| 4164 | bv:Destroy() | |
| 4165 | attack = false | |
| 4166 | end | |
| 4167 | ||
| 4168 | function JusticeBeam() | |
| 4169 | attack = true | |
| 4170 | ||
| 4171 | local rngb = Instance.new("Part", char)
| |
| 4172 | rngb.Anchored = true | |
| 4173 | rngb.BrickColor = origcolor | |
| 4174 | rngb.CanCollide = false | |
| 4175 | rngb.FormFactor = 3 | |
| 4176 | rngb.Name = "Ring" | |
| 4177 | rngb.Material = "Neon" | |
| 4178 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 4179 | rngb.Transparency = 1 | |
| 4180 | rngb.TopSurface = 0 | |
| 4181 | rngb.BottomSurface = 0 | |
| 4182 | local rngmb = Instance.new("SpecialMesh", rngb)
| |
| 4183 | rngmb.MeshType = "Brick" | |
| 4184 | rngmb.Name = "SizeMesh" | |
| 4185 | rngmb.Scale = vt(0,1,0) | |
| 4186 | ||
| 4187 | local orb = rngb:Clone() | |
| 4188 | orb.Parent = char | |
| 4189 | orb.Transparency = 0 | |
| 4190 | orb.BrickColor = BrickColor.new("White")
| |
| 4191 | orb.Size = vt(1,1,1) | |
| 4192 | local orbmish = orb.SizeMesh | |
| 4193 | orbmish.Scale = vt(0,0,0) | |
| 4194 | orbmish.MeshType = "Sphere" | |
| 4195 | ||
| 4196 | local orbe = rngb:Clone() | |
| 4197 | orbe.Parent = char | |
| 4198 | orbe.Transparency = 0.5 | |
| 4199 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 4200 | orbe.Size = vt(1,1,1) | |
| 4201 | local orbmish2 = orbe.SizeMesh | |
| 4202 | orbmish2.Scale = vt(0,0,0) | |
| 4203 | orbmish2.MeshType = "Sphere" | |
| 4204 | orbe.Color = Color3.new(1,1,1) | |
| 4205 | ||
| 4206 | rngb:Destroy() | |
| 4207 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
| |
| 4208 | local scaled = 1 | |
| 4209 | for i = 0,5,0.1 do | |
| 4210 | swait() | |
| 4211 | scaled = scaled - 0.02 | |
| 4212 | if rainbowmode == true then | |
| 4213 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4214 | end | |
| 4215 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
| 4216 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
| 4217 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4218 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4219 | 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) | |
| 4220 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4221 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 4222 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4223 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4224 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
| 4225 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
| 4226 | RootPart.CFrame = FaceMouse()[1] | |
| 4227 | end]]-- | |
| 4228 | for i = 0,5,0.1 do | |
| 4229 | swait() | |
| 4230 | if rainbowmode == true then | |
| 4231 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4232 | end | |
| 4233 | if glitchymode then | |
| 4234 | local val = math.random(1,255) | |
| 4235 | local color = Color3.fromRGB(val,val,val) | |
| 4236 | orbe.Color = color | |
| 4237 | end | |
| 4238 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4239 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4240 | 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) | |
| 4241 | 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) | |
| 4242 | 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) | |
| 4243 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 4244 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
| 4245 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
| 4246 | end | |
| 4247 | orbe.Transparency = 1 | |
| 4248 | orb.Transparency = 1 | |
| 4249 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
| 4250 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
| |
| 4251 | local a2 = Instance.new("Part",Character)
| |
| 4252 | a2.Name = "Direction" | |
| 4253 | a2.Anchored = true | |
| 4254 | a2.BrickColor = bc("New Yeller")
| |
| 4255 | a2.Color = Color3.new(1,1,1) | |
| 4256 | a2.Material = "Neon" | |
| 4257 | a2.Transparency = 0.5 | |
| 4258 | a2.Shape = "Cylinder" | |
| 4259 | a2.CanCollide = false | |
| 4260 | local ba = Instance.new("Part",Character)
| |
| 4261 | ba.Name = "HitDirect" | |
| 4262 | ba.Anchored = true | |
| 4263 | ba.BrickColor = bc("Cool yellow")
| |
| 4264 | ba.Material = "Neon" | |
| 4265 | ba.Transparency = 1 | |
| 4266 | ba.CanCollide = false | |
| 4267 | local ray = Ray.new( | |
| 4268 | orb.CFrame.p, -- origin | |
| 4269 | root.CFrame.lookVector.unit * 1000 -- direction | |
| 4270 | ) | |
| 4271 | local ignore = Character | |
| 4272 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4273 | a2.Transparency = .75 | |
| 4274 | a2.BottomSurface = 10 | |
| 4275 | a2.TopSurface = 10 | |
| 4276 | local distance = (orb.CFrame.p - position).magnitude | |
| 4277 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4278 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4279 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4280 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4281 | game:GetService("Debris"):AddItem(a2, 20)
| |
| 4282 | game:GetService("Debris"):AddItem(ba, 20)
| |
| 4283 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 4284 | msh2.MeshType = "Cylinder" | |
| 4285 | msh2.Scale = vt(1,6*5,6*5) | |
| 4286 | ||
| 4287 | local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
| |
| 4288 | for i = 1, 80*2 do | |
| 4289 | 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) | |
| 4290 | 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) | |
| 4291 | 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) | |
| 4292 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 4293 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
| 4294 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
| 4295 | swait() | |
| 4296 | CameraEnshaking(1,5) | |
| 4297 | a2.Color = Color3.new(1,1,1) | |
| 4298 | a2.Transparency = .25 | |
| 4299 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4300 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4301 | ray = Ray.new( | |
| 4302 | orb.CFrame.p, -- origin | |
| 4303 | root.CFrame.lookVector.unit * 1000 -- direction | |
| 4304 | ) | |
| 4305 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4306 | distance = (orb.CFrame.p - position).magnitude | |
| 4307 | if typrot == 1 then | |
| 4308 | rotation = rotation + 2.5 | |
| 4309 | elseif typrot == 2 then | |
| 4310 | rotation = rotation - 2.5 | |
| 4311 | end | |
| 4312 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4313 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4314 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4315 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4316 | msh2.Scale = msh2.Scale - vt(0,.19,.19) | |
| 4317 | 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) | |
| 4318 | 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) | |
| 4319 | MagniDamage(ba, 30, 5,25, 0, "Normal") | |
| 4320 | end | |
| 4321 | a2:Destroy() | |
| 4322 | ba:Destroy() | |
| 4323 | orb:Destroy() | |
| 4324 | orbe:Destroy() | |
| 4325 | attack = false | |
| 4326 | end | |
| 4327 | ||
| 4328 | function Wip() | |
| 4329 | attack = true | |
| 4330 | ||
| 4331 | local rngb = Instance.new("Part", char)
| |
| 4332 | rngb.Anchored = true | |
| 4333 | rngb.BrickColor = origcolor | |
| 4334 | rngb.CanCollide = false | |
| 4335 | rngb.FormFactor = 3 | |
| 4336 | rngb.Name = "Ring" | |
| 4337 | rngb.Material = "Neon" | |
| 4338 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 4339 | rngb.Transparency = 1 | |
| 4340 | rngb.TopSurface = 0 | |
| 4341 | rngb.BottomSurface = 0 | |
| 4342 | local rngmb = Instance.new("SpecialMesh", rngb)
| |
| 4343 | rngmb.MeshType = "Brick" | |
| 4344 | rngmb.Name = "SizeMesh" | |
| 4345 | rngmb.Scale = vt(0,1,0) | |
| 4346 | ||
| 4347 | local orb = rngb:Clone() | |
| 4348 | orb.Parent = char | |
| 4349 | orb.Transparency = 0 | |
| 4350 | orb.BrickColor = BrickColor.new("White")
| |
| 4351 | orb.Size = vt(1,1,1) | |
| 4352 | local orbmish = orb.SizeMesh | |
| 4353 | orbmish.Scale = vt(0,0,0) | |
| 4354 | orbmish.MeshType = "Sphere" | |
| 4355 | ||
| 4356 | local orbe = rngb:Clone() | |
| 4357 | orbe.Parent = char | |
| 4358 | orbe.Transparency = 0.5 | |
| 4359 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 4360 | orbe.Size = vt(1,1,1) | |
| 4361 | local orbmish2 = orbe.SizeMesh | |
| 4362 | orbmish2.Scale = vt(0,0,0) | |
| 4363 | orbmish2.MeshType = "Sphere" | |
| 4364 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4365 | ||
| 4366 | hum.AutoRotate = false | |
| 4367 | rngb:Destroy() | |
| 4368 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
| |
| 4369 | local scaled = 1 | |
| 4370 | for i = 0,5,0.1 do | |
| 4371 | swait() | |
| 4372 | scaled = scaled - 0.02 | |
| 4373 | if rainbowmode == true then | |
| 4374 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4375 | end | |
| 4376 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
| 4377 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
| 4378 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4379 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4380 | 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) | |
| 4381 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4382 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 4383 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4384 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4385 | 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) | |
| 4386 | 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) | |
| 4387 | RootPart.CFrame = FaceMouse()[1] | |
| 4388 | end]]-- | |
| 4389 | for i = 0,5,0.1 do | |
| 4390 | swait() | |
| 4391 | if rainbowmode == true then | |
| 4392 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4393 | end | |
| 4394 | if glitchymode then | |
| 4395 | local val = math.random(1,255) | |
| 4396 | local color = Color3.fromRGB(val,val,val) | |
| 4397 | orbe.Color = color | |
| 4398 | end | |
| 4399 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4400 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4401 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4402 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 4403 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4404 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4405 | 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) | |
| 4406 | 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) | |
| 4407 | RootPart.CFrame = FaceMouse()[1] | |
| 4408 | end | |
| 4409 | orbe.Transparency = 1 | |
| 4410 | orb.Transparency = 1 | |
| 4411 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
| 4412 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
| |
| 4413 | local a = Instance.new("Part",Character)
| |
| 4414 | a.Name = "Direction" | |
| 4415 | a.Anchored = true | |
| 4416 | a.BrickColor = bc("White")
| |
| 4417 | a.Material = "Neon" | |
| 4418 | a.Transparency = 0 | |
| 4419 | a.Shape = "Cylinder" | |
| 4420 | a.CanCollide = false | |
| 4421 | local a2 = Instance.new("Part",Character)
| |
| 4422 | a2.Name = "Direction" | |
| 4423 | a2.Anchored = true | |
| 4424 | a2.BrickColor = bc("New Yeller")
| |
| 4425 | a2.Color = Color3.new(r/255,g/255,b/255) | |
| 4426 | a2.Material = "Neon" | |
| 4427 | a2.Transparency = 0.5 | |
| 4428 | a2.Shape = "Cylinder" | |
| 4429 | a2.CanCollide = false | |
| 4430 | local ba = Instance.new("Part",Character)
| |
| 4431 | ba.Name = "HitDirect" | |
| 4432 | ba.Anchored = true | |
| 4433 | ba.BrickColor = bc("Cool yellow")
| |
| 4434 | ba.Material = "Neon" | |
| 4435 | ba.Transparency = 1 | |
| 4436 | ba.CanCollide = false | |
| 4437 | local ray = Ray.new( | |
| 4438 | orb.CFrame.p, -- origin | |
| 4439 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4440 | ) | |
| 4441 | local ignore = Character | |
| 4442 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4443 | a.BottomSurface = 10 | |
| 4444 | a.TopSurface = 10 | |
| 4445 | a2.BottomSurface = 10 | |
| 4446 | a2.TopSurface = 10 | |
| 4447 | local distance = (orb.CFrame.p - position).magnitude | |
| 4448 | a.Size = Vector3.new(distance, 1, 1) | |
| 4449 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4450 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4451 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4452 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4453 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4454 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4455 | game:GetService("Debris"):AddItem(a, 20)
| |
| 4456 | game:GetService("Debris"):AddItem(a2, 20)
| |
| 4457 | game:GetService("Debris"):AddItem(ba, 20)
| |
| 4458 | local msh = Instance.new("SpecialMesh",a)
| |
| 4459 | msh.MeshType = "Cylinder" | |
| 4460 | msh.Scale = vt(1,5*5,5*5) | |
| 4461 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 4462 | msh2.MeshType = "Cylinder" | |
| 4463 | msh2.Scale = vt(1,6*5,6*5) | |
| 4464 | ||
| 4465 | for i = 0,10,0.1 do | |
| 4466 | swait() | |
| 4467 | CameraEnshaking(1,5) | |
| 4468 | a2.Color = Color3.new(r/255,g/255,b/255) | |
| 4469 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4470 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4471 | ray = Ray.new( | |
| 4472 | orb.CFrame.p, -- origin | |
| 4473 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4474 | ) | |
| 4475 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4476 | distance = (orb.CFrame.p - position).magnitude | |
| 4477 | if typrot == 1 then | |
| 4478 | rotation = rotation + 2.5 | |
| 4479 | elseif typrot == 2 then | |
| 4480 | rotation = rotation - 2.5 | |
| 4481 | end | |
| 4482 | RootPart.CFrame = FaceMouse()[1] | |
| 4483 | a.Size = Vector3.new(distance, 1, 1) | |
| 4484 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4485 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4486 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4487 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4488 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4489 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4490 | msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5) | |
| 4491 | msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5) | |
| 4492 | 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) | |
| 4493 | 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) | |
| 4494 | MagniDamage(ba, 30, 5,25, 0, "Normal") | |
| 4495 | end | |
| 4496 | a:Destroy() | |
| 4497 | a2:Destroy() | |
| 4498 | ba:Destroy() | |
| 4499 | orb:Destroy() | |
| 4500 | orbe:Destroy() | |
| 4501 | hum.AutoRotate = true | |
| 4502 | attack = false | |
| 4503 | end | |
| 4504 | ||
| 4505 | ||
| 4506 | function UniversalSpark() | |
| 4507 | attack = true | |
| 4508 | ||
| 4509 | local rngb = Instance.new("Part", char)
| |
| 4510 | rngb.Anchored = true | |
| 4511 | rngb.BrickColor = origcolor | |
| 4512 | rngb.CanCollide = false | |
| 4513 | rngb.FormFactor = 3 | |
| 4514 | rngb.Name = "Ring" | |
| 4515 | rngb.Material = "Neon" | |
| 4516 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 4517 | rngb.Transparency = 1 | |
| 4518 | rngb.TopSurface = 0 | |
| 4519 | rngb.BottomSurface = 0 | |
| 4520 | local rngmb = Instance.new("SpecialMesh", rngb)
| |
| 4521 | rngmb.MeshType = "Brick" | |
| 4522 | rngmb.Name = "SizeMesh" | |
| 4523 | rngmb.Scale = vt(0,1,0) | |
| 4524 | ||
| 4525 | local orb = rngb:Clone() | |
| 4526 | orb.Parent = char | |
| 4527 | orb.Transparency = 0 | |
| 4528 | orb.BrickColor = BrickColor.new("White")
| |
| 4529 | orb.Size = vt(1,1,1) | |
| 4530 | local orbmish = orb.SizeMesh | |
| 4531 | orbmish.Scale = vt(0,0,0) | |
| 4532 | orbmish.MeshType = "Sphere" | |
| 4533 | ||
| 4534 | local orbe = rngb:Clone() | |
| 4535 | orbe.Parent = char | |
| 4536 | orbe.Transparency = 0.5 | |
| 4537 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 4538 | orbe.Size = vt(1,1,1) | |
| 4539 | local orbmish2 = orbe.SizeMesh | |
| 4540 | orbmish2.Scale = vt(0,0,0) | |
| 4541 | orbmish2.MeshType = "Sphere" | |
| 4542 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4543 | ||
| 4544 | rngb:Destroy() | |
| 4545 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
| |
| 4546 | local scaled = 1 | |
| 4547 | for i = 0,5,0.1 do | |
| 4548 | swait() | |
| 4549 | scaled = scaled - 0.02 | |
| 4550 | if rainbowmode == true then | |
| 4551 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4552 | end | |
| 4553 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
| 4554 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
| 4555 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4556 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4557 | 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) | |
| 4558 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4559 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 4560 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4561 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4562 | 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) | |
| 4563 | 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) | |
| 4564 | RootPart.CFrame = FaceMouse()[1] | |
| 4565 | end]]-- | |
| 4566 | for i = 0,5,0.1 do | |
| 4567 | swait() | |
| 4568 | if rainbowmode == true then | |
| 4569 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
| 4570 | end | |
| 4571 | if glitchymode then | |
| 4572 | local val = math.random(1,255) | |
| 4573 | local color = Color3.fromRGB(val,val,val) | |
| 4574 | orbe.Color = color | |
| 4575 | end | |
| 4576 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4577 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
| 4578 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
| 4579 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 4580 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4581 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4582 | 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) | |
| 4583 | 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) | |
| 4584 | RootPart.CFrame = FaceMouse()[1] | |
| 4585 | end | |
| 4586 | orbe.Transparency = 1 | |
| 4587 | orb.Transparency = 1 | |
| 4588 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
| 4589 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 4590 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 4591 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 4592 | ||
| 4593 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
| |
| 4594 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
| |
| 4595 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 4596 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
| |
| 4597 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
| |
| 4598 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 4599 | CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
| |
| 4600 | local xd= Instance.new("Sound",char)
| |
| 4601 | xd.SoundId = "rbxassetid://445796828" | |
| 4602 | xd.Pitch = 0.75 | |
| 4603 | xd.Looped = true | |
| 4604 | xd.Volume = 1.25 | |
| 4605 | xd:Play() | |
| 4606 | local a = Instance.new("Part",Character)
| |
| 4607 | a.Name = "Direction" | |
| 4608 | a.Anchored = true | |
| 4609 | a.BrickColor = bc("Alder")
| |
| 4610 | a.Color = MAINRUINCOLOR.Color | |
| 4611 | a.Material = "Neon" | |
| 4612 | a.Transparency = 0.5 | |
| 4613 | a.Shape = "Cylinder" | |
| 4614 | a.CanCollide = false | |
| 4615 | local a2 = Instance.new("Part",Character)
| |
| 4616 | a2.Name = "Direction" | |
| 4617 | a2.Anchored = true | |
| 4618 | a2.BrickColor = bc("New Yeller")
| |
| 4619 | a2.Color = MAINRUINCOLOR.Color | |
| 4620 | a2.Material = "Neon" | |
| 4621 | a2.Transparency = 0.5 | |
| 4622 | a2.Shape = "Cylinder" | |
| 4623 | a2.CanCollide = false | |
| 4624 | local ba = Instance.new("Part",Character)
| |
| 4625 | ba.Name = "HitDirect" | |
| 4626 | ba.Anchored = true | |
| 4627 | ba.BrickColor = bc("Cool yellow")
| |
| 4628 | ba.Material = "Neon" | |
| 4629 | ba.Transparency = 1 | |
| 4630 | ba.CanCollide = false | |
| 4631 | local ray = Ray.new( | |
| 4632 | orb.CFrame.p, -- origin | |
| 4633 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4634 | ) | |
| 4635 | local ignore = Character | |
| 4636 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4637 | a.BottomSurface = 10 | |
| 4638 | a.TopSurface = 10 | |
| 4639 | a2.BottomSurface = 10 | |
| 4640 | a2.TopSurface = 10 | |
| 4641 | local distance = (orb.CFrame.p - position).magnitude | |
| 4642 | a.Size = Vector3.new(distance, 1, 1) | |
| 4643 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4644 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4645 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4646 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4647 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4648 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4649 | game:GetService("Debris"):AddItem(a, 60)
| |
| 4650 | game:GetService("Debris"):AddItem(a2, 60)
| |
| 4651 | game:GetService("Debris"):AddItem(ba, 60)
| |
| 4652 | local outerscale = 0 | |
| 4653 | local msh = Instance.new("SpecialMesh",a)
| |
| 4654 | msh.MeshType = "Cylinder" | |
| 4655 | msh.Scale = vt(1,0,0) | |
| 4656 | local msh2 = Instance.new("SpecialMesh",a2)
| |
| 4657 | msh2.MeshType = "Cylinder" | |
| 4658 | msh2.Scale = vt(1,0,0) | |
| 4659 | for i = 0,2,0.1 do | |
| 4660 | swait() | |
| 4661 | CameraEnshaking(1,1) | |
| 4662 | msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20) | |
| 4663 | msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15) | |
| 4664 | outerscale = outerscale - 0.015 | |
| 4665 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4666 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4667 | ray = Ray.new( | |
| 4668 | orb.CFrame.p, -- origin | |
| 4669 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4670 | ) | |
| 4671 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4672 | distance = (orb.CFrame.p - position).magnitude | |
| 4673 | if typrot == 1 then | |
| 4674 | rotation = rotation + 2.5 | |
| 4675 | elseif typrot == 2 then | |
| 4676 | rotation = rotation - 2.5 | |
| 4677 | end | |
| 4678 | RootPart.CFrame = FaceMouse()[1] | |
| 4679 | a.Size = Vector3.new(distance, 1, 1) | |
| 4680 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4681 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4682 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4683 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4684 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4685 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4686 | 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) | |
| 4687 | 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) | |
| 4688 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 4689 | end | |
| 4690 | for z = 0, 2 do | |
| 4691 | for i = 0,4,0.1 do | |
| 4692 | swait() | |
| 4693 | CameraEnshaking(1,1) | |
| 4694 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
| 4695 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
| 4696 | outerscale = outerscale + 0.015 | |
| 4697 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4698 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4699 | ray = Ray.new( | |
| 4700 | orb.CFrame.p, -- origin | |
| 4701 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4702 | ) | |
| 4703 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4704 | distance = (orb.CFrame.p - position).magnitude | |
| 4705 | if typrot == 1 then | |
| 4706 | rotation = rotation + 2.5 | |
| 4707 | elseif typrot == 2 then | |
| 4708 | rotation = rotation - 2.5 | |
| 4709 | end | |
| 4710 | RootPart.CFrame = FaceMouse()[1] | |
| 4711 | a.Size = Vector3.new(distance, 1, 1) | |
| 4712 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4713 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4714 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4715 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4716 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4717 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4718 | 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) | |
| 4719 | 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) | |
| 4720 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 4721 | end | |
| 4722 | for i = 0,4,0.1 do | |
| 4723 | swait() | |
| 4724 | CameraEnshaking(1,1) | |
| 4725 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
| 4726 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
| 4727 | outerscale = outerscale - 0.015 | |
| 4728 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4729 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4730 | ray = Ray.new( | |
| 4731 | orb.CFrame.p, -- origin | |
| 4732 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4733 | ) | |
| 4734 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4735 | distance = (orb.CFrame.p - position).magnitude | |
| 4736 | if typrot == 1 then | |
| 4737 | rotation = rotation + 2.5 | |
| 4738 | elseif typrot == 2 then | |
| 4739 | rotation = rotation - 2.5 | |
| 4740 | end | |
| 4741 | RootPart.CFrame = FaceMouse()[1] | |
| 4742 | a.Size = Vector3.new(distance, 1, 1) | |
| 4743 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4744 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4745 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4746 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4747 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4748 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4749 | 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) | |
| 4750 | 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) | |
| 4751 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 4752 | end | |
| 4753 | end | |
| 4754 | for i = 0,4,0.1 do | |
| 4755 | swait() | |
| 4756 | CameraEnshaking(1,1) | |
| 4757 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
| 4758 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
| 4759 | xd.Volume = xd.Volume - 0.025 | |
| 4760 | a.Transparency = a.Transparency + 0.025 | |
| 4761 | a2.Transparency = a2.Transparency + 0.025 | |
| 4762 | outerscale = outerscale - 0.015 | |
| 4763 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4764 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
| 4765 | ray = Ray.new( | |
| 4766 | orb.CFrame.p, -- origin | |
| 4767 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
| 4768 | ) | |
| 4769 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4770 | distance = (orb.CFrame.p - position).magnitude | |
| 4771 | if typrot == 1 then | |
| 4772 | rotation = rotation + 2.5 | |
| 4773 | elseif typrot == 2 then | |
| 4774 | rotation = rotation - 2.5 | |
| 4775 | end | |
| 4776 | RootPart.CFrame = FaceMouse()[1] | |
| 4777 | a.Size = Vector3.new(distance, 1, 1) | |
| 4778 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4779 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4780 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
| 4781 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4782 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4783 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
| 4784 | 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) | |
| 4785 | 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) | |
| 4786 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
| 4787 | end | |
| 4788 | xd:Destroy() | |
| 4789 | a:Destroy() | |
| 4790 | a2:Destroy() | |
| 4791 | ba:Destroy() | |
| 4792 | orb:Destroy() | |
| 4793 | orbe:Destroy() | |
| 4794 | attack = false | |
| 4795 | end | |
| 4796 | ||
| 4797 | ||
| 4798 | ||
| 4799 | function attackone() | |
| 4800 | attack = true | |
| 4801 | for i = 0,1,0.1 do | |
| 4802 | swait() | |
| 4803 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2) | |
| 4804 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2) | |
| 4805 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 4806 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 4807 | 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) | |
| 4808 | 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) | |
| 4809 | end | |
| 4810 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
| |
| 4811 | ||
| 4812 | local hitb = Instance.new("Part", char)
| |
| 4813 | hitb.Anchored = true | |
| 4814 | hitb.CanCollide = false | |
| 4815 | hitb.FormFactor = 3 | |
| 4816 | hitb.Name = "Ring" | |
| 4817 | hitb.Material = "Neon" | |
| 4818 | hitb.Size = Vector3.new(1, 1, 1) | |
| 4819 | hitb.Transparency = 1 | |
| 4820 | hitb.TopSurface = 0 | |
| 4821 | hitb.BottomSurface = 0 | |
| 4822 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
| 4823 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
| 4824 | hitb:Destroy() | |
| 4825 | for i = 0,1,0.1 do | |
| 4826 | swait() | |
| 4827 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4) | |
| 4828 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4) | |
| 4829 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
| 4830 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
| 4831 | 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) | |
| 4832 | 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) | |
| 4833 | end | |
| 4834 | ||
| 4835 | attack = false | |
| 4836 | end | |
| 4837 | ||
| 4838 | function attacktwo() | |
| 4839 | attack = true | |
| 4840 | for i = 0,1,0.1 do | |
| 4841 | swait() | |
| 4842 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2) | |
| 4843 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
| 4844 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 4845 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 4846 | 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) | |
| 4847 | 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) | |
| 4848 | end | |
| 4849 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
| |
| 4850 | local hitb = Instance.new("Part", char)
| |
| 4851 | hitb.Anchored = true | |
| 4852 | hitb.CanCollide = false | |
| 4853 | hitb.FormFactor = 3 | |
| 4854 | hitb.Name = "Ring" | |
| 4855 | hitb.Material = "Neon" | |
| 4856 | hitb.Size = Vector3.new(1, 1, 1) | |
| 4857 | hitb.Transparency = 1 | |
| 4858 | hitb.TopSurface = 0 | |
| 4859 | hitb.BottomSurface = 0 | |
| 4860 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
| 4861 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
| 4862 | hitb:Destroy() | |
| 4863 | for i = 0,1,0.1 do | |
| 4864 | swait() | |
| 4865 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4) | |
| 4866 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4) | |
| 4867 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
| 4868 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
| 4869 | 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) | |
| 4870 | 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) | |
| 4871 | end | |
| 4872 | attack = false | |
| 4873 | end | |
| 4874 | ||
| 4875 | function attackthree() | |
| 4876 | attack = true | |
| 4877 | for i = 0,1,0.1 do | |
| 4878 | swait() | |
| 4879 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3) | |
| 4880 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3) | |
| 4881 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
| 4882 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4883 | 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) | |
| 4884 | 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) | |
| 4885 | end | |
| 4886 | local distlook = 5 | |
| 4887 | for i = 0, 4 do | |
| 4888 | swait(2) | |
| 4889 | CameraEnshaking(2,3) | |
| 4890 | local hite = Instance.new("Part", char)
| |
| 4891 | hite.Anchored = true | |
| 4892 | hite.CanCollide = false | |
| 4893 | hite.FormFactor = 3 | |
| 4894 | hite.Name = "Ring" | |
| 4895 | hite.Material = "Neon" | |
| 4896 | hite.Size = Vector3.new(1, 1, 1) | |
| 4897 | hite.Transparency = 1 | |
| 4898 | hite.TopSurface = 0 | |
| 4899 | hite.BottomSurface = 0 | |
| 4900 | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook | |
| 4901 | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR) | |
| 4902 | sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) | |
| 4903 | MagniDamage(hite, 10, 15,35, 0, "Normal") | |
| 4904 | for i = 0, 2 do | |
| 4905 | 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) | |
| 4906 | 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) | |
| 4907 | 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) | |
| 4908 | end | |
| 4909 | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
| |
| 4910 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
| |
| 4911 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 4912 | distlook = distlook + 10 | |
| 4913 | end | |
| 4914 | attack = false | |
| 4915 | end | |
| 4916 | ||
| 4917 | function FinalCalamity() | |
| 4918 | end | |
| 4919 | ||
| 4920 | function resetmode() | |
| 4921 | rainbowmode = false | |
| 4922 | chaosmode = false | |
| 4923 | glitchymode = false | |
| 4924 | tl1.Enabled = false | |
| 4925 | tl2.Enabled = false | |
| 4926 | tl3.Enabled = false | |
| 4927 | local lust = ModeOfGlitch == 69 | |
| 4928 | ModeOfGlitch = 1 | |
| 4929 | storehumanoidWS = 16 | |
| 4930 | if(not lust)then | |
| 4931 | newTheme("rbxassetid://1564523997",48.6,1,1)
| |
| 4932 | end | |
| 4933 | coroutine.resume(coroutine.create(function() | |
| 4934 | attack = true | |
| 4935 | hum.WalkSpeed = 0 | |
| 4936 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
| |
| 4937 | for i = 0,4,0.1 do | |
| 4938 | swait() | |
| 4939 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
| 4940 | 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) | |
| 4941 | 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) | |
| 4942 | 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)),.2) | |
| 4943 | 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) | |
| 4944 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 4945 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 4946 | end | |
| 4947 | if(lust)then | |
| 4948 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
| |
| 4949 | sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true) | |
| 4950 | for i = 0, 49 do | |
| 4951 | PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
| |
| 4952 | end | |
| 4953 | ||
| 4954 | for i = 0,4,0.05 do | |
| 4955 | swait() | |
| 4956 | Pitch = 1-i/4 | |
| 4957 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
| 4958 | 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) | |
| 4959 | 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) | |
| 4960 | 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)),.2) | |
| 4961 | 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) | |
| 4962 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 4963 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 4964 | end | |
| 4965 | for i = 0,3,0.1 do | |
| 4966 | swait() | |
| 4967 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
| 4968 | 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) | |
| 4969 | 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) | |
| 4970 | 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)),.2) | |
| 4971 | 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) | |
| 4972 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 4973 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 4974 | end | |
| 4975 | newTheme("rbxassetid://1564523997",48.6,1,1)
| |
| 4976 | end | |
| 4977 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
| |
| 4978 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
| |
| 4979 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
| |
| 4980 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
| |
| 4981 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
| 4982 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
| 4983 | RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
| |
| 4984 | CameraEnshaking(5,2.5) | |
| 4985 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 4986 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 4987 | for i = 0, 49 do | |
| 4988 | 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) | |
| 4989 | end | |
| 4990 | for i = 0,3,0.1 do | |
| 4991 | 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) | |
| 4992 | end | |
| 4993 | for i, v in pairs(mw2:GetChildren()) do | |
| 4994 | if v:IsA("Part") then
| |
| 4995 | v.BrickColor = BrickColor.new("Really black")
| |
| 4996 | v.Material = "Neon" | |
| 4997 | end | |
| 4998 | end | |
| 4999 | for i, v in pairs(mw1:GetChildren()) do | |
| 5000 | if v:IsA("Part") then
| |
| 5001 | v.Transparency = 1 | |
| 5002 | v.BrickColor = BrickColor.new("Really black")
| |
| 5003 | v.Material = "Neon" | |
| 5004 | end | |
| 5005 | end | |
| 5006 | for i, v in pairs(m:GetChildren()) do | |
| 5007 | if v:IsA("Part") then
| |
| 5008 | v.BrickColor = BrickColor.new("Really black")
| |
| 5009 | v.Material = "Glass" | |
| 5010 | end | |
| 5011 | end | |
| 5012 | for i, v in pairs(m2:GetChildren()) do | |
| 5013 | if v:IsA("Part") then
| |
| 5014 | v.BrickColor = BrickColor.new("Dark stone grey")
| |
| 5015 | v.Material = "Granite" | |
| 5016 | end | |
| 5017 | end | |
| 5018 | for i, v in pairs(m3:GetChildren()) do | |
| 5019 | if v:IsA("Part") then
| |
| 5020 | v.BrickColor = BrickColor.new("Really black")
| |
| 5021 | v.Material = "Neon" | |
| 5022 | end | |
| 5023 | end | |
| 5024 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5025 | if v:IsA("Part") then
| |
| 5026 | v.Transparency = 1 | |
| 5027 | v.BrickColor = BrickColor.new("White")
| |
| 5028 | v.Material = "Neon" | |
| 5029 | end | |
| 5030 | end | |
| 5031 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5032 | if v:IsA("Part") then
| |
| 5033 | v.Transparency = 1 | |
| 5034 | v.BrickColor = BrickColor.new("White")
| |
| 5035 | v.Material = "Neon" | |
| 5036 | end | |
| 5037 | end | |
| 5038 | for i = 0,2,0.1 do | |
| 5039 | swait() | |
| 5040 | 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) | |
| 5041 | 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) | |
| 5042 | 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)),.2) | |
| 5043 | 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))),.2) | |
| 5044 | 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))),.2) | |
| 5045 | 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))),.2) | |
| 5046 | end | |
| 5047 | hum.WalkSpeed = storehumanoidWS | |
| 5048 | attack = false | |
| 5049 | end)) | |
| 5050 | end | |
| 5051 | ||
| 5052 | function lustmode() | |
| 5053 | ||
| 5054 | ModeOfGlitch = 69 | |
| 5055 | storehumanoidWS = 16 | |
| 5056 | rainbowmode = false | |
| 5057 | chaosmode = false | |
| 5058 | glitchymode = false | |
| 5059 | tl1.Enabled = false | |
| 5060 | tl2.Enabled = false | |
| 5061 | tl3.Enabled = false | |
| 5062 | newTheme("rbxassetid://1203355187",0,1,1)
| |
| 5063 | coroutine.wrap(function() | |
| 5064 | attack = true | |
| 5065 | hum.WalkSpeed = 0 | |
| 5066 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
| |
| 5067 | for i = 0,4,0.1 do | |
| 5068 | swait() | |
| 5069 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
| 5070 | 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) | |
| 5071 | 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) | |
| 5072 | 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)),.2) | |
| 5073 | 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) | |
| 5074 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 5075 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 5076 | end | |
| 5077 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
| |
| 5078 | sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true) | |
| 5079 | ||
| 5080 | for i = 0,4,0.1 do | |
| 5081 | swait() | |
| 5082 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
| 5083 | 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) | |
| 5084 | 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) | |
| 5085 | 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)),.2) | |
| 5086 | 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) | |
| 5087 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 5088 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 5089 | end | |
| 5090 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
| |
| 5091 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
| |
| 5092 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
| |
| 5093 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
| |
| 5094 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end) | |
| 5095 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end) | |
| 5096 | CameraEnshaking(5,2.5) | |
| 5097 | MAINRUINCOLOR = BrickColor.new("Pink")
| |
| 5098 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5099 | for i = 0, 49 do | |
| 5100 | 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))),6,6,6,0.12,MAINRUINCOLOR,0,true) | |
| 5101 | end | |
| 5102 | for i = 0,3,0.1 do | |
| 5103 | 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,true) | |
| 5104 | end | |
| 5105 | RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
| |
| 5106 | for i, v in pairs(mw2:GetChildren()) do | |
| 5107 | if v:IsA("Part") then
| |
| 5108 | v.BrickColor = MAINRUINCOLOR | |
| 5109 | v.Material = "Neon" | |
| 5110 | end | |
| 5111 | end | |
| 5112 | for i, v in pairs(mw1:GetChildren()) do | |
| 5113 | if v:IsA("Part") then
| |
| 5114 | v.Transparency = 1 | |
| 5115 | v.BrickColor = MAINRUINCOLOR | |
| 5116 | v.Material = "Neon" | |
| 5117 | end | |
| 5118 | end | |
| 5119 | for i, v in pairs(m:GetChildren()) do | |
| 5120 | if v:IsA("Part") then
| |
| 5121 | v.BrickColor = BrickColor.new("Pink")
| |
| 5122 | v.Material = "Ice" | |
| 5123 | end | |
| 5124 | end | |
| 5125 | for i, v in pairs(m2:GetChildren()) do | |
| 5126 | if v:IsA("Part") then
| |
| 5127 | v.BrickColor = BrickColor.new("Pink")
| |
| 5128 | v.Material = "Glass" | |
| 5129 | end | |
| 5130 | end | |
| 5131 | for i, v in pairs(m3:GetChildren()) do | |
| 5132 | if v:IsA("Part") then
| |
| 5133 | v.BrickColor = BrickColor.new("Pink")
| |
| 5134 | v.Material = "Neon" | |
| 5135 | end | |
| 5136 | end | |
| 5137 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5138 | if v:IsA("Part") then
| |
| 5139 | v.Transparency = 1 | |
| 5140 | v.BrickColor = BrickColor.new("Pink")
| |
| 5141 | v.Material = "Neon" | |
| 5142 | end | |
| 5143 | end | |
| 5144 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5145 | if v:IsA("Part") then
| |
| 5146 | v.Transparency = 1 | |
| 5147 | v.BrickColor = BrickColor.new("Pink")
| |
| 5148 | v.Material = "Neon" | |
| 5149 | end | |
| 5150 | end | |
| 5151 | for i = 0,2,0.1 do | |
| 5152 | swait() | |
| 5153 | 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) | |
| 5154 | 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) | |
| 5155 | 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)),.2) | |
| 5156 | 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))),.2) | |
| 5157 | 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))),.2) | |
| 5158 | 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))),.2) | |
| 5159 | end | |
| 5160 | hum.WalkSpeed = storehumanoidWS | |
| 5161 | attack = false | |
| 5162 | end)() | |
| 5163 | end | |
| 5164 | ||
| 5165 | function insanitymode() | |
| 5166 | storehumanoidWS = 16 | |
| 5167 | hum.WalkSpeed = 0 | |
| 5168 | rainbowmode = false | |
| 5169 | glitchymode = false | |
| 5170 | chaosmode = true | |
| 5171 | tl1.Enabled = true | |
| 5172 | tl2.Enabled = true | |
| 5173 | tl3.Enabled = true | |
| 5174 | local lust = ModeOfGlitch == 69 | |
| 5175 | newTheme("rbxassetid://919231299",0,1,1)
| |
| 5176 | coroutine.resume(coroutine.create(function() | |
| 5177 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5178 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5179 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5180 | attack = true | |
| 5181 | hum.WalkSpeed = 0 | |
| 5182 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
| |
| 5183 | for i = 0,4,0.1 do | |
| 5184 | swait() | |
| 5185 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
| 5186 | 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) | |
| 5187 | 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) | |
| 5188 | 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)),.2) | |
| 5189 | 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) | |
| 5190 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 5191 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 5192 | end | |
| 5193 | for i = 0,8,0.1 do | |
| 5194 | swait() | |
| 5195 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
| 5196 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,.035,MAINRUINCOLOR,0) | |
| 5197 | 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) | |
| 5198 | 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) | |
| 5199 | 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)),.2) | |
| 5200 | 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) | |
| 5201 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 5202 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 5203 | end | |
| 5204 | ||
| 5205 | for i = 0,3,0.1 do | |
| 5206 | swait() | |
| 5207 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
| 5208 | 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) | |
| 5209 | 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) | |
| 5210 | 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)),.2) | |
| 5211 | 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) | |
| 5212 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
| 5213 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
| 5214 | end | |
| 5215 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
| |
| 5216 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
| |
| 5217 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
| |
| 5218 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
| |
| 5219 | CameraEnshaking(5,2.5) | |
| 5220 | MAINRUINCOLOR = BrickColor.new("Black")
| |
| 5221 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5222 | for i = 0, 49 do | |
| 5223 | 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) | |
| 5224 | end | |
| 5225 | for i = 0,3,0.1 do | |
| 5226 | 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) | |
| 5227 | end | |
| 5228 | ModeOfGlitch = 666666 | |
| 5229 | for i, v in pairs(mw2:GetChildren()) do | |
| 5230 | if v:IsA("Part") then
| |
| 5231 | v.BrickColor = MAINRUINCOLOR | |
| 5232 | v.Material = "Neon" | |
| 5233 | end | |
| 5234 | end | |
| 5235 | for i, v in pairs(mw1:GetChildren()) do | |
| 5236 | if v:IsA("Part") then
| |
| 5237 | v.Transparency = 0.75 | |
| 5238 | v.BrickColor = BrickColor.random() | |
| 5239 | v.Material = "Neon" | |
| 5240 | end | |
| 5241 | end | |
| 5242 | for i, v in pairs(m:GetChildren()) do | |
| 5243 | if v:IsA("Part") then
| |
| 5244 | v.BrickColor = BrickColor.new("Black")
| |
| 5245 | v.Material = "Neon" | |
| 5246 | end | |
| 5247 | end | |
| 5248 | for i, v in pairs(m2:GetChildren()) do | |
| 5249 | if v:IsA("Part") then
| |
| 5250 | v.BrickColor = BrickColor.random() | |
| 5251 | v.Material = "Neon" | |
| 5252 | end | |
| 5253 | end | |
| 5254 | for i, v in pairs(m3:GetChildren()) do | |
| 5255 | if v:IsA("Part") then
| |
| 5256 | v.BrickColor = BrickColor.new("Black")
| |
| 5257 | v.Material = "Neon" | |
| 5258 | end | |
| 5259 | end | |
| 5260 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5261 | if v:IsA("Part") then
| |
| 5262 | v.Transparency = .75 | |
| 5263 | v.BrickColor = BrickColor.Random() | |
| 5264 | v.Material = "Neon" | |
| 5265 | end | |
| 5266 | end | |
| 5267 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5268 | if v:IsA("Part") then
| |
| 5269 | v.Transparency = 0 | |
| 5270 | v.BrickColor = BrickColor.new("Black")
| |
| 5271 | v.Material = "Neon" | |
| 5272 | end | |
| 5273 | end | |
| 5274 | for i = 0,2,0.1 do | |
| 5275 | swait() | |
| 5276 | 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) | |
| 5277 | 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) | |
| 5278 | 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)),.2) | |
| 5279 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2) | |
| 5280 | 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2) | |
| 5281 | 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2) | |
| 5282 | end | |
| 5283 | hum.WalkSpeed = storehumanoidWS | |
| 5284 | attack = false | |
| 5285 | end)) | |
| 5286 | end | |
| 5287 | ||
| 5288 | local attacktype = 1 | |
| 5289 | mouse.Button1Down:connect(function() | |
| 5290 | if attack == false and attacktype == 1 then | |
| 5291 | attacktype = 2 | |
| 5292 | attackone() | |
| 5293 | elseif attack == false and attacktype == 2 then | |
| 5294 | attacktype = 3 | |
| 5295 | attacktwo() | |
| 5296 | elseif attack == false and attacktype == 3 then | |
| 5297 | attacktype = 1 | |
| 5298 | attackthree() | |
| 5299 | elseif attack == false and attacktype == 4 then | |
| 5300 | attacktype = 1 | |
| 5301 | --attackfour() | |
| 5302 | end | |
| 5303 | end) | |
| 5304 | ||
| 5305 | function Judgement() | |
| 5306 | attack = true | |
| 5307 | hum.WalkSpeed = 0 | |
| 5308 | local p = Instance.new("Part",root)
| |
| 5309 | p.Anchored = true | |
| 5310 | p.CanCollide = false | |
| 5311 | p.BrickColor = MAINRUINCOLOR | |
| 5312 | p.Material = Enum.Material.Neon | |
| 5313 | p.Size = Vector3.new(1,1,1) | |
| 5314 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 5315 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 5316 | local m = Instance.new("SpecialMesh",p)
| |
| 5317 | m.MeshType = "Cylinder" | |
| 5318 | m.Scale = Vector3.new(2000,2,2) | |
| 5319 | local targ = Instance.new("Part",root)
| |
| 5320 | targ.Transparency = 1 | |
| 5321 | targ.CanCollide = false | |
| 5322 | targ.Size = Vector3.new(1,1,1) | |
| 5323 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 5324 | CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
| |
| 5325 | CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
| |
| 5326 | for i = 1,15 do | |
| 5327 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 5328 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
| 5329 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
| 5330 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
| 5331 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
| 5332 | 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) | |
| 5333 | 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) | |
| 5334 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR) | |
| 5335 | 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) | |
| 5336 | m.Scale = m.Scale+Vector3.new(0,1,1) | |
| 5337 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 5338 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 5339 | swait() | |
| 5340 | end | |
| 5341 | 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) | |
| 5342 | for i = 1,200 do | |
| 5343 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
| 5344 | 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) | |
| 5345 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR) | |
| 5346 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
| 5347 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
| 5348 | MagniDamage(targ, 25, 5, 8, 0, "Normal") | |
| 5349 | swait() | |
| 5350 | end | |
| 5351 | for i =1,15 do | |
| 5352 | m.Scale = m.Scale-Vector3.new(1,1,1) | |
| 5353 | p.Transparency = i / 15 | |
| 5354 | swait() | |
| 5355 | end | |
| 5356 | p:Destroy() | |
| 5357 | hum.WalkSpeed = storehumanoidWS | |
| 5358 | attack = false | |
| 5359 | end | |
| 5360 | ||
| 5361 | local ODerDB = false | |
| 5362 | function ChooseODer() | |
| 5363 | if(not ODerDB)then | |
| 5364 | coroutine.wrap(function() | |
| 5365 | ||
| 5366 | local allowOD = true | |
| 5367 | local whom = (mouse.Target and mouse.Target.Parent) | |
| 5368 | if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then | |
| 5369 | ODerDB = true | |
| 5370 | for _,v in next, ODers do | |
| 5371 | if(v == whom)then | |
| 5372 | print'nO OD SELF' | |
| 5373 | allowOD = false | |
| 5374 | end | |
| 5375 | end | |
| 5376 | if(allowOD)then | |
| 5377 | local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05)) | |
| 5378 | local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
| |
| 5379 | ||
| 5380 | ref.CFrame = Torso.CFrame | |
| 5381 | ref.Anchored = true | |
| 5382 | local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15)) | |
| 5383 | local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15)) | |
| 5384 | local MPos = whom.Head.CFrame*cf(0,4,0) | |
| 5385 | for i = 0, 1, .05 do | |
| 5386 | swait() | |
| 5387 | ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i) | |
| 5388 | ||
| 5389 | sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true) | |
| 5390 | if whom:FindFirstChild'Head' == nil then | |
| 5391 | break | |
| 5392 | end | |
| 5393 | end | |
| 5394 | ref:destroy() | |
| 5395 | if whom:FindFirstChild'Head' then | |
| 5396 | table.insert(ODers,whom) | |
| 5397 | if(#ODers > 2)then | |
| 5398 | table.remove(ODers,1) | |
| 5399 | end | |
| 5400 | sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true) | |
| 5401 | end | |
| 5402 | end | |
| 5403 | ODerDB = false | |
| 5404 | end | |
| 5405 | end)() | |
| 5406 | end | |
| 5407 | end | |
| 5408 | ||
| 5409 | function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY | |
| 5410 | attack = true | |
| 5411 | hum.WalkSpeed = 0 | |
| 5412 | storehumanoidWS = 75 | |
| 5413 | hum.JumpPower = 0 | |
| 5414 | newThemeCust("rbxassetid://1420353940",0,1,1)
| |
| 5415 | kan.TimePosition = 0 | |
| 5416 | ModeOfGlitch = 8376532578634534 | |
| 5417 | repeat swait() until kan.IsLoaded | |
| 5418 | chatfunc("Riddle me this..",text.TextStrokeColor3)
| |
| 5419 | for i = 0, 14, .1 do | |
| 5420 | swait() | |
| 5421 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
| 5422 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 5423 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
| 5424 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1) | |
| 5425 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
| 5426 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
| 5427 | end | |
| 5428 | chatfunc("Riddle me that..",text.TextStrokeColor3)
| |
| 5429 | for i = 0, 12, .1 do | |
| 5430 | swait() | |
| 5431 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
| 5432 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 5433 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
| 5434 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1) | |
| 5435 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
| 5436 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
| 5437 | end | |
| 5438 | chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
| |
| 5439 | for i = 0, 16, .1 do | |
| 5440 | swait() | |
| 5441 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
| 5442 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 5443 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
| 5444 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1) | |
| 5445 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
| 5446 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
| 5447 | end | |
| 5448 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
| |
| 5449 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
| |
| 5450 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
| |
| 5451 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
| |
| 5452 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end) | |
| 5453 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end) | |
| 5454 | RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
| |
| 5455 | CameraEnshaking(5,2.5) | |
| 5456 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 5457 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
| 5458 | tl1.Enabled = true | |
| 5459 | tl2.Enabled = true | |
| 5460 | tl3.Enabled = true | |
| 5461 | for i = 0, 49 do | |
| 5462 | 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) | |
| 5463 | end | |
| 5464 | for i = 0,3,0.1 do | |
| 5465 | 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) | |
| 5466 | end | |
| 5467 | for i, v in pairs(mw2:GetChildren()) do | |
| 5468 | if v:IsA("Part") then
| |
| 5469 | v.BrickColor = BrickColor.new("Really black")
| |
| 5470 | v.Material = "Glass" | |
| 5471 | end | |
| 5472 | end | |
| 5473 | for i, v in pairs(mw1:GetChildren()) do | |
| 5474 | if v:IsA("Part") then
| |
| 5475 | v.Transparency = 0 | |
| 5476 | v.BrickColor = BrickColor.new("Really black")
| |
| 5477 | v.Material = "Glass" | |
| 5478 | end | |
| 5479 | end | |
| 5480 | for i, v in pairs(m:GetChildren()) do | |
| 5481 | if v:IsA("Part") then
| |
| 5482 | v.BrickColor = BrickColor.new("Really black")
| |
| 5483 | v.Material = "Glass" | |
| 5484 | end | |
| 5485 | end | |
| 5486 | for i, v in pairs(m2:GetChildren()) do | |
| 5487 | if v:IsA("Part") then
| |
| 5488 | v.BrickColor = BrickColor.new("Dark stone grey")
| |
| 5489 | v.Material = "Granite" | |
| 5490 | end | |
| 5491 | end | |
| 5492 | for i, v in pairs(m3:GetChildren()) do | |
| 5493 | if v:IsA("Part") then
| |
| 5494 | v.BrickColor = BrickColor.new("Really black")
| |
| 5495 | v.Material = "Glass" | |
| 5496 | end | |
| 5497 | end | |
| 5498 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5499 | if v:IsA("Part") then
| |
| 5500 | v.Transparency = 0 | |
| 5501 | v.BrickColor = BrickColor.new("Dark stone grey")
| |
| 5502 | v.Material = "Glass" | |
| 5503 | end | |
| 5504 | end | |
| 5505 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5506 | if v:IsA("Part") then
| |
| 5507 | v.Transparency = 0 | |
| 5508 | v.BrickColor = BrickColor.new("Dark stone grey")
| |
| 5509 | v.Material = "Glass" | |
| 5510 | end | |
| 5511 | end | |
| 5512 | for i = 0,2,0.1 do | |
| 5513 | swait() | |
| 5514 | 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) | |
| 5515 | 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) | |
| 5516 | 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)),.2) | |
| 5517 | 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))),.2) | |
| 5518 | 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))),.2) | |
| 5519 | 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))),.2) | |
| 5520 | end | |
| 5521 | hum.JumpPower = 50 | |
| 5522 | hum.WalkSpeed = storehumanoidWS | |
| 5523 | attack = false | |
| 5524 | end | |
| 5525 | ||
| 5526 | function FuckMeSidewaysAndCallMeGay() | |
| 5527 | local whom = (mouse.Target and mouse.Target.Parent) | |
| 5528 | --[[local fuckThisBoi = false | |
| 5529 | if(whom and whom:FindFirstChildOfClass'Humanoid')then | |
| 5530 | for _,v in next, ODers do | |
| 5531 | if(v == whom)then | |
| 5532 | fuckThisBoi = false | |
| 5533 | end | |
| 5534 | end | |
| 5535 | end | |
| 5536 | if(not fuckThisBoi)then | |
| 5537 | attack = false | |
| 5538 | warn'to fuck that boi you need to target them with z' | |
| 5539 | else]] | |
| 5540 | if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then | |
| 5541 | local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' | |
| 5542 | local hum = whom:FindFirstChildOfClass'Humanoid' | |
| 5543 | local ocf = RootPart.CFrame | |
| 5544 | hum.WalkSpeed = 0 | |
| 5545 | hum.JumpPower = 0 | |
| 5546 | hed.Anchored = true | |
| 5547 | RootPart.Anchored = true | |
| 5548 | Humanoid.WalkSpeed = 0 | |
| 5549 | Humanoid.JumpPower = 0 | |
| 5550 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 5551 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 5552 | for i = 0, 9 do | |
| 5553 | 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("Pink"),0)
| |
| 5554 | end | |
| 5555 | for i = 0, 24 do | |
| 5556 | 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("Pink"),0)
| |
| 5557 | end | |
| 5558 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
| |
| 5559 | attack = true | |
| 5560 | local speed = 1 | |
| 5561 | local heck; | |
| 5562 | local stopitlol = false; | |
| 5563 | heck = mouse.KeyUp:connect(function(k) | |
| 5564 | if(k:lower() == 'm')then | |
| 5565 | stopitlol = true | |
| 5566 | heck:disconnect() | |
| 5567 | end | |
| 5568 | end) | |
| 5569 | local times = 0 | |
| 5570 | repeat swait() | |
| 5571 | speed = speed - .01 | |
| 5572 | times = times + 1 | |
| 5573 | if(speed < .1)then | |
| 5574 | speed = 0 | |
| 5575 | end | |
| 5576 | for i = 0, speed, .05 do | |
| 5577 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 5578 | swait() | |
| 5579 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
| 5580 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 5581 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
| 5582 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 5583 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
| 5584 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
| 5585 | end | |
| 5586 | CameraEnshaking(5,5) | |
| 5587 | ||
| 5588 | CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
| |
| 5589 | ||
| 5590 | for i = 0, speed, .05 do | |
| 5591 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 5592 | swait() | |
| 5593 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
| 5594 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 5595 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
| 5596 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 5597 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 5598 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 5599 | end | |
| 5600 | until stopitlol and times >= 3 | |
| 5601 | for i = 1, 3 do | |
| 5602 | for i = 0, 1.5, .05 do | |
| 5603 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 5604 | swait() | |
| 5605 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
| 5606 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 5607 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
| 5608 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 5609 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
| 5610 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
| 5611 | end | |
| 5612 | CameraEnshaking(5,25) | |
| 5613 | ||
| 5614 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
| |
| 5615 | ||
| 5616 | ||
| 5617 | coroutine.resume(coroutine.create(function() | |
| 5618 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
| |
| 5619 | bld.LightEmission = 0.1 | |
| 5620 | bld.Texture = "rbxassetid://284205403" | |
| 5621 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 5622 | bld.Rate = 500 | |
| 5623 | bld.Lifetime = NumberRange.new(1) | |
| 5624 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5625 | bld.Acceleration = vt(0,-25,0) | |
| 5626 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5627 | bld.Speed = NumberRange.new(10,50) | |
| 5628 | bld.EmissionDirection = "Back" | |
| 5629 | bld.VelocitySpread = 25 | |
| 5630 | bld.Rotation = NumberRange.new(-500,500) | |
| 5631 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 5632 | bld.Enabled = false | |
| 5633 | bld:Emit(250) | |
| 5634 | end)) | |
| 5635 | coroutine.resume(coroutine.create(function() | |
| 5636 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
| |
| 5637 | bld.LightEmission = 0.1 | |
| 5638 | bld.Texture = "rbxassetid://284205403" | |
| 5639 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 5640 | bld.Rate = 500 | |
| 5641 | bld.Lifetime = NumberRange.new(1) | |
| 5642 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5643 | bld.Acceleration = vt(0,-25,0) | |
| 5644 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5645 | bld.Speed = NumberRange.new(10,50) | |
| 5646 | bld.EmissionDirection = "Back" | |
| 5647 | bld.VelocitySpread = 25 | |
| 5648 | bld.Rotation = NumberRange.new(-500,500) | |
| 5649 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 5650 | bld.Enabled = false | |
| 5651 | bld:Emit(250) | |
| 5652 | end)) | |
| 5653 | for i = 0, 1.5, .05 do | |
| 5654 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 5655 | swait() | |
| 5656 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
| 5657 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 5658 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
| 5659 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 5660 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 5661 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 5662 | end | |
| 5663 | end | |
| 5664 | for i = 0, 4, .05 do | |
| 5665 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 5666 | swait() | |
| 5667 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1) | |
| 5668 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 5669 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1) | |
| 5670 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1) | |
| 5671 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
| 5672 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
| 5673 | end | |
| 5674 | CameraEnshaking(5,25) | |
| 5675 | CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
| |
| 5676 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
| |
| 5677 | ||
| 5678 | dmg(whom) | |
| 5679 | coroutine.resume(coroutine.create(function() | |
| 5680 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
| |
| 5681 | bld.LightEmission = 0.1 | |
| 5682 | bld.Texture = "rbxassetid://284205403" | |
| 5683 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 5684 | bld.Rate = 500 | |
| 5685 | bld.Lifetime = NumberRange.new(1) | |
| 5686 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5687 | bld.Acceleration = vt(0,-25,0) | |
| 5688 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5689 | bld.Speed = NumberRange.new(10,50) | |
| 5690 | bld.EmissionDirection = "Back" | |
| 5691 | bld.VelocitySpread = 25 | |
| 5692 | bld.Rotation = NumberRange.new(-500,500) | |
| 5693 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 5694 | bld.Enabled = true | |
| 5695 | end)) | |
| 5696 | coroutine.resume(coroutine.create(function() | |
| 5697 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
| |
| 5698 | bld.LightEmission = 0.1 | |
| 5699 | bld.Texture = "rbxassetid://284205403" | |
| 5700 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 5701 | bld.Rate = 500 | |
| 5702 | bld.Lifetime = NumberRange.new(1) | |
| 5703 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5704 | bld.Acceleration = vt(0,-25,0) | |
| 5705 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 5706 | bld.Speed = NumberRange.new(10,50) | |
| 5707 | bld.EmissionDirection = "Back" | |
| 5708 | bld.VelocitySpread = 25 | |
| 5709 | bld.Rotation = NumberRange.new(-500,500) | |
| 5710 | bld.RotSpeed = NumberRange.new(-500,500) | |
| 5711 | bld.Enabled = true | |
| 5712 | end)) | |
| 5713 | for i = 0, 3, .05 do | |
| 5714 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
| 5715 | swait() | |
| 5716 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4) | |
| 5717 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
| 5718 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4) | |
| 5719 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
| 5720 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 5721 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
| 5722 | end | |
| 5723 | ||
| 5724 | RootPart.CFrame = ocf | |
| 5725 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
| |
| 5726 | for i = 0, 9 do | |
| 5727 | 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("Pink"),0)
| |
| 5728 | end | |
| 5729 | for i = 0, 24 do | |
| 5730 | 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("Pink"),0)
| |
| 5731 | end | |
| 5732 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
| |
| 5733 | RootPart.Anchored = false | |
| 5734 | Humanoid.WalkSpeed = storehumanoidWS | |
| 5735 | Humanoid.JumpPower = 50 | |
| 5736 | attack = false | |
| 5737 | end | |
| 5738 | end | |
| 5739 | ||
| 5740 | local input = "" | |
| 5741 | ||
| 5742 | mouse.KeyDown:connect(function(k) | |
| 5743 | if(k == "w" or k == "a" or k == "s" or k == "d")then | |
| 5744 | input = input .. k | |
| 5745 | local newInput = input | |
| 5746 | coroutine.wrap(function() | |
| 5747 | for i = 1, 25 do | |
| 5748 | if(newInput ~= input)then break end | |
| 5749 | swait() | |
| 5750 | end | |
| 5751 | if(newInput == input)then input = "" end | |
| 5752 | end)() | |
| 5753 | if(input == "adad" and not AllowRape)then | |
| 5754 | AllowRape = true | |
| 5755 | warn("Rape unlocked! Have fun ;)")
| |
| 5756 | elseif(input == "wsws" and not AllowCata)then | |
| 5757 | AllowCata = true | |
| 5758 | warn("You unlocked CATASTROPHE.")
| |
| 5759 | elseif(input == 'ww' and not attack)then | |
| 5760 | ChaosBegone() | |
| 5761 | end | |
| 5762 | end | |
| 5763 | end) | |
| 5764 | ||
| 5765 | mouse.KeyDown:connect(function(k) | |
| 5766 | if k == "h" then | |
| 5767 | ||
| 5768 | end | |
| 5769 | ||
| 5770 | if k == "q" and attack == false and ModeOfGlitch ~= 2 then | |
| 5771 | ModeOfGlitch = 2 | |
| 5772 | storehumanoidWS = 16 | |
| 5773 | hum.WalkSpeed = 16 | |
| 5774 | rainbowmode = false | |
| 5775 | chaosmode = false | |
| 5776 | glitchymode = false | |
| 5777 | tl1.Enabled = false | |
| 5778 | tl2.Enabled = false | |
| 5779 | tl3.Enabled = false | |
| 5780 | RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
| |
| 5781 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end) | |
| 5782 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end) | |
| 5783 | newTheme("rbxassetid://1539245059",0,1,1)
| |
| 5784 | MAINRUINCOLOR = BrickColor.new("Toothpaste")
| |
| 5785 | for i, v in pairs(mw2:GetChildren()) do | |
| 5786 | if v:IsA("Part") then
| |
| 5787 | v.BrickColor = MAINRUINCOLOR | |
| 5788 | v.Material = "Neon" | |
| 5789 | end | |
| 5790 | end | |
| 5791 | for i, v in pairs(mw1:GetChildren()) do | |
| 5792 | if v:IsA("Part") then
| |
| 5793 | v.Transparency = 1 | |
| 5794 | v.BrickColor = MAINRUINCOLOR | |
| 5795 | v.Material = "Neon" | |
| 5796 | end | |
| 5797 | end | |
| 5798 | for i, v in pairs(m:GetChildren()) do | |
| 5799 | if v:IsA("Part") then
| |
| 5800 | v.BrickColor = BrickColor.new("White")
| |
| 5801 | v.Material = "Ice" | |
| 5802 | end | |
| 5803 | end | |
| 5804 | for i, v in pairs(m2:GetChildren()) do | |
| 5805 | if v:IsA("Part") then
| |
| 5806 | v.BrickColor = BrickColor.new("Pastel light blue")
| |
| 5807 | v.Material = "Glass" | |
| 5808 | end | |
| 5809 | end | |
| 5810 | for i, v in pairs(m3:GetChildren()) do | |
| 5811 | if v:IsA("Part") then
| |
| 5812 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 5813 | v.Material = "Neon" | |
| 5814 | end | |
| 5815 | end | |
| 5816 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5817 | if v:IsA("Part") then
| |
| 5818 | v.Transparency = 1 | |
| 5819 | v.BrickColor = BrickColor.new("White")
| |
| 5820 | v.Material = "Neon" | |
| 5821 | end | |
| 5822 | end | |
| 5823 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5824 | if v:IsA("Part") then
| |
| 5825 | v.Transparency = 1 | |
| 5826 | v.BrickColor = BrickColor.new("White")
| |
| 5827 | v.Material = "Neon" | |
| 5828 | end | |
| 5829 | end | |
| 5830 | elseif k == "q" and attack == false and ModeOfGlitch == 2 then | |
| 5831 | resetmode() | |
| 5832 | end | |
| 5833 | if k == "f" and attack == false and ModeOfGlitch ~= 69 then | |
| 5834 | lustmode() | |
| 5835 | elseif k == "f" and attack == false and ModeOfGlitch == 69 then | |
| 5836 | resetmode() | |
| 5837 | end | |
| 5838 | if k == "m" and attack == false and ModeOfGlitch == 1 then | |
| 5839 | RiddleMeThisRiddleMeThat() | |
| 5840 | elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then | |
| 5841 | resetmode() | |
| 5842 | end | |
| 5843 | if k == "e" and attack == false and ModeOfGlitch ~= 3 then | |
| 5844 | ModeOfGlitch = 3 | |
| 5845 | storehumanoidWS = 16 | |
| 5846 | hum.WalkSpeed = 16 | |
| 5847 | rainbowmode = false | |
| 5848 | chaosmode = false | |
| 5849 | glitchymode = true | |
| 5850 | tl1.Enabled = true | |
| 5851 | tl2.Enabled = true | |
| 5852 | tl3.Enabled = true | |
| 5853 | RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
| |
| 5854 | newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
| |
| 5855 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end) | |
| 5856 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end) | |
| 5857 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 5858 | for i, v in pairs(mw2:GetChildren()) do | |
| 5859 | if v:IsA("Part") then
| |
| 5860 | v.BrickColor = MAINRUINCOLOR | |
| 5861 | v.Material = "Neon" | |
| 5862 | end | |
| 5863 | end | |
| 5864 | for i, v in pairs(mw1:GetChildren()) do | |
| 5865 | if v:IsA("Part") then
| |
| 5866 | v.Transparency = 0 | |
| 5867 | v.BrickColor = MAINRUINCOLOR | |
| 5868 | v.Material = "Neon" | |
| 5869 | end | |
| 5870 | end | |
| 5871 | for i, v in pairs(m:GetChildren()) do | |
| 5872 | if v:IsA("Part") then
| |
| 5873 | v.BrickColor = BrickColor.new("Really black")
| |
| 5874 | v.Material = "Ice" | |
| 5875 | end | |
| 5876 | end | |
| 5877 | for i, v in pairs(m2:GetChildren()) do | |
| 5878 | if v:IsA("Part") then
| |
| 5879 | v.BrickColor = BrickColor.new("Dark indigo")
| |
| 5880 | v.Material = "Glass" | |
| 5881 | end | |
| 5882 | end | |
| 5883 | for i, v in pairs(m3:GetChildren()) do | |
| 5884 | if v:IsA("Part") then
| |
| 5885 | v.Transparency = 1 | |
| 5886 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 5887 | v.Material = "Neon" | |
| 5888 | end | |
| 5889 | end | |
| 5890 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5891 | if v:IsA("Part") then
| |
| 5892 | v.Transparency = 1 | |
| 5893 | v.BrickColor = BrickColor.new("White")
| |
| 5894 | v.Material = "Neon" | |
| 5895 | end | |
| 5896 | end | |
| 5897 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5898 | if v:IsA("Part") then
| |
| 5899 | v.Transparency = 1 | |
| 5900 | v.BrickColor = BrickColor.new("White")
| |
| 5901 | v.Material = "Neon" | |
| 5902 | end | |
| 5903 | end | |
| 5904 | elseif k == "e" and attack == false and ModeOfGlitch == 3 then | |
| 5905 | resetmode() | |
| 5906 | end | |
| 5907 | if k == "r" and attack == false and ModeOfGlitch ~= 4 then | |
| 5908 | ModeOfGlitch = 4 | |
| 5909 | storehumanoidWS = 16 | |
| 5910 | hum.WalkSpeed = 16 | |
| 5911 | rainbowmode = false | |
| 5912 | glitchymode = false | |
| 5913 | chaosmode = true | |
| 5914 | tl1.Enabled = true | |
| 5915 | tl2.Enabled = true | |
| 5916 | tl3.Enabled = true | |
| 5917 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
| |
| 5918 | newTheme("rbxassetid://1369263130",0,1,1)
| |
| 5919 | MAINRUINCOLOR = BrickColor.new("Black")
| |
| 5920 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5921 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5922 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 5923 | for i, v in pairs(mw2:GetChildren()) do | |
| 5924 | if v:IsA("Part") then
| |
| 5925 | v.BrickColor = MAINRUINCOLOR | |
| 5926 | v.Material = "Neon" | |
| 5927 | end | |
| 5928 | end | |
| 5929 | for i, v in pairs(mw1:GetChildren()) do | |
| 5930 | if v:IsA("Part") then
| |
| 5931 | v.Transparency = 0.75 | |
| 5932 | v.BrickColor = BrickColor.random() | |
| 5933 | v.Material = "Neon" | |
| 5934 | end | |
| 5935 | end | |
| 5936 | for i, v in pairs(m:GetChildren()) do | |
| 5937 | if v:IsA("Part") then
| |
| 5938 | v.BrickColor = BrickColor.new("Black")
| |
| 5939 | v.Material = "Neon" | |
| 5940 | end | |
| 5941 | end | |
| 5942 | for i, v in pairs(m2:GetChildren()) do | |
| 5943 | if v:IsA("Part") then
| |
| 5944 | v.BrickColor = BrickColor.random() | |
| 5945 | v.Material = "Neon" | |
| 5946 | end | |
| 5947 | end | |
| 5948 | for i, v in pairs(m3:GetChildren()) do | |
| 5949 | if v:IsA("Part") then
| |
| 5950 | v.BrickColor = BrickColor.new("Black")
| |
| 5951 | v.Material = "Neon" | |
| 5952 | end | |
| 5953 | end | |
| 5954 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5955 | if v:IsA("Part") then
| |
| 5956 | v.Transparency = 1 | |
| 5957 | v.BrickColor = BrickColor.new("White")
| |
| 5958 | v.Material = "Neon" | |
| 5959 | end | |
| 5960 | end | |
| 5961 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5962 | if v:IsA("Part") then
| |
| 5963 | v.Transparency = 1 | |
| 5964 | v.BrickColor = BrickColor.new("White")
| |
| 5965 | v.Material = "Neon" | |
| 5966 | end | |
| 5967 | end | |
| 5968 | elseif k == "r" and attack == false and ModeOfGlitch == 4 then | |
| 5969 | resetmode() | |
| 5970 | end | |
| 5971 | ||
| 5972 | if k == "m" and attack == false and ModeOfGlitch == 4 then | |
| 5973 | insanitymode() | |
| 5974 | elseif k == "m" and attack == false and ModeOfGlitch == 666666 then | |
| 5975 | resetmode() | |
| 5976 | end | |
| 5977 | if k == "t" and attack == false and ModeOfGlitch ~= 5 then | |
| 5978 | ModeOfGlitch = 5 | |
| 5979 | storehumanoidWS = 16 | |
| 5980 | hum.WalkSpeed = 16 | |
| 5981 | rainbowmode = false | |
| 5982 | chaosmode = false | |
| 5983 | glitchymode = false | |
| 5984 | tl1.Enabled = true | |
| 5985 | tl2.Enabled = true | |
| 5986 | tl3.Enabled = true | |
| 5987 | RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
| |
| 5988 | newTheme("rbxassetid://661079869",0,1.02,1)
| |
| 5989 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end) | |
| 5990 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end) | |
| 5991 | MAINRUINCOLOR = BrickColor.new("Bright yellow")
| |
| 5992 | for i, v in pairs(mw2:GetChildren()) do | |
| 5993 | if v:IsA("Part") then
| |
| 5994 | v.BrickColor = MAINRUINCOLOR | |
| 5995 | v.Material = "Neon" | |
| 5996 | end | |
| 5997 | end | |
| 5998 | for i, v in pairs(mw1:GetChildren()) do | |
| 5999 | if v:IsA("Part") then
| |
| 6000 | v.Transparency = 0 | |
| 6001 | v.BrickColor = MAINRUINCOLOR | |
| 6002 | v.Material = "Neon" | |
| 6003 | end | |
| 6004 | end | |
| 6005 | for i, v in pairs(m:GetChildren()) do | |
| 6006 | if v:IsA("Part") then
| |
| 6007 | v.BrickColor = BrickColor.new("Cool yellow")
| |
| 6008 | v.Material = "Ice" | |
| 6009 | end | |
| 6010 | end | |
| 6011 | for i, v in pairs(m2:GetChildren()) do | |
| 6012 | if v:IsA("Part") then
| |
| 6013 | v.BrickColor = BrickColor.new("Bright yellow")
| |
| 6014 | v.Material = "Ice" | |
| 6015 | end | |
| 6016 | end | |
| 6017 | for i, v in pairs(m3:GetChildren()) do | |
| 6018 | if v:IsA("Part") then
| |
| 6019 | v.BrickColor = BrickColor.new("Bright yellow")
| |
| 6020 | v.Material = "Neon" | |
| 6021 | end | |
| 6022 | end | |
| 6023 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6024 | if v:IsA("Part") then
| |
| 6025 | v.Transparency = 1 | |
| 6026 | v.BrickColor = BrickColor.new("White")
| |
| 6027 | v.Material = "Neon" | |
| 6028 | end | |
| 6029 | end | |
| 6030 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6031 | if v:IsA("Part") then
| |
| 6032 | v.Transparency = 1 | |
| 6033 | v.BrickColor = BrickColor.new("White")
| |
| 6034 | v.Material = "Neon" | |
| 6035 | end | |
| 6036 | end | |
| 6037 | elseif k == "t" and attack == false and ModeOfGlitch == 5 then | |
| 6038 | resetmode() | |
| 6039 | end | |
| 6040 | if k == "y" and attack == false and ModeOfGlitch ~= 6 then | |
| 6041 | ModeOfGlitch = 6 | |
| 6042 | storehumanoidWS = 75 | |
| 6043 | hum.WalkSpeed = 75 | |
| 6044 | rainbowmode = false | |
| 6045 | chaosmode = false | |
| 6046 | glitchymode = false | |
| 6047 | tl1.Enabled = true | |
| 6048 | tl2.Enabled = true | |
| 6049 | tl3.Enabled = true | |
| 6050 | RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1))
| |
| 6051 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end) | |
| 6052 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end) | |
| 6053 | newTheme("rbxassetid://1102271169",0,1,1)
| |
| 6054 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 6055 | for i, v in pairs(mw2:GetChildren()) do | |
| 6056 | if v:IsA("Part") then
| |
| 6057 | v.BrickColor = MAINRUINCOLOR | |
| 6058 | v.Material = "Neon" | |
| 6059 | end | |
| 6060 | end | |
| 6061 | for i, v in pairs(mw1:GetChildren()) do | |
| 6062 | if v:IsA("Part") then
| |
| 6063 | v.Transparency = 0 | |
| 6064 | v.BrickColor = MAINRUINCOLOR | |
| 6065 | v.Material = "Neon" | |
| 6066 | end | |
| 6067 | end | |
| 6068 | for i, v in pairs(m:GetChildren()) do | |
| 6069 | if v:IsA("Part") then
| |
| 6070 | v.BrickColor = BrickColor.new("White")
| |
| 6071 | v.Material = "Ice" | |
| 6072 | end | |
| 6073 | end | |
| 6074 | for i, v in pairs(m2:GetChildren()) do | |
| 6075 | if v:IsA("Part") then
| |
| 6076 | v.BrickColor = BrickColor.new("White")
| |
| 6077 | v.Material = "Ice" | |
| 6078 | end | |
| 6079 | end | |
| 6080 | for i, v in pairs(m3:GetChildren()) do | |
| 6081 | if v:IsA("Part") then
| |
| 6082 | v.BrickColor = BrickColor.new("White")
| |
| 6083 | v.Material = "Neon" | |
| 6084 | end | |
| 6085 | end | |
| 6086 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6087 | if v:IsA("Part") then
| |
| 6088 | v.Transparency = 1 | |
| 6089 | v.BrickColor = BrickColor.new("White")
| |
| 6090 | v.Material = "Neon" | |
| 6091 | end | |
| 6092 | end | |
| 6093 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6094 | if v:IsA("Part") then
| |
| 6095 | v.Transparency = 1 | |
| 6096 | v.BrickColor = BrickColor.new("White")
| |
| 6097 | v.Material = "Neon" | |
| 6098 | end | |
| 6099 | end | |
| 6100 | elseif k == "y" and attack == false and ModeOfGlitch == 6 then | |
| 6101 | resetmode() | |
| 6102 | end | |
| 6103 | if k == "u" and attack == false then | |
| 6104 | ||
| 6105 | storehumanoidWS = 50 | |
| 6106 | hum.WalkSpeed = 50 | |
| 6107 | rainbowmode = true | |
| 6108 | chaosmode = false | |
| 6109 | glitchymode = false | |
| 6110 | tl1.Enabled = true | |
| 6111 | tl2.Enabled = true | |
| 6112 | tl3.Enabled = true | |
| 6113 | ||
| 6114 | if(ModeOfGlitch == 6127843)then | |
| 6115 | vaporwave = not vaporwave | |
| 6116 | end | |
| 6117 | ||
| 6118 | if(not vaporwave)then | |
| 6119 | RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
| |
| 6120 | newTheme("rbxassetid://147930134",0,1,1)
| |
| 6121 | else | |
| 6122 | RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1))
| |
| 6123 | newTheme("rbxassetid://1308711379",0,1,1)
| |
| 6124 | end | |
| 6125 | ||
| 6126 | ||
| 6127 | ModeOfGlitch = 6127843 | |
| 6128 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 6129 | for i, v in pairs(mw2:GetChildren()) do | |
| 6130 | if v:IsA("Part") then
| |
| 6131 | v.BrickColor = MAINRUINCOLOR | |
| 6132 | v.Material = "Neon" | |
| 6133 | end | |
| 6134 | end | |
| 6135 | for i, v in pairs(mw1:GetChildren()) do | |
| 6136 | if v:IsA("Part") then
| |
| 6137 | v.Transparency = 0 | |
| 6138 | v.BrickColor = MAINRUINCOLOR | |
| 6139 | v.Material = "Neon" | |
| 6140 | end | |
| 6141 | end | |
| 6142 | for i, v in pairs(m:GetChildren()) do | |
| 6143 | if v:IsA("Part") then
| |
| 6144 | v.BrickColor = BrickColor.new("White")
| |
| 6145 | v.Material = "Neon" | |
| 6146 | end | |
| 6147 | end | |
| 6148 | for i, v in pairs(m2:GetChildren()) do | |
| 6149 | if v:IsA("Part") then
| |
| 6150 | v.BrickColor = BrickColor.new("White")
| |
| 6151 | v.Material = "Neon" | |
| 6152 | end | |
| 6153 | end | |
| 6154 | for i, v in pairs(m3:GetChildren()) do | |
| 6155 | if v:IsA("Part") then
| |
| 6156 | v.BrickColor = BrickColor.new("White")
| |
| 6157 | v.Material = "Neon" | |
| 6158 | end | |
| 6159 | end | |
| 6160 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6161 | if v:IsA("Part") then
| |
| 6162 | v.Transparency = 1 | |
| 6163 | v.BrickColor = BrickColor.new("White")
| |
| 6164 | v.Material = "Neon" | |
| 6165 | end | |
| 6166 | end | |
| 6167 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6168 | if v:IsA("Part") then
| |
| 6169 | v.Transparency = 1 | |
| 6170 | v.BrickColor = BrickColor.new("White")
| |
| 6171 | v.Material = "Neon" | |
| 6172 | end | |
| 6173 | end | |
| 6174 | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then | |
| 6175 | resetmode() | |
| 6176 | end | |
| 6177 | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then | |
| 6178 | ModeOfGlitch = 1000000 | |
| 6179 | storehumanoidWS = 100 | |
| 6180 | hum.WalkSpeed = 100 | |
| 6181 | rainbowmode = false | |
| 6182 | chaosmode = false | |
| 6183 | glitchymode = false | |
| 6184 | tl1.Enabled = true | |
| 6185 | tl2.Enabled = true | |
| 6186 | tl3.Enabled = true | |
| 6187 | RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
| |
| 6188 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end) | |
| 6189 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end) | |
| 6190 | newTheme("rbxassetid://1359036559",0,1,1)
| |
| 6191 | MAINRUINCOLOR = BrickColor.new("Bright violet")
| |
| 6192 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6193 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6194 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6195 | for i, v in pairs(mw2:GetChildren()) do | |
| 6196 | if v:IsA("Part") then
| |
| 6197 | v.BrickColor = MAINRUINCOLOR | |
| 6198 | v.Material = "Neon" | |
| 6199 | end | |
| 6200 | end | |
| 6201 | for i, v in pairs(mw1:GetChildren()) do | |
| 6202 | if v:IsA("Part") then
| |
| 6203 | v.Transparency = 0 | |
| 6204 | v.BrickColor = MAINRUINCOLOR | |
| 6205 | v.Material = "Neon" | |
| 6206 | end | |
| 6207 | end | |
| 6208 | for i, v in pairs(m:GetChildren()) do | |
| 6209 | if v:IsA("Part") then
| |
| 6210 | v.Color = Color3.new(0.5,0,1) | |
| 6211 | v.Material = "Neon" | |
| 6212 | end | |
| 6213 | end | |
| 6214 | for i, v in pairs(m2:GetChildren()) do | |
| 6215 | if v:IsA("Part") then
| |
| 6216 | v.Color = Color3.new(0.25,0,1) | |
| 6217 | v.Material = "Neon" | |
| 6218 | end | |
| 6219 | end | |
| 6220 | for i, v in pairs(m3:GetChildren()) do | |
| 6221 | if v:IsA("Part") then
| |
| 6222 | v.Color = Color3.new(0.45,0,1) | |
| 6223 | v.Material = "Neon" | |
| 6224 | end | |
| 6225 | end | |
| 6226 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6227 | if v:IsA("Part") then
| |
| 6228 | v.Transparency = 0.75 | |
| 6229 | v.Color = Color3.new(0.25,0,1) | |
| 6230 | v.Material = "Neon" | |
| 6231 | end | |
| 6232 | end | |
| 6233 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6234 | if v:IsA("Part") then
| |
| 6235 | v.Transparency = 0.75 | |
| 6236 | v.Color = Color3.new(0.5,0,1) | |
| 6237 | v.Material = "Neon" | |
| 6238 | end | |
| 6239 | end | |
| 6240 | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then | |
| 6241 | resetmode() | |
| 6242 | end | |
| 6243 | if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then | |
| 6244 | newThemeCust("rbxassetid://1504604335",0,1,1)
| |
| 6245 | attack = true | |
| 6246 | hum.WalkSpeed = 0 | |
| 6247 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 6248 | for i = 0, 24, 0.1 do | |
| 6249 | swait() | |
| 6250 | 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) | |
| 6251 | 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) | |
| 6252 | 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) | |
| 6253 | 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) | |
| 6254 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
| 6255 | 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) | |
| 6256 | 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) | |
| 6257 | end | |
| 6258 | CameraEnshaking(1,1) | |
| 6259 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6260 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
| |
| 6261 | wait(0.55) | |
| 6262 | CameraEnshaking(1,2) | |
| 6263 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6264 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6265 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6266 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
| |
| 6267 | wait(0.55) | |
| 6268 | CameraEnshaking(1,3) | |
| 6269 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
| 6270 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6271 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
| 6272 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
| 6273 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
| 6274 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
| |
| 6275 | wait(0.55) | |
| 6276 | CameraEnshaking(10,5) | |
| 6277 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
| |
| 6278 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
| |
| 6279 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
| |
| 6280 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 6281 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
| |
| 6282 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
| 6283 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
| 6284 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
| 6285 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
| 6286 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
| 6287 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
| 6288 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
| 6289 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
| 6290 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
| 6291 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
| 6292 | for i = 0, 49 do | |
| 6293 | 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) | |
| 6294 | 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) | |
| 6295 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
| 6296 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
| 6297 | end | |
| 6298 | ModeOfGlitch = 12345678987654321 | |
| 6299 | storehumanoidWS = 200 | |
| 6300 | hum.WalkSpeed = 200 | |
| 6301 | rainbowmode = false | |
| 6302 | chaosmode = false | |
| 6303 | glitchymode = false | |
| 6304 | tl1.Enabled = true | |
| 6305 | tl2.Enabled = true | |
| 6306 | tl3.Enabled = true | |
| 6307 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end) | |
| 6308 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end) | |
| 6309 | RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
| |
| 6310 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6311 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6312 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6313 | for i, v in pairs(mw2:GetChildren()) do | |
| 6314 | if v:IsA("Part") then
| |
| 6315 | v.BrickColor = MAINRUINCOLOR | |
| 6316 | v.Material = "Neon" | |
| 6317 | end | |
| 6318 | end | |
| 6319 | for i, v in pairs(mw1:GetChildren()) do | |
| 6320 | if v:IsA("Part") then
| |
| 6321 | v.Transparency = 0 | |
| 6322 | v.BrickColor = MAINRUINCOLOR | |
| 6323 | v.Material = "Neon" | |
| 6324 | end | |
| 6325 | end | |
| 6326 | for i, v in pairs(m:GetChildren()) do | |
| 6327 | if v:IsA("Part") then
| |
| 6328 | v.Color = Color3.new(0.5,0,1) | |
| 6329 | v.Material = "Neon" | |
| 6330 | end | |
| 6331 | end | |
| 6332 | for i, v in pairs(m2:GetChildren()) do | |
| 6333 | if v:IsA("Part") then
| |
| 6334 | v.Color = Color3.new(0.5,0,1) | |
| 6335 | v.Material = "Neon" | |
| 6336 | end | |
| 6337 | end | |
| 6338 | for i, v in pairs(m3:GetChildren()) do | |
| 6339 | if v:IsA("Part") then
| |
| 6340 | v.Color = Color3.new(0.5,0,1) | |
| 6341 | v.Material = "Neon" | |
| 6342 | end | |
| 6343 | end | |
| 6344 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6345 | if v:IsA("Part") then
| |
| 6346 | v.Transparency = 0 | |
| 6347 | v.Color = Color3.new(0.5,0,1) | |
| 6348 | v.Material = "Neon" | |
| 6349 | end | |
| 6350 | end | |
| 6351 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 6352 | if v:IsA("Part") then
| |
| 6353 | v.Transparency = 0 | |
| 6354 | v.Color = Color3.new(0.5,0,1) | |
| 6355 | v.Material = "Neon" | |
| 6356 | end | |
| 6357 | attack = false | |
| 6358 | end | |
| 6359 | elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then | |
| 6360 | resetmode() | |
| 6361 | end | |
| 6362 | if k == "l" and toggleTag == false then | |
| 6363 | toggleTag = true | |
| 6364 | text.TextTransparency = 0 | |
| 6365 | text.TextStrokeTransparency = 0 | |
| 6366 | elseif k == "l" and toggleTag == true then | |
| 6367 | toggleTag = false | |
| 6368 | text.TextTransparency = 1 | |
| 6369 | text.TextStrokeTransparency = 1 | |
| 6370 | end | |
| 6371 | if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then | |
| 6372 | ExtinctiveHeartbreak() | |
| 6373 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
| 6374 | PureBomb() | |
| 6375 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
| 6376 | scattercorrupt() | |
| 6377 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
| 6378 | Judgement() | |
| 6379 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
| 6380 | ChaosGroundStrike() | |
| 6381 | elseif k == "z" and attack == false and ModeOfGlitch == 666666 then | |
| 6382 | InsaneGroundStrike() | |
| 6383 | ||
| 6384 | elseif k == "z" and attack == false and ModeOfGlitch == 69 then | |
| 6385 | ChooseODer() | |
| 6386 | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then | |
| 6387 | Starfall() | |
| 6388 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
| 6389 | yinyangi() | |
| 6390 | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then | |
| 6391 | Wip() | |
| 6392 | elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then | |
| 6393 | StarfallEX() | |
| 6394 | end | |
| 6395 | if k == "x" and attack == false and ModeOfGlitch == 1000000 then | |
| 6396 | StarDivision() | |
| 6397 | elseif k == "x" and attack == false and ModeOfGlitch == 6 then | |
| 6398 | JusticeBeam() | |
| 6399 | end | |
| 6400 | if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then | |
| 6401 | UniversalCollapse() | |
| 6402 | end | |
| 6403 | if k == "b" and attack == false and ModeOfGlitch == 4 then | |
| 6404 | ||
| 6405 | end | |
| 6406 | if k == "n" and attack == false then | |
| 6407 | CorruptBlink() | |
| 6408 | end | |
| 6409 | if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then | |
| 6410 | FuckMeSidewaysAndCallMeGay() | |
| 6411 | end | |
| 6412 | end) | |
| 6413 | coroutine.resume(coroutine.create(function() | |
| 6414 | while true do | |
| 6415 | swait(2) | |
| 6416 | if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then | |
| 6417 | 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) | |
| 6418 | end | |
| 6419 | ||
| 6420 | end | |
| 6421 | end)) | |
| 6422 | ||
| 6423 | ||
| 6424 | coroutine.resume(coroutine.create(function() | |
| 6425 | while true do | |
| 6426 | if ModeOfGlitch == 1000000 then | |
| 6427 | swait(0.5) | |
| 6428 | end | |
| 6429 | swait() | |
| 6430 | if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then | |
| 6431 | 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) | |
| 6432 | end | |
| 6433 | if ModeOfGlitch == 12345678987654321 then | |
| 6434 | 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) | |
| 6435 | end | |
| 6436 | end | |
| 6437 | end)) | |
| 6438 | ||
| 6439 | ||
| 6440 | function RandomMaterial() | |
| 6441 | local getRandom; | |
| 6442 | local material; | |
| 6443 | local function IsTerrainMaterial(mat) | |
| 6444 | local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end) | |
| 6445 | return isMaterial | |
| 6446 | end | |
| 6447 | getRandom = function() | |
| 6448 | local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] | |
| 6449 | if(not IsTerrainMaterial(mat))then material = mat else getRandom() end | |
| 6450 | end | |
| 6451 | getRandom() | |
| 6452 | repeat wait() until material | |
| 6453 | return material | |
| 6454 | end | |
| 6455 | function RandomCaps(str) | |
| 6456 | local new = "" | |
| 6457 | for i = 1, #str do | |
| 6458 | if(math.random(1,2) == 1)then | |
| 6459 | new = new .. (str:sub(i,i):upper()) | |
| 6460 | else | |
| 6461 | new = new .. str:sub(i,i) | |
| 6462 | end | |
| 6463 | end | |
| 6464 | return new | |
| 6465 | end | |
| 6466 | ||
| 6467 | coroutine.resume(coroutine.create(function() | |
| 6468 | while true do | |
| 6469 | for i = 1, #ODers do | |
| 6470 | local ODer = ODers[i] | |
| 6471 | if(ODer)then | |
| 6472 | local hed = ODer:FindFirstChild'Head' | |
| 6473 | if(ODer.Parent and hed)then | |
| 6474 | sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true) | |
| 6475 | else | |
| 6476 | table.remove(ODers,i) | |
| 6477 | end | |
| 6478 | else | |
| 6479 | table.remove(ODers,i) | |
| 6480 | end | |
| 6481 | end | |
| 6482 | if(not kan)then | |
| 6483 | kan = Instance.new("Sound",char)
| |
| 6484 | end | |
| 6485 | kan.Parent = char | |
| 6486 | if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end | |
| 6487 | kan.Pitch = Pitch | |
| 6488 | kan.SoundId = MID | |
| 6489 | kan.Name = "wrecked" | |
| 6490 | kan.Looped = true | |
| 6491 | kan:Resume() | |
| 6492 | swait() | |
| 6493 | if glitchymode == true then | |
| 6494 | local val = math.random(1,255) | |
| 6495 | local color = Color3.fromRGB(val,val,val) | |
| 6496 | pcall(function() Character.ReaperShadowHead.Eye1.Color = color end) | |
| 6497 | pcall(function() Character.ReaperShadowHead.Eye2.Color = color end) | |
| 6498 | tl1.Color = ColorSequence.new(color) | |
| 6499 | tl2.Color = ColorSequence.new(color) | |
| 6500 | tl3.Color = ColorSequence.new(color) | |
| 6501 | tr1.Color = ColorSequence.new(color) | |
| 6502 | tr2.Color = ColorSequence.new(color) | |
| 6503 | tr3.Color = ColorSequence.new(color) | |
| 6504 | for i, v in pairs(mw1:GetChildren()) do | |
| 6505 | if v:IsA("Part") then
| |
| 6506 | v.Transparency = 0 | |
| 6507 | v.Color = color | |
| 6508 | v.Material = "Neon" | |
| 6509 | end | |
| 6510 | end | |
| 6511 | for i, v in pairs(mw2:GetChildren()) do | |
| 6512 | if v:IsA("Part") then
| |
| 6513 | v.Color = color | |
| 6514 | v.Material = "Neon" | |
| 6515 | end | |
| 6516 | end | |
| 6517 | for i, v in pairs(m2:GetChildren()) do | |
| 6518 | if v:IsA("Part") then
| |
| 6519 | v.Color = color | |
| 6520 | v.Material = "Neon" | |
| 6521 | end | |
| 6522 | end | |
| 6523 | RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color) | |
| 6524 | end | |
| 6525 | if chaosmode or glitchymode then | |
| 6526 | pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end) | |
| 6527 | pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end) | |
| 6528 | else | |
| 6529 | pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end) | |
| 6530 | pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end) | |
| 6531 | end | |
| 6532 | if chaosmode == true then | |
| 6533 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6534 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6535 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
| 6536 | RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color) | |
| 6537 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end) | |
| 6538 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end) | |
| 6539 | for i, v in pairs(mw1:GetChildren()) do | |
| 6540 | if v:IsA("Part") then
| |
| 6541 | v.Transparency = 0.75 | |
| 6542 | v.BrickColor = BrickColor.random() | |
| 6543 | v.Material = "Neon" | |
| 6544 | end | |
| 6545 | end | |
| 6546 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 6547 | if v:IsA("Part") and ModeOfGlitch == 666666 then
| |
| 6548 | v.Transparency = 0.75 | |
| 6549 | v.BrickColor = BrickColor.random() | |
| 6550 | v.Material = "Neon" | |
| 6551 | elseif v:IsA("Part") then
| |
| 6552 | v.Transparency = 1 | |
| 6553 | end | |
| 6554 | end | |
| 6555 | for i, v in pairs(m2:GetChildren()) do | |
| 6556 | if v:IsA("Part") then
| |
| 6557 | v.BrickColor = BrickColor.random() | |
| 6558 | v.Material = "Neon" | |
| 6559 | end | |
| 6560 | end | |
| 6561 | end | |
| 6562 | end | |
| 6563 | end)) | |
| 6564 | Humanoid.Name = "STARGLITCHER" | |
| 6565 | Humanoid.MaxHealth = math.huge | |
| 6566 | Humanoid.Health = math.huge | |
| 6567 | Instance.new("ForceField",char).Visible = false
| |
| 6568 | Humanoid.Animator.Parent = nil | |
| 6569 | idleanim=.4 | |
| 6570 | while true do | |
| 6571 | if rainbowmode == false and chaosmode == false and glitchymode == false then | |
| 6572 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6573 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6574 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6575 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6576 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6577 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 6578 | end | |
| 6579 | if rainbowmode == true then | |
| 6580 | pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end) | |
| 6581 | pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end) | |
| 6582 | if(not vaporwave)then | |
| 6583 | RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
| |
| 6584 | else | |
| 6585 | RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
| |
| 6586 | end | |
| 6587 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 6588 | tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 6589 | tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 6590 | tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 6591 | tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 6592 | tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 6593 | tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
| 6594 | for i, v in pairs(m:GetChildren()) do | |
| 6595 | if v:IsA("Part") then
| |
| 6596 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 6597 | end | |
| 6598 | end | |
| 6599 | for i, v in pairs(m2:GetChildren()) do | |
| 6600 | if v:IsA("Part") then
| |
| 6601 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 6602 | end | |
| 6603 | end | |
| 6604 | for i, v in pairs(m3:GetChildren()) do | |
| 6605 | if v:IsA("Part") then
| |
| 6606 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 6607 | end | |
| 6608 | end | |
| 6609 | for i, v in pairs(mw1:GetChildren()) do | |
| 6610 | if v:IsA("Part") then
| |
| 6611 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 6612 | v.Material = "Neon" | |
| 6613 | end | |
| 6614 | end | |
| 6615 | for i, v in pairs(mw2:GetChildren()) do | |
| 6616 | if v:IsA("Part") then
| |
| 6617 | v.Color = Color3.new(r/255,g/255,b/255) | |
| 6618 | v.Material = "Neon" | |
| 6619 | end | |
| 6620 | end | |
| 6621 | end | |
| 6622 | CameraManager() | |
| 6623 | swait() | |
| 6624 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
| 6625 | lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3) | |
| 6626 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
| 6627 | lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
| 6628 | lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
| 6629 | lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
| 6630 | ||
| 6631 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
| 6632 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
| 6633 | 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) | |
| 6634 | 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) | |
| 6635 | rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
| 6636 | rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
| 6637 | sine = sine + change | |
| 6638 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 6639 | local velderp=RootPart.Velocity.y | |
| 6640 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 6641 | if equipped==true or equipped==false then | |
| 6642 | if attack==false then | |
| 6643 | idle=idle+1 | |
| 6644 | else | |
| 6645 | idle=0 | |
| 6646 | end | |
| 6647 | if idle>=500 then | |
| 6648 | if attack==false then | |
| 6649 | --Sheath() | |
| 6650 | end | |
| 6651 | end | |
| 6652 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 6653 | Anim="Jump" | |
| 6654 | if attack==false then | |
| 6655 | 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) | |
| 6656 | 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) | |
| 6657 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
| 6658 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
| 6659 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1) | |
| 6660 | 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) | |
| 6661 | end | |
| 6662 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 6663 | Anim="Fall" | |
| 6664 | if attack==false then | |
| 6665 | 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) | |
| 6666 | 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) | |
| 6667 | 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) | |
| 6668 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
| 6669 | 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) | |
| 6670 | 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) | |
| 6671 | end | |
| 6672 | elseif torvel<1 and hitfloor~=nil then | |
| 6673 | Anim="Idle" | |
| 6674 | if attack==false then | |
| 6675 | if ModeOfGlitch == 1 then | |
| 6676 | 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) | |
| 6677 | 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) | |
| 6678 | 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) | |
| 6679 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1) | |
| 6680 | 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) | |
| 6681 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
| 6682 | ||
| 6683 | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then | |
| 6684 | 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) | |
| 6685 | 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) | |
| 6686 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 6687 | 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) | |
| 6688 | 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) | |
| 6689 | 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) | |
| 6690 | ||
| 6691 | elseif ModeOfGlitch == 3 then | |
| 6692 | 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) | |
| 6693 | 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) | |
| 6694 | 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) | |
| 6695 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1) | |
| 6696 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1) | |
| 6697 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1) | |
| 6698 | elseif ModeOfGlitch == 4 then | |
| 6699 | 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) | |
| 6700 | 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) | |
| 6701 | 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) | |
| 6702 | 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) | |
| 6703 | 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) | |
| 6704 | 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) | |
| 6705 | elseif ModeOfGlitch == 69 then | |
| 6706 | RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1) | |
| 6707 | Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1) | |
| 6708 | LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 6709 | RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
| 6710 | LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1) | |
| 6711 | RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1) | |
| 6712 | elseif ModeOfGlitch == 8376532578634534 then | |
| 6713 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
| 6714 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
| 6715 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
| 6716 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1) | |
| 6717 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
| 6718 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
| 6719 | ||
| 6720 | elseif ModeOfGlitch == 666666 then | |
| 6721 | 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) | |
| 6722 | 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) | |
| 6723 | 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) | |
| 6724 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6725 | RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6726 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6727 | ||
| 6728 | elseif ModeOfGlitch == 5 then | |
| 6729 | 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) | |
| 6730 | 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) | |
| 6731 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
| 6732 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
| 6733 | 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) | |
| 6734 | 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) | |
| 6735 | ||
| 6736 | elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then | |
| 6737 | 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) | |
| 6738 | 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) | |
| 6739 | 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) | |
| 6740 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
| 6741 | 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) | |
| 6742 | 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) | |
| 6743 | ||
| 6744 | elseif ModeOfGlitch == 12345678987654321 then | |
| 6745 | 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) | |
| 6746 | 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) | |
| 6747 | 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) | |
| 6748 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1) | |
| 6749 | 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) | |
| 6750 | 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) | |
| 6751 | end | |
| 6752 | end | |
| 6753 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 6754 | Anim="Walk" | |
| 6755 | if attack==false then | |
| 6756 | if ModeOfGlitch == 1 then | |
| 6757 | RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1) | |
| 6758 | LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
| 6759 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1) | |
| 6760 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6761 | 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) | |
| 6762 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
| 6763 | elseif ModeOfGlitch == 4 then | |
| 6764 | RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1) | |
| 6765 | LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
| 6766 | 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) | |
| 6767 | 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) | |
| 6768 | 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) | |
| 6769 | 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) | |
| 6770 | elseif ModeOfGlitch == 666666 then | |
| 6771 | RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1) | |
| 6772 | LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
| 6773 | 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) | |
| 6774 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6775 | RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6776 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6777 | ||
| 6778 | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then | |
| 6779 | RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1) | |
| 6780 | LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
| 6781 | 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) | |
| 6782 | 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) | |
| 6783 | 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) | |
| 6784 | 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) | |
| 6785 | end | |
| 6786 | end | |
| 6787 | elseif torvel>=22 and hitfloor~=nil then | |
| 6788 | Anim="Run" | |
| 6789 | if attack==false then | |
| 6790 | if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then | |
| 6791 | RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1) | |
| 6792 | LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1) | |
| 6793 | 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) | |
| 6794 | 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) | |
| 6795 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1) | |
| 6796 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1) | |
| 6797 | elseif ModeOfGlitch == 666666 then | |
| 6798 | 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) | |
| 6799 | 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) | |
| 6800 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1) | |
| 6801 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6802 | RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6803 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
| 6804 | ||
| 6805 | elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then | |
| 6806 | 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) | |
| 6807 | 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) | |
| 6808 | 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) | |
| 6809 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 6810 | 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) | |
| 6811 | 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) | |
| 6812 | end | |
| 6813 | end | |
| 6814 | end | |
| 6815 | end | |
| 6816 | end |