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