SHOW:
|
|
- or go back to the newest paste.
| 1 | warn'Edit By UndeniableInfinity, U_M9, and Pedrorb03.' | |
| 2 | warn'Please Support The Original Creator Of This Script.' | |
| 3 | warn'Also, Do not Leak Or U Fet' | |
| 4 | ----This Part Was Made By Pedrorb03.---- | |
| 5 | laser = nil | |
| 6 | laserRot = 0 | |
| 7 | pos2 = Vector3.new(0,0,0) | |
| 8 | counter = 0 | |
| 9 | function chargeLaser() | |
| 10 | local part = Instance.new("Part")
| |
| 11 | part.Name = "ChargingLaser" | |
| 12 | game:GetService("Debris"):AddItem(part,1)
| |
| 13 | part.Parent = game.Players.LocalPlayer.Character | |
| 14 | part.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 15 | part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 16 | part.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 17 | part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 18 | part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 19 | part.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 20 | part.Material = Enum.Material.Neon | |
| 21 | part.Anchored = true | |
| 22 | part.CanCollide = false | |
| 23 | part.Size = Vector3.new(0.5,0.5,0.5) | |
| 24 | local light = math.random(50,150) | |
| 25 | local rotx = math.random(-360,360) | |
| 26 | local roty = math.random(-360,360) | |
| 27 | local rotz = math.random(-360,360) | |
| 28 | part.Color = Color3.fromRGB(light,light,light) | |
| 29 | part.Transparency = 0.4 | |
| 30 | part.CFrame = game.Players.LocalPlayer.Character["Right Arm"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1.1,0))) *CFrame.Angles(math.rad(rotx),math.rad(roty),math.rad(rotz)) | |
| 31 | for i=0.4,1,0.1 do | |
| 32 | wait() | |
| 33 | part.Size = Vector3.new(0.5+i,0.5+i,0.5+i) | |
| 34 | part.Transparency = i | |
| 35 | part.CFrame = game.Players.LocalPlayer.Character["Right Arm"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1.1,0))) *CFrame.Angles(math.rad(rotx),math.rad(roty),math.rad(rotz)) | |
| 36 | end | |
| 37 | part:remove() | |
| 38 | end | |
| 39 | function chargeLaser2() | |
| 40 | local part = Instance.new("Part")
| |
| 41 | game:GetService("Debris"):AddItem(part,1)
| |
| 42 | part.Name = "ChargingLaser2" | |
| 43 | part.Parent = game.Players.LocalPlayer.Character | |
| 44 | part.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 45 | part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 46 | part.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 47 | part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 48 | part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 49 | part.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 50 | part.Material = Enum.Material.Neon | |
| 51 | part.Anchored = true | |
| 52 | part.CanCollide = false | |
| 53 | part.Size = Vector3.new(2,2,2) | |
| 54 | local light = math.random(50,150) | |
| 55 | local rotx = math.random(-360,360) | |
| 56 | local roty = math.random(-360,360) | |
| 57 | local rotz = math.random(-360,360) | |
| 58 | part.Color = Color3.fromRGB(light,light,light) | |
| 59 | part.Transparency = 0.4 | |
| 60 | part.CFrame = CFrame.new(pos2) *CFrame.Angles(math.rad(rotx),math.rad(roty),math.rad(rotz)) | |
| 61 | for i=0.4,1,0.1 do | |
| 62 | wait() | |
| 63 | part.Size = Vector3.new(2+i,2+i,2+i) | |
| 64 | part.Transparency = i | |
| 65 | part.CFrame = CFrame.new(pos2) *CFrame.Angles(math.rad(rotx),math.rad(roty),math.rad(rotz)) | |
| 66 | end | |
| 67 | part:remove() | |
| 68 | end | |
| 69 | ||
| 70 | ||
| 71 | ||
| 72 | ||
| 73 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 74 | counter = counter +1 | |
| 75 | if counter >= 3 then | |
| 76 | counter = 0 | |
| 77 | chargeLaser() | |
| 78 | if laser ~= nil then | |
| 79 | chargeLaser2(pos2) | |
| 80 | end | |
| 81 | end | |
| 82 | ||
| 83 | laserRot = laserRot+1 | |
| 84 | if laser ~= nil then | |
| 85 | local pos1 = game.Players.LocalPlayer.Character.ChargingLaser.Position | |
| 86 | pos2 = game.Players.LocalPlayer:GetMouse().Hit.p | |
| 87 | ||
| 88 | laser.Size = Vector3.new(0.75,0.75,(pos1-pos2).magnitude) | |
| 89 | laser.CFrame = CFrame.new((pos1+pos2)/2,pos1)*CFrame.Angles(0,0,math.rad(laserRot)) | |
| 90 | ||
| 91 | local ray = Ray.new(pos1,(pos2-pos1).unit*600) | |
| 92 | local hit,position,normal = game.Workspace:FindPartOnRay(ray,game.Players.LocalPlayer.Character) | |
| 93 | if hit then | |
| 94 | ||
| 95 | ||
| 96 | hit.Name = "nil" | |
| 97 | hit.Material = Enum.Material.Concrete | |
| 98 | ||
| 99 | local c= hit.Color.r+hit.Color.g+hit.Color.b | |
| 100 | ||
| 101 | c = c*255 | |
| 102 | c = c/3 | |
| 103 | hit.Color = Color3.fromRGB(c,c,c) | |
| 104 | ||
| 105 | ||
| 106 | for _,child in pairs(hit:GetChildren()) do | |
| 107 | if child:IsA("BasePart") then
| |
| 108 | ||
| 109 | ||
| 110 | child.Name = "nil" | |
| 111 | child.Material = Enum.Material.Concrete | |
| 112 | local c= child.Color.r+child.Color.g+child.Color.b | |
| 113 | ||
| 114 | c = c*255 | |
| 115 | c = c/3 | |
| 116 | child.Color = Color3.fromRGB(c,c,c) | |
| 117 | ||
| 118 | end | |
| 119 | if not child:IsA("BasePart") then
| |
| 120 | child:remove() | |
| 121 | end | |
| 122 | end | |
| 123 | end | |
| 124 | end | |
| 125 | end) | |
| 126 | game:GetService("UserInputService").InputBegan:connect(function(key)
| |
| 127 | if key.KeyCode == Enum.KeyCode.F then | |
| 128 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0*CFrame.Angles(0,0,math.rad(90)) | |
| 129 | laser = Instance.new("Part")
| |
| 130 | laser.Name = "Laser" | |
| 131 | laser.Transparency = 0.25 | |
| 132 | laser.Parent = game.Players.LocalPlayer.Character | |
| 133 | laser.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 134 | laser.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 135 | laser.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 136 | laser.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 137 | laser.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 138 | laser.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 139 | laser.Material = Enum.Material.Neon | |
| 140 | laser.Anchored = true | |
| 141 | laser.CanCollide = false | |
| 142 | laser.Size = Vector3.new(0.75,0.75,0.75) | |
| 143 | laser.Color = Color3.fromRGB(100,100,100) | |
| 144 | ||
| 145 | end | |
| 146 | end) | |
| 147 | game:GetService("UserInputService").InputEnded:connect(function(key)
| |
| 148 | if key.KeyCode == Enum.KeyCode.F then | |
| 149 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0*CFrame.Angles(0,0,math.rad(-90)) | |
| 150 | laser:remove() | |
| 151 | laser = nil | |
| 152 | end | |
| 153 | end) | |
| 154 | --end of Pedrorb03's Part-- | |
| 155 | ||
| 156 | ----Start Of UndeniableInfinity And U_M9's Part---- | |
| 157 | m = game.Players.LocalPlayer | |
| 158 | char = m.Character | |
| 159 | char.Humanoid.Health = math.huge | |
| 160 | char.Humanoid.Health = math.huge | |
| 161 | char.Humanoid.Health = math.huge | |
| 162 | char.Humanoid.Health = math.huge | |
| 163 | char.Humanoid.Health = math.huge | |
| 164 | ||
| 165 | local Chillmusic = Instance.new("Sound", char)
| |
| 166 | Chillmusic.Volume = 0.5 | |
| 167 | Chillmusic.SoundId = "rbxassetid://438179679" | |
| 168 | Chillmusic.Looped = true | |
| 169 | Chillmusic:Play() | |
| 170 | ||
| 171 | for i,v in next, char:GetChildren() do | |
| 172 | if (v.className == "Accessory") then | |
| 173 | v:Destroy() | |
| 174 | end | |
| 175 | end | |
| 176 | ||
| 177 | NS([[ | |
| 178 | local function GiveHat(id) | |
| 179 | coroutine.resume(coroutine.create(function() | |
| 180 | local obj = game:service("InsertService"):LoadAsset(tonumber(id))
| |
| 181 | for a,hat in pairs(obj:children()) do if hat:IsA("Hat") or hat:IsA("Accessory") then hat.Parent = owner.Character end end
| |
| 182 | obj:Destroy() | |
| 183 | end)) | |
| 184 | end | |
| 185 | ||
| 186 | GiveHat(1031429) | |
| 187 | GiveHat(335079187) | |
| 188 | GiveHat(331486478) | |
| 189 | GiveHat(138932314) | |
| 190 | GiveHat(193659065) | |
| 191 | GiveHat(416828455) | |
| 192 | GiveHat(106709262) | |
| 193 | ]],char) | |
| 194 | ----end of U_M9's part---- | |
| 195 | ||
| 196 | local txt = Instance.new("BillboardGui", char)
| |
| 197 | txt.Adornee = char.Head | |
| 198 | txt.Name = "_status" | |
| 199 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 200 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 201 | local text = Instance.new("TextLabel", txt)
| |
| 202 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 203 | text.FontSize = "Size24" | |
| 204 | text.TextScaled = true | |
| 205 | text.TextTransparency = 0 | |
| 206 | text.BackgroundTransparency = 1 | |
| 207 | text.TextTransparency = 0 | |
| 208 | text.TextStrokeTransparency = 0 | |
| 209 | text.Font = "Bodoni" | |
| 210 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 211 | v = Instance.new("Part")
| |
| 212 | v.Name = "ColorBrick" | |
| 213 | v.Parent = m.Character | |
| 214 | v.FormFactor = "Symmetric" | |
| 215 | v.Anchored = true | |
| 216 | v.CanCollide = false | |
| 217 | v.BottomSurface = "Smooth" | |
| 218 | v.TopSurface = "Smooth" | |
| 219 | v.Size = Vector3.new(10, 5, 3) | |
| 220 | v.Transparency = 1 | |
| 221 | v.CFrame = char.Torso.CFrame | |
| 222 | v.BrickColor = BrickColor.new("Really black")
| |
| 223 | v.Transparency = 1 | |
| 224 | spawn(function() | |
| 225 | local TweenService = game:GetService("TweenService")
| |
| 226 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 227 | local Int = 0 | |
| 228 | while wait(0.5) do | |
| 229 | if Int == #Colours then Int = 0 end | |
| 230 | Int = Int+1 | |
| 231 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
| |
| 232 | end | |
| 233 | end) | |
| 234 | v.Shape = "Block" | |
| 235 | text.Text = "♢Chill God♢" | |
| 236 | Player = game:GetService("Players").LocalPlayer
| |
| 237 | Character = Player.Character | |
| 238 | PlayerGui = Player.PlayerGui | |
| 239 | Backpack = Player.Backpack | |
| 240 | Torso = Character.Torso | |
| 241 | Head = Character.Head | |
| 242 | Humanoid = Character.Humanoid | |
| 243 | m = Instance.new("Model", Character)
| |
| 244 | LeftArm = Character["Left Arm"] | |
| 245 | LeftLeg = Character["Left Leg"] | |
| 246 | RightArm = Character["Right Arm"] | |
| 247 | RightLeg = Character["Right Leg"] | |
| 248 | LS = Torso["Left Shoulder"] | |
| 249 | LH = Torso["Left Hip"] | |
| 250 | RS = Torso["Right Shoulder"] | |
| 251 | RH = Torso["Right Hip"] | |
| 252 | Face = Head.face | |
| 253 | Neck = Torso.Neck | |
| 254 | it = Instance.new | |
| 255 | attacktype = 1 | |
| 256 | vt = Vector3.new | |
| 257 | cf = CFrame.new | |
| 258 | bc = BrickColor.new | |
| 259 | br = BrickColor.random | |
| 260 | it = Instance.new | |
| 261 | euler = CFrame.fromEulerAnglesXYZ | |
| 262 | angles = CFrame.Angles | |
| 263 | cloaked = false | |
| 264 | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 265 | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 266 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 267 | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 268 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 269 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 270 | RootPart = Character.HumanoidRootPart | |
| 271 | RootJoint = RootPart.RootJoint | |
| 272 | RootCF = euler(-1.57, 0, 3.14) | |
| 273 | attack = false | |
| 274 | attackdebounce = false | |
| 275 | equipped = false | |
| 276 | trispeed = 0.2 | |
| 277 | attackmode = "none" | |
| 278 | local idle = 0 | |
| 279 | local Anim = "Idle" | |
| 280 | Head.face.Texture = "rbxassetid://206844132" | |
| 281 | ||
| 282 | local Trail = Instance.new("Trail",char)
| |
| 283 | local attachment0 = Instance.new("Attachment",char["Right Arm"])
| |
| 284 | attachment0.Name = "TrailAttachment0" | |
| 285 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 286 | local attachment1 = Instance.new("Attachment",char["Right Arm"])
| |
| 287 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 288 | attachment1.Name = "TrailAttachment1" | |
| 289 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 290 | Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
| |
| 291 | Trail.Lifetime = 0.5 | |
| 292 | Trail.Attachment0 = attachment0 | |
| 293 | Trail.Attachment1 = attachment1 | |
| 294 | ||
| 295 | local Trail = Instance.new("Trail",char)
| |
| 296 | local attachment0 = Instance.new("Attachment",char["Left Arm"])
| |
| 297 | attachment0.Name = "TrailAttachment0" | |
| 298 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 299 | local attachment1 = Instance.new("Attachment",char["Left Arm"])
| |
| 300 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 301 | attachment1.Name = "TrailAttachment1" | |
| 302 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 303 | Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
| |
| 304 | Trail.Lifetime = 0.5 | |
| 305 | Trail.Attachment0 = attachment0 | |
| 306 | Trail.Attachment1 = attachment1 | |
| 307 | ||
| 308 | local Trail = Instance.new("Trail",char)
| |
| 309 | local attachment0 = Instance.new("Attachment",char["Right Leg"])
| |
| 310 | attachment0.Name = "TrailAttachment0" | |
| 311 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 312 | local attachment1 = Instance.new("Attachment",char["Right Leg"])
| |
| 313 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 314 | attachment1.Name = "TrailAttachment1" | |
| 315 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 316 | Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
| |
| 317 | Trail.Lifetime = 0.5 | |
| 318 | Trail.Attachment0 = attachment0 | |
| 319 | Trail.Attachment1 = attachment1 | |
| 320 | ||
| 321 | local Trail = Instance.new("Trail",char)
| |
| 322 | local attachment0 = Instance.new("Attachment",char["Left Leg"])
| |
| 323 | attachment0.Name = "TrailAttachment0" | |
| 324 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 325 | local attachment1 = Instance.new("Attachment",char["Left Leg"])
| |
| 326 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 327 | attachment1.Name = "TrailAttachment1" | |
| 328 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 329 | Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
| |
| 330 | Trail.Lifetime = 0.5 | |
| 331 | Trail.Attachment0 = attachment0 | |
| 332 | Trail.Attachment1 = attachment1 | |
| 333 | ||
| 334 | ||
| 335 | Humanoid.Animator.Parent = nil | |
| 336 | Character.Animate.Parent = nil | |
| 337 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 338 | if SinglePlayer then | |
| 339 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 340 | end | |
| 341 | local List = {}
| |
| 342 | for i, v in pairs(workspace:GetChildren()) do | |
| 343 | if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
| |
| 344 | table.insert(List, v) | |
| 345 | end | |
| 346 | end | |
| 347 | return List | |
| 348 | end | |
| 349 | function lerp(a, b, t) | |
| 350 | return a + (b - a) * t | |
| 351 | end | |
| 352 | function slerp(a, b, t) | |
| 353 | local dot = a:Dot(b) | |
| 354 | if dot > 0.99999 or dot < -0.99999 then | |
| 355 | return t <= 0.5 and a or b | |
| 356 | else | |
| 357 | local r = math.acos(dot) | |
| 358 | return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r) | |
| 359 | end | |
| 360 | end | |
| 361 | function matrixInterpolate(a, b, t) | |
| 362 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 363 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 364 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t) | |
| 365 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) | |
| 366 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) | |
| 367 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) | |
| 368 | local t = v1:Dot(v2) | |
| 369 | if not (t < 0) and t ~= 0 and not (t > 0) then | |
| 370 | return CFrame.new() | |
| 371 | end | |
| 372 | return CFrame.new(v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, v2.x, v2.y, v2.z, v3.x, v3.y, v3.z) | |
| 373 | end | |
| 374 | function genWeld(a, b) | |
| 375 | local w = Instance.new("Weld", a)
| |
| 376 | w.Part0 = a | |
| 377 | w.Part1 = b | |
| 378 | return w | |
| 379 | end | |
| 380 | function weld(a, b) | |
| 381 | local weld = Instance.new("Weld")
| |
| 382 | weld.Name = "W" | |
| 383 | weld.Part0 = a | |
| 384 | weld.Part1 = b | |
| 385 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 386 | weld.Parent = a | |
| 387 | return weld | |
| 388 | end | |
| 389 | function Lerp(c1, c2, al) | |
| 390 | local com1 = {
| |
| 391 | c1.X, | |
| 392 | c1.Y, | |
| 393 | c1.Z, | |
| 394 | c1:toEulerAnglesXYZ() | |
| 395 | } | |
| 396 | local com2 = {
| |
| 397 | c2.X, | |
| 398 | c2.Y, | |
| 399 | c2.Z, | |
| 400 | c2:toEulerAnglesXYZ() | |
| 401 | } | |
| 402 | for i, v in pairs(com1) do | |
| 403 | com1[i] = v + (com2[i] - v) * al | |
| 404 | end | |
| 405 | return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1))) | |
| 406 | end | |
| 407 | function clerp(a, b, t) | |
| 408 | local qa = {
| |
| 409 | QuaternionFromCFrame(a) | |
| 410 | } | |
| 411 | local qb = {
| |
| 412 | QuaternionFromCFrame(b) | |
| 413 | } | |
| 414 | local ax, ay, az = a.x, a.y, a.z | |
| 415 | local bx, by, bz = b.x, b.y, b.z | |
| 416 | local _t = 1 - t | |
| 417 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 418 | end | |
| 419 | function QuaternionFromCFrame(cf) | |
| 420 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 421 | local trace = m00 + m11 + m22 | |
| 422 | if trace > 0 then | |
| 423 | local s = math.sqrt(1 + trace) | |
| 424 | local recip = 0.5 / s | |
| 425 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 426 | else | |
| 427 | local i = 0 | |
| 428 | if m00 < m11 then | |
| 429 | i = 1 | |
| 430 | end | |
| 431 | if m22 > (i == 0 and m00 or m11) then | |
| 432 | i = 2 | |
| 433 | end | |
| 434 | if i == 0 then | |
| 435 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 436 | local recip = 0.5 / s | |
| 437 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 438 | elseif i == 1 then | |
| 439 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 440 | local recip = 0.5 / s | |
| 441 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 442 | elseif i == 2 then | |
| 443 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 444 | local recip = 0.5 / s | |
| 445 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 446 | end | |
| 447 | end | |
| 448 | end | |
| 449 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 450 | local xs, ys, zs = x + x, y + y, z + z | |
| 451 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 452 | local xx = x * xs | |
| 453 | local xy = x * ys | |
| 454 | local xz = x * zs | |
| 455 | local yy = y * ys | |
| 456 | local yz = y * zs | |
| 457 | local zz = z * zs | |
| 458 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 459 | end | |
| 460 | function QuaternionSlerp(a, b, t) | |
| 461 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 462 | local startInterp, finishInterp | |
| 463 | if cosTheta >= 1.0E-4 then | |
| 464 | if 1 - cosTheta > 1.0E-4 then | |
| 465 | local theta = math.acos(cosTheta) | |
| 466 | local invSinTheta = 1 / math.sin(theta) | |
| 467 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 468 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 469 | else | |
| 470 | startInterp = 1 - t | |
| 471 | finishInterp = t | |
| 472 | end | |
| 473 | elseif 1 + cosTheta > 1.0E-4 then | |
| 474 | local theta = math.acos(-cosTheta) | |
| 475 | local invSinTheta = 1 / math.sin(theta) | |
| 476 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 477 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 478 | else | |
| 479 | startInterp = t - 1 | |
| 480 | finishInterp = t | |
| 481 | end | |
| 482 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
| 483 | end | |
| 484 | function rayCast(Pos, Dir, Max, Ignore) | |
| 485 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 486 | end | |
| 487 | function part(formfactor, parent, reflectance, transparency, brickcolor, name, size) | |
| 488 | local fp = it("Part")
| |
| 489 | fp.formFactor = formfactor | |
| 490 | fp.Parent = parent | |
| 491 | fp.Reflectance = reflectance | |
| 492 | fp.Transparency = transparency | |
| 493 | fp.CanCollide = false | |
| 494 | fp.Locked = true | |
| 495 | fp.BrickColor = brickcolor | |
| 496 | fp.Name = name | |
| 497 | fp.Size = size | |
| 498 | fp.Position = Torso.Position | |
| 499 | fp.BottomSurface = "Smooth" | |
| 500 | fp.TopSurface = "Smooth" | |
| 501 | fp:BreakJoints() | |
| 502 | return fp | |
| 503 | end | |
| 504 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
| 505 | local mesh = it(Mesh) | |
| 506 | mesh.Parent = part | |
| 507 | if Mesh == "SpecialMesh" then | |
| 508 | mesh.MeshType = meshtype | |
| 509 | mesh.MeshId = meshid | |
| 510 | end | |
| 511 | mesh.Offset = offset | |
| 512 | mesh.Scale = scale | |
| 513 | return mesh | |
| 514 | end | |
| 515 | function weld(parent, part0, part1, c0) | |
| 516 | local weld = it("Weld")
| |
| 517 | weld.Parent = parent | |
| 518 | weld.Part0 = part0 | |
| 519 | weld.Part1 = part1 | |
| 520 | weld.C0 = c0 | |
| 521 | return weld | |
| 522 | end | |
| 523 | function rayCast(Pos, Dir, Max, Ignore) | |
| 524 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 525 | end | |
| 526 | RSH, LSH = nil, nil | |
| 527 | RW, LW = Instance.new("Weld"), Instance.new("Weld")
| |
| 528 | RW.Name = "Right Shoulder" | |
| 529 | LW.Name = "Left Shoulder" | |
| 530 | LH = Torso["Left Hip"] | |
| 531 | RH = Torso["Right Hip"] | |
| 532 | TorsoColor = Torso.BrickColor | |
| 533 | function NoOutline(Part) | |
| 534 | Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 535 | end | |
| 536 | player = Player | |
| 537 | ch = Character | |
| 538 | RSH = ch.Torso["Right Shoulder"] | |
| 539 | LSH = ch.Torso["Left Shoulder"] | |
| 540 | RSH.Parent = nil | |
| 541 | LSH.Parent = nil | |
| 542 | RW.Name = "Right Shoulder" | |
| 543 | RW.Part0 = ch.Torso | |
| 544 | RW.C0 = cf(1.5, 0.5, 0) | |
| 545 | RW.C1 = cf(0, 0.5, 0) | |
| 546 | RW.Part1 = ch["Right Arm"] | |
| 547 | RW.Parent = ch.Torso | |
| 548 | LW.Name = "Left Shoulder" | |
| 549 | LW.Part0 = ch.Torso | |
| 550 | LW.C0 = cf(-1.5, 0.5, 0) | |
| 551 | LW.C1 = cf(0, 0.5, 0) | |
| 552 | LW.Part1 = ch["Left Arm"] | |
| 553 | LW.Parent = ch.Torso | |
| 554 | function newWeld(wp0, wp1, wc0x, wc0y, wc0z) | |
| 555 | local wld = Instance.new("Weld", wp1)
| |
| 556 | wld.Part0 = wp0 | |
| 557 | wld.Part1 = wp1 | |
| 558 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 559 | end | |
| 560 | newWeld(RootPart, Torso, 0, -1, 0) | |
| 561 | Torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 562 | newWeld(Torso, LeftLeg, -0.5, -1, 0) | |
| 563 | LeftLeg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 564 | newWeld(Torso, RightLeg, 0.5, -1, 0) | |
| 565 | RightLeg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 566 | Player = game:GetService("Players").LocalPlayer
| |
| 567 | Character = Player.Character | |
| 568 | mouse = Player:GetMouse() | |
| 569 | m = Instance.new("Model", Character)
| |
| 570 | local weldBetween = function(a, b) | |
| 571 | local weldd = Instance.new("ManualWeld")
| |
| 572 | weldd.Part0 = a | |
| 573 | weldd.Part1 = b | |
| 574 | weldd.C0 = CFrame.new() | |
| 575 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 576 | weldd.Parent = a | |
| 577 | return weldd | |
| 578 | end | |
| 579 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 580 | ArtificialHB.Name = "Heartbeat" | |
| 581 | script:WaitForChild("Heartbeat")
| |
| 582 | frame = 0.016666666666666666 | |
| 583 | tf = 0 | |
| 584 | allowframeloss = false | |
| 585 | tossremainder = false | |
| 586 | lastframe = tick() | |
| 587 | script.Heartbeat:Fire() | |
| 588 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 589 | tf = tf + s | |
| 590 | if tf >= frame then | |
| 591 | if allowframeloss then | |
| 592 | script.Heartbeat:Fire() | |
| 593 | lastframe = tick() | |
| 594 | else | |
| 595 | for i = 1, math.floor(tf / frame) do | |
| 596 | script.Heartbeat:Fire() | |
| 597 | end | |
| 598 | lastframe = tick() | |
| 599 | end | |
| 600 | if tossremainder then | |
| 601 | tf = 0 | |
| 602 | else | |
| 603 | tf = tf - frame * math.floor(tf / frame) | |
| 604 | end | |
| 605 | end | |
| 606 | end) | |
| 607 | function swait(num) | |
| 608 | if num == 0 or num == nil then | |
| 609 | ArtificialHB.Event:wait() | |
| 610 | else | |
| 611 | for i = 0, num do | |
| 612 | ArtificialHB.Event:wait() | |
| 613 | end | |
| 614 | end | |
| 615 | end | |
| 616 | mouse.KeyDown:connect(function(key) | |
| 617 | if key == "c" then | |
| 618 | repeat | |
| 619 | swait() | |
| 620 | Chillmusic.Volume = Chillmusic.Volume - 0.05 | |
| 621 | until Chillmusic.Volume == 0 | |
| 622 | Chillmusic:Stop() | |
| 623 | swait() | |
| 624 | Chillmusic:Play() | |
| 625 | Chillmusic.Volume = 1 | |
| 626 | end | |
| 627 | end) | |
| 628 | mouse.KeyDown:connect(function(key) | |
| 629 | if key == "p" then | |
| 630 | text.Text = "Guys why not just chill?" | |
| 631 | wait(1) | |
| 632 | text.Text = "I Mean It's not that cold to make you Cold Hearted." | |
| 633 | wait(3) | |
| 634 | text.Text = "xD" | |
| 635 | wait(1) | |
| 636 | text.Text = "Heh, This is A Very Cold Script." | |
| 637 | wait(3) | |
| 638 | text.Text = "Your Skid Hands Won't Handle The Cold." | |
| 639 | wait(3) | |
| 640 | text.Text = "Niko... I Miss Her." | |
| 641 | wait(3) | |
| 642 | text.Text = "...You Know What? Ill Stay Chill." | |
| 643 | wait(3) | |
| 644 | text.Text = "♢Chill God♢" | |
| 645 | end | |
| 646 | end) | |
| 647 | mouse.KeyDown:connect(function(key) | |
| 648 | if key == "v" then | |
| 649 | repeat | |
| 650 | swait() | |
| 651 | Chillmusic.Volume = Chillmusic.Volume - 0.05 | |
| 652 | until Chillmusic.Volume == 0 | |
| 653 | Chillmusic:Stop() | |
| 654 | swait() | |
| 655 | Chillmusic:Play() | |
| 656 | Chillmusic.Volume = 1 | |
| 657 | end | |
| 658 | end) | |
| 659 | mouse.KeyDown:connect(function(key) | |
| 660 | if key == "b" then | |
| 661 | text.Text = "Ill Be Back, Bois." | |
| 662 | wait(1) | |
| 663 | text.Text = "Chill God Is Afk." | |
| 664 | end | |
| 665 | end) | |
| 666 | mouse.KeyDown:connect(function(key) | |
| 667 | if key == "n" then | |
| 668 | text.Text = "ZA WARUDO" | |
| 669 | wait(1) | |
| 670 | text.Text = "♢Chill God♢" | |
| 671 | end | |
| 672 | end) | |
| 673 | m = Instance.new("ForceField", Character)
| |
| 674 | m.Visible = false | |
| 675 | Character.Humanoid.WalkSpeed = 4 | |
| 676 | mouse.KeyDown:connect(function(key) | |
| 677 | if string.byte(key) == 48 then | |
| 678 | Swing = 2 | |
| 679 | Character.Humanoid.WalkSpeed = 40 | |
| 680 | end | |
| 681 | end) | |
| 682 | mouse.KeyUp:connect(function(key) | |
| 683 | if string.byte(key) == 48 then | |
| 684 | Swing = 1 | |
| 685 | Character.Humanoid.WalkSpeed = 4 | |
| 686 | end | |
| 687 | end) | |
| 688 | local sine = 0 | |
| 689 | local change = 1 | |
| 690 | local val = 0 | |
| 691 | spawn(function() | |
| 692 | while true do | |
| 693 | swait() | |
| 694 | sine = sine + change | |
| 695 | local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 696 | local velderp = RootPart.Velocity.y | |
| 697 | local hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 698 | if equipped == true or equipped == false then | |
| 699 | if attack == false then | |
| 700 | idle = idle + 1 | |
| 701 | Character.Humanoid.MaxHealth = math.huge | |
| 702 | Character.Humanoid.Health = math.huge | |
| 703 | else | |
| 704 | idle = 0 | |
| 705 | end | |
| 706 | if not (idle >= 500) or attack == false then | |
| 707 | end | |
| 708 | if torvel < 1 and hitfloor ~= nil then | |
| 709 | Anim = "Chill" | |
| 710 | if attack == false then | |
| 711 | Humanoid.CameraOffset = Vector3.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0) | |
| 712 | Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0) * CFrame.Angles(math.rad(90 + 15 * math.sin(sine / 60)), math.rad(0), math.rad(0)), 0.8) | |
| 713 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20 + 20 * math.cos(sine / 60)), math.rad(0 + 4 * math.sin(sine / 60)), math.rad(0)), 0.2) | |
| 714 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(0 + 20 * math.sin(sine / 60)), math.rad(0 + 55 * math.sin(sine / 60))), 0.3) | |
| 715 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(-20 - 20 * math.sin(sine / 60)), math.rad(0 - 55 * math.sin(sine / 60))), 0.3) | |
| 716 | LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.86 + 0.03 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 45 * math.cos(sine / 70)), math.rad(3), math.rad(-4)), 0.8) | |
| 717 | RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 35 * math.cos(sine / 65)), math.rad(-3), math.rad(4)), 0.8) | |
| 718 | end | |
| 719 | elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then | |
| 720 | Anim = "Walk" | |
| 721 | if attack == false then | |
| 722 | Humanoid.CameraOffset = Vector3.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0) | |
| 723 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.2) | |
| 724 | Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0) * CFrame.Angles(math.rad(-90 + 5 * math.cos(sine / 45)), math.rad(180 * math.cos(sine / 48.5)), math.rad(0)), 0.8) | |
| 725 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-4 + 2 * math.sin(sine / 48)), math.rad(0), math.rad(0)), 0.2) | |
| 726 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(90 - 20.5 * math.cos(sine / 45))), 0.3) | |
| 727 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(-90 + 20.5 * math.cos(sine / 45))), 0.3) | |
| 728 | LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1 - 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-4)), 0.8) | |
| 729 | RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(4)), 0.8) | |
| 730 | end | |
| 731 | elseif torvel >= 22 and hitfloor ~= nil then | |
| 732 | Anim = "Run" | |
| 733 | if attack == false then | |
| 734 | Humanoid.CameraOffset = Vector3.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0) | |
| 735 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 6 - 1.55 * math.cos(sine / 68.5), -0.2) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.2) | |
| 736 | Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0) * CFrame.Angles(math.rad(-40 + 20 * math.sin(sine / 68.5)), 0, 0), 0.8) | |
| 737 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-12 + 17 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.2) | |
| 738 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(40 - 20 * math.cos(sine / 68.5))), 0.2) | |
| 739 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(-40 + 20 * math.cos(sine / 68.5))), 0.2) | |
| 740 | LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.87, -0.25) * CFrame.Angles(math.rad(-45 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8) | |
| 741 | RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, -0.1) * CFrame.Angles(math.rad(-35 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8) | |
| 742 | end | |
| 743 | end | |
| 744 | end | |
| 745 | end | |
| 746 | end) | |
| 747 | ||
| 748 | ||
| 749 | ||
| 750 | -- Objects | |
| 751 | ||
| 752 | local Chill_Gui_Bro = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
| |
| 753 | local Header = Instance.new("Frame")
| |
| 754 | local BackGround = Instance.new("Frame")
| |
| 755 | local Chill_Gui_Label = Instance.new("TextLabel")
| |
| 756 | local Play_ID_Button = Instance.new("TextButton")
| |
| 757 | local ID_Box = Instance.new("TextBox")
| |
| 758 | local Set_Vol_Button = Instance.new("TextButton")
| |
| 759 | local Vol_Box = Instance.new("TextBox")
| |
| 760 | local Set_Tpos_Button = Instance.new("TextButton")
| |
| 761 | local Tpos_Box = Instance.new("TextBox")
| |
| 762 | local Set_Text_Button = Instance.new("TextButton")
| |
| 763 | local Tpos_Box_2 = Instance.new("TextBox")
| |
| 764 | local Toggle_Chat_Button = Instance.new("TextButton")
| |
| 765 | local Chat_Toggle_Label = Instance.new("TextLabel")
| |
| 766 | local Current_Song_Label = Instance.new("TextLabel")
| |
| 767 | ||
| 768 | -- Properties | |
| 769 | ||
| 770 | Chill_Gui_Bro.Name = "Chill_Gui_Bro" | |
| 771 | ||
| 772 | Header.Name = "Header" | |
| 773 | Header.Parent = Chill_Gui_Bro | |
| 774 | Header.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 775 | Header.BorderSizePixel = 0 | |
| 776 | Header.Draggable = true | |
| 777 | Header.Active = true | |
| 778 | Header.Selectable = true | |
| 779 | Header.Position = UDim2.new(0.469539374, 0, 0.147921771, 0) | |
| 780 | Header.Size = UDim2.new(0, 250, 0, 45) | |
| 781 | ||
| 782 | BackGround.Name = "BackGround" | |
| 783 | BackGround.Parent = Header | |
| 784 | BackGround.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078) | |
| 785 | BackGround.BorderSizePixel = 0 | |
| 786 | BackGround.Draggable = true | |
| 787 | BackGround.Position = UDim2.new(0, 0, 1, 0) | |
| 788 | BackGround.Size = UDim2.new(0, 250, 0, 299) | |
| 789 | ||
| 790 | Chill_Gui_Label.Name = "Chill_Gui_Label" | |
| 791 | Chill_Gui_Label.Parent = Header | |
| 792 | Chill_Gui_Label.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 793 | Chill_Gui_Label.BackgroundTransparency = 1 | |
| 794 | Chill_Gui_Label.BorderSizePixel = 0 | |
| 795 | Chill_Gui_Label.Draggable = true | |
| 796 | Chill_Gui_Label.Size = UDim2.new(0, 250, 0, 45) | |
| 797 | Chill_Gui_Label.Font = Enum.Font.Cartoon | |
| 798 | Chill_Gui_Label.Text = "~»Chill God Gui«~" | |
| 799 | Chill_Gui_Label.TextColor3 = Color3.new(1, 1, 1) | |
| 800 | Chill_Gui_Label.TextScaled = true | |
| 801 | Chill_Gui_Label.TextSize = 14 | |
| 802 | Chill_Gui_Label.TextWrapped = true | |
| 803 | ||
| 804 | Play_ID_Button.Name = "Play_ID_Button" | |
| 805 | Play_ID_Button.Parent = Header | |
| 806 | Play_ID_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 807 | Play_ID_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 808 | Play_ID_Button.BorderSizePixel = 0 | |
| 809 | Play_ID_Button.Position = UDim2.new(0.0520000011, 0, 1.22222221, 0) | |
| 810 | Play_ID_Button.Size = UDim2.new(0, 68, 0, 35) | |
| 811 | Play_ID_Button.Font = Enum.Font.Cartoon | |
| 812 | Play_ID_Button.Text = "Play ID" | |
| 813 | Play_ID_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 814 | Play_ID_Button.TextSize = 20 | |
| 815 | Play_ID_Button.TextWrapped = true | |
| 816 | ||
| 817 | ID_Box.Name = "ID_Box" | |
| 818 | ID_Box.Parent = Header | |
| 819 | ID_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 820 | ID_Box.BorderColor3 = Color3.new(0, 0, 0) | |
| 821 | ID_Box.BorderSizePixel = 0 | |
| 822 | ID_Box.Position = UDim2.new(0.356000006, 0, 1.22222221, 0) | |
| 823 | ID_Box.Size = UDim2.new(0, 140, 0, 35) | |
| 824 | ID_Box.Font = Enum.Font.Cartoon | |
| 825 | ID_Box.Text = "ID here" | |
| 826 | ID_Box.TextColor3 = Color3.new(1, 1, 1) | |
| 827 | ID_Box.TextSize = 35 | |
| 828 | ID_Box.TextWrapped = true | |
| 829 | ||
| 830 | Set_Vol_Button.Name = "Set_Vol_Button" | |
| 831 | Set_Vol_Button.Parent = Header | |
| 832 | Set_Vol_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 833 | Set_Vol_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 834 | Set_Vol_Button.BorderSizePixel = 0 | |
| 835 | Set_Vol_Button.Position = UDim2.new(0.0520000011, 0, 2.20000005, 0) | |
| 836 | Set_Vol_Button.Size = UDim2.new(0, 68, 0, 35) | |
| 837 | Set_Vol_Button.Font = Enum.Font.Cartoon | |
| 838 | Set_Vol_Button.Text = "Set Vol" | |
| 839 | Set_Vol_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 840 | Set_Vol_Button.TextSize = 20 | |
| 841 | Set_Vol_Button.TextWrapped = true | |
| 842 | ||
| 843 | Vol_Box.Name = "Vol_Box" | |
| 844 | Vol_Box.Parent = Header | |
| 845 | Vol_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 846 | Vol_Box.BorderColor3 = Color3.new(0, 0, 0) | |
| 847 | Vol_Box.BorderSizePixel = 0 | |
| 848 | Vol_Box.Position = UDim2.new(0.356000006, 0, 2.20000005, 0) | |
| 849 | Vol_Box.Size = UDim2.new(0, 140, 0, 35) | |
| 850 | Vol_Box.Font = Enum.Font.Cartoon | |
| 851 | Vol_Box.Text = "Volume" | |
| 852 | Vol_Box.TextColor3 = Color3.new(1, 1, 1) | |
| 853 | Vol_Box.TextSize = 35 | |
| 854 | Vol_Box.TextWrapped = true | |
| 855 | ||
| 856 | Set_Tpos_Button.Name = "Set_Tpos_Button" | |
| 857 | Set_Tpos_Button.Parent = Header | |
| 858 | Set_Tpos_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 859 | Set_Tpos_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 860 | Set_Tpos_Button.BorderSizePixel = 0 | |
| 861 | Set_Tpos_Button.Position = UDim2.new(0.0520000011, 0, 3.24444437, 0) | |
| 862 | Set_Tpos_Button.Size = UDim2.new(0, 68, 0, 35) | |
| 863 | Set_Tpos_Button.Font = Enum.Font.Cartoon | |
| 864 | Set_Tpos_Button.Text = "Set Tpos" | |
| 865 | Set_Tpos_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 866 | Set_Tpos_Button.TextSize = 18 | |
| 867 | Set_Tpos_Button.TextWrapped = true | |
| 868 | ||
| 869 | Tpos_Box.Name = "Tpos_Box" | |
| 870 | Tpos_Box.Parent = Header | |
| 871 | Tpos_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 872 | Tpos_Box.BorderColor3 = Color3.new(0, 0, 0) | |
| 873 | Tpos_Box.BorderSizePixel = 0 | |
| 874 | Tpos_Box.Position = UDim2.new(0.356000006, 0, 3.24444437, 0) | |
| 875 | Tpos_Box.Size = UDim2.new(0, 140, 0, 35) | |
| 876 | Tpos_Box.Font = Enum.Font.Cartoon | |
| 877 | Tpos_Box.Text = "Time Position" | |
| 878 | Tpos_Box.TextColor3 = Color3.new(1, 1, 1) | |
| 879 | Tpos_Box.TextSize = 20 | |
| 880 | Tpos_Box.TextWrapped = true | |
| 881 | ||
| 882 | Set_Text_Button.Name = "Set_Text_Button" | |
| 883 | Set_Text_Button.Parent = Header | |
| 884 | Set_Text_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 885 | Set_Text_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 886 | Set_Text_Button.BorderSizePixel = 0 | |
| 887 | Set_Text_Button.Position = UDim2.new(0.0600000024, 0, 4.22222233, 0) | |
| 888 | Set_Text_Button.Size = UDim2.new(0, 68, 0, 35) | |
| 889 | Set_Text_Button.Font = Enum.Font.Cartoon | |
| 890 | Set_Text_Button.Text = "Set Text" | |
| 891 | Set_Text_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 892 | Set_Text_Button.TextSize = 18 | |
| 893 | Set_Text_Button.TextWrapped = true | |
| 894 | ||
| 895 | Tpos_Box_2.Name = "Tpos_Box" | |
| 896 | Tpos_Box_2.Parent = Header | |
| 897 | Tpos_Box_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 898 | Tpos_Box_2.BorderColor3 = Color3.new(0, 0, 0) | |
| 899 | Tpos_Box_2.BorderSizePixel = 0 | |
| 900 | Tpos_Box_2.Position = UDim2.new(0.356000006, 0, 4.22222233, 0) | |
| 901 | Tpos_Box_2.Size = UDim2.new(0, 140, 0, 35) | |
| 902 | Tpos_Box_2.Font = Enum.Font.Cartoon | |
| 903 | Tpos_Box_2.Text = "Text" | |
| 904 | Tpos_Box_2.TextColor3 = Color3.new(1, 1, 1) | |
| 905 | Tpos_Box_2.TextSize = 20 | |
| 906 | Tpos_Box_2.TextWrapped = true | |
| 907 | ||
| 908 | Toggle_Chat_Button.Name = "Toggle_Chat_Button" | |
| 909 | Toggle_Chat_Button.Parent = Header | |
| 910 | Toggle_Chat_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647) | |
| 911 | Toggle_Chat_Button.BorderColor3 = Color3.new(0, 0, 0) | |
| 912 | Toggle_Chat_Button.BorderSizePixel = 0 | |
| 913 | Toggle_Chat_Button.Position = UDim2.new(0.0579999983, 0, 5.26666689, 0) | |
| 914 | Toggle_Chat_Button.Size = UDim2.new(0, 97, 0, 35) | |
| 915 | Toggle_Chat_Button.Font = Enum.Font.Cartoon | |
| 916 | Toggle_Chat_Button.Text = "Toggle Chat" | |
| 917 | Toggle_Chat_Button.TextColor3 = Color3.new(1, 1, 1) | |
| 918 | Toggle_Chat_Button.TextSize = 20 | |
| 919 | Toggle_Chat_Button.TextWrapped = true | |
| 920 | ||
| 921 | Chat_Toggle_Label.Name = "Chat_Toggle_Label" | |
| 922 | Chat_Toggle_Label.Parent = Header | |
| 923 | Chat_Toggle_Label.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 924 | Chat_Toggle_Label.BackgroundTransparency = 0.89999997615814 | |
| 925 | Chat_Toggle_Label.BorderColor3 = Color3.new(1, 1, 1) | |
| 926 | Chat_Toggle_Label.Position = UDim2.new(0.540000021, 0, 5.26666689, 0) | |
| 927 | Chat_Toggle_Label.Size = UDim2.new(0, 94, 0, 35) | |
| 928 | Chat_Toggle_Label.Font = Enum.Font.Cartoon | |
| 929 | Chat_Toggle_Label.Text = "~»False«~" | |
| 930 | Chat_Toggle_Label.TextColor3 = Color3.new(1, 1, 1) | |
| 931 | Chat_Toggle_Label.TextScaled = true | |
| 932 | Chat_Toggle_Label.TextSize = 14 | |
| 933 | Chat_Toggle_Label.TextWrapped = true | |
| 934 | ||
| 935 | Current_Song_Label.Name = "Current_Song_Label" | |
| 936 | Current_Song_Label.Parent = Header | |
| 937 | Current_Song_Label.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 938 | Current_Song_Label.BackgroundTransparency = 0.89999997615814 | |
| 939 | Current_Song_Label.BorderColor3 = Color3.new(1, 1, 1) | |
| 940 | Current_Song_Label.Position = UDim2.new(0.0520000011, 0, 6.64444447, 0) | |
| 941 | Current_Song_Label.Size = UDim2.new(0, 225, 0, 35) | |
| 942 | Current_Song_Label.Font = Enum.Font.Cartoon | |
| 943 | Current_Song_Label.Text = "~»Current Song: None«~" | |
| 944 | Current_Song_Label.TextColor3 = Color3.new(1, 1, 1) | |
| 945 | Current_Song_Label.TextScaled = true | |
| 946 | Current_Song_Label.TextSize = 14 | |
| 947 | Current_Song_Label.TextWrapped = true | |
| 948 | ||
| 949 | Play_ID_Button.MouseButton1Down:Connect(function() | |
| 950 | if tonumber(ID_Box.Text) then | |
| 951 | Chillmusic:Stop() | |
| 952 | Chillmusic.SoundId='rbxassetid://'..tonumber(ID_Box.Text) | |
| 953 | Chillmusic:Play() | |
| 954 | local currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(ID_Box.Text)).Name
| |
| 955 | text.Text = "♢Chill God♢ Now Playing: "..currentsong | |
| 956 | Current_Song_Label.Text = "~»Current Song: "..currentsong.."«~" | |
| 957 | wait(4) | |
| 958 | text.Text = "♢Chill God♢" | |
| 959 | end | |
| 960 | end) | |
| 961 | local ischatting = false | |
| 962 | ||
| 963 | Set_Vol_Button.MouseButton1Down:Connect(function() | |
| 964 | ||
| 965 | Chillmusic.Volume = tonumber(Vol_Box.Text) | |
| 966 | end) | |
| 967 | ||
| 968 | Set_Tpos_Button.MouseButton1Down:Connect(function() | |
| 969 | ||
| 970 | Chillmusic.TimePosition = tonumber(Tpos_Box.Text) | |
| 971 | end) | |
| 972 | ||
| 973 | Set_Text_Button.MouseButton1Down:Connect(function() | |
| 974 | ||
| 975 | text.Text = "~»"..Tpos_Box_2.Text.."«~" | |
| 976 | end) | |
| 977 | ||
| 978 | Toggle_Chat_Button.MouseButton1Down:Connect(function() | |
| 979 | if ischatting == false then | |
| 980 | ischatting = true | |
| 981 | Chat_Toggle_Label.Text = "~»True«~" | |
| 982 | spawn(function() | |
| 983 | game.Players.LocalPlayer.Chatted:connect(function(msg) | |
| 984 | for i = 0, msg:len(), 1 do | |
| 985 | text.Text = "~»"..msg:sub(0, i).."«~" | |
| 986 | end | |
| 987 | wait(3) | |
| 988 | text.Text = "♢Chill God♢" | |
| 989 | end) | |
| 990 | end) | |
| 991 | else | |
| 992 | ischatting = false | |
| 993 | Chat_Toggle_Label.Text = "~»False«~" ----end of UndeniableInfinity's part---- | |
| 994 | end | |
| 995 | end) | |
| 996 | warn("Star Glitcher Loaded.")
| |
| 997 | warn("All purpose switcher...")
| |
| 998 | warn("Edit By Frepix.")
| |
| 999 | plr = game.Players.LocalPlayer | |
| 1000 | char = plr.Character | |
| 1001 | hum = char.Humanoid | |
| 1002 | local cam = game.Workspace.CurrentCamera | |
| 1003 | local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
| |
| 1004 | Camera = cam | |
| 1005 | local CamInterrupt = false | |
| 1006 | local TwoD = false | |
| 1007 | local TargetInfo = {nil, nil}
| |
| 1008 | cam.CameraType = "Custom" | |
| 1009 | t = char.Torso | |
| 1010 | h = char.Head | |
| 1011 | ra = char["Right Arm"] | |
| 1012 | la = char["Left Arm"] | |
| 1013 | rl = char["Right Leg"] | |
| 1014 | ll = char["Left Leg"] | |
| 1015 | tors = char.Torso | |
| 1016 | lleg = char["Left Leg"] | |
| 1017 | root = char.HumanoidRootPart | |
| 1018 | hed = char.Head | |
| 1019 | rleg = char["Right Leg"] | |
| 1020 | rarm = char["Right Arm"] | |
| 1021 | larm = char["Left Arm"] | |
| 1022 | radian = math.rad | |
| 1023 | random = math.random | |
| 1024 | Vec3 = Vector3.new | |
| 1025 | Inst = Instance.new | |
| 1026 | cFrame = CFrame.new | |
| 1027 | Euler = CFrame.fromEulerAnglesXYZ | |
| 1028 | vt = Vector3.new | |
| 1029 | bc = BrickColor.new | |
| 1030 | br = BrickColor.random | |
| 1031 | it = Instance.new | |
| 1032 | cf = CFrame.new | |
| 1033 | local Booleans = {CamFollow = true, GyroUse = true}
| |
| 1034 | function lerp(object, newCFrame, alpha) | |
| 1035 | return object:lerp(newCFrame, alpha) | |
| 1036 | end | |
| 1037 | ||
| 1038 | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
| |
| 1039 | ff.Visible = false | |
| 1040 | ||
| 1041 | ||
| 1042 | local Directer = Inst("BodyGyro", root)
| |
| 1043 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 1044 | Directer.P = 600000 | |
| 1045 | local CPart = Inst("Part")
| |
| 1046 | CPart.Anchored = true | |
| 1047 | CPart.CanCollide = false | |
| 1048 | CPart.Locked = true | |
| 1049 | CPart.Transparency = 1 | |
| 1050 | local rainbowmode = false | |
| 1051 | local chaosmode = false | |
| 1052 | kan = Instance.new("Sound", char)
| |
| 1053 | kan.Volume = 1.98 | |
| 1054 | kan.TimePosition = 0 | |
| 1055 | kan.PlaybackSpeed = 1 | |
| 1056 | kan.Pitch = 1 | |
| 1057 | kan.SoundId = "rbxassetid://415898123" | |
| 1058 | kan.Name = "wrecked" | |
| 1059 | kan.Looped = true | |
| 1060 | kan:Play() | |
| 1061 | function newTheme(ID, timepos, pitch, vol) | |
| 1062 | local kanz = kan | |
| 1063 | kanz.PlaybackSpeed = pitch | |
| 1064 | kanz.Pitch = pitch | |
| 1065 | kanz.SoundId = ID | |
| 1066 | kanz.Name = "wrecked" | |
| 1067 | kanz.Looped = true | |
| 1068 | end | |
| 1069 | function CameraShake(Times, Power, PlayerTarget) | |
| 1070 | coroutine.resume(coroutine.create(function() | |
| 1071 | FV = Instance.new("BoolValue", PlayerTarget)
| |
| 1072 | FV.Name = "CameraShake" | |
| 1073 | for ShakeNum = 1, Times do | |
| 1074 | swait() | |
| 1075 | local ef = Power | |
| 1076 | if ef >= 1 then | |
| 1077 | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef)) | |
| 1078 | else | |
| 1079 | ef = Power * 10 | |
| 1080 | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10) | |
| 1081 | end | |
| 1082 | end | |
| 1083 | Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
| 1084 | FV:Destroy() | |
| 1085 | end)) | |
| 1086 | end | |
| 1087 | function CameraEnshaking(Length, Intensity) | |
| 1088 | coroutine.resume(coroutine.create(function() | |
| 1089 | local intensity = 1 * Intensity | |
| 1090 | local rotM = 0.01 * Intensity | |
| 1091 | for i = 0, Length, 0.1 do | |
| 1092 | swait() | |
| 1093 | intensity = intensity - 0.05 * Intensity / Length | |
| 1094 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1095 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 1096 | 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) | |
| 1097 | end | |
| 1098 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 1099 | end)) | |
| 1100 | end | |
| 1101 | function CamShake(Part, Distan, Power, Times) | |
| 1102 | local de = Part.Position | |
| 1103 | for i, v in pairs(workspace:children()) do | |
| 1104 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 1105 | for _, c in pairs(v:children()) do | |
| 1106 | if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then | |
| 1107 | do | |
| 1108 | local Noob = v.Humanoid | |
| 1109 | if Noob ~= nil then | |
| 1110 | coroutine.resume(coroutine.create(function() | |
| 1111 | FV = Instance.new("BoolValue", Noob)
| |
| 1112 | FV.Name = "CameraShake" | |
| 1113 | for ShakeNum = 1, Times do | |
| 1114 | swait() | |
| 1115 | local ef = Power | |
| 1116 | if ef >= 1 then | |
| 1117 | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef)) | |
| 1118 | else | |
| 1119 | ef = Power * 10 | |
| 1120 | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10) | |
| 1121 | end | |
| 1122 | end | |
| 1123 | Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
| 1124 | FV:Destroy() | |
| 1125 | end)) | |
| 1126 | CameraShake(Times, Power, Noob) | |
| 1127 | end | |
| 1128 | end | |
| 1129 | end | |
| 1130 | end | |
| 1131 | end | |
| 1132 | end | |
| 1133 | end | |
| 1134 | function chatfunc(text, color) | |
| 1135 | local chat = coroutine.wrap(function() | |
| 1136 | if Character:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 1137 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1138 | end | |
| 1139 | local naeeym2 = Instance.new("BillboardGui", Character)
| |
| 1140 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
| 1141 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
| 1142 | naeeym2.Adornee = Character.Head | |
| 1143 | naeeym2.Name = "TalkingBillBoard" | |
| 1144 | local tecks2 = Instance.new("TextLabel", naeeym2)
| |
| 1145 | tecks2.BackgroundTransparency = 1 | |
| 1146 | tecks2.BorderSizePixel = 0 | |
| 1147 | tecks2.Text = "" | |
| 1148 | tecks2.Font = "SciFi" | |
| 1149 | tecks2.TextSize = 30 | |
| 1150 | tecks2.TextStrokeTransparency = 0 | |
| 1151 | tecks2.TextColor3 = color | |
| 1152 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 1153 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1154 | local tecks3 = Instance.new("TextLabel", naeeym2)
| |
| 1155 | tecks3.BackgroundTransparency = 1 | |
| 1156 | tecks3.BorderSizePixel = 0 | |
| 1157 | tecks3.Text = "" | |
| 1158 | tecks3.Font = "SciFi" | |
| 1159 | tecks3.TextSize = 30 | |
| 1160 | tecks3.TextStrokeTransparency = 0 | |
| 1161 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
| 1162 | tecks3.TextStrokeColor3 = color | |
| 1163 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1164 | coroutine.resume(coroutine.create(function() | |
| 1165 | while true do | |
| 1166 | swait(1) | |
| 1167 | if chaosmode == true then | |
| 1168 | tecks2.TextColor3 = BrickColor.random().Color | |
| 1169 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
| 1170 | end | |
| 1171 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 1172 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 1173 | tecks2.Rotation = math.random(-5, 5) | |
| 1174 | tecks3.Rotation = math.random(-5, 5) | |
| 1175 | end | |
| 1176 | end)) | |
| 1177 | for i = 1, string.len(text) do | |
| 1178 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
| |
| 1179 | tecks2.Text = string.sub(text, 1, i) | |
| 1180 | tecks3.Text = string.sub(text, 1, i) | |
| 1181 | swait(1) | |
| 1182 | end | |
| 1183 | wait(1) | |
| 1184 | local randomrot = math.random(1, 2) | |
| 1185 | if randomrot == 1 then | |
| 1186 | for i = 1, 50 do | |
| 1187 | swait() | |
| 1188 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
| 1189 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1190 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1191 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
| 1192 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1193 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1194 | end | |
| 1195 | elseif randomrot == 2 then | |
| 1196 | for i = 1, 50 do | |
| 1197 | swait() | |
| 1198 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
| 1199 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1200 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1201 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
| 1202 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1203 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1204 | end | |
| 1205 | end | |
| 1206 | naeeym2:Destroy() | |
| 1207 | end) | |
| 1208 | chat() | |
| 1209 | end | |
| 1210 | local Create = LoadLibrary("RbxUtility").Create
| |
| 1211 | CFuncs = {
| |
| 1212 | Part = {
| |
| 1213 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1214 | local Part = Create("Part")({
| |
| 1215 | Parent = Parent, | |
| 1216 | Reflectance = Reflectance, | |
| 1217 | Transparency = Transparency, | |
| 1218 | CanCollide = false, | |
| 1219 | Locked = true, | |
| 1220 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1221 | Name = Name, | |
| 1222 | Size = Size, | |
| 1223 | Material = Material | |
| 1224 | }) | |
| 1225 | RemoveOutlines(Part) | |
| 1226 | return Part | |
| 1227 | end | |
| 1228 | }, | |
| 1229 | Mesh = {
| |
| 1230 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1231 | local Msh = Create(Mesh)({
| |
| 1232 | Parent = Part, | |
| 1233 | Offset = OffSet, | |
| 1234 | Scale = Scale | |
| 1235 | }) | |
| 1236 | if Mesh == "SpecialMesh" then | |
| 1237 | Msh.MeshType = MeshType | |
| 1238 | Msh.MeshId = MeshId | |
| 1239 | end | |
| 1240 | return Msh | |
| 1241 | end | |
| 1242 | }, | |
| 1243 | Mesh = {
| |
| 1244 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1245 | local Msh = Create(Mesh)({
| |
| 1246 | Parent = Part, | |
| 1247 | Offset = OffSet, | |
| 1248 | Scale = Scale | |
| 1249 | }) | |
| 1250 | if Mesh == "SpecialMesh" then | |
| 1251 | Msh.MeshType = MeshType | |
| 1252 | Msh.MeshId = MeshId | |
| 1253 | end | |
| 1254 | return Msh | |
| 1255 | end | |
| 1256 | }, | |
| 1257 | Weld = {
| |
| 1258 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 1259 | local Weld = Create("Weld")({
| |
| 1260 | Parent = Parent, | |
| 1261 | Part0 = Part0, | |
| 1262 | Part1 = Part1, | |
| 1263 | C0 = C0, | |
| 1264 | C1 = C1 | |
| 1265 | }) | |
| 1266 | return Weld | |
| 1267 | end | |
| 1268 | }, | |
| 1269 | Sound = {
| |
| 1270 | Create = function(id, par, vol, pit) | |
| 1271 | coroutine.resume(coroutine.create(function() | |
| 1272 | local S = Create("Sound")({
| |
| 1273 | Volume = vol, | |
| 1274 | Pitch = pit or 1, | |
| 1275 | SoundId = id, | |
| 1276 | Parent = par or workspace | |
| 1277 | }) | |
| 1278 | wait() | |
| 1279 | S:play() | |
| 1280 | game:GetService("Debris"):AddItem(S, 10)
| |
| 1281 | end)) | |
| 1282 | end | |
| 1283 | }, | |
| 1284 | LongSound = {
| |
| 1285 | Create = function(id, par, vol, pit) | |
| 1286 | coroutine.resume(coroutine.create(function() | |
| 1287 | local S = Create("Sound")({
| |
| 1288 | Volume = vol, | |
| 1289 | Pitch = pit or 1, | |
| 1290 | SoundId = id, | |
| 1291 | Parent = par or workspace | |
| 1292 | }) | |
| 1293 | wait() | |
| 1294 | S:play() | |
| 1295 | game:GetService("Debris"):AddItem(S, 30)
| |
| 1296 | end)) | |
| 1297 | end | |
| 1298 | }, | |
| 1299 | ParticleEmitter = {
| |
| 1300 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 1301 | local fp = Create("ParticleEmitter")({
| |
| 1302 | Parent = Parent, | |
| 1303 | Color = ColorSequence.new(Color1, Color2), | |
| 1304 | LightEmission = LightEmission, | |
| 1305 | Size = Size, | |
| 1306 | Texture = Texture, | |
| 1307 | Transparency = Transparency, | |
| 1308 | ZOffset = ZOffset, | |
| 1309 | Acceleration = Accel, | |
| 1310 | Drag = Drag, | |
| 1311 | LockedToPart = LockedToPart, | |
| 1312 | VelocityInheritance = VelocityInheritance, | |
| 1313 | EmissionDirection = EmissionDirection, | |
| 1314 | Enabled = Enabled, | |
| 1315 | Lifetime = LifeTime, | |
| 1316 | Rate = Rate, | |
| 1317 | Rotation = Rotation, | |
| 1318 | RotSpeed = RotSpeed, | |
| 1319 | Speed = Speed, | |
| 1320 | VelocitySpread = VelocitySpread | |
| 1321 | }) | |
| 1322 | return fp | |
| 1323 | end | |
| 1324 | }, | |
| 1325 | CreateTemplate = {}
| |
| 1326 | } | |
| 1327 | function New(Object, Parent, Name, Data) | |
| 1328 | local Object = Instance.new(Object) | |
| 1329 | for Index, Value in pairs(Data or {}) do
| |
| 1330 | Object[Index] = Value | |
| 1331 | end | |
| 1332 | Object.Parent = Parent | |
| 1333 | Object.Name = Name | |
| 1334 | return Object | |
| 1335 | end | |
| 1336 | local halocolor = BrickColor.new("Pastel light blue")
| |
| 1337 | local halocolor2 = BrickColor.new("Really black")
| |
| 1338 | local starcolor = BrickColor.new("Really black")
| |
| 1339 | local lunacolor = BrickColor.new("Navy blue")
| |
| 1340 | local lunacolor2 = BrickColor.new("Bright blue")
| |
| 1341 | local wepcolor = BrickColor.new("Really black")
| |
| 1342 | local maincolor = BrickColor.new("Really black")
| |
| 1343 | local m = Instance.new("Model", char)
| |
| 1344 | local m2 = Instance.new("Model", char)
| |
| 1345 | local m3 = Instance.new("Model", char)
| |
| 1346 | local mw1 = Instance.new("Model", char)
| |
| 1347 | local mw2 = Instance.new("Model", char)
| |
| 1348 | local extrawingmod1 = Instance.new("Model", char)
| |
| 1349 | local extrawingmod2 = Instance.new("Model", char)
| |
| 1350 | function CreateParta(parent, transparency, reflectance, material, brickcolor) | |
| 1351 | local p = Instance.new("Part")
| |
| 1352 | p.TopSurface = 0 | |
| 1353 | p.BottomSurface = 0 | |
| 1354 | p.Parent = parent | |
| 1355 | p.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 1356 | p.Transparency = transparency | |
| 1357 | p.Reflectance = reflectance | |
| 1358 | p.CanCollide = false | |
| 1359 | p.Locked = true | |
| 1360 | p.BrickColor = brickcolor | |
| 1361 | p.Material = material | |
| 1362 | return p | |
| 1363 | end | |
| 1364 | function CreateMesh(parent, meshtype, x1, y1, z1) | |
| 1365 | local mesh = Instance.new("SpecialMesh", parent)
| |
| 1366 | mesh.MeshType = meshtype | |
| 1367 | mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10) | |
| 1368 | return mesh | |
| 1369 | end | |
| 1370 | function CreateSpecialMesh(parent, meshid, x1, y1, z1) | |
| 1371 | local mesh = Instance.new("SpecialMesh", parent)
| |
| 1372 | mesh.MeshType = "FileMesh" | |
| 1373 | mesh.MeshId = meshid | |
| 1374 | mesh.Scale = Vector3.new(x1, y1, z1) | |
| 1375 | return mesh | |
| 1376 | end | |
| 1377 | function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1) | |
| 1378 | local mesh = Instance.new("SpecialMesh", parent)
| |
| 1379 | mesh.MeshType = "FileMesh" | |
| 1380 | mesh.MeshId = meshid | |
| 1381 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
| 1382 | mesh.Scale = Vector3.new(x1, y1, z1) | |
| 1383 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 1384 | return mesh | |
| 1385 | end | |
| 1386 | function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za) | |
| 1387 | local weld = Instance.new("Weld")
| |
| 1388 | weld.Parent = parent | |
| 1389 | weld.Part0 = part0 | |
| 1390 | weld.Part1 = part1 | |
| 1391 | weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za) | |
| 1392 | weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za) | |
| 1393 | return weld | |
| 1394 | end | |
| 1395 | local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor) | |
| 1396 | CreateMesh(handle, "Brick", 0, 0, 0) | |
| 1397 | 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)) | |
| 1398 | local valuaring = 10 | |
| 1399 | for i = 0, 49 do | |
| 1400 | valuaring = valuaring + 10 | |
| 1401 | rn = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1402 | CreateMesh(rn, "Brick", 0.25, 0.1, 0.1) | |
| 1403 | 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)) | |
| 1404 | end | |
| 1405 | local handle = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1406 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1407 | 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)) | |
| 1408 | local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1409 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1410 | 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)) | |
| 1411 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1412 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1413 | 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)) | |
| 1414 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1415 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1416 | 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)) | |
| 1417 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1418 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1419 | 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)) | |
| 1420 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1421 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1422 | 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)) | |
| 1423 | local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1424 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1425 | 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)) | |
| 1426 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1427 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1428 | 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)) | |
| 1429 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1430 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1431 | 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)) | |
| 1432 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1433 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1434 | 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)) | |
| 1435 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1436 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1437 | 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)) | |
| 1438 | local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1439 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1440 | 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)) | |
| 1441 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1442 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1443 | 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)) | |
| 1444 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1445 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1446 | 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)) | |
| 1447 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1448 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1449 | 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)) | |
| 1450 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 1451 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1452 | 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)) | |
| 1453 | local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1454 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1455 | 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)) | |
| 1456 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1457 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1458 | 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)) | |
| 1459 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1460 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1461 | 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)) | |
| 1462 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1463 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1464 | 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)) | |
| 1465 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1466 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1467 | 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)) | |
| 1468 | local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1469 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1470 | 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)) | |
| 1471 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1472 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1473 | 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)) | |
| 1474 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1475 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1476 | 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)) | |
| 1477 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1478 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1479 | 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)) | |
| 1480 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1481 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1482 | 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)) | |
| 1483 | local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1484 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1485 | 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)) | |
| 1486 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1487 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1488 | 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)) | |
| 1489 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1490 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1491 | 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)) | |
| 1492 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1493 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1494 | 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)) | |
| 1495 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 1496 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1497 | 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)) | |
| 1498 | local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1499 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1500 | 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)) | |
| 1501 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1502 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1503 | 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)) | |
| 1504 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1505 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1506 | 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)) | |
| 1507 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1508 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1509 | 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)) | |
| 1510 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1511 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1512 | 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)) | |
| 1513 | local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1514 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1515 | 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)) | |
| 1516 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1517 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1518 | 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)) | |
| 1519 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1520 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1521 | 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)) | |
| 1522 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1523 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1524 | 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)) | |
| 1525 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1526 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1527 | 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)) | |
| 1528 | local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1529 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1530 | 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)) | |
| 1531 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1532 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1533 | 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)) | |
| 1534 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1535 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1536 | 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)) | |
| 1537 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1538 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1539 | 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)) | |
| 1540 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 1541 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1542 | 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)) | |
| 1543 | local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1544 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1545 | 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)) | |
| 1546 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1547 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1548 | 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)) | |
| 1549 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1550 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1551 | 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)) | |
| 1552 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1553 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1554 | 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)) | |
| 1555 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1556 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1557 | 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)) | |
| 1558 | local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1559 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1560 | 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)) | |
| 1561 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1562 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1563 | 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)) | |
| 1564 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1565 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1566 | 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)) | |
| 1567 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1568 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1569 | 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)) | |
| 1570 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1571 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1572 | 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)) | |
| 1573 | local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 1574 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 1575 | 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)) | |
| 1576 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1577 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1578 | 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)) | |
| 1579 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1580 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 1581 | 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)) | |
| 1582 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1583 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 1584 | 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)) | |
| 1585 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 1586 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 1587 | 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)) | |
| 1588 | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) | |
| 1589 | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) | |
| 1590 | 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)) | |
| 1591 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1592 | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) | |
| 1593 | 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)) | |
| 1594 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1595 | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) | |
| 1596 | 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)) | |
| 1597 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1598 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
| 1599 | 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)) | |
| 1600 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1601 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
| 1602 | 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)) | |
| 1603 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
| 1604 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
| 1605 | 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)) | |
| 1606 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
| 1607 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
| 1608 | 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)) | |
| 1609 | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) | |
| 1610 | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) | |
| 1611 | 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)) | |
| 1612 | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1613 | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) | |
| 1614 | 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)) | |
| 1615 | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) | |
| 1616 | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) | |
| 1617 | 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)) | |
| 1618 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1619 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1620 | 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)) | |
| 1621 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1622 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1623 | 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)) | |
| 1624 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1625 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1626 | 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)) | |
| 1627 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1628 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1629 | 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)) | |
| 1630 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1631 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1632 | 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)) | |
| 1633 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1634 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1635 | 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)) | |
| 1636 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1637 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1638 | 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)) | |
| 1639 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1640 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1641 | 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)) | |
| 1642 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1643 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1644 | 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)) | |
| 1645 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1646 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1647 | 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)) | |
| 1648 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1649 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1650 | 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)) | |
| 1651 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1652 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1653 | 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)) | |
| 1654 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1655 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1656 | 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)) | |
| 1657 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1658 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1659 | 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)) | |
| 1660 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1661 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1662 | 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)) | |
| 1663 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1664 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1665 | 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)) | |
| 1666 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1667 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1668 | 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)) | |
| 1669 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1670 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1671 | 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)) | |
| 1672 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1673 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1674 | 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)) | |
| 1675 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1676 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1677 | 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)) | |
| 1678 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1679 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1680 | 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)) | |
| 1681 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1682 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1683 | 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)) | |
| 1684 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1685 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1686 | 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)) | |
| 1687 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1688 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1689 | 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)) | |
| 1690 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1691 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1692 | 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)) | |
| 1693 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1694 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1695 | 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)) | |
| 1696 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1697 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1698 | 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)) | |
| 1699 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1700 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1701 | 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)) | |
| 1702 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1703 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1704 | 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)) | |
| 1705 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1706 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1707 | 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)) | |
| 1708 | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) | |
| 1709 | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) | |
| 1710 | 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)) | |
| 1711 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1712 | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) | |
| 1713 | 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)) | |
| 1714 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1715 | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) | |
| 1716 | 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)) | |
| 1717 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1718 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
| 1719 | 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)) | |
| 1720 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1721 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
| 1722 | 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)) | |
| 1723 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
| 1724 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
| 1725 | 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)) | |
| 1726 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
| 1727 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
| 1728 | 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)) | |
| 1729 | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) | |
| 1730 | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) | |
| 1731 | 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)) | |
| 1732 | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1733 | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) | |
| 1734 | 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)) | |
| 1735 | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) | |
| 1736 | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) | |
| 1737 | 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)) | |
| 1738 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1739 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1740 | 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)) | |
| 1741 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1742 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1743 | 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)) | |
| 1744 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1745 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1746 | 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)) | |
| 1747 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1748 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1749 | 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)) | |
| 1750 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1751 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1752 | 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)) | |
| 1753 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1754 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1755 | 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)) | |
| 1756 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1757 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1758 | 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)) | |
| 1759 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1760 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1761 | 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)) | |
| 1762 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1763 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1764 | 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)) | |
| 1765 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1766 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1767 | 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)) | |
| 1768 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1769 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1770 | 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)) | |
| 1771 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1772 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1773 | 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)) | |
| 1774 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1775 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1776 | 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)) | |
| 1777 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1778 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1779 | 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)) | |
| 1780 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1781 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1782 | 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)) | |
| 1783 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1784 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1785 | 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)) | |
| 1786 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1787 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1788 | 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)) | |
| 1789 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1790 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1791 | 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)) | |
| 1792 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1793 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1794 | 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)) | |
| 1795 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1796 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1797 | 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)) | |
| 1798 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1799 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1800 | 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)) | |
| 1801 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1802 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1803 | 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)) | |
| 1804 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1805 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1806 | 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)) | |
| 1807 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1808 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1809 | 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)) | |
| 1810 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1811 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1812 | 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)) | |
| 1813 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1814 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1815 | 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)) | |
| 1816 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1817 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1818 | 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)) | |
| 1819 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1820 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1821 | 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)) | |
| 1822 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1823 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1824 | 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)) | |
| 1825 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1826 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1827 | 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)) | |
| 1828 | for i, v in pairs(m:GetChildren()) do | |
| 1829 | if v:IsA("Part") then
| |
| 1830 | v.BrickColor = BrickColor.new("Really black")
| |
| 1831 | v.Material = "Glass" | |
| 1832 | end | |
| 1833 | end | |
| 1834 | for i, v in pairs(m2:GetChildren()) do | |
| 1835 | if v:IsA("Part") then
| |
| 1836 | v.BrickColor = BrickColor.new("Crimson")
| |
| 1837 | v.Material = "Granite" | |
| 1838 | end | |
| 1839 | end | |
| 1840 | for i, v in pairs(m3:GetChildren()) do | |
| 1841 | if v:IsA("Part") then
| |
| 1842 | v.BrickColor = BrickColor.new("Really red")
| |
| 1843 | v.Material = "Neon" | |
| 1844 | end | |
| 1845 | end | |
| 1846 | for i, v in pairs(mw2:GetChildren()) do | |
| 1847 | if v:IsA("Part") then
| |
| 1848 | v.BrickColor = BrickColor.new("Really red")
| |
| 1849 | v.Material = "Neon" | |
| 1850 | end | |
| 1851 | end | |
| 1852 | for i, v in pairs(mw1:GetChildren()) do | |
| 1853 | if v:IsA("Part") then
| |
| 1854 | v.Transparency = 1 | |
| 1855 | v.BrickColor = BrickColor.new("Really red")
| |
| 1856 | v.Material = "Neon" | |
| 1857 | end | |
| 1858 | end | |
| 1859 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 1860 | if v:IsA("Part") then
| |
| 1861 | v.Transparency = 1 | |
| 1862 | v.BrickColor = BrickColor.new("White")
| |
| 1863 | v.Material = "Neon" | |
| 1864 | end | |
| 1865 | end | |
| 1866 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 1867 | if v:IsA("Part") then
| |
| 1868 | v.Transparency = 1 | |
| 1869 | v.BrickColor = BrickColor.new("White")
| |
| 1870 | v.Material = "Neon" | |
| 1871 | end | |
| 1872 | end | |
| 1873 | ||
| 1874 | FHead = New("Part",char,"FHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1875 | Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
| |
| 1876 | Weld = New("Weld",FHead,"mot",{Part0 = FHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 1877 | FHead.CanCollide = false | |
| 1878 | ||
| 1879 | ||
| 1880 | ||
| 1881 | local MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 1882 | function RemoveOutlines(part) | |
| 1883 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 1884 | end | |
| 1885 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1886 | local Part = Create("Part")({
| |
| 1887 | Parent = Parent, | |
| 1888 | Reflectance = Reflectance, | |
| 1889 | Transparency = Transparency, | |
| 1890 | CanCollide = false, | |
| 1891 | Locked = true, | |
| 1892 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1893 | Name = Name, | |
| 1894 | Size = Size, | |
| 1895 | Material = Material | |
| 1896 | }) | |
| 1897 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1898 | RemoveOutlines(Part) | |
| 1899 | return Part | |
| 1900 | end | |
| 1901 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1902 | local Msh = Create(Mesh)({
| |
| 1903 | Parent = Part, | |
| 1904 | Offset = OffSet, | |
| 1905 | Scale = Scale | |
| 1906 | }) | |
| 1907 | if Mesh == "SpecialMesh" then | |
| 1908 | Msh.MeshType = MeshType | |
| 1909 | Msh.MeshId = MeshId | |
| 1910 | end | |
| 1911 | return Msh | |
| 1912 | end | |
| 1913 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 1914 | local Weld = Create("Weld")({
| |
| 1915 | Parent = Parent, | |
| 1916 | Part0 = Part0, | |
| 1917 | Part1 = Part1, | |
| 1918 | C0 = C0, | |
| 1919 | C1 = C1 | |
| 1920 | }) | |
| 1921 | return Weld | |
| 1922 | end | |
| 1923 | Player = game:GetService("Players").LocalPlayer
| |
| 1924 | Character = Player.Character | |
| 1925 | PlayerGui = Player.PlayerGui | |
| 1926 | Backpack = Player.Backpack | |
| 1927 | Torso = Character.Torso | |
| 1928 | Head = Character.Head | |
| 1929 | Humanoid = Character.Humanoid | |
| 1930 | m = Instance.new("Model", Character)
| |
| 1931 | LeftArm = Character["Left Arm"] | |
| 1932 | LeftLeg = Character["Left Leg"] | |
| 1933 | RightArm = Character["Right Arm"] | |
| 1934 | RightLeg = Character["Right Leg"] | |
| 1935 | LS = Torso["Left Shoulder"] | |
| 1936 | LH = Torso["Left Hip"] | |
| 1937 | RS = Torso["Right Shoulder"] | |
| 1938 | RH = Torso["Right Hip"] | |
| 1939 | Face = Head.face | |
| 1940 | Neck = Torso.Neck | |
| 1941 | it = Instance.new | |
| 1942 | attacktype = 1 | |
| 1943 | vt = Vector3.new | |
| 1944 | cf = CFrame.new | |
| 1945 | euler = CFrame.fromEulerAnglesXYZ | |
| 1946 | angles = CFrame.Angles | |
| 1947 | cloaked = false | |
| 1948 | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 1949 | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 1950 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1951 | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1952 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1953 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1954 | RootPart = Character.HumanoidRootPart | |
| 1955 | RootJoint = RootPart.RootJoint | |
| 1956 | RootCF = euler(-1.57, 0, 3.14) | |
| 1957 | attack = false | |
| 1958 | attackdebounce = false | |
| 1959 | deb = false | |
| 1960 | equipped = true | |
| 1961 | hand = false | |
| 1962 | MMouse = nil | |
| 1963 | combo = 0 | |
| 1964 | mana = 0 | |
| 1965 | trispeed = 0.2 | |
| 1966 | attackmode = "none" | |
| 1967 | local idle = 0 | |
| 1968 | local Anim = "Idle" | |
| 1969 | local Effects = {}
| |
| 1970 | local gun = false | |
| 1971 | local shoot = false | |
| 1972 | local sine = 0 | |
| 1973 | local change = 1 | |
| 1974 | player = nil | |
| 1975 | local toggleTag = true | |
| 1976 | local txt = Instance.new("BillboardGui", Head)
| |
| 1977 | txt.Adornee = nil | |
| 1978 | txt.Name = "NameDetect" | |
| 1979 | txt.Size = UDim2.new(4, 0, 1.2, 0) | |
| 1980 | txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0) | |
| 1981 | local text = Instance.new("TextLabel", txt)
| |
| 1982 | text.Size = UDim2.new(5, 0, 3.5, 0) | |
| 1983 | text.FontSize = "Size8" | |
| 1984 | text.TextScaled = true | |
| 1985 | text.TextTransparency = 0 | |
| 1986 | text.BackgroundTransparency = 1 | |
| 1987 | text.TextTransparency = 0 | |
| 1988 | text.TextStrokeTransparency = 0 | |
| 1989 | text.Font = "Fantasy" | |
| 1990 | text.TextStrokeColor3 = Color3.new(1, 0, 0) | |
| 1991 | text.TextColor3 = Color3.new(0, 0, 0) | |
| 1992 | text.Text = "Sweet Dreams" | |
| 1993 | function RecolorTextAndRename(name, col1, col2) | |
| 1994 | text.TextStrokeColor3 = col2 | |
| 1995 | text.TextColor3 = col1 | |
| 1996 | text.Text = name | |
| 1997 | end | |
| 1998 | mouse = Player:GetMouse() | |
| 1999 | RSH, LSH = nil, nil | |
| 2000 | RW, LW = Instance.new("Weld"), Instance.new("Weld")
| |
| 2001 | RW.Name = "Right Shoulder" | |
| 2002 | LW.Name = "Left Shoulder" | |
| 2003 | LH = Torso["Left Hip"] | |
| 2004 | RH = Torso["Right Hip"] | |
| 2005 | TorsoColor = Torso.BrickColor | |
| 2006 | function NoOutline(Part) | |
| 2007 | Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 2008 | end | |
| 2009 | player = Player | |
| 2010 | ch = Character | |
| 2011 | RSH = ch.Torso["Right Shoulder"] | |
| 2012 | LSH = ch.Torso["Left Shoulder"] | |
| 2013 | RSH.Parent = nil | |
| 2014 | LSH.Parent = nil | |
| 2015 | RW.Name = "Right Shoulder" | |
| 2016 | RW.Part0 = ch.Torso | |
| 2017 | RW.C0 = cf(1.5, 0.5, 0) | |
| 2018 | RW.C1 = cf(0, 0.5, 0) | |
| 2019 | RW.Part1 = ch["Right Arm"] | |
| 2020 | RW.Parent = ch.Torso | |
| 2021 | LW.Name = "Left Shoulder" | |
| 2022 | LW.Part0 = ch.Torso | |
| 2023 | LW.C0 = cf(-1.5, 0.5, 0) | |
| 2024 | LW.C1 = cf(0, 0.5, 0) | |
| 2025 | LW.Part1 = ch["Left Arm"] | |
| 2026 | LW.Parent = ch.Torso | |
| 2027 | local Stats = Instance.new("BoolValue")
| |
| 2028 | Stats.Name = "Stats" | |
| 2029 | Stats.Parent = Character | |
| 2030 | local Atk = Instance.new("NumberValue")
| |
| 2031 | Atk.Name = "Damage" | |
| 2032 | Atk.Parent = Stats | |
| 2033 | Atk.Value = 1 | |
| 2034 | local Def = Instance.new("NumberValue")
| |
| 2035 | Def.Name = "Defense" | |
| 2036 | Def.Parent = Stats | |
| 2037 | Def.Value = 1 | |
| 2038 | local Speed = Instance.new("NumberValue")
| |
| 2039 | Speed.Name = "Speed" | |
| 2040 | Speed.Parent = Stats | |
| 2041 | Speed.Value = 1 | |
| 2042 | local Mvmt = Instance.new("NumberValue")
| |
| 2043 | Mvmt.Name = "Movement" | |
| 2044 | Mvmt.Parent = Stats | |
| 2045 | Mvmt.Value = 1 | |
| 2046 | local donum = 0 | |
| 2047 | function part(formfactor, parent, reflectance, transparency, brickcolor, name, size) | |
| 2048 | local fp = it("Part")
| |
| 2049 | fp.formFactor = formfactor | |
| 2050 | fp.Parent = parent | |
| 2051 | fp.Reflectance = reflectance | |
| 2052 | fp.Transparency = transparency | |
| 2053 | fp.CanCollide = false | |
| 2054 | fp.Locked = true | |
| 2055 | fp.BrickColor = brickcolor | |
| 2056 | fp.Name = name | |
| 2057 | fp.Size = size | |
| 2058 | fp.Position = Torso.Position | |
| 2059 | NoOutline(fp) | |
| 2060 | fp.Material = "SmoothPlastic" | |
| 2061 | fp:BreakJoints() | |
| 2062 | return fp | |
| 2063 | end | |
| 2064 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
| 2065 | local mesh = it(Mesh) | |
| 2066 | mesh.Parent = part | |
| 2067 | if Mesh == "SpecialMesh" then | |
| 2068 | mesh.MeshType = meshtype | |
| 2069 | if meshid ~= "nil" then | |
| 2070 | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid | |
| 2071 | end | |
| 2072 | end | |
| 2073 | mesh.Offset = offset | |
| 2074 | mesh.Scale = scale | |
| 2075 | return mesh | |
| 2076 | end | |
| 2077 | function weld(parent, part0, part1, c0) | |
| 2078 | local weld = it("Weld")
| |
| 2079 | weld.Parent = parent | |
| 2080 | weld.Part0 = part0 | |
| 2081 | weld.Part1 = part1 | |
| 2082 | weld.C0 = c0 | |
| 2083 | return weld | |
| 2084 | end | |
| 2085 | local Color1 = Torso.BrickColor | |
| 2086 | local bodvel = Instance.new("BodyVelocity")
| |
| 2087 | local bg = Instance.new("BodyGyro")
| |
| 2088 | function swait(num) | |
| 2089 | if num == 0 or num == nil then | |
| 2090 | game:service("RunService").Stepped:wait(0)
| |
| 2091 | else | |
| 2092 | for i = 0, num do | |
| 2093 | game:service("RunService").Stepped:wait(0)
| |
| 2094 | end | |
| 2095 | end | |
| 2096 | end | |
| 2097 | local r = 255 | |
| 2098 | local g = 0 | |
| 2099 | local b = 0 | |
| 2100 | coroutine.resume(coroutine.create(function() | |
| 2101 | while wait() do | |
| 2102 | for i = 0, 50.8 do | |
| 2103 | swait() | |
| 2104 | g = g + 5 | |
| 2105 | end | |
| 2106 | for i = 0, 50.8 do | |
| 2107 | swait() | |
| 2108 | r = r - 5 | |
| 2109 | end | |
| 2110 | for i = 0, 50.8 do | |
| 2111 | swait() | |
| 2112 | b = b + 5 | |
| 2113 | end | |
| 2114 | for i = 0, 50.8 do | |
| 2115 | swait() | |
| 2116 | g = g - 5 | |
| 2117 | end | |
| 2118 | for i = 0, 50.8 do | |
| 2119 | swait() | |
| 2120 | r = r + 5 | |
| 2121 | end | |
| 2122 | for i = 0, 50.8 do | |
| 2123 | swait() | |
| 2124 | b = b - 5 | |
| 2125 | end | |
| 2126 | end | |
| 2127 | end)) | |
| 2128 | function so(id, par, vol, pit) | |
| 2129 | coroutine.resume(coroutine.create(function() | |
| 2130 | local sou = Instance.new("Sound", par or workspace)
| |
| 2131 | sou.Volume = vol | |
| 2132 | sou.Pitch = pit or 1 | |
| 2133 | sou.SoundId = id | |
| 2134 | swait() | |
| 2135 | sou:play() | |
| 2136 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 2137 | end)) | |
| 2138 | end | |
| 2139 | function clerp(a, b, t) | |
| 2140 | local qa = {
| |
| 2141 | QuaternionFromCFrame(a) | |
| 2142 | } | |
| 2143 | local qb = {
| |
| 2144 | QuaternionFromCFrame(b) | |
| 2145 | } | |
| 2146 | local ax, ay, az = a.x, a.y, a.z | |
| 2147 | local bx, by, bz = b.x, b.y, b.z | |
| 2148 | local _t = 1 - t | |
| 2149 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 2150 | end | |
| 2151 | function QuaternionFromCFrame(cf) | |
| 2152 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 2153 | local trace = m00 + m11 + m22 | |
| 2154 | if trace > 0 then | |
| 2155 | local s = math.sqrt(1 + trace) | |
| 2156 | local recip = 0.5 / s | |
| 2157 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 2158 | else | |
| 2159 | local i = 0 | |
| 2160 | if m00 < m11 then | |
| 2161 | i = 1 | |
| 2162 | end | |
| 2163 | if m22 > (i == 0 and m00 or m11) then | |
| 2164 | i = 2 | |
| 2165 | end | |
| 2166 | if i == 0 then | |
| 2167 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 2168 | local recip = 0.5 / s | |
| 2169 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 2170 | elseif i == 1 then | |
| 2171 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 2172 | local recip = 0.5 / s | |
| 2173 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 2174 | elseif i == 2 then | |
| 2175 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 2176 | local recip = 0.5 / s | |
| 2177 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 2178 | end | |
| 2179 | end | |
| 2180 | end | |
| 2181 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 2182 | local xs, ys, zs = x + x, y + y, z + z | |
| 2183 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 2184 | local xx = x * xs | |
| 2185 | local xy = x * ys | |
| 2186 | local xz = x * zs | |
| 2187 | local yy = y * ys | |
| 2188 | local yz = y * zs | |
| 2189 | local zz = z * zs | |
| 2190 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 2191 | end | |
| 2192 | function QuaternionSlerp(a, b, t) | |
| 2193 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 2194 | local startInterp, finishInterp | |
| 2195 | if cosTheta >= 1.0E-4 then | |
| 2196 | if 1 - cosTheta > 1.0E-4 then | |
| 2197 | local theta = math.acos(cosTheta) | |
| 2198 | local invSinTheta = 1 / math.sin(theta) | |
| 2199 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 2200 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 2201 | else | |
| 2202 | startInterp = 1 - t | |
| 2203 | finishInterp = t | |
| 2204 | end | |
| 2205 | elseif 1 + cosTheta > 1.0E-4 then | |
| 2206 | local theta = math.acos(-cosTheta) | |
| 2207 | local invSinTheta = 1 / math.sin(theta) | |
| 2208 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 2209 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 2210 | else | |
| 2211 | startInterp = t - 1 | |
| 2212 | finishInterp = t | |
| 2213 | end | |
| 2214 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
| 2215 | end | |
| 2216 | local CFrameFromTopBack = function(at, top, back) | |
| 2217 | local right = top:Cross(back) | |
| 2218 | return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
| 2219 | end | |
| 2220 | function Triangle(a, b, c) | |
| 2221 | local edg1 = (c - a):Dot((b - a).unit) | |
| 2222 | local edg2 = (a - b):Dot((c - b).unit) | |
| 2223 | local edg3 = (b - c):Dot((a - c).unit) | |
| 2224 | if edg1 <= (b - a).magnitude and edg1 >= 0 then | |
| 2225 | a, b = a, b | |
| 2226 | elseif edg2 <= (c - b).magnitude and edg2 >= 0 then | |
| 2227 | a, b, c = b, c, a | |
| 2228 | elseif edg3 <= (a - c).magnitude and edg3 >= 0 then | |
| 2229 | a, b, c = c, a, b | |
| 2230 | else | |
| 2231 | assert(false, "unreachable") | |
| 2232 | end | |
| 2233 | local len1 = (c - a):Dot((b - a).unit) | |
| 2234 | local len2 = (b - a).magnitude - len1 | |
| 2235 | local width = (a + (b - a).unit * len1 - c).magnitude | |
| 2236 | local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit) | |
| 2237 | local list = {}
| |
| 2238 | if len1 > 0.01 then | |
| 2239 | local w1 = Instance.new("WedgePart", m)
| |
| 2240 | game:GetService("Debris"):AddItem(w1, 5)
| |
| 2241 | w1.Material = "SmoothPlastic" | |
| 2242 | w1.FormFactor = "Custom" | |
| 2243 | w1.BrickColor = BrickColor.new("Really red")
| |
| 2244 | w1.Transparency = 0 | |
| 2245 | w1.Reflectance = 0 | |
| 2246 | w1.Material = "SmoothPlastic" | |
| 2247 | w1.CanCollide = false | |
| 2248 | local l1 = Instance.new("PointLight", w1)
| |
| 2249 | l1.Color = Color3.new(170, 0, 0) | |
| 2250 | NoOutline(w1) | |
| 2251 | local sz = Vector3.new(0.2, width, len1) | |
| 2252 | w1.Size = sz | |
| 2253 | local sp = Instance.new("SpecialMesh", w1)
| |
| 2254 | sp.MeshType = "Wedge" | |
| 2255 | sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size | |
| 2256 | w1:BreakJoints() | |
| 2257 | w1.Anchored = true | |
| 2258 | w1.Parent = workspace | |
| 2259 | w1.Transparency = 0.7 | |
| 2260 | table.insert(Effects, {
| |
| 2261 | w1, | |
| 2262 | "Disappear", | |
| 2263 | 0.01 | |
| 2264 | }) | |
| 2265 | w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2) | |
| 2266 | table.insert(list, w1) | |
| 2267 | end | |
| 2268 | if len2 > 0.01 then | |
| 2269 | local w2 = Instance.new("WedgePart", m)
| |
| 2270 | game:GetService("Debris"):AddItem(w2, 5)
| |
| 2271 | w2.Material = "SmoothPlastic" | |
| 2272 | w2.FormFactor = "Custom" | |
| 2273 | w2.BrickColor = BrickColor.new("Really red")
| |
| 2274 | w2.Transparency = 0 | |
| 2275 | w2.Reflectance = 0 | |
| 2276 | w2.Material = "SmoothPlastic" | |
| 2277 | w2.CanCollide = false | |
| 2278 | local l2 = Instance.new("PointLight", w2)
| |
| 2279 | l2.Color = Color3.new(170, 0, 0) | |
| 2280 | NoOutline(w2) | |
| 2281 | local sz = Vector3.new(0.2, width, len2) | |
| 2282 | w2.Size = sz | |
| 2283 | local sp = Instance.new("SpecialMesh", w2)
| |
| 2284 | sp.MeshType = "Wedge" | |
| 2285 | sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size | |
| 2286 | w2:BreakJoints() | |
| 2287 | w2.Anchored = true | |
| 2288 | w2.Parent = workspace | |
| 2289 | w2.Transparency = 0.7 | |
| 2290 | table.insert(Effects, {
| |
| 2291 | w2, | |
| 2292 | "Disappear", | |
| 2293 | 0.01 | |
| 2294 | }) | |
| 2295 | w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2) | |
| 2296 | table.insert(list, w2) | |
| 2297 | end | |
| 2298 | return unpack(list) | |
| 2299 | end | |
| 2300 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 2301 | if hit.Parent == nil then | |
| 2302 | return | |
| 2303 | end | |
| 2304 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 2305 | for _, v in pairs(hit.Parent:children()) do | |
| 2306 | if v:IsA("Humanoid") then
| |
| 2307 | h = v | |
| 2308 | end | |
| 2309 | end | |
| 2310 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
| |
| 2311 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 2312 | return | |
| 2313 | end | |
| 2314 | local c = Create("ObjectValue")({
| |
| 2315 | Name = "creator", | |
| 2316 | Value = game:service("Players").LocalPlayer,
| |
| 2317 | Parent = h | |
| 2318 | }) | |
| 2319 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 2320 | if HitSound ~= nil and HitPitch ~= nil then | |
| 2321 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 2322 | end | |
| 2323 | local Damage = math.random(minim, maxim) | |
| 2324 | local blocked = false | |
| 2325 | local block = hit.Parent:findFirstChild("Block")
| |
| 2326 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 2327 | blocked = true | |
| 2328 | block.Value = block.Value - 1 | |
| 2329 | print(block.Value) | |
| 2330 | end | |
| 2331 | if blocked == false then | |
| 2332 | HitHealth = h.Health | |
| 2333 | h.Health = h.Health - Damage | |
| 2334 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
| 2335 | print("gained kill")
| |
| 2336 | end | |
| 2337 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 2338 | else | |
| 2339 | h.Health = h.Health - Damage / 2 | |
| 2340 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 2341 | end | |
| 2342 | if Type == "Knockdown" then | |
| 2343 | local hum = hit.Parent.Humanoid | |
| 2344 | hum.PlatformStand = true | |
| 2345 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 2346 | swait(1) | |
| 2347 | HHumanoid.PlatformStand = false | |
| 2348 | end), hum) | |
| 2349 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 2350 | local bodvol = Create("BodyVelocity")({
| |
| 2351 | velocity = angle * knockback, | |
| 2352 | P = 5000, | |
| 2353 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2354 | Parent = hit | |
| 2355 | }) | |
| 2356 | local rl = Create("BodyAngularVelocity")({
| |
| 2357 | P = 3000, | |
| 2358 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 2359 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 2360 | Parent = hit | |
| 2361 | }) | |
| 2362 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 2363 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 2364 | elseif Type == "Normal" then | |
| 2365 | local vp = Create("BodyVelocity")({
| |
| 2366 | P = 500, | |
| 2367 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 2368 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 2369 | }) | |
| 2370 | if knockback > 0 then | |
| 2371 | vp.Parent = hit.Parent.Head | |
| 2372 | end | |
| 2373 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 2374 | elseif Type == "Up" then | |
| 2375 | local bodyVelocity = Create("BodyVelocity")({
| |
| 2376 | velocity = Vector3.new(0, 20, 0), | |
| 2377 | P = 5000, | |
| 2378 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2379 | Parent = hit | |
| 2380 | }) | |
| 2381 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 2382 | local bodyVelocity = Create("BodyVelocity")({
| |
| 2383 | velocity = Vector3.new(0, 20, 0), | |
| 2384 | P = 5000, | |
| 2385 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2386 | Parent = hit | |
| 2387 | }) | |
| 2388 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 2389 | elseif Type == "Leech" then | |
| 2390 | local hum = hit.Parent.Humanoid | |
| 2391 | if hum ~= nil then | |
| 2392 | for i = 0, 2 do | |
| 2393 | 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)
| |
| 2394 | end | |
| 2395 | Humanoid.Health = Humanoid.Health + 10 | |
| 2396 | end | |
| 2397 | elseif Type == "UpKnock" then | |
| 2398 | local hum = hit.Parent.Humanoid | |
| 2399 | hum.PlatformStand = true | |
| 2400 | if hum ~= nil then | |
| 2401 | hitr = true | |
| 2402 | end | |
| 2403 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 2404 | swait(5) | |
| 2405 | HHumanoid.PlatformStand = false | |
| 2406 | hitr = false | |
| 2407 | end), hum) | |
| 2408 | local bodyVelocity = Create("BodyVelocity")({
| |
| 2409 | velocity = Vector3.new(0, 20, 0), | |
| 2410 | P = 5000, | |
| 2411 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2412 | Parent = hit | |
| 2413 | }) | |
| 2414 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 2415 | local bodyVelocity = Create("BodyVelocity")({
| |
| 2416 | velocity = Vector3.new(0, 20, 0), | |
| 2417 | P = 5000, | |
| 2418 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2419 | Parent = hit | |
| 2420 | }) | |
| 2421 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 2422 | elseif Type == "Snare" then | |
| 2423 | local bp = Create("BodyPosition")({
| |
| 2424 | P = 2000, | |
| 2425 | D = 100, | |
| 2426 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2427 | position = hit.Parent.Torso.Position, | |
| 2428 | Parent = hit.Parent.Torso | |
| 2429 | }) | |
| 2430 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2431 | elseif Type == "Slashnare" then | |
| 2432 | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
| |
| 2433 | for i = 1, math.random(4, 5) do | |
| 2434 | 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)
| |
| 2435 | end | |
| 2436 | local bp = Create("BodyPosition")({
| |
| 2437 | P = 2000, | |
| 2438 | D = 100, | |
| 2439 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2440 | position = hit.Parent.Torso.Position, | |
| 2441 | Parent = hit.Parent.Torso | |
| 2442 | }) | |
| 2443 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2444 | elseif Type == "Spike" then | |
| 2445 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
| 2446 | local bp = Create("BodyPosition")({
| |
| 2447 | P = 2000, | |
| 2448 | D = 100, | |
| 2449 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2450 | position = hit.Parent.Torso.Position, | |
| 2451 | Parent = hit.Parent.Torso | |
| 2452 | }) | |
| 2453 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2454 | elseif Type == "Freeze" then | |
| 2455 | local BodPos = Create("BodyPosition")({
| |
| 2456 | P = 50000, | |
| 2457 | D = 1000, | |
| 2458 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2459 | position = hit.Parent.Torso.Position, | |
| 2460 | Parent = hit.Parent.Torso | |
| 2461 | }) | |
| 2462 | local BodGy = Create("BodyGyro")({
| |
| 2463 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 2464 | P = 20000, | |
| 2465 | Parent = hit.Parent.Torso, | |
| 2466 | cframe = hit.Parent.Torso.CFrame | |
| 2467 | }) | |
| 2468 | hit.Parent.Torso.Anchored = true | |
| 2469 | coroutine.resume(coroutine.create(function(Part) | |
| 2470 | swait(1.5) | |
| 2471 | Part.Anchored = false | |
| 2472 | end), hit.Parent.Torso) | |
| 2473 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 2474 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 2475 | end | |
| 2476 | local debounce = Create("BoolValue")({
| |
| 2477 | Name = "DebounceHit", | |
| 2478 | Parent = hit.Parent, | |
| 2479 | Value = true | |
| 2480 | }) | |
| 2481 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 2482 | c = Instance.new("ObjectValue")
| |
| 2483 | c.Name = "creator" | |
| 2484 | c.Value = Player | |
| 2485 | c.Parent = h | |
| 2486 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 2487 | end | |
| 2488 | end | |
| 2489 | function ShowDamage(Pos, Text, Time, Color) | |
| 2490 | local Rate = 0.03333333333333333 | |
| 2491 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 2492 | local Text = Text or "" | |
| 2493 | local Time = Time or 2 | |
| 2494 | local Color = Color or Color3.new(1, 0, 1) | |
| 2495 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 2496 | EffectPart.Anchored = true | |
| 2497 | local BillboardGui = Create("BillboardGui")({
| |
| 2498 | Size = UDim2.new(3, 0, 3, 0), | |
| 2499 | Adornee = EffectPart, | |
| 2500 | Parent = EffectPart | |
| 2501 | }) | |
| 2502 | local TextLabel = Create("TextLabel")({
| |
| 2503 | BackgroundTransparency = 1, | |
| 2504 | Size = UDim2.new(1, 0, 1, 0), | |
| 2505 | Text = Text, | |
| 2506 | TextColor3 = Color, | |
| 2507 | TextScaled = true, | |
| 2508 | Font = Enum.Font.ArialBold, | |
| 2509 | Parent = BillboardGui | |
| 2510 | }) | |
| 2511 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 2512 | EffectPart.Parent = game:GetService("Workspace")
| |
| 2513 | delay(0, function() | |
| 2514 | local Frames = Time / Rate | |
| 2515 | for Frame = 1, Frames do | |
| 2516 | wait(Rate) | |
| 2517 | local Percent = Frame / Frames | |
| 2518 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 2519 | TextLabel.TextTransparency = Percent | |
| 2520 | end | |
| 2521 | if EffectPart and EffectPart.Parent then | |
| 2522 | EffectPart:Destroy() | |
| 2523 | end | |
| 2524 | end) | |
| 2525 | end | |
| 2526 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 2527 | for _, c in pairs(workspace:children()) do | |
| 2528 | local hum = c:findFirstChildOfClass("Humanoid")
| |
| 2529 | if hum ~= nil then | |
| 2530 | local head = c:findFirstChild("Head")
| |
| 2531 | if head ~= nil then | |
| 2532 | local targ = head.Position - Part.Position | |
| 2533 | local mag = targ.magnitude | |
| 2534 | if magni >= mag and c.Name ~= Player.Name then | |
| 2535 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 2536 | end | |
| 2537 | end | |
| 2538 | end | |
| 2539 | end | |
| 2540 | end | |
| 2541 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
| 2542 | for _, c in pairs(workspace:children()) do | |
| 2543 | local hum = c:findFirstChild("Humanoid")
| |
| 2544 | if hum ~= nil then | |
| 2545 | local head = c:findFirstChild("Torso")
| |
| 2546 | if head ~= nil then | |
| 2547 | local targ = head.Position - Part.Position | |
| 2548 | local mag = targ.magnitude | |
| 2549 | if magni >= mag and c.Name ~= Player.Name then | |
| 2550 | MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
| |
| 2551 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 2552 | end | |
| 2553 | end | |
| 2554 | end | |
| 2555 | end | |
| 2556 | end | |
| 2557 | function rayCast(Pos, Dir, Max, Ignore) | |
| 2558 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 2559 | end | |
| 2560 | function SkullEffect(brickcolor, cframe, x1, y1, z1, delay) | |
| 2561 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2562 | prt.Anchored = true | |
| 2563 | prt.CFrame = cframe | |
| 2564 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2565 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2566 | CF = prt.CFrame | |
| 2567 | coroutine.resume(coroutine.create(function(Part, Mesh, TehCF) | |
| 2568 | for i = 0, 1, 0.2 do | |
| 2569 | wait() | |
| 2570 | Part.CFrame = CF * cf(0, 0, -0.4) | |
| 2571 | end | |
| 2572 | for i = 0, 1, delay do | |
| 2573 | wait() | |
| 2574 | Mesh.Scale = Mesh.Scale | |
| 2575 | end | |
| 2576 | for i = 0, 1, 0.1 do | |
| 2577 | wait() | |
| 2578 | Part.Transparency = i | |
| 2579 | end | |
| 2580 | Part.Parent = nil | |
| 2581 | end), prt, msh, CF) | |
| 2582 | end | |
| 2583 | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2584 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2585 | prt.Anchored = true | |
| 2586 | prt.Material = "Neon" | |
| 2587 | prt.CFrame = cframe | |
| 2588 | prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2589 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2590 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2591 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2592 | for i = 0, 1, delay do | |
| 2593 | swait() | |
| 2594 | Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2595 | Part.Transparency = i | |
| 2596 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2597 | end | |
| 2598 | Part.Parent = nil | |
| 2599 | end), prt, msh) | |
| 2600 | end | |
| 2601 | function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
| 2602 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2603 | prt.Anchored = true | |
| 2604 | prt.Material = "Neon" | |
| 2605 | prt.CFrame = cframe | |
| 2606 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2607 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2608 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2609 | local rtype = rottype | |
| 2610 | for i = 0, 1, delay do | |
| 2611 | swait() | |
| 2612 | if rtype == 1 then | |
| 2613 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 2614 | elseif rtype == 2 then | |
| 2615 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 2616 | end | |
| 2617 | Part.Transparency = i | |
| 2618 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2619 | end | |
| 2620 | Part.Parent = nil | |
| 2621 | end), prt, msh) | |
| 2622 | end | |
| 2623 | function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2624 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2625 | prt.Anchored = true | |
| 2626 | prt.CFrame = cframe | |
| 2627 | prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2628 | msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2629 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2630 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2631 | for i = 0, 1, delay do | |
| 2632 | wait() | |
| 2633 | Part.Transparency = i | |
| 2634 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2635 | end | |
| 2636 | Part.Parent = nil | |
| 2637 | end), prt, msh) | |
| 2638 | end | |
| 2639 | function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
| 2640 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2641 | prt.Anchored = true | |
| 2642 | prt.Material = "Neon" | |
| 2643 | prt.CFrame = cframe | |
| 2644 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2645 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2646 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2647 | local rtype = rottype | |
| 2648 | for i = 0, 1, delay do | |
| 2649 | swait() | |
| 2650 | if rtype == 1 then | |
| 2651 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 2652 | elseif rtype == 2 then | |
| 2653 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 2654 | end | |
| 2655 | Part.Transparency = i | |
| 2656 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2657 | end | |
| 2658 | Part.Parent = nil | |
| 2659 | end), prt, msh) | |
| 2660 | end | |
| 2661 | function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
| 2662 | local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2663 | prt.Anchored = true | |
| 2664 | prt.Material = "Neon" | |
| 2665 | prt.CFrame = cframe | |
| 2666 | local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt) | |
| 2667 | local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt) | |
| 2668 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
| |
| 2669 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2670 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2671 | local rtype = rottype | |
| 2672 | for i = 0, 1, delay do | |
| 2673 | swait() | |
| 2674 | if rtype == 1 then | |
| 2675 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 2676 | elseif rtype == 2 then | |
| 2677 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 2678 | end | |
| 2679 | dec.Transparency = i | |
| 2680 | dec2.Transparency = i | |
| 2681 | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) | |
| 2682 | end | |
| 2683 | Part.Parent = nil | |
| 2684 | end), prt, msh) | |
| 2685 | end | |
| 2686 | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
| 2687 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2688 | prt.Anchored = true | |
| 2689 | prt.Material = "Neon" | |
| 2690 | prt.CFrame = cframe | |
| 2691 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
| |
| 2692 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2693 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2694 | local rtype = rottype | |
| 2695 | for i = 0, 1, delay do | |
| 2696 | swait() | |
| 2697 | if rtype == 1 then | |
| 2698 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 2699 | elseif rtype == 2 then | |
| 2700 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 2701 | end | |
| 2702 | prt.Transparency = i | |
| 2703 | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) | |
| 2704 | end | |
| 2705 | Part.Parent = nil | |
| 2706 | end), prt, msh) | |
| 2707 | end | |
| 2708 | function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype) | |
| 2709 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2710 | prt.Anchored = true | |
| 2711 | prt.Material = "Neon" | |
| 2712 | prt.CFrame = cframe | |
| 2713 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
| |
| 2714 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2715 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2716 | local rtype = rottype | |
| 2717 | for i = 0, 1, delay do | |
| 2718 | swait() | |
| 2719 | if rtype == 1 then | |
| 2720 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0) | |
| 2721 | elseif rtype == 2 then | |
| 2722 | prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0) | |
| 2723 | end | |
| 2724 | prt.Transparency = i | |
| 2725 | Mesh.Scale = Mesh.Scale + vt(x3, 0, z3) | |
| 2726 | end | |
| 2727 | Part.Parent = nil | |
| 2728 | end), prt, msh) | |
| 2729 | end | |
| 2730 | function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype) | |
| 2731 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2732 | prt.Anchored = true | |
| 2733 | prt.Material = "Neon" | |
| 2734 | prt.CFrame = cframe | |
| 2735 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2736 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2737 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2738 | local rtype = rottype | |
| 2739 | for i = 0, 1, delay do | |
| 2740 | swait() | |
| 2741 | if rtype == 1 then | |
| 2742 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 2743 | elseif rtype == 2 then | |
| 2744 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 2745 | end | |
| 2746 | prt.Transparency = i | |
| 2747 | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) | |
| 2748 | end | |
| 2749 | Part.Parent = nil | |
| 2750 | end), prt, msh) | |
| 2751 | end | |
| 2752 | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
| 2753 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2754 | prt.Anchored = true | |
| 2755 | prt.Material = "Neon" | |
| 2756 | prt.CFrame = cframe | |
| 2757 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2758 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2759 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2760 | local rtype = rottype | |
| 2761 | for i = 0, 1, delay do | |
| 2762 | swait() | |
| 2763 | if rtype == 1 then | |
| 2764 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 2765 | elseif rtype == 2 then | |
| 2766 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 2767 | end | |
| 2768 | prt.Transparency = i | |
| 2769 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2770 | end | |
| 2771 | Part.Parent = nil | |
| 2772 | end), prt, msh) | |
| 2773 | end | |
| 2774 | function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay) | |
| 2775 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2776 | prt.Anchored = false | |
| 2777 | prt.CFrame = cframe | |
| 2778 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2779 | local wld = weld(prt, prt, Parent, cframe) | |
| 2780 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2781 | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) | |
| 2782 | for i = 0, 1, delay do | |
| 2783 | wait() | |
| 2784 | Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe | |
| 2785 | Part.Transparency = i | |
| 2786 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2787 | end | |
| 2788 | Part.Parent = nil | |
| 2789 | end), prt, msh, wld) | |
| 2790 | end | |
| 2791 | function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay) | |
| 2792 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2793 | prt.Anchored = false | |
| 2794 | prt.CFrame = cframe | |
| 2795 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2796 | local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0)) | |
| 2797 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2798 | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) | |
| 2799 | for i = 0, 1, delay do | |
| 2800 | wait() | |
| 2801 | Weld.C0 = euler(i * 20, 0, 0) | |
| 2802 | Part.Transparency = i | |
| 2803 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2804 | end | |
| 2805 | Part.Parent = nil | |
| 2806 | end), prt, msh, wld) | |
| 2807 | end | |
| 2808 | function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2809 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2810 | prt.Anchored = true | |
| 2811 | prt.CFrame = cframe | |
| 2812 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2813 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2814 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2815 | for i = 0, 1, delay do | |
| 2816 | wait() | |
| 2817 | Part.CFrame = Part.CFrame | |
| 2818 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2819 | local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2820 | prt2.Anchored = true | |
| 2821 | prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2822 | local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
| |
| 2823 | game:GetService("Debris"):AddItem(prt2, 2)
| |
| 2824 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2825 | for i = 0, 1, 0.1 do | |
| 2826 | wait() | |
| 2827 | Part.CFrame = Part.CFrame * cf(0, 0.5, 0) | |
| 2828 | end | |
| 2829 | Part.Parent = nil | |
| 2830 | end), prt2, msh2) | |
| 2831 | end | |
| 2832 | for i = 0, 1, delay * 2 do | |
| 2833 | wait() | |
| 2834 | Part.CFrame = Part.CFrame | |
| 2835 | Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i) | |
| 2836 | end | |
| 2837 | Part.Parent = nil | |
| 2838 | end), prt, msh) | |
| 2839 | end | |
| 2840 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2841 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2842 | prt.Anchored = true | |
| 2843 | prt.CFrame = cframe | |
| 2844 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2845 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2846 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2847 | for i = 0, 1, delay do | |
| 2848 | wait() | |
| 2849 | Part.CFrame = Part.CFrame | |
| 2850 | Part.Transparency = i | |
| 2851 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2852 | end | |
| 2853 | Part.Parent = nil | |
| 2854 | end), prt, msh) | |
| 2855 | end | |
| 2856 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
| 2857 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2858 | prt.Anchored = true | |
| 2859 | prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2860 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2861 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2862 | coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb) | |
| 2863 | CF = Part.CFrame | |
| 2864 | Numbb = 0 | |
| 2865 | randnumb = math.random() / 10 | |
| 2866 | rand1 = math.random() / 10 | |
| 2867 | for i = 0, 1, rand1 do | |
| 2868 | wait() | |
| 2869 | CF = CF * cf(0, math.random() / 2, 0) | |
| 2870 | Part.CFrame = CF * euler(Numbb, 0, 0) | |
| 2871 | Part.Transparency = i | |
| 2872 | Numbb = Numbb + randnumb | |
| 2873 | end | |
| 2874 | Part.Parent = nil | |
| 2875 | end), prt, CF, Numbb, randnumb) | |
| 2876 | end | |
| 2877 | function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2878 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2879 | prt.Anchored = true | |
| 2880 | prt.CFrame = cframe | |
| 2881 | msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2882 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2883 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2884 | for i = 0, 1, delay do | |
| 2885 | wait() | |
| 2886 | Part.CFrame = Part.CFrame * euler(0, 0.7, 0) | |
| 2887 | Part.Transparency = i | |
| 2888 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2889 | end | |
| 2890 | Part.Parent = nil | |
| 2891 | end), prt, msh) | |
| 2892 | end | |
| 2893 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2894 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2895 | prt.Anchored = true | |
| 2896 | prt.CFrame = cframe | |
| 2897 | msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2898 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2899 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2900 | for i = 0, 1, delay do | |
| 2901 | wait() | |
| 2902 | Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0) | |
| 2903 | Part.Transparency = i | |
| 2904 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2905 | end | |
| 2906 | Part.Parent = nil | |
| 2907 | end), prt, msh) | |
| 2908 | end | |
| 2909 | function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay) | |
| 2910 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2911 | prt.Anchored = true | |
| 2912 | prt.CFrame = cframe * cf(x, y, z) | |
| 2913 | msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2914 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2915 | coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee) | |
| 2916 | local num = math.random() | |
| 2917 | local num2 = math.random(-3, 2) + math.random() | |
| 2918 | local numm = 0 | |
| 2919 | for i = 0, 1, delay * 2 do | |
| 2920 | swait() | |
| 2921 | Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0) | |
| 2922 | Part.Transparency = i | |
| 2923 | numm = numm + 0.01 | |
| 2924 | end | |
| 2925 | Part.Parent = nil | |
| 2926 | Mesh.Parent = nil | |
| 2927 | end), prt, msh, x, y, z) | |
| 2928 | end | |
| 2929 | function dmgstart(dmg, what) | |
| 2930 | hitcon = what.Touched:connect(function(hit) | |
| 2931 | local hum = hit.Parent:FindFirstChild("Humanoid")
| |
| 2932 | if hum and not hum:IsDescendantOf(Character) then | |
| 2933 | hum:TakeDamage(dmg) | |
| 2934 | end | |
| 2935 | end) | |
| 2936 | end | |
| 2937 | function dmgstop() | |
| 2938 | hitcon:disconnect() | |
| 2939 | end | |
| 2940 | function Cloak() | |
| 2941 | Face.Parent = nil | |
| 2942 | cloaked = true | |
| 2943 | for _, v in pairs(Torso.Parent:children()) do | |
| 2944 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 2945 | coroutine.resume(coroutine.create(function() | |
| 2946 | for i = 0, 1, 0.2 do | |
| 2947 | wait() | |
| 2948 | v.Transparency = i | |
| 2949 | end | |
| 2950 | v.Transparency = 1 | |
| 2951 | end)) | |
| 2952 | end | |
| 2953 | if v.className == "Hat" then | |
| 2954 | hatp = v.Handle | |
| 2955 | coroutine.resume(coroutine.create(function(derp) | |
| 2956 | for i = 0, 1, 0.2 do | |
| 2957 | wait() | |
| 2958 | derp.Transparency = i | |
| 2959 | end | |
| 2960 | derp.Transparency = 1 | |
| 2961 | end), hatp) | |
| 2962 | end | |
| 2963 | end | |
| 2964 | for _, v in pairs(m:children()) do | |
| 2965 | if v.className == "Part" then | |
| 2966 | coroutine.resume(coroutine.create(function() | |
| 2967 | for i = 0, 1, 0.2 do | |
| 2968 | wait() | |
| 2969 | v.Transparency = i | |
| 2970 | end | |
| 2971 | v.Transparency = 1 | |
| 2972 | end)) | |
| 2973 | end | |
| 2974 | end | |
| 2975 | end | |
| 2976 | function UnCloak() | |
| 2977 | so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
| |
| 2978 | Face.Parent = Head | |
| 2979 | cloaked = false | |
| 2980 | for _, v in pairs(Torso.Parent:children()) do | |
| 2981 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 2982 | coroutine.resume(coroutine.create(function() | |
| 2983 | for i = 0, 1, 0.1 do | |
| 2984 | wait() | |
| 2985 | v.Transparency = v.Transparency - 0.1 | |
| 2986 | end | |
| 2987 | v.Transparency = 0 | |
| 2988 | end)) | |
| 2989 | end | |
| 2990 | if v.className == "Hat" then | |
| 2991 | hatp = v.Handle | |
| 2992 | coroutine.resume(coroutine.create(function(derp) | |
| 2993 | for i = 0, 1, 0.1 do | |
| 2994 | wait() | |
| 2995 | derp.Transparency = derp.Transparency - 0.1 | |
| 2996 | end | |
| 2997 | derp.Transparency = 0 | |
| 2998 | end), hatp) | |
| 2999 | end | |
| 3000 | end | |
| 3001 | for _, v in pairs(m:children()) do | |
| 3002 | if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then | |
| 3003 | coroutine.resume(coroutine.create(function() | |
| 3004 | for i = 0, 1, 0.1 do | |
| 3005 | wait() | |
| 3006 | v.Transparency = v.Transparency - 0.1 | |
| 3007 | end | |
| 3008 | v.Transparency = 0 | |
| 3009 | end)) | |
| 3010 | v.Transparency = 0 | |
| 3011 | end | |
| 3012 | end | |
| 3013 | end | |
| 3014 | local origcolor = BrickColor.new("Pastel light blue")
| |
| 3015 | function Explode(rad, par, pitch, vol, mindam, maxdam) | |
| 3016 | local expart = Instance.new("Part", char)
| |
| 3017 | local expart2 = Instance.new("Part", char)
| |
| 3018 | local rin = Instance.new("Part", char)
| |
| 3019 | local rin2 = Instance.new("Part", char)
| |
| 3020 | local partMesh = Instance.new("SpecialMesh", expart)
| |
| 3021 | partMesh.MeshType = "Sphere" | |
| 3022 | local partMesh2 = Instance.new("SpecialMesh", expart2)
| |
| 3023 | partMesh2.MeshType = "Sphere" | |
| 3024 | local partMesh3 = Instance.new("SpecialMesh", rin)
| |
| 3025 | partMesh3.MeshType = "Brick" | |
| 3026 | local partMesh4 = Instance.new("SpecialMesh", rin2)
| |
| 3027 | partMesh4.MeshType = "Brick" | |
| 3028 | CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
| |
| 3029 | partMesh.Scale = vt(rad, rad, rad) | |
| 3030 | expart.Size = vt(1, 1, 1) | |
| 3031 | expart.Transparency = 0 | |
| 3032 | expart.Anchored = true | |
| 3033 | expart.Material = "Neon" | |
| 3034 | expart.BrickColor = bc("White")
| |
| 3035 | expart.CFrame = par.CFrame | |
| 3036 | partMesh2.Scale = vt(rad, rad, rad) | |
| 3037 | expart2.Size = vt(1.15, 1.15, 1.15) | |
| 3038 | expart2.Transparency = 0.5 | |
| 3039 | expart2.Anchored = true | |
| 3040 | expart2.Material = "Neon" | |
| 3041 | expart2.BrickColor = par.BrickColor | |
| 3042 | expart2.CFrame = par.CFrame | |
| 3043 | rin.Size = vt(1.15, 1.15, 1.15) | |
| 3044 | rin.Transparency = 1 | |
| 3045 | rin.Anchored = true | |
| 3046 | rin.Material = "Neon" | |
| 3047 | rin.BrickColor = par.BrickColor | |
| 3048 | rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))) | |
| 3049 | rin2.Size = vt(1.15, 1.15, 1.15) | |
| 3050 | rin2.Transparency = 1 | |
| 3051 | rin2.Anchored = true | |
| 3052 | rin2.Material = "Neon" | |
| 3053 | rin2.BrickColor = par.BrickColor | |
| 3054 | rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))) | |
| 3055 | partMesh3.Scale = vt(0, 1, 0) | |
| 3056 | partMesh4.Scale = vt(0, 1, 0) | |
| 3057 | local dec2 = Instance.new("Decal", rin)
| |
| 3058 | dec2.Face = "Top" | |
| 3059 | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" | |
| 3060 | dec2.Parent = rin | |
| 3061 | local dec2b = dec2:Clone() | |
| 3062 | dec2b.Face = "Bottom" | |
| 3063 | dec2b.Parent = rin | |
| 3064 | local dec2a = Instance.new("Decal", rin2)
| |
| 3065 | dec2a.Face = "Top" | |
| 3066 | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" | |
| 3067 | dec2a.Parent = rin2 | |
| 3068 | local dec2ab = dec2a:Clone() | |
| 3069 | dec2ab.Face = "Bottom" | |
| 3070 | dec2ab.Parent = rin2 | |
| 3071 | expart.CanCollide = false | |
| 3072 | expart2.CanCollide = false | |
| 3073 | rin.CanCollide = false | |
| 3074 | rin2.CanCollide = false | |
| 3075 | MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal") | |
| 3076 | local value = 1 * rad / 6.5 | |
| 3077 | for i = 0, 199 do | |
| 3078 | partMesh.Scale = partMesh.Scale + vt(value, value, value) | |
| 3079 | expart.CFrame = expart.CFrame | |
| 3080 | partMesh2.Scale = partMesh2.Scale + vt(value, value, value) | |
| 3081 | expart2.CFrame = expart.CFrame | |
| 3082 | value = value - 0.035 * rad / 30 | |
| 3083 | if value < 7.5 then | |
| 3084 | partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5) | |
| 3085 | rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0) | |
| 3086 | partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5) | |
| 3087 | rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0) | |
| 3088 | end | |
| 3089 | if value < 0 then | |
| 3090 | dec2.Transparency = dec2.Transparency + 0.025 | |
| 3091 | dec2a.Transparency = dec2a.Transparency + 0.025 | |
| 3092 | dec2b.Transparency = dec2b.Transparency + 0.025 | |
| 3093 | dec2ab.Transparency = dec2ab.Transparency + 0.025 | |
| 3094 | expart.Transparency = expart.Transparency + 0.025 | |
| 3095 | expart2.Transparency = expart2.Transparency + 0.025 | |
| 3096 | rin.Transparency = rin.Transparency + 0.025 | |
| 3097 | rin2.Transparency = rin2.Transparency + 0.025 | |
| 3098 | end | |
| 3099 | swait() | |
| 3100 | end | |
| 3101 | game:GetService("Debris"):AddItem(expart, 1)
| |
| 3102 | game:GetService("Debris"):AddItem(expart2, 1)
| |
| 3103 | game:GetService("Debris"):AddItem(rin, 1)
| |
| 3104 | game:GetService("Debris"):AddItem(rin2, 1)
| |
| 3105 | end | |
| 3106 | function ExplodeShort(rad, par, pitch, vol, mindam, maxdam) | |
| 3107 | local expart = Instance.new("Part", char)
| |
| 3108 | local expart2 = Instance.new("Part", char)
| |
| 3109 | local partMesh = Instance.new("SpecialMesh", expart)
| |
| 3110 | partMesh.MeshType = "Sphere" | |
| 3111 | local partMesh2 = Instance.new("SpecialMesh", expart2)
| |
| 3112 | partMesh2.MeshType = "Sphere" | |
| 3113 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
| |
| 3114 | partMesh.Scale = vt(rad, rad, rad) | |
| 3115 | expart.Size = vt(1, 1, 1) | |
| 3116 | expart.Transparency = 0 | |
| 3117 | expart.Anchored = true | |
| 3118 | expart.Material = "Neon" | |
| 3119 | expart.BrickColor = bc("White")
| |
| 3120 | expart.CFrame = par.CFrame | |
| 3121 | partMesh2.Scale = vt(rad, rad, rad) | |
| 3122 | expart2.Size = vt(1.15, 1.15, 1.15) | |
| 3123 | expart2.Transparency = 0.5 | |
| 3124 | expart2.Anchored = true | |
| 3125 | expart2.Material = "Neon" | |
| 3126 | expart2.BrickColor = par.BrickColor | |
| 3127 | expart2.CFrame = par.CFrame | |
| 3128 | expart.CanCollide = false | |
| 3129 | expart2.CanCollide = false | |
| 3130 | MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal") | |
| 3131 | local value = 1 * rad / 6.5 | |
| 3132 | for i = 0, 75 do | |
| 3133 | partMesh.Scale = partMesh.Scale + vt(value, value, value) | |
| 3134 | expart.CFrame = expart.CFrame | |
| 3135 | partMesh2.Scale = partMesh2.Scale + vt(value, value, value) | |
| 3136 | expart2.CFrame = expart.CFrame | |
| 3137 | value = value - 0.035 * rad / 5 | |
| 3138 | if value < 0 then | |
| 3139 | value = 0 | |
| 3140 | expart.Transparency = expart.Transparency + 0.05 | |
| 3141 | expart2.Transparency = expart2.Transparency + 0.05 | |
| 3142 | end | |
| 3143 | swait() | |
| 3144 | end | |
| 3145 | game:GetService("Debris"):AddItem(expart, 1)
| |
| 3146 | game:GetService("Debris"):AddItem(expart2, 1)
| |
| 3147 | end | |
| 3148 | function AreaDanger(rad, par, mindam, maxdam) | |
| 3149 | local expart = Instance.new("Part", char)
| |
| 3150 | local partMesh = Instance.new("SpecialMesh", expart)
| |
| 3151 | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
| |
| 3152 | partMesh.MeshType = "Sphere" | |
| 3153 | partMesh.Scale = vt(rad, rad, rad) | |
| 3154 | expart.Size = vt(1, 1, 1) | |
| 3155 | expart.Transparency = 0.5 | |
| 3156 | expart.Anchored = true | |
| 3157 | expart.Material = "Neon" | |
| 3158 | expart.CanCollide = false | |
| 3159 | expart.BrickColor = par.BrickColor | |
| 3160 | expart.CFrame = par.CFrame | |
| 3161 | local value = 1 * rad / 5 | |
| 3162 | MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1) | |
| 3163 | for i = 0, 14 do | |
| 3164 | wait() | |
| 3165 | partMesh.Scale = partMesh.Scale + vt(value, value, value) | |
| 3166 | expart.CFrame = expart.CFrame | |
| 3167 | value = value - 0.035 * rad | |
| 3168 | if value < 0 then | |
| 3169 | value = 0 | |
| 3170 | end | |
| 3171 | end | |
| 3172 | wait(0.25) | |
| 3173 | CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
| |
| 3174 | wait(0.5) | |
| 3175 | CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
| |
| 3176 | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
| |
| 3177 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
| 3178 | MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025) | |
| 3179 | for i = 0, 14 do | |
| 3180 | wait() | |
| 3181 | partMesh.Scale = partMesh.Scale + vt(value, value, value) | |
| 3182 | expart.CFrame = expart.CFrame | |
| 3183 | value = value - 0.035 * rad / 2 | |
| 3184 | end | |
| 3185 | expart.Transparency = 1 | |
| 3186 | game:GetService("Debris"):AddItem(expart, 5)
| |
| 3187 | end | |
| 3188 | function Swarmsplosions(negrad, rad, par, mindam, maxdam) | |
| 3189 | CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
| |
| 3190 | CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
| |
| 3191 | CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
| |
| 3192 | CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
| |
| 3193 | MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal") | |
| 3194 | MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025) | |
| 3195 | for i = 0, 24 do | |
| 3196 | MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 25, 0.005, math.random(1, 2)) | |
| 3197 | end | |
| 3198 | for i = 0, 24 do | |
| 3199 | local expart = Instance.new("Part", char)
| |
| 3200 | expart.Transparency = 1 | |
| 3201 | expart.Anchored = true | |
| 3202 | expart.CanCollide = false | |
| 3203 | expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad)) | |
| 3204 | CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
| |
| 3205 | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
| |
| 3206 | MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal") | |
| 3207 | MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025) | |
| 3208 | for i = 0, 9 do | |
| 3209 | MagicShockTrailAlt2(origcolor, expart.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 5, 0.05, math.random(1, 2)) | |
| 3210 | end | |
| 3211 | game:GetService("Debris"):AddItem(expart, 2)
| |
| 3212 | wait(0.1) | |
| 3213 | end | |
| 3214 | end | |
| 3215 | function EXterPlosion(par) | |
| 3216 | CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
| |
| 3217 | CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
| |
| 3218 | CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
| |
| 3219 | CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
| |
| 3220 | MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal") | |
| 3221 | MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005) | |
| 3222 | MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1) | |
| 3223 | for i = 0, 24 do | |
| 3224 | MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.5, -0.5, 500, 0.1, math.random(1, 2)) | |
| 3225 | end | |
| 3226 | for i = 0, 24 do | |
| 3227 | MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.25, -0.25, 50, 0.005, math.random(1, 2)) | |
| 3228 | end | |
| 3229 | end | |
| 3230 | function ring(type, pos, scale, value) | |
| 3231 | local type = type | |
| 3232 | local rng = Instance.new("Part", char)
| |
| 3233 | rng.Anchored = true | |
| 3234 | rng.BrickColor = origcolor | |
| 3235 | rng.CanCollide = false | |
| 3236 | rng.FormFactor = 3 | |
| 3237 | rng.Name = "Ring" | |
| 3238 | rng.Size = Vector3.new(1, 1, 1) | |
| 3239 | rng.Transparency = 0 | |
| 3240 | rng.TopSurface = 0 | |
| 3241 | rng.BottomSurface = 0 | |
| 3242 | rng.CFrame = pos | |
| 3243 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3244 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 3245 | rngm.Scale = scale | |
| 3246 | local scaler2 = 1 | |
| 3247 | if type == "Add" then | |
| 3248 | scaler2 = 1 * value | |
| 3249 | elseif type == "Divide" then | |
| 3250 | scaler2 = 1 / value | |
| 3251 | end | |
| 3252 | coroutine.resume(coroutine.create(function() | |
| 3253 | for i = 0, 10, 0.1 do | |
| 3254 | swait() | |
| 3255 | if type == "Add" then | |
| 3256 | scaler2 = scaler2 - 0.01 * value | |
| 3257 | elseif type == "Divide" then | |
| 3258 | scaler2 = scaler2 - 0.01 / value | |
| 3259 | end | |
| 3260 | rng.Transparency = rng.Transparency + 0.01 | |
| 3261 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 3262 | end | |
| 3263 | rng:Destroy() | |
| 3264 | end)) | |
| 3265 | end | |
| 3266 | function wave(type, pos, scale, value) | |
| 3267 | local type = type | |
| 3268 | local rng = Instance.new("Part", char)
| |
| 3269 | rng.Anchored = true | |
| 3270 | rng.BrickColor = origcolor | |
| 3271 | rng.CanCollide = false | |
| 3272 | rng.FormFactor = 3 | |
| 3273 | rng.Name = "Ring" | |
| 3274 | rng.Size = Vector3.new(1, 1, 1) | |
| 3275 | rng.Transparency = 0 | |
| 3276 | rng.TopSurface = 0 | |
| 3277 | rng.BottomSurface = 0 | |
| 3278 | rng.CFrame = pos | |
| 3279 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3280 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 3281 | rngm.Scale = scale | |
| 3282 | local scaler2 = 1 | |
| 3283 | if type == "Add" then | |
| 3284 | scaler2 = 1 * value | |
| 3285 | elseif type == "Divide" then | |
| 3286 | scaler2 = 1 / value | |
| 3287 | end | |
| 3288 | coroutine.resume(coroutine.create(function() | |
| 3289 | for i = 0, 10, 0.1 do | |
| 3290 | swait() | |
| 3291 | if type == "Add" then | |
| 3292 | scaler2 = scaler2 - 0.01 * value | |
| 3293 | elseif type == "Divide" then | |
| 3294 | scaler2 = scaler2 - 0.01 / value | |
| 3295 | end | |
| 3296 | rng.Transparency = rng.Transparency + 0.01 | |
| 3297 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 3298 | end | |
| 3299 | rng:Destroy() | |
| 3300 | end)) | |
| 3301 | end | |
| 3302 | function wind(type, pos, scale, value, speed) | |
| 3303 | local type = type | |
| 3304 | local rng = Instance.new("Part", char)
| |
| 3305 | rng.Anchored = true | |
| 3306 | rng.BrickColor = origcolor | |
| 3307 | rng.CanCollide = false | |
| 3308 | rng.FormFactor = 3 | |
| 3309 | rng.Name = "Ring" | |
| 3310 | rng.Size = Vector3.new(1, 1, 1) | |
| 3311 | rng.Transparency = 0 | |
| 3312 | rng.TopSurface = 0 | |
| 3313 | rng.BottomSurface = 0 | |
| 3314 | rng.CFrame = pos | |
| 3315 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3316 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 3317 | rngm.Scale = scale | |
| 3318 | local scaler2 = 1 | |
| 3319 | if type == "Add" then | |
| 3320 | scaler2 = 1 * value | |
| 3321 | elseif type == "Divide" then | |
| 3322 | scaler2 = 1 / value | |
| 3323 | end | |
| 3324 | coroutine.resume(coroutine.create(function() | |
| 3325 | for i = 0, 10, 0.1 do | |
| 3326 | swait() | |
| 3327 | if type == "Add" then | |
| 3328 | scaler2 = scaler2 - 0.01 * value | |
| 3329 | elseif type == "Divide" then | |
| 3330 | scaler2 = scaler2 - 0.01 / value | |
| 3331 | end | |
| 3332 | rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0) | |
| 3333 | rng.Transparency = rng.Transparency + 0.01 | |
| 3334 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 3335 | end | |
| 3336 | rng:Destroy() | |
| 3337 | end)) | |
| 3338 | end | |
| 3339 | function groundwind(type, pos, scale, value, speed) | |
| 3340 | local type = type | |
| 3341 | local rng = Instance.new("Part", char)
| |
| 3342 | rng.Anchored = true | |
| 3343 | rng.BrickColor = origcolor | |
| 3344 | rng.CanCollide = false | |
| 3345 | rng.FormFactor = 3 | |
| 3346 | rng.Name = "Ring" | |
| 3347 | rng.Size = Vector3.new(1, 1, 1) | |
| 3348 | rng.Transparency = 0 | |
| 3349 | rng.TopSurface = 0 | |
| 3350 | rng.BottomSurface = 0 | |
| 3351 | rng.CFrame = pos | |
| 3352 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3353 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 3354 | rngm.Scale = scale | |
| 3355 | local scaler2 = 1 | |
| 3356 | if type == "Add" then | |
| 3357 | scaler2 = 1 * value | |
| 3358 | elseif type == "Divide" then | |
| 3359 | scaler2 = 1 / value | |
| 3360 | end | |
| 3361 | coroutine.resume(coroutine.create(function() | |
| 3362 | for i = 0, 10, 0.1 do | |
| 3363 | swait() | |
| 3364 | if type == "Add" then | |
| 3365 | scaler2 = scaler2 - 0.01 * value | |
| 3366 | elseif type == "Divide" then | |
| 3367 | scaler2 = scaler2 - 0.01 / value | |
| 3368 | end | |
| 3369 | rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0) | |
| 3370 | rng.Transparency = rng.Transparency + 0.01 | |
| 3371 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2) | |
| 3372 | end | |
| 3373 | rng:Destroy() | |
| 3374 | end)) | |
| 3375 | end | |
| 3376 | function CameraManager() | |
| 3377 | if TwoD and not CamInterrupt then | |
| 3378 | if Humanoid.Health > 0 then | |
| 3379 | Camera.CameraSubject = Humanoid | |
| 3380 | Camera.CameraType = "Scriptable" | |
| 3381 | Humanoid.AutoRotate = false | |
| 3382 | if Booleans.GyroUse then | |
| 3383 | Directer.MaxTorque = Vec3(0, huge, 0) | |
| 3384 | else | |
| 3385 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 3386 | end | |
| 3387 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
| 3388 | if Booleans.CamFollow then | |
| 3389 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
| 3390 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
| 3391 | else | |
| 3392 | CPart.Position = RootPart.Position | |
| 3393 | end | |
| 3394 | else | |
| 3395 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
| 3396 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
| 3397 | end | |
| 3398 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
| 3399 | else | |
| 3400 | Camera.CameraSubject = Humanoid | |
| 3401 | Camera.CameraType = "Custom" | |
| 3402 | Controller.Disabled = false | |
| 3403 | end | |
| 3404 | end | |
| 3405 | end | |
| 3406 | function sphere(bonuspeed, type, pos, scale, value, color) | |
| 3407 | local type = type | |
| 3408 | local rng = Instance.new("Part", char)
| |
| 3409 | rng.Anchored = true | |
| 3410 | rng.BrickColor = color | |
| 3411 | rng.CanCollide = false | |
| 3412 | rng.FormFactor = 3 | |
| 3413 | rng.Name = "Ring" | |
| 3414 | rng.Material = "Neon" | |
| 3415 | rng.Size = Vector3.new(1, 1, 1) | |
| 3416 | rng.Transparency = 0 | |
| 3417 | rng.TopSurface = 0 | |
| 3418 | rng.BottomSurface = 0 | |
| 3419 | rng.CFrame = pos | |
| 3420 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3421 | rngm.MeshType = "Sphere" | |
| 3422 | rngm.Scale = scale | |
| 3423 | if rainbowmode == true then | |
| 3424 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3425 | end | |
| 3426 | local scaler2 = 1 | |
| 3427 | if type == "Add" then | |
| 3428 | scaler2 = 1 * value | |
| 3429 | elseif type == "Divide" then | |
| 3430 | scaler2 = 1 / value | |
| 3431 | end | |
| 3432 | coroutine.resume(coroutine.create(function() | |
| 3433 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 3434 | swait() | |
| 3435 | if rainbowmode == true then | |
| 3436 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3437 | end | |
| 3438 | if type == "Add" then | |
| 3439 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 3440 | elseif type == "Divide" then | |
| 3441 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 3442 | end | |
| 3443 | if chaosmode == true then | |
| 3444 | rng.BrickColor = BrickColor.random() | |
| 3445 | end | |
| 3446 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 3447 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 3448 | end | |
| 3449 | rng:Destroy() | |
| 3450 | end)) | |
| 3451 | end | |
| 3452 | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
| 3453 | local type = type | |
| 3454 | local rng = Instance.new("Part", char)
| |
| 3455 | rng.Anchored = true | |
| 3456 | rng.BrickColor = color | |
| 3457 | rng.CanCollide = false | |
| 3458 | rng.FormFactor = 3 | |
| 3459 | rng.Name = "Ring" | |
| 3460 | rng.Material = "Neon" | |
| 3461 | rng.Size = Vector3.new(1, 1, 1) | |
| 3462 | rng.Transparency = 0 | |
| 3463 | rng.TopSurface = 0 | |
| 3464 | rng.BottomSurface = 0 | |
| 3465 | rng.CFrame = pos | |
| 3466 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 3467 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3468 | rngm.MeshType = "Sphere" | |
| 3469 | rngm.Scale = vt(x1, y1, z1) | |
| 3470 | if rainbowmode == true then | |
| 3471 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3472 | end | |
| 3473 | local scaler2 = 1 | |
| 3474 | local speeder = FastSpeed | |
| 3475 | if type == "Add" then | |
| 3476 | scaler2 = 1 * value | |
| 3477 | elseif type == "Divide" then | |
| 3478 | scaler2 = 1 / value | |
| 3479 | end | |
| 3480 | coroutine.resume(coroutine.create(function() | |
| 3481 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 3482 | swait() | |
| 3483 | if rainbowmode == true then | |
| 3484 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3485 | end | |
| 3486 | if type == "Add" then | |
| 3487 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 3488 | elseif type == "Divide" then | |
| 3489 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 3490 | end | |
| 3491 | if chaosmode == true then | |
| 3492 | rng.BrickColor = BrickColor.random() | |
| 3493 | end | |
| 3494 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 3495 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 3496 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 3497 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 3498 | end | |
| 3499 | rng:Destroy() | |
| 3500 | end)) | |
| 3501 | end | |
| 3502 | function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
| 3503 | local type = type | |
| 3504 | local rng = Instance.new("Part", char)
| |
| 3505 | rng.Anchored = true | |
| 3506 | rng.BrickColor = color | |
| 3507 | rng.CanCollide = false | |
| 3508 | rng.FormFactor = 3 | |
| 3509 | rng.Name = "Ring" | |
| 3510 | rng.Material = "Neon" | |
| 3511 | rng.Size = Vector3.new(1, 1, 1) | |
| 3512 | rng.Transparency = 1 | |
| 3513 | rng.TopSurface = 0 | |
| 3514 | rng.BottomSurface = 0 | |
| 3515 | rng.CFrame = pos | |
| 3516 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 3517 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3518 | rngm.MeshType = "Sphere" | |
| 3519 | rngm.Scale = vt(x1, y1, z1) | |
| 3520 | if rainbowmode == true then | |
| 3521 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3522 | end | |
| 3523 | local scaler2 = 1 | |
| 3524 | local speeder = FastSpeed | |
| 3525 | if type == "Add" then | |
| 3526 | scaler2 = 1 * value | |
| 3527 | elseif type == "Divide" then | |
| 3528 | scaler2 = 1 / value | |
| 3529 | end | |
| 3530 | coroutine.resume(coroutine.create(function() | |
| 3531 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 3532 | swait() | |
| 3533 | if rainbowmode == true then | |
| 3534 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3535 | end | |
| 3536 | if type == "Add" then | |
| 3537 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 3538 | elseif type == "Divide" then | |
| 3539 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 3540 | end | |
| 3541 | if chaosmode == true then | |
| 3542 | rng.BrickColor = BrickColor.random() | |
| 3543 | end | |
| 3544 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 3545 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 3546 | rng.Transparency = rng.Transparency - 0.01 * bonuspeed | |
| 3547 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 3548 | end | |
| 3549 | rng:Destroy() | |
| 3550 | end)) | |
| 3551 | end | |
| 3552 | function dmg(dude) | |
| 3553 | if dude.Name ~= Character then | |
| 3554 | local bgf = Instance.new("BodyGyro", dude.Head)
| |
| 3555 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0) | |
| 3556 | local val = Instance.new("BoolValue", dude)
| |
| 3557 | val.Name = "IsHit" | |
| 3558 | local ds = coroutine.wrap(function() | |
| 3559 | dude:WaitForChild("Head"):BreakJoints()
| |
| 3560 | wait(0.5) | |
| 3561 | targetted = nil | |
| 3562 | CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
| |
| 3563 | coroutine.resume(coroutine.create(function() | |
| 3564 | for i, v in pairs(dude:GetChildren()) do | |
| 3565 | if v:IsA("Accessory") then
| |
| 3566 | v:Destroy() | |
| 3567 | end | |
| 3568 | if v:IsA("Humanoid") then
| |
| 3569 | v:Destroy() | |
| 3570 | end | |
| 3571 | if v:IsA("CharacterMesh") then
| |
| 3572 | v:Destroy() | |
| 3573 | end | |
| 3574 | if v:IsA("Model") then
| |
| 3575 | v:Destroy() | |
| 3576 | end | |
| 3577 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 3578 | for x, o in pairs(v:GetChildren()) do | |
| 3579 | if o:IsA("Decal") then
| |
| 3580 | o:Destroy() | |
| 3581 | end | |
| 3582 | end | |
| 3583 | coroutine.resume(coroutine.create(function() | |
| 3584 | v.Material = "Neon" | |
| 3585 | v.CanCollide = false | |
| 3586 | local bld = Instance.new("ParticleEmitter", v)
| |
| 3587 | bld.LightEmission = 1 | |
| 3588 | bld.Texture = "rbxassetid://284205403" | |
| 3589 | bld.Color = ColorSequence.new(Color3.new(1, 1, 1)) | |
| 3590 | bld.Rate = 50 | |
| 3591 | bld.Lifetime = NumberRange.new(1) | |
| 3592 | bld.Size = NumberSequence.new({
| |
| 3593 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 3594 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 3595 | }) | |
| 3596 | bld.Transparency = NumberSequence.new({
| |
| 3597 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 3598 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 3599 | }) | |
| 3600 | bld.Speed = NumberRange.new(0, 0) | |
| 3601 | bld.VelocitySpread = 50000 | |
| 3602 | bld.Rotation = NumberRange.new(-500, 500) | |
| 3603 | bld.RotSpeed = NumberRange.new(-500, 500) | |
| 3604 | local sbs = Instance.new("BodyPosition", v)
| |
| 3605 | sbs.P = 3000 | |
| 3606 | sbs.D = 1000 | |
| 3607 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 3608 | sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) | |
| 3609 | v.Color = Color3.new(1, 1, 1) | |
| 3610 | coroutine.resume(coroutine.create(function() | |
| 3611 | for i = 0, 49 do | |
| 3612 | swait(1) | |
| 3613 | v.Transparency = v.Transparency + 0.02 | |
| 3614 | end | |
| 3615 | CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
| |
| 3616 | bld.Speed = NumberRange.new(1, 5) | |
| 3617 | bld.Acceleration = vt(0, 10, 0) | |
| 3618 | wait(0.5) | |
| 3619 | bld.Enabled = false | |
| 3620 | wait(3) | |
| 3621 | v:Destroy() | |
| 3622 | dude:Destroy() | |
| 3623 | end)) | |
| 3624 | end)) | |
| 3625 | end | |
| 3626 | end | |
| 3627 | end)) | |
| 3628 | end) | |
| 3629 | ds() | |
| 3630 | end | |
| 3631 | end | |
| 3632 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 3633 | if SinglePlayer then | |
| 3634 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 3635 | end | |
| 3636 | local List = {}
| |
| 3637 | for i, v in pairs(workspace:GetChildren()) do | |
| 3638 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
| |
| 3639 | table.insert(List, v) | |
| 3640 | end | |
| 3641 | end | |
| 3642 | return List | |
| 3643 | end | |
| 3644 | function FaceMouse() | |
| 3645 | Cam = workspace.CurrentCamera | |
| 3646 | return {
| |
| 3647 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 3648 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3649 | } | |
| 3650 | end | |
| 3651 | function FaceMouse2() | |
| 3652 | Cam = workspace.CurrentCamera | |
| 3653 | return {
| |
| 3654 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
| 3655 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3656 | } | |
| 3657 | end | |
| 3658 | local ModeOfGlitch = 1 | |
| 3659 | local storehumanoidWS = 16 | |
| 3660 | function ExtinctiveHeartbreak() | |
| 3661 | local targetted | |
| 3662 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 3663 | targetted = mouse.Target.Parent | |
| 3664 | end | |
| 3665 | if targetted ~= nil then | |
| 3666 | attack = true | |
| 3667 | CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
| |
| 3668 | for i = 0, 9 do | |
| 3669 | 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)
| |
| 3670 | end | |
| 3671 | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
| |
| 3672 | local originalpos = root.CFrame | |
| 3673 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2) | |
| 3674 | for i = 0, 9 do | |
| 3675 | 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)
| |
| 3676 | end | |
| 3677 | hum.WalkSpeed = 0 | |
| 3678 | targetted.Head.Anchored = true | |
| 3679 | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
| |
| 3680 | for i = 0, 2, 0.1 do | |
| 3681 | swait() | |
| 3682 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4) | |
| 3683 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4) | |
| 3684 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.4) | |
| 3685 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8) | |
| 3686 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 3687 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.4) | |
| 3688 | end | |
| 3689 | coroutine.resume(coroutine.create(function() | |
| 3690 | bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
| |
| 3691 | bld.LightEmission = 0.1 | |
| 3692 | bld.Texture = "rbxassetid://284205403" | |
| 3693 | bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0)) | |
| 3694 | bld.Rate = 500 | |
| 3695 | bld.Lifetime = NumberRange.new(1) | |
| 3696 | bld.Size = NumberSequence.new({
| |
| 3697 | NumberSequenceKeypoint.new(0, 2, 0), | |
| 3698 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 3699 | }) | |
| 3700 | bld.Acceleration = vt(0, -25, 0) | |
| 3701 | bld.Transparency = NumberSequence.new({
| |
| 3702 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 3703 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 3704 | }) | |
| 3705 | bld.Speed = NumberRange.new(10, 50) | |
| 3706 | bld.EmissionDirection = "Front" | |
| 3707 | bld.VelocitySpread = 25 | |
| 3708 | bld.Rotation = NumberRange.new(-500, 500) | |
| 3709 | bld.RotSpeed = NumberRange.new(-500, 500) | |
| 3710 | end)) | |
| 3711 | coroutine.resume(coroutine.create(function() | |
| 3712 | bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
| |
| 3713 | bld.LightEmission = 0.1 | |
| 3714 | bld.Texture = "rbxassetid://284205403" | |
| 3715 | bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0)) | |
| 3716 | bld.Rate = 500 | |
| 3717 | bld.Lifetime = NumberRange.new(1) | |
| 3718 | bld.Size = NumberSequence.new({
| |
| 3719 | NumberSequenceKeypoint.new(0, 2, 0), | |
| 3720 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 3721 | }) | |
| 3722 | bld.Acceleration = vt(0, -25, 0) | |
| 3723 | bld.Transparency = NumberSequence.new({
| |
| 3724 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 3725 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 3726 | }) | |
| 3727 | bld.Speed = NumberRange.new(10, 50) | |
| 3728 | bld.EmissionDirection = "Front" | |
| 3729 | bld.VelocitySpread = 25 | |
| 3730 | bld.Rotation = NumberRange.new(-500, 500) | |
| 3731 | bld.RotSpeed = NumberRange.new(-500, 500) | |
| 3732 | end)) | |
| 3733 | CameraEnshaking(5, 5) | |
| 3734 | game:GetService("Debris"):AddItem(bld, 3)
| |
| 3735 | dmg(targetted) | |
| 3736 | CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
| |
| 3737 | for i = 0, 1, 0.1 do | |
| 3738 | swait() | |
| 3739 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8) | |
| 3740 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8) | |
| 3741 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.25, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8) | |
| 3742 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8) | |
| 3743 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8) | |
| 3744 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.8) | |
| 3745 | end | |
| 3746 | CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
| |
| 3747 | for i = 0, 9 do | |
| 3748 | 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)
| |
| 3749 | end | |
| 3750 | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
| |
| 3751 | root.CFrame = originalpos | |
| 3752 | for i = 0, 9 do | |
| 3753 | 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)
| |
| 3754 | end | |
| 3755 | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
| |
| 3756 | bld.Enabled = false | |
| 3757 | attack = false | |
| 3758 | hum.WalkSpeed = storehumanoidWS | |
| 3759 | end | |
| 3760 | end | |
| 3761 | function PureBomb() | |
| 3762 | attack = true | |
| 3763 | local orb = Instance.new("Part", char)
| |
| 3764 | orb.Anchored = true | |
| 3765 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3766 | orb.CanCollide = false | |
| 3767 | orb.FormFactor = 3 | |
| 3768 | orb.Name = "Ring" | |
| 3769 | orb.Material = "Neon" | |
| 3770 | orb.Size = Vector3.new(1, 1, 1) | |
| 3771 | orb.Transparency = 0 | |
| 3772 | orb.TopSurface = 0 | |
| 3773 | orb.BottomSurface = 0 | |
| 3774 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3775 | orbm.MeshType = "Sphere" | |
| 3776 | orbm.Name = "SizeMesh" | |
| 3777 | orbm.Scale = vt(0, 0, 0) | |
| 3778 | local scaled = 0.1 | |
| 3779 | local posid = 0 | |
| 3780 | CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
| |
| 3781 | for i = 0, 5, 0.1 do | |
| 3782 | swait() | |
| 3783 | scaled = scaled - 0.001 | |
| 3784 | posid = posid - scaled | |
| 3785 | orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0) | |
| 3786 | orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled) | |
| 3787 | 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)
| |
| 3788 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.1) | |
| 3789 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.1) | |
| 3790 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 3791 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 3792 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1) | |
| 3793 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.1) | |
| 3794 | end | |
| 3795 | for i = 0, 2, 0.1 do | |
| 3796 | swait() | |
| 3797 | orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0) | |
| 3798 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4) | |
| 3799 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4) | |
| 3800 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.4) | |
| 3801 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4) | |
| 3802 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4) | |
| 3803 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4) | |
| 3804 | end | |
| 3805 | coroutine.resume(coroutine.create(function() | |
| 3806 | orb.Anchored = false | |
| 3807 | CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
| |
| 3808 | local a = Instance.new("Part", workspace)
| |
| 3809 | a.Name = "Direction" | |
| 3810 | a.Anchored = true | |
| 3811 | a.BrickColor = bc("Bright red")
| |
| 3812 | a.Material = "Neon" | |
| 3813 | a.Transparency = 1 | |
| 3814 | a.CanCollide = false | |
| 3815 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
| 3816 | local ignore = orb | |
| 3817 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3818 | a.BottomSurface = 10 | |
| 3819 | a.TopSurface = 10 | |
| 3820 | local distance = (orb.CFrame.p - position).magnitude | |
| 3821 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3822 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3823 | orb.CFrame = a.CFrame | |
| 3824 | a:Destroy() | |
| 3825 | local bv = Instance.new("BodyVelocity")
| |
| 3826 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
| 3827 | bv.velocity = orb.CFrame.lookVector * 125 | |
| 3828 | bv.Parent = orb | |
| 3829 | local hitted = false | |
| 3830 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3831 | wait() | |
| 3832 | local hit = orb.Touched:connect(function(hit) | |
| 3833 | if hitted == false then | |
| 3834 | hitted = true | |
| 3835 | CameraEnshaking(10, 2.5) | |
| 3836 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
| |
| 3837 | MagniDamage(orb, 65, 65, 90, 0, "Normal") | |
| 3838 | sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
| |
| 3839 | sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
| |
| 3840 | for i = 0, 9 do | |
| 3841 | 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)
| |
| 3842 | 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)
| |
| 3843 | end | |
| 3844 | orb.Anchored = true | |
| 3845 | orb.Transparency = 1 | |
| 3846 | wait(8) | |
| 3847 | orb:Destroy() | |
| 3848 | end | |
| 3849 | end) | |
| 3850 | end)) | |
| 3851 | for i = 0, 1, 0.1 do | |
| 3852 | swait() | |
| 3853 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4) | |
| 3854 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4) | |
| 3855 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.4) | |
| 3856 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4) | |
| 3857 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4) | |
| 3858 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4) | |
| 3859 | end | |
| 3860 | attack = false | |
| 3861 | end | |
| 3862 | function ChaosGroundStrike() | |
| 3863 | attack = true | |
| 3864 | for i = 0, 2, 0.1 do | |
| 3865 | swait() | |
| 3866 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
| 3867 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
| 3868 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3869 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3870 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) | |
| 3871 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) | |
| 3872 | end | |
| 3873 | CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
| |
| 3874 | CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
| |
| 3875 | CameraEnshaking(4, 12) | |
| 3876 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3877 | if v:FindFirstChild("Head") then
| |
| 3878 | dmg(v) | |
| 3879 | end | |
| 3880 | end | |
| 3881 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random()) | |
| 3882 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random()) | |
| 3883 | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random()) | |
| 3884 | for i = 0, 2, 0.1 do | |
| 3885 | swait() | |
| 3886 | 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) | |
| 3887 | 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) | |
| 3888 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 3889 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 3890 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3891 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3892 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) | |
| 3893 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
| 3894 | end | |
| 3895 | attack = false | |
| 3896 | end | |
| 3897 | function ChaosBegone() | |
| 3898 | attack = true | |
| 3899 | chatfunc("WHY WONT YOU PEOPLE...", BrickColor.random().Color)
| |
| 3900 | for i = 0, 10, 0.1 do | |
| 3901 | swait() | |
| 3902 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
| 3903 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
| 3904 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3905 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3906 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) | |
| 3907 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) | |
| 3908 | end | |
| 3909 | chatfunc("DIE!!", BrickColor.random().Color)
| |
| 3910 | CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
| |
| 3911 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
| |
| 3912 | CameraEnshaking(5, 25) | |
| 3913 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 3914 | if v:FindFirstChild("Head") then
| |
| 3915 | dmg(v) | |
| 3916 | end | |
| 3917 | end | |
| 3918 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random()) | |
| 3919 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random()) | |
| 3920 | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random()) | |
| 3921 | for i = 0, 3, 0.1 do | |
| 3922 | swait() | |
| 3923 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
| 3924 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
| 3925 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
| 3926 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
| 3927 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 3928 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 3929 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3930 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3931 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) | |
| 3932 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
| 3933 | end | |
| 3934 | attack = false | |
| 3935 | end | |
| 3936 | function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon) | |
| 3937 | local orb = Instance.new("Part", char)
| |
| 3938 | orb.Anchored = true | |
| 3939 | orb.BrickColor = color | |
| 3940 | orb.CanCollide = false | |
| 3941 | orb.FormFactor = 3 | |
| 3942 | orb.Name = "Ring" | |
| 3943 | orb.Material = "Neon" | |
| 3944 | orb.Size = Vector3.new(1, 1, 1) | |
| 3945 | orb.Transparency = 0 | |
| 3946 | orb.TopSurface = 0 | |
| 3947 | orb.BottomSurface = 0 | |
| 3948 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3949 | orbm.MeshType = "Sphere" | |
| 3950 | orb.CFrame = positted | |
| 3951 | orbm.Name = "SizeMesh" | |
| 3952 | orbm.Scale = vt(1, 1, 1) | |
| 3953 | CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
| |
| 3954 | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor) | |
| 3955 | coroutine.resume(coroutine.create(function() | |
| 3956 | wait(timer) | |
| 3957 | CameraEnshaking(3, ShakePower) | |
| 3958 | orb.Transparency = 1 | |
| 3959 | MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal") | |
| 3960 | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor) | |
| 3961 | CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
| |
| 3962 | wait(3) | |
| 3963 | orb:Destroy() | |
| 3964 | end)) | |
| 3965 | end | |
| 3966 | function orb_spawn(positted, timer) | |
| 3967 | local randomcol = math.random(1, 2) | |
| 3968 | local orb = Instance.new("Part", char)
| |
| 3969 | orb.Anchored = true | |
| 3970 | if randomcol == 1 then | |
| 3971 | orb.BrickColor = BrickColor.new("White")
| |
| 3972 | elseif randomcol == 2 then | |
| 3973 | orb.BrickColor = BrickColor.new("Really black")
| |
| 3974 | end | |
| 3975 | orb.CanCollide = false | |
| 3976 | orb.FormFactor = 3 | |
| 3977 | orb.Name = "Ring" | |
| 3978 | orb.Material = "Neon" | |
| 3979 | orb.Size = Vector3.new(1, 1, 1) | |
| 3980 | orb.Transparency = 0 | |
| 3981 | orb.TopSurface = 0 | |
| 3982 | orb.BottomSurface = 0 | |
| 3983 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3984 | orbm.MeshType = "Sphere" | |
| 3985 | orb.CFrame = positted | |
| 3986 | orbm.Name = "SizeMesh" | |
| 3987 | orbm.Scale = vt(1, 1, 1) | |
| 3988 | CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
| |
| 3989 | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor) | |
| 3990 | for i = 0, 2 do | |
| 3991 | 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) | |
| 3992 | end | |
| 3993 | coroutine.resume(coroutine.create(function() | |
| 3994 | wait(timer) | |
| 3995 | CameraEnshaking(3, 2) | |
| 3996 | orb.Transparency = 1 | |
| 3997 | MagniDamage(orb, 17.5, 10, 50, 0, "Normal") | |
| 3998 | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor) | |
| 3999 | for i = 0, 4 do | |
| 4000 | 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) | |
| 4001 | end | |
| 4002 | CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
| |
| 4003 | wait(3) | |
| 4004 | orb:Destroy() | |
| 4005 | end)) | |
| 4006 | end | |
| 4007 | function scattercorrupt() | |
| 4008 | attack = true | |
| 4009 | local rot = 0 | |
| 4010 | local randomrotations = math.random(1, 2) | |
| 4011 | local lookv = 2.5 | |
| 4012 | local power = 5 | |
| 4013 | sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
| |
| 4014 | sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
| |
| 4015 | for i = 0, 9 do | |
| 4016 | 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)
| |
| 4017 | end | |
| 4018 | CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
| |
| 4019 | CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
| |
| 4020 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
| |
| 4021 | CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
| |
| 4022 | CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
| |
| 4023 | local hite = Instance.new("Part", char)
| |
| 4024 | hite.Anchored = true | |
| 4025 | hite.CanCollide = false | |
| 4026 | hite.FormFactor = 3 | |
| 4027 | hite.Name = "Ring" | |
| 4028 | hite.Material = "Neon" | |
| 4029 | hite.Size = Vector3.new(1, 1, 1) | |
| 4030 | hite.Transparency = 1 | |
| 4031 | hite.TopSurface = 0 | |
| 4032 | hite.BottomSurface = 0 | |
| 4033 | hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0) | |
| 4034 | local rem = Instance.new("Part", char)
| |
| 4035 | rem.Anchored = true | |
| 4036 | rem.CanCollide = false | |
| 4037 | rem.FormFactor = 3 | |
| 4038 | rem.Name = "Ring" | |
| 4039 | rem.Material = "Neon" | |
| 4040 | rem.Size = Vector3.new(1, 1, 1) | |
| 4041 | rem.Transparency = 1 | |
| 4042 | rem.TopSurface = 0 | |
| 4043 | rem.BottomSurface = 0 | |
| 4044 | rem.CFrame = hite.CFrame | |
| 4045 | local rem2 = rem:Clone() | |
| 4046 | rem2.Parent = char | |
| 4047 | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4048 | local rem3 = rem:Clone() | |
| 4049 | rem3.Parent = char | |
| 4050 | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) | |
| 4051 | local rem4 = rem:Clone() | |
| 4052 | rem4.Parent = char | |
| 4053 | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) | |
| 4054 | hite:Destroy() | |
| 4055 | coroutine.resume(coroutine.create(function() | |
| 4056 | for i = 0, 24 do | |
| 4057 | swait(1) | |
| 4058 | if randomrotations == 1 then | |
| 4059 | rot = rot + 1 | |
| 4060 | elseif randomrotations == 2 then | |
| 4061 | rot = rot - 1 | |
| 4062 | end | |
| 4063 | power = power + 0.5 | |
| 4064 | lookv = lookv + 7.5 | |
| 4065 | rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0) | |
| 4066 | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4067 | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) | |
| 4068 | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) | |
| 4069 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 4070 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 4071 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 4072 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 4073 | end | |
| 4074 | end)) | |
| 4075 | attack = false | |
| 4076 | end | |
| 4077 | function yinyangi() | |
| 4078 | attack = true | |
| 4079 | for i = 0, 2, 0.1 do | |
| 4080 | swait() | |
| 4081 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2) | |
| 4082 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2) | |
| 4083 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2) | |
| 4084 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 4085 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
| 4086 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 4087 | end | |
| 4088 | local bv = Instance.new("BodyVelocity")
| |
| 4089 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
| 4090 | bv.velocity = root.CFrame.lookVector * 175 | |
| 4091 | bv.Parent = root | |
| 4092 | for Rotations = 0, 9 do | |
| 4093 | for i = 0, 1, 0.5 do | |
| 4094 | swait() | |
| 4095 | bv.velocity = root.CFrame.lookVector * 175 | |
| 4096 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) | |
| 4097 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5) | |
| 4098 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5) | |
| 4099 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) | |
| 4100 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
| 4101 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
| 4102 | end | |
| 4103 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
| 4104 | for i = 0, 1, 0.5 do | |
| 4105 | swait() | |
| 4106 | bv.velocity = root.CFrame.lookVector * 175 | |
| 4107 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) | |
| 4108 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5) | |
| 4109 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(180)), 0.5) | |
| 4110 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) | |
| 4111 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
| 4112 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
| 4113 | end | |
| 4114 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
| 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)), 0.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)), 0.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(270)), 0.5) | |
| 4121 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) | |
| 4122 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
| 4123 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
| 4124 | end | |
| 4125 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
| 4126 | for i = 0, 1, 0.5 do | |
| 4127 | swait() | |
| 4128 | bv.velocity = root.CFrame.lookVector * 175 | |
| 4129 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) | |
| 4130 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5) | |
| 4131 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(360)), 0.5) | |
| 4132 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) | |
| 4133 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
| 4134 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
| 4135 | end | |
| 4136 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
| 4137 | end | |
| 4138 | bv:Destroy() | |
| 4139 | attack = false | |
| 4140 | end | |
| 4141 | function Wip() | |
| 4142 | attack = true | |
| 4143 | local rngb = Instance.new("Part", char)
| |
| 4144 | rngb.Anchored = true | |
| 4145 | rngb.BrickColor = origcolor | |
| 4146 | rngb.CanCollide = false | |
| 4147 | rngb.FormFactor = 3 | |
| 4148 | rngb.Name = "Ring" | |
| 4149 | rngb.Material = "Neon" | |
| 4150 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 4151 | rngb.Transparency = 1 | |
| 4152 | rngb.TopSurface = 0 | |
| 4153 | rngb.BottomSurface = 0 | |
| 4154 | local rngmb = Instance.new("SpecialMesh", rngb)
| |
| 4155 | rngmb.MeshType = "Brick" | |
| 4156 | rngmb.Name = "SizeMesh" | |
| 4157 | rngmb.Scale = vt(0, 1, 0) | |
| 4158 | local orb = rngb:Clone() | |
| 4159 | orb.Parent = char | |
| 4160 | orb.Transparency = 0 | |
| 4161 | orb.BrickColor = BrickColor.new("White")
| |
| 4162 | orb.Size = vt(1, 1, 1) | |
| 4163 | local orbmish = orb.SizeMesh | |
| 4164 | orbmish.Scale = vt(0, 0, 0) | |
| 4165 | orbmish.MeshType = "Sphere" | |
| 4166 | local orbe = rngb:Clone() | |
| 4167 | orbe.Parent = char | |
| 4168 | orbe.Transparency = 0.5 | |
| 4169 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 4170 | orbe.Size = vt(1, 1, 1) | |
| 4171 | local orbmish2 = orbe.SizeMesh | |
| 4172 | orbmish2.Scale = vt(0, 0, 0) | |
| 4173 | orbmish2.MeshType = "Sphere" | |
| 4174 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 4175 | rngb:Destroy() | |
| 4176 | for i = 0, 5, 0.1 do | |
| 4177 | swait() | |
| 4178 | if rainbowmode == true then | |
| 4179 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 4180 | end | |
| 4181 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 4182 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 4183 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 4184 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 4185 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4186 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4187 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3) | |
| 4188 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3) | |
| 4189 | RootPart.CFrame = FaceMouse()[1] | |
| 4190 | end | |
| 4191 | orbe.Transparency = 1 | |
| 4192 | orb.Transparency = 1 | |
| 4193 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5 | |
| 4194 | CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
| |
| 4195 | local a = Instance.new("Part", Character)
| |
| 4196 | a.Name = "Direction" | |
| 4197 | a.Anchored = true | |
| 4198 | a.BrickColor = bc("White")
| |
| 4199 | a.Material = "Neon" | |
| 4200 | a.Transparency = 0 | |
| 4201 | a.Shape = "Cylinder" | |
| 4202 | a.CanCollide = false | |
| 4203 | local a2 = Instance.new("Part", Character)
| |
| 4204 | a2.Name = "Direction" | |
| 4205 | a2.Anchored = true | |
| 4206 | a2.BrickColor = bc("New Yeller")
| |
| 4207 | a2.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 4208 | a2.Material = "Neon" | |
| 4209 | a2.Transparency = 0.5 | |
| 4210 | a2.Shape = "Cylinder" | |
| 4211 | a2.CanCollide = false | |
| 4212 | local ba = Instance.new("Part", Character)
| |
| 4213 | ba.Name = "HitDirect" | |
| 4214 | ba.Anchored = true | |
| 4215 | ba.BrickColor = bc("Really black")
| |
| 4216 | ba.Material = "Neon" | |
| 4217 | ba.Transparency = 1 | |
| 4218 | ba.CanCollide = false | |
| 4219 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4220 | local ignore = Character | |
| 4221 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4222 | a.BottomSurface = 10 | |
| 4223 | a.TopSurface = 10 | |
| 4224 | a2.BottomSurface = 10 | |
| 4225 | a2.TopSurface = 10 | |
| 4226 | local distance = (orb.CFrame.p - position).magnitude | |
| 4227 | a.Size = Vector3.new(distance, 1, 1) | |
| 4228 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4229 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4230 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4231 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4232 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4233 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4234 | game:GetService("Debris"):AddItem(a, 20)
| |
| 4235 | game:GetService("Debris"):AddItem(a2, 20)
| |
| 4236 | game:GetService("Debris"):AddItem(ba, 20)
| |
| 4237 | local msh = Instance.new("SpecialMesh", a)
| |
| 4238 | msh.MeshType = "Cylinder" | |
| 4239 | msh.Scale = vt(1, 25, 25) | |
| 4240 | local msh2 = Instance.new("SpecialMesh", a2)
| |
| 4241 | msh2.MeshType = "Cylinder" | |
| 4242 | msh2.Scale = vt(1, 30, 30) | |
| 4243 | for i = 0, 10, 0.1 do | |
| 4244 | swait() | |
| 4245 | CameraEnshaking(1, 5) | |
| 4246 | a2.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 4247 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4248 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4249 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4250 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4251 | distance = (orb.CFrame.p - position).magnitude | |
| 4252 | if typrot == 1 then | |
| 4253 | rotation = rotation + 2.5 | |
| 4254 | elseif typrot == 2 then | |
| 4255 | rotation = rotation - 2.5 | |
| 4256 | end | |
| 4257 | RootPart.CFrame = FaceMouse()[1] | |
| 4258 | a.Size = Vector3.new(distance, 1, 1) | |
| 4259 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4260 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4261 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4262 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4263 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4264 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4265 | msh.Scale = msh.Scale - vt(0, 0.25, 0.25) | |
| 4266 | msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3) | |
| 4267 | 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) | |
| 4268 | 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) | |
| 4269 | MagniDamage(ba, 30, 500, 60000, 0, "Normal") | |
| 4270 | end | |
| 4271 | a:Destroy() | |
| 4272 | a2:Destroy() | |
| 4273 | ba:Destroy() | |
| 4274 | orb:Destroy() | |
| 4275 | orbe:Destroy() | |
| 4276 | attack = false | |
| 4277 | end | |
| 4278 | function UniversalSpark() | |
| 4279 | attack = true | |
| 4280 | local rngb = Instance.new("Part", char)
| |
| 4281 | rngb.Anchored = true | |
| 4282 | rngb.BrickColor = origcolor | |
| 4283 | rngb.CanCollide = false | |
| 4284 | rngb.FormFactor = 3 | |
| 4285 | rngb.Name = "Ring" | |
| 4286 | rngb.Material = "Neon" | |
| 4287 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 4288 | rngb.Transparency = 1 | |
| 4289 | rngb.TopSurface = 0 | |
| 4290 | rngb.BottomSurface = 0 | |
| 4291 | local rngmb = Instance.new("SpecialMesh", rngb)
| |
| 4292 | rngmb.MeshType = "Brick" | |
| 4293 | rngmb.Name = "SizeMesh" | |
| 4294 | rngmb.Scale = vt(0, 1, 0) | |
| 4295 | local orb = rngb:Clone() | |
| 4296 | orb.Parent = char | |
| 4297 | orb.Transparency = 0 | |
| 4298 | orb.BrickColor = BrickColor.new("White")
| |
| 4299 | orb.Size = vt(1, 1, 1) | |
| 4300 | local orbmish = orb.SizeMesh | |
| 4301 | orbmish.Scale = vt(0, 0, 0) | |
| 4302 | orbmish.MeshType = "Sphere" | |
| 4303 | local orbe = rngb:Clone() | |
| 4304 | orbe.Parent = char | |
| 4305 | orbe.Transparency = 0.5 | |
| 4306 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 4307 | orbe.Size = vt(1, 1, 1) | |
| 4308 | local orbmish2 = orbe.SizeMesh | |
| 4309 | orbmish2.Scale = vt(0, 0, 0) | |
| 4310 | orbmish2.MeshType = "Sphere" | |
| 4311 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 4312 | rngb:Destroy() | |
| 4313 | for i = 0, 5, 0.1 do | |
| 4314 | swait() | |
| 4315 | if rainbowmode == true then | |
| 4316 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 4317 | end | |
| 4318 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 4319 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 4320 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 4321 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 4322 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4323 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4324 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3) | |
| 4325 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3) | |
| 4326 | RootPart.CFrame = FaceMouse()[1] | |
| 4327 | end | |
| 4328 | orbe.Transparency = 1 | |
| 4329 | orb.Transparency = 1 | |
| 4330 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5 | |
| 4331 | CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
| |
| 4332 | CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
| |
| 4333 | CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
| |
| 4334 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
| |
| 4335 | CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
| |
| 4336 | CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 4337 | CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
| |
| 4338 | local xd = Instance.new("Sound", char)
| |
| 4339 | xd.SoundId = "rbxassetid://445796828" | |
| 4340 | xd.Pitch = 0.75 | |
| 4341 | xd.Looped = true | |
| 4342 | xd.Volume = 1.25 | |
| 4343 | xd:Play() | |
| 4344 | local a = Instance.new("Part", Character)
| |
| 4345 | a.Name = "Direction" | |
| 4346 | a.Anchored = true | |
| 4347 | a.BrickColor = bc("Alder")
| |
| 4348 | a.Color = MAINRUINCOLOR.Color | |
| 4349 | a.Material = "Neon" | |
| 4350 | a.Transparency = 0.5 | |
| 4351 | a.Shape = "Cylinder" | |
| 4352 | a.CanCollide = false | |
| 4353 | local a2 = Instance.new("Part", Character)
| |
| 4354 | a2.Name = "Direction" | |
| 4355 | a2.Anchored = true | |
| 4356 | a2.BrickColor = bc("New Yeller")
| |
| 4357 | a2.Color = MAINRUINCOLOR.Color | |
| 4358 | a2.Material = "Neon" | |
| 4359 | a2.Transparency = 0.5 | |
| 4360 | a2.Shape = "Cylinder" | |
| 4361 | a2.CanCollide = false | |
| 4362 | local ba = Instance.new("Part", Character)
| |
| 4363 | ba.Name = "HitDirect" | |
| 4364 | ba.Anchored = true | |
| 4365 | ba.BrickColor = bc("Really black")
| |
| 4366 | ba.Material = "Neon" | |
| 4367 | ba.Transparency = 1 | |
| 4368 | ba.CanCollide = false | |
| 4369 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4370 | local ignore = Character | |
| 4371 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4372 | a.BottomSurface = 10 | |
| 4373 | a.TopSurface = 10 | |
| 4374 | a2.BottomSurface = 10 | |
| 4375 | a2.TopSurface = 10 | |
| 4376 | local distance = (orb.CFrame.p - position).magnitude | |
| 4377 | a.Size = Vector3.new(distance, 1, 1) | |
| 4378 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4379 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4380 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4381 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4382 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4383 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4384 | game:GetService("Debris"):AddItem(a, 60)
| |
| 4385 | game:GetService("Debris"):AddItem(a2, 60)
| |
| 4386 | game:GetService("Debris"):AddItem(ba, 60)
| |
| 4387 | local outerscale = 0 | |
| 4388 | local msh = Instance.new("SpecialMesh", a)
| |
| 4389 | msh.MeshType = "Cylinder" | |
| 4390 | msh.Scale = vt(1, 0, 0) | |
| 4391 | local msh2 = Instance.new("SpecialMesh", a2)
| |
| 4392 | msh2.MeshType = "Cylinder" | |
| 4393 | msh2.Scale = vt(1, 0, 0) | |
| 4394 | for i = 0, 2, 0.1 do | |
| 4395 | swait() | |
| 4396 | CameraEnshaking(1, 1) | |
| 4397 | msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20) | |
| 4398 | msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15) | |
| 4399 | outerscale = outerscale - 0.015 | |
| 4400 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4401 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4402 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4403 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4404 | distance = (orb.CFrame.p - position).magnitude | |
| 4405 | if typrot == 1 then | |
| 4406 | rotation = rotation + 2.5 | |
| 4407 | elseif typrot == 2 then | |
| 4408 | rotation = rotation - 2.5 | |
| 4409 | end | |
| 4410 | RootPart.CFrame = FaceMouse()[1] | |
| 4411 | a.Size = Vector3.new(distance, 1, 1) | |
| 4412 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4413 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4414 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4415 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4416 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4417 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4418 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
| 4419 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
| 4420 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4421 | end | |
| 4422 | for z = 0, 2 do | |
| 4423 | for i = 0, 4, 0.1 do | |
| 4424 | swait() | |
| 4425 | CameraEnshaking(1, 1) | |
| 4426 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
| 4427 | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) | |
| 4428 | outerscale = outerscale + 0.015 | |
| 4429 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4430 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4431 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4432 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4433 | distance = (orb.CFrame.p - position).magnitude | |
| 4434 | if typrot == 1 then | |
| 4435 | rotation = rotation + 2.5 | |
| 4436 | elseif typrot == 2 then | |
| 4437 | rotation = rotation - 2.5 | |
| 4438 | end | |
| 4439 | RootPart.CFrame = FaceMouse()[1] | |
| 4440 | a.Size = Vector3.new(distance, 1, 1) | |
| 4441 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4442 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4443 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4444 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4445 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4446 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4447 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
| 4448 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
| 4449 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4450 | end | |
| 4451 | for i = 0, 4, 0.1 do | |
| 4452 | swait() | |
| 4453 | CameraEnshaking(1, 1) | |
| 4454 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
| 4455 | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) | |
| 4456 | outerscale = outerscale - 0.015 | |
| 4457 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4458 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4459 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4460 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4461 | distance = (orb.CFrame.p - position).magnitude | |
| 4462 | if typrot == 1 then | |
| 4463 | rotation = rotation + 2.5 | |
| 4464 | elseif typrot == 2 then | |
| 4465 | rotation = rotation - 2.5 | |
| 4466 | end | |
| 4467 | RootPart.CFrame = FaceMouse()[1] | |
| 4468 | a.Size = Vector3.new(distance, 1, 1) | |
| 4469 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4470 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4471 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4472 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4473 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4474 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4475 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
| 4476 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
| 4477 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4478 | end | |
| 4479 | end | |
| 4480 | for i = 0, 4, 0.1 do | |
| 4481 | swait() | |
| 4482 | CameraEnshaking(1, 1) | |
| 4483 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
| 4484 | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) | |
| 4485 | xd.Volume = xd.Volume - 0.025 | |
| 4486 | a.Transparency = a.Transparency + 0.025 | |
| 4487 | a2.Transparency = a2.Transparency + 0.025 | |
| 4488 | outerscale = outerscale - 0.015 | |
| 4489 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4490 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4491 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4492 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4493 | distance = (orb.CFrame.p - position).magnitude | |
| 4494 | if typrot == 1 then | |
| 4495 | rotation = rotation + 2.5 | |
| 4496 | elseif typrot == 2 then | |
| 4497 | rotation = rotation - 2.5 | |
| 4498 | end | |
| 4499 | RootPart.CFrame = FaceMouse()[1] | |
| 4500 | a.Size = Vector3.new(distance, 1, 1) | |
| 4501 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4502 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4503 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4504 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4505 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4506 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4507 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
| 4508 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
| 4509 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4510 | end | |
| 4511 | xd:Destroy() | |
| 4512 | a:Destroy() | |
| 4513 | a2:Destroy() | |
| 4514 | ba:Destroy() | |
| 4515 | orb:Destroy() | |
| 4516 | orbe:Destroy() | |
| 4517 | attack = false | |
| 4518 | end | |
| 4519 | function resetmode() | |
| 4520 | rainbowmode = false | |
| 4521 | chaosmode = false | |
| 4522 | RecolorTextAndRename("Blood maker", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
| |
| 4523 | ModeOfGlitch = 1 | |
| 4524 | storehumanoidWS = 16 | |
| 4525 | for i, v in pairs(mw2:GetChildren()) do | |
| 4526 | if v:IsA("Part") then
| |
| 4527 | v.BrickColor = BrickColor.new("Really red")
| |
| 4528 | v.Material = "Neon" | |
| 4529 | end | |
| 4530 | end | |
| 4531 | for i, v in pairs(mw1:GetChildren()) do | |
| 4532 | if v:IsA("Part") then
| |
| 4533 | v.Transparency = 1 | |
| 4534 | v.BrickColor = BrickColor.new("Really red")
| |
| 4535 | v.Material = "Neon" | |
| 4536 | end | |
| 4537 | end | |
| 4538 | MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 4539 | hum.WalkSpeed = 16 | |
| 4540 | newTheme("rbxassetid://415898123", 0, 1, 10)
| |
| 4541 | for i, v in pairs(m:GetChildren()) do | |
| 4542 | if v:IsA("Part") then
| |
| 4543 | v.BrickColor = BrickColor.new("Really black")
| |
| 4544 | v.Material = "Glass" | |
| 4545 | end | |
| 4546 | end | |
| 4547 | for i, v in pairs(m2:GetChildren()) do | |
| 4548 | if v:IsA("Part") then
| |
| 4549 | v.BrickColor = BrickColor.new("Crimson")
| |
| 4550 | v.Material = "Granite" | |
| 4551 | end | |
| 4552 | end | |
| 4553 | for i, v in pairs(m3:GetChildren()) do | |
| 4554 | if v:IsA("Part") then
| |
| 4555 | v.BrickColor = BrickColor.new("Really red")
| |
| 4556 | v.Material = "Neon" | |
| 4557 | end | |
| 4558 | end | |
| 4559 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4560 | if v:IsA("Part") then
| |
| 4561 | v.Transparency = 1 | |
| 4562 | v.BrickColor = BrickColor.new("White")
| |
| 4563 | v.Material = "Neon" | |
| 4564 | end | |
| 4565 | end | |
| 4566 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4567 | if v:IsA("Part") then
| |
| 4568 | v.Transparency = 1 | |
| 4569 | v.BrickColor = BrickColor.new("White")
| |
| 4570 | v.Material = "Neon" | |
| 4571 | end | |
| 4572 | end | |
| 4573 | end | |
| 4574 | function attackone() | |
| 4575 | attack = true | |
| 4576 | for i = 0, 1, 0.1 do | |
| 4577 | swait() | |
| 4578 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2) | |
| 4579 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2) | |
| 4580 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 4581 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 4582 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2) | |
| 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(-5), math.rad(0), math.rad(10)), 0.2) | |
| 4584 | end | |
| 4585 | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
| |
| 4586 | local hitb = Instance.new("Part", char)
| |
| 4587 | hitb.Anchored = true | |
| 4588 | hitb.CanCollide = false | |
| 4589 | hitb.FormFactor = 3 | |
| 4590 | hitb.Name = "Ring" | |
| 4591 | hitb.Material = "Neon" | |
| 4592 | hitb.Size = Vector3.new(1, 1, 1) | |
| 4593 | hitb.Transparency = 1 | |
| 4594 | hitb.TopSurface = 0 | |
| 4595 | hitb.BottomSurface = 0 | |
| 4596 | hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2 | |
| 4597 | MagniDamage(hitb, 3, 10, 30, 0, "Normal") | |
| 4598 | hitb:Destroy() | |
| 4599 | for i = 0, 1, 0.1 do | |
| 4600 | swait() | |
| 4601 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4) | |
| 4602 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4) | |
| 4603 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
| 4604 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
| 4605 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4) | |
| 4606 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4) | |
| 4607 | end | |
| 4608 | attack = false | |
| 4609 | end | |
| 4610 | function attacktwo() | |
| 4611 | attack = true | |
| 4612 | for i = 0, 1, 0.1 do | |
| 4613 | swait() | |
| 4614 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2) | |
| 4615 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) | |
| 4616 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 4617 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 4618 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2) | |
| 4619 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2) | |
| 4620 | end | |
| 4621 | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
| |
| 4622 | local hitb = Instance.new("Part", char)
| |
| 4623 | hitb.Anchored = true | |
| 4624 | hitb.CanCollide = false | |
| 4625 | hitb.FormFactor = 3 | |
| 4626 | hitb.Name = "Ring" | |
| 4627 | hitb.Material = "Neon" | |
| 4628 | hitb.Size = Vector3.new(1, 1, 1) | |
| 4629 | hitb.Transparency = 1 | |
| 4630 | hitb.TopSurface = 0 | |
| 4631 | hitb.BottomSurface = 0 | |
| 4632 | hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2 | |
| 4633 | MagniDamage(hitb, 3, 10, 30, 0, "Normal") | |
| 4634 | hitb:Destroy() | |
| 4635 | for i = 0, 1, 0.1 do | |
| 4636 | swait() | |
| 4637 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4) | |
| 4638 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4) | |
| 4639 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
| 4640 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
| 4641 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4) | |
| 4642 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4) | |
| 4643 | end | |
| 4644 | attack = false | |
| 4645 | end | |
| 4646 | function attackthree() | |
| 4647 | attack = true | |
| 4648 | for i = 0, 1, 0.1 do | |
| 4649 | swait() | |
| 4650 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
| 4651 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) | |
| 4652 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
| 4653 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4654 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3) | |
| 4655 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3) | |
| 4656 | end | |
| 4657 | local distlook = 5 | |
| 4658 | for i = 0, 4 do | |
| 4659 | swait(2) | |
| 4660 | CameraEnshaking(2, 3) | |
| 4661 | local hite = Instance.new("Part", char)
| |
| 4662 | hite.Anchored = true | |
| 4663 | hite.CanCollide = false | |
| 4664 | hite.FormFactor = 3 | |
| 4665 | hite.Name = "Ring" | |
| 4666 | hite.Material = "Neon" | |
| 4667 | hite.Size = Vector3.new(1, 1, 1) | |
| 4668 | hite.Transparency = 1 | |
| 4669 | hite.TopSurface = 0 | |
| 4670 | hite.BottomSurface = 0 | |
| 4671 | hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook | |
| 4672 | sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR) | |
| 4673 | sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR) | |
| 4674 | MagniDamage(hite, 10, 15, 35, 0, "Normal") | |
| 4675 | for i = 0, 2 do | |
| 4676 | 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) | |
| 4677 | 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) | |
| 4678 | 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) | |
| 4679 | end | |
| 4680 | CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
| |
| 4681 | CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
| |
| 4682 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 4683 | distlook = distlook + 10 | |
| 4684 | end | |
| 4685 | attack = false | |
| 4686 | end | |
| 4687 | local attacktype = 1 | |
| 4688 | mouse.Button1Down:connect(function() | |
| 4689 | if attack == false and attacktype == 1 then | |
| 4690 | attacktype = 2 | |
| 4691 | attackone() | |
| 4692 | elseif attack == false and attacktype == 2 then | |
| 4693 | attacktype = 3 | |
| 4694 | attacktwo() | |
| 4695 | elseif attack == false and attacktype == 3 then | |
| 4696 | attacktype = 1 | |
| 4697 | attackthree() | |
| 4698 | elseif attack == false and attacktype == 4 then | |
| 4699 | attacktype = 1 | |
| 4700 | end | |
| 4701 | end) | |
| 4702 | mouse.KeyDown:connect(function(k) | |
| 4703 | if k == "q" and attack == false and ModeOfGlitch ~= 2 then | |
| 4704 | ModeOfGlitch = 2 | |
| 4705 | storehumanoidWS = 16 | |
| 4706 | hum.WalkSpeed = 16 | |
| 4707 | rainbowmode = false | |
| 4708 | chaosmode = false | |
| 4709 | RecolorTextAndRename("Divine Purity", Color3.new(1, 1, 1), Color3.new(0, 1, 1))
| |
| 4710 | newTheme("rbxassetid://1119453744", 20.25, 1, 1)
| |
| 4711 | MAINRUINCOLOR = BrickColor.new("Toothpaste")
| |
| 4712 | for i, v in pairs(mw2:GetChildren()) do | |
| 4713 | if v:IsA("Part") then
| |
| 4714 | v.BrickColor = MAINRUINCOLOR | |
| 4715 | v.Material = "Neon" | |
| 4716 | end | |
| 4717 | end | |
| 4718 | for i, v in pairs(mw1:GetChildren()) do | |
| 4719 | if v:IsA("Part") then
| |
| 4720 | v.Transparency = 1 | |
| 4721 | v.BrickColor = MAINRUINCOLOR | |
| 4722 | v.Material = "Neon" | |
| 4723 | end | |
| 4724 | end | |
| 4725 | for i, v in pairs(m:GetChildren()) do | |
| 4726 | if v:IsA("Part") then
| |
| 4727 | v.BrickColor = BrickColor.new("White")
| |
| 4728 | v.Material = "Ice" | |
| 4729 | end | |
| 4730 | end | |
| 4731 | for i, v in pairs(m2:GetChildren()) do | |
| 4732 | if v:IsA("Part") then
| |
| 4733 | v.BrickColor = BrickColor.new("Pastel light blue")
| |
| 4734 | v.Material = "Glass" | |
| 4735 | end | |
| 4736 | end | |
| 4737 | for i, v in pairs(m3:GetChildren()) do | |
| 4738 | if v:IsA("Part") then
| |
| 4739 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4740 | v.Material = "Neon" | |
| 4741 | end | |
| 4742 | end | |
| 4743 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4744 | if v:IsA("Part") then
| |
| 4745 | v.Transparency = 1 | |
| 4746 | v.BrickColor = BrickColor.new("White")
| |
| 4747 | v.Material = "Neon" | |
| 4748 | end | |
| 4749 | end | |
| 4750 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4751 | if v:IsA("Part") then
| |
| 4752 | v.Transparency = 1 | |
| 4753 | v.BrickColor = BrickColor.new("White")
| |
| 4754 | v.Material = "Neon" | |
| 4755 | end | |
| 4756 | end | |
| 4757 | elseif k == "q" and attack == false and ModeOfGlitch == 2 then | |
| 4758 | resetmode() | |
| 4759 | end | |
| 4760 | if k == "e" and attack == false and ModeOfGlitch ~= 3 then | |
| 4761 | ModeOfGlitch = 3 | |
| 4762 | storehumanoidWS = 16 | |
| 4763 | hum.WalkSpeed = 16 | |
| 4764 | rainbowmode = false | |
| 4765 | chaosmode = false | |
| 4766 | RecolorTextAndRename("Corruption", Color3.new(0, 0, 0), Color3.new(0.35, 0, 1))
| |
| 4767 | newTheme("rbxassetid://1509634377", 58.15, 1,2)
| |
| 4768 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 4769 | for i, v in pairs(mw2:GetChildren()) do | |
| 4770 | if v:IsA("Part") then
| |
| 4771 | v.BrickColor = MAINRUINCOLOR | |
| 4772 | v.Material = "Neon" | |
| 4773 | end | |
| 4774 | end | |
| 4775 | for i, v in pairs(mw1:GetChildren()) do | |
| 4776 | if v:IsA("Part") then
| |
| 4777 | v.Transparency = 1 | |
| 4778 | v.BrickColor = MAINRUINCOLOR | |
| 4779 | v.Material = "Neon" | |
| 4780 | end | |
| 4781 | end | |
| 4782 | for i, v in pairs(m:GetChildren()) do | |
| 4783 | if v:IsA("Part") then
| |
| 4784 | v.BrickColor = BrickColor.new("Black")
| |
| 4785 | v.Material = "Ice" | |
| 4786 | end | |
| 4787 | end | |
| 4788 | for i, v in pairs(m2:GetChildren()) do | |
| 4789 | if v:IsA("Part") then
| |
| 4790 | v.BrickColor = BrickColor.new("Dark indigo")
| |
| 4791 | v.Material = "Glass" | |
| 4792 | end | |
| 4793 | end | |
| 4794 | for i, v in pairs(m3:GetChildren()) do | |
| 4795 | if v:IsA("Part") then
| |
| 4796 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 4797 | v.Material = "Neon" | |
| 4798 | end | |
| 4799 | end | |
| 4800 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4801 | if v:IsA("Part") then
| |
| 4802 | v.Transparency = 1 | |
| 4803 | v.BrickColor = BrickColor.new("White")
| |
| 4804 | v.Material = "Neon" | |
| 4805 | end | |
| 4806 | end | |
| 4807 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4808 | if v:IsA("Part") then
| |
| 4809 | v.Transparency = 1 | |
| 4810 | v.BrickColor = BrickColor.new("White")
| |
| 4811 | v.Material = "Neon" | |
| 4812 | end | |
| 4813 | end | |
| 4814 | elseif k == "e" and attack == false and ModeOfGlitch == 3 then | |
| 4815 | resetmode() | |
| 4816 | end | |
| 4817 | if k == "r" and attack == false and ModeOfGlitch ~= 4 then | |
| 4818 | ModeOfGlitch = 4 | |
| 4819 | storehumanoidWS = 16 | |
| 4820 | hum.WalkSpeed = 16 | |
| 4821 | rainbowmode = false | |
| 4822 | chaosmode = true | |
| 4823 | RecolorTextAndRename("CHAOS", Color3.new(0, 0, 0), BrickColor.random().Color)
| |
| 4824 | newTheme("rbxassetid://415898123", 0, 1, 10)
| |
| 4825 | MAINRUINCOLOR = BrickColor.new("Black")
| |
| 4826 | for i, v in pairs(mw2:GetChildren()) do | |
| 4827 | if v:IsA("Part") then
| |
| 4828 | v.BrickColor = MAINRUINCOLOR | |
| 4829 | v.Material = "Neon" | |
| 4830 | end | |
| 4831 | end | |
| 4832 | for i, v in pairs(mw1:GetChildren()) do | |
| 4833 | if v:IsA("Part") then
| |
| 4834 | v.Transparency = 0.75 | |
| 4835 | v.BrickColor = BrickColor.random() | |
| 4836 | v.Material = "Neon" | |
| 4837 | end | |
| 4838 | end | |
| 4839 | for i, v in pairs(m:GetChildren()) do | |
| 4840 | if v:IsA("Part") then
| |
| 4841 | v.BrickColor = BrickColor.new("Black")
| |
| 4842 | v.Material = "Neon" | |
| 4843 | end | |
| 4844 | end | |
| 4845 | for i, v in pairs(m2:GetChildren()) do | |
| 4846 | if v:IsA("Part") then
| |
| 4847 | v.BrickColor = BrickColor.random() | |
| 4848 | v.Material = "Neon" | |
| 4849 | end | |
| 4850 | end | |
| 4851 | for i, v in pairs(m3:GetChildren()) do | |
| 4852 | if v:IsA("Part") then
| |
| 4853 | v.BrickColor = BrickColor.new("Black")
| |
| 4854 | v.Material = "Neon" | |
| 4855 | end | |
| 4856 | end | |
| 4857 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4858 | if v:IsA("Part") then
| |
| 4859 | v.Transparency = 1 | |
| 4860 | v.BrickColor = BrickColor.new("White")
| |
| 4861 | v.Material = "Neon" | |
| 4862 | end | |
| 4863 | end | |
| 4864 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4865 | if v:IsA("Part") then
| |
| 4866 | v.Transparency = 1 | |
| 4867 | v.BrickColor = BrickColor.new("White")
| |
| 4868 | v.Material = "Neon" | |
| 4869 | end | |
| 4870 | end | |
| 4871 | elseif k == "r" and attack == false and ModeOfGlitch == 4 then | |
| 4872 | resetmode() | |
| 4873 | end | |
| 4874 | if k == "t" and attack == false and ModeOfGlitch ~= 5 then | |
| 4875 | ModeOfGlitch = 5 | |
| 4876 | ||
| 4877 | storehumanoidWS = 16 | |
| 4878 | hum.WalkSpeed = 16 | |
| 4879 | rainbowmode = false | |
| 4880 | chaosmode = false | |
| 4881 | RecolorTextAndRename("Darkness", Color3.new(0, 0, 0), Color3.new(255, 255, 255))
| |
| 4882 | newTheme("rbxassetid://723652641", 10, 1, 3.2)
| |
| 4883 | ModeOfGlitch = 1 | |
| 4884 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 4885 | for i, v in pairs(mw2:GetChildren()) do | |
| 4886 | if v:IsA("Part") then
| |
| 4887 | v.BrickColor = MAINRUINCOLOR | |
| 4888 | v.Material = "Neon" | |
| 4889 | end | |
| 4890 | end | |
| 4891 | for i, v in pairs(mw1:GetChildren()) do | |
| 4892 | if v:IsA("Part") then
| |
| 4893 | v.Transparency = 0 | |
| 4894 | v.BrickColor = MAINRUINCOLOR | |
| 4895 | v.Material = "Neon" | |
| 4896 | end | |
| 4897 | end | |
| 4898 | for i, v in pairs(m:GetChildren()) do | |
| 4899 | if v:IsA("Part") then
| |
| 4900 | v.BrickColor = BrickColor.new("Really black")
| |
| 4901 | v.Material = "Ice" | |
| 4902 | end | |
| 4903 | end | |
| 4904 | for i, v in pairs(m2:GetChildren()) do | |
| 4905 | if v:IsA("Part") then
| |
| 4906 | v.BrickColor = BrickColor.new("Really black")
| |
| 4907 | v.Material = "Ice" | |
| 4908 | end | |
| 4909 | end | |
| 4910 | for i, v in pairs(m3:GetChildren()) do | |
| 4911 | if v:IsA("Part") then
| |
| 4912 | v.BrickColor = BrickColor.new("Really black")
| |
| 4913 | v.Material = "Neon" | |
| 4914 | end | |
| 4915 | end | |
| 4916 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4917 | if v:IsA("Part") then
| |
| 4918 | v.Transparency = 1 | |
| 4919 | v.BrickColor = BrickColor.new("White")
| |
| 4920 | v.Material = "Neon" | |
| 4921 | end | |
| 4922 | end | |
| 4923 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4924 | if v:IsA("Part") then
| |
| 4925 | v.Transparency = 1 | |
| 4926 | v.BrickColor = BrickColor.new("White")
| |
| 4927 | v.Material = "Neon" | |
| 4928 | end | |
| 4929 | end | |
| 4930 | elseif k == "t" and attack == false and ModeOfGlitch == 5 then | |
| 4931 | resetmode() | |
| 4932 | end | |
| 4933 | if k == "y" and attack == false and ModeOfGlitch ~= 6 then | |
| 4934 | ModeOfGlitch = 6 | |
| 4935 | storehumanoidWS = 75 | |
| 4936 | hum.WalkSpeed = 75 | |
| 4937 | rainbowmode = false | |
| 4938 | chaosmode = false | |
| 4939 | RecolorTextAndRename("Equality", Color3.new(0, 0, 0), Color3.new(1, 1, 1))
| |
| 4940 | newTheme("rbxassetid://519067542", 0, 1, 1)
| |
| 4941 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 4942 | for i, v in pairs(mw2:GetChildren()) do | |
| 4943 | if v:IsA("Part") then
| |
| 4944 | v.BrickColor = BrickColor.new("White")
| |
| 4945 | v.Material = "Neon" | |
| 4946 | end | |
| 4947 | end | |
| 4948 | for i, v in pairs(mw1:GetChildren()) do | |
| 4949 | if v:IsA("Part") then
| |
| 4950 | v.Transparency = 0 | |
| 4951 | v.BrickColor = BrickColor.new("Really black")
| |
| 4952 | v.Material = "Neon" | |
| 4953 | end | |
| 4954 | end | |
| 4955 | for i, v in pairs(m:GetChildren()) do | |
| 4956 | if v:IsA("Part") then
| |
| 4957 | v.BrickColor = BrickColor.new("White")
| |
| 4958 | v.Material = "Ice" | |
| 4959 | end | |
| 4960 | end | |
| 4961 | for i, v in pairs(m2:GetChildren()) do | |
| 4962 | if v:IsA("Part") then
| |
| 4963 | v.BrickColor = BrickColor.new("Really black")
| |
| 4964 | v.Material = "Ice" | |
| 4965 | end | |
| 4966 | end | |
| 4967 | for i, v in pairs(m3:GetChildren()) do | |
| 4968 | if v:IsA("Part") then
| |
| 4969 | v.BrickColor = BrickColor.new("White")
| |
| 4970 | v.Material = "Neon" | |
| 4971 | end | |
| 4972 | end | |
| 4973 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4974 | if v:IsA("Part") then
| |
| 4975 | v.Transparency = 1 | |
| 4976 | v.BrickColor = BrickColor.new("White")
| |
| 4977 | v.Material = "Neon" | |
| 4978 | end | |
| 4979 | end | |
| 4980 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4981 | if v:IsA("Part") then
| |
| 4982 | v.Transparency = 1 | |
| 4983 | v.BrickColor = BrickColor.new("White")
| |
| 4984 | v.Material = "Neon" | |
| 4985 | end | |
| 4986 | end | |
| 4987 | ||
| 4988 | ||
| 4989 | elseif k == "y" and attack == false and ModeOfGlitch == 6 then | |
| 4990 | resetmode() | |
| 4991 | end | |
| 4992 | if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then | |
| 4993 | ModeOfGlitch = 6127843 | |
| 4994 | storehumanoidWS = 50 | |
| 4995 | hum.WalkSpeed = 50 | |
| 4996 | rainbowmode = true | |
| 4997 | chaosmode = false | |
| 4998 | RecolorTextAndRename("Rainbow", Color3.new(1, 1, 1), Color3.new(1, 1, 1))
| |
| 4999 | newTheme("rbxassetid://152539141", 0, 1, 1)
| |
| 5000 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 5001 | for i, v in pairs(mw2:GetChildren()) do | |
| 5002 | if v:IsA("Part") then
| |
| 5003 | v.BrickColor = MAINRUINCOLOR | |
| 5004 | v.Material = "Neon" | |
| 5005 | end | |
| 5006 | end | |
| 5007 | for i, v in pairs(mw1:GetChildren()) do | |
| 5008 | if v:IsA("Part") then
| |
| 5009 | v.Transparency = 0 | |
| 5010 | v.BrickColor = MAINRUINCOLOR | |
| 5011 | v.Material = "Neon" | |
| 5012 | end | |
| 5013 | end | |
| 5014 | for i, v in pairs(m:GetChildren()) do | |
| 5015 | if v:IsA("Part") then
| |
| 5016 | v.BrickColor = BrickColor.new("White")
| |
| 5017 | v.Material = "Neon" | |
| 5018 | end | |
| 5019 | end | |
| 5020 | for i, v in pairs(m2:GetChildren()) do | |
| 5021 | if v:IsA("Part") then
| |
| 5022 | v.BrickColor = BrickColor.new("White")
| |
| 5023 | v.Material = "Neon" | |
| 5024 | end | |
| 5025 | end | |
| 5026 | for i, v in pairs(m3:GetChildren()) do | |
| 5027 | if v:IsA("Part") then
| |
| 5028 | v.BrickColor = BrickColor.new("White")
| |
| 5029 | v.Material = "Neon" | |
| 5030 | end | |
| 5031 | end | |
| 5032 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5033 | if v:IsA("Part") then
| |
| 5034 | v.Transparency = 1 | |
| 5035 | v.BrickColor = BrickColor.new("White")
| |
| 5036 | v.Material = "Neon" | |
| 5037 | end | |
| 5038 | end | |
| 5039 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5040 | if v:IsA("Part") then
| |
| 5041 | v.Transparency = 1 | |
| 5042 | v.BrickColor = BrickColor.new("White")
| |
| 5043 | v.Material = "Neon" | |
| 5044 | end | |
| 5045 | end | |
| 5046 | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then | |
| 5047 | resetmode() | |
| 5048 | end | |
| 5049 | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then | |
| 5050 | ModeOfGlitch = 1000000 | |
| 5051 | storehumanoidWS = 100 | |
| 5052 | hum.WalkSpeed = 100 | |
| 5053 | rainbowmode = false | |
| 5054 | chaosmode = false | |
| 5055 | RecolorTextAndRename("Divine Universe", Color3.new(0.25, 0, 1), Color3.new(0.5, 0, 1))
| |
| 5056 | newTheme("rbxassetid://663850511", 0, 1, 1)
| |
| 5057 | MAINRUINCOLOR = BrickColor.new("Bright violet")
| |
| 5058 | for i, v in pairs(mw2:GetChildren()) do | |
| 5059 | if v:IsA("Part") then
| |
| 5060 | v.BrickColor = MAINRUINCOLOR | |
| 5061 | v.Material = "Neon" | |
| 5062 | end | |
| 5063 | end | |
| 5064 | for i, v in pairs(mw1:GetChildren()) do | |
| 5065 | if v:IsA("Part") then
| |
| 5066 | v.Transparency = 0 | |
| 5067 | v.BrickColor = MAINRUINCOLOR | |
| 5068 | v.Material = "Neon" | |
| 5069 | end | |
| 5070 | end | |
| 5071 | for i, v in pairs(m:GetChildren()) do | |
| 5072 | if v:IsA("Part") then
| |
| 5073 | v.Color = Color3.new(0.5, 0, 1) | |
| 5074 | v.Material = "Neon" | |
| 5075 | end | |
| 5076 | end | |
| 5077 | for i, v in pairs(m2:GetChildren()) do | |
| 5078 | if v:IsA("Part") then
| |
| 5079 | v.Color = Color3.new(0.25, 0, 1) | |
| 5080 | v.Material = "Neon" | |
| 5081 | end | |
| 5082 | end | |
| 5083 | for i, v in pairs(m3:GetChildren()) do | |
| 5084 | if v:IsA("Part") then
| |
| 5085 | v.Color = Color3.new(0.45, 0, 1) | |
| 5086 | v.Material = "Neon" | |
| 5087 | end | |
| 5088 | end | |
| 5089 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5090 | if v:IsA("Part") then
| |
| 5091 | v.Transparency = 0 | |
| 5092 | v.Color = Color3.new(0.25, 0, 1) | |
| 5093 | v.Material = "Neon" | |
| 5094 | end | |
| 5095 | end | |
| 5096 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5097 | if v:IsA("Part") then
| |
| 5098 | v.Transparency = 0 | |
| 5099 | v.Color = Color3.new(0.5, 0, 1) | |
| 5100 | v.Material = "Neon" | |
| 5101 | end | |
| 5102 | end | |
| 5103 | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then | |
| 5104 | resetmode() | |
| 5105 | end | |
| 5106 | if k == "l" and toggleTag == false then | |
| 5107 | toggleTag = true | |
| 5108 | text.TextTransparency = 0 | |
| 5109 | text.TextStrokeTransparency = 0 | |
| 5110 | elseif k == "l" and toggleTag == true then | |
| 5111 | toggleTag = false | |
| 5112 | text.TextTransparency = 1 | |
| 5113 | text.TextStrokeTransparency = 1 | |
| 5114 | end | |
| 5115 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
| 5116 | ExtinctiveHeartbreak() | |
| 5117 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
| 5118 | PureBomb() | |
| 5119 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
| 5120 | scattercorrupt() | |
| 5121 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
| 5122 | ChaosGroundStrike() | |
| 5123 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
| 5124 | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then | |
| 5125 | UniversalSpark() | |
| 5126 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
| 5127 | yinyangi() | |
| 5128 | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then | |
| 5129 | Wip() | |
| 5130 | end | |
| 5131 | if k == "l" and attack == false and ModeOfGlitch == 4 then | |
| 5132 | ChaosBegone() | |
| 5133 | end | |
| 5134 | end) | |
| 5135 | coroutine.resume(coroutine.create(function() | |
| 5136 | while true do | |
| 5137 | swait(2) | |
| 5138 | if rainbowmode == true or ModeOfGlitch == 6 then | |
| 5139 | 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) | |
| 5140 | end | |
| 5141 | end | |
| 5142 | end)) | |
| 5143 | coroutine.resume(coroutine.create(function() | |
| 5144 | while true do | |
| 5145 | swait(0.5) | |
| 5146 | if ModeOfGlitch == 1000000 then | |
| 5147 | 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) | |
| 5148 | end | |
| 5149 | end | |
| 5150 | end)) | |
| 5151 | coroutine.resume(coroutine.create(function() | |
| 5152 | while true do | |
| 5153 | swait(2) | |
| 5154 | if chaosmode == true then | |
| 5155 | RecolorTextAndRename("CHAOS", Color3.new(0, 0, 0), BrickColor.random().Color)
| |
| 5156 | for i, v in pairs(mw1:GetChildren()) do | |
| 5157 | if v:IsA("Part") then
| |
| 5158 | v.Transparency = 0.75 | |
| 5159 | v.BrickColor = BrickColor.random() | |
| 5160 | v.Material = "Neon" | |
| 5161 | end | |
| 5162 | end | |
| 5163 | for i, v in pairs(m2:GetChildren()) do | |
| 5164 | if v:IsA("Part") then
| |
| 5165 | v.BrickColor = BrickColor.random() | |
| 5166 | v.Material = "Neon" | |
| 5167 | end | |
| 5168 | end | |
| 5169 | end | |
| 5170 | end | |
| 5171 | end)) | |
| 5172 | Humanoid.Name = "STARGLITCHER" | |
| 5173 | Humanoid.MaxHealth = math.huge | |
| 5174 | Humanoid.Health = math.huge | |
| 5175 | Instance.new("ForceField", char).Visible = false
| |
| 5176 | idleanim = 0.4 | |
| 5177 | while true do | |
| 5178 | if rainbowmode == true then | |
| 5179 | RecolorTextAndRename("Rainbow", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
| |
| 5180 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 5181 | for i, v in pairs(m:GetChildren()) do | |
| 5182 | if v:IsA("Part") then
| |
| 5183 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5184 | end | |
| 5185 | end | |
| 5186 | for i, v in pairs(m2:GetChildren()) do | |
| 5187 | if v:IsA("Part") then
| |
| 5188 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5189 | end | |
| 5190 | end | |
| 5191 | for i, v in pairs(m3:GetChildren()) do | |
| 5192 | if v:IsA("Part") then
| |
| 5193 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5194 | end | |
| 5195 | end | |
| 5196 | for i, v in pairs(mw1:GetChildren()) do | |
| 5197 | if v:IsA("Part") then
| |
| 5198 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5199 | v.Material = "Neon" | |
| 5200 | end | |
| 5201 | end | |
| 5202 | for i, v in pairs(mw2:GetChildren()) do | |
| 5203 | if v:IsA("Part") then
| |
| 5204 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5205 | v.Material = "Neon" | |
| 5206 | end | |
| 5207 | end | |
| 5208 | end | |
| 5209 | end |