SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --[[SCP-178 by SezHu. |
| 1 | + | --[[SCP-178 Edit... |
| 2 | I know... Its weird but its okay! | |
| 3 | - | If you want a creation like this of your own, shoot me a friend request me on Discord! (Sezzie |
| 3 | + | Yep. Bai.]]-- |
| 4 | - | #1875) Prices start at 350 robux.]]-- |
| 4 | + | |
| 5 | wait(1 / 60) | |
| 6 | local sfx = {
| |
| 7 | 619083295, | |
| 8 | } | |
| 9 | ||
| 10 | ||
| 11 | Effects = { }
| |
| 12 | local Player = game.Players.localPlayer | |
| 13 | local Mouse = Player:GetMouse() | |
| 14 | local Character = Player.Character | |
| 15 | local Humanoid = Character.Humanoid | |
| 16 | local Head = Character.Head | |
| 17 | local RootPart = Character.HumanoidRootPart | |
| 18 | local Torso = Character.Torso | |
| 19 | local LeftArm = Character["Left Arm"] | |
| 20 | local RightArm = Character["Right Arm"] | |
| 21 | local LeftLeg = Character["Left Leg"] | |
| 22 | local RightLeg = Character["Right Leg"] | |
| 23 | local Camera = game.Workspace.CurrentCamera | |
| 24 | local RootJoint = RootPart.RootJoint | |
| 25 | local Equipped = false | |
| 26 | local Attack = false | |
| 27 | local Anim = 'Idle' | |
| 28 | local Idle = 0 | |
| 29 | local Combo = 1 | |
| 30 | local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 31 | local Velocity = RootPart.Velocity.y | |
| 32 | local Sine = 0 | |
| 33 | local Change = 1 | |
| 34 | ||
| 35 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 36 | local Create = RbxUtility.Create | |
| 37 | ||
| 38 | Humanoid.WalkSpeed = 10 | |
| 39 | Humanoid.JumpPower = 50 | |
| 40 | Humanoid.Animator.Parent = nil | |
| 41 | Character.Animate.Parent = nil | |
| 42 | ||
| 43 | local newMotor = function(part0, part1, c0, c1) | |
| 44 | local w = Create('Motor'){
| |
| 45 | Parent = part0, | |
| 46 | Part0 = part0, | |
| 47 | Part1 = part1, | |
| 48 | C0 = c0, | |
| 49 | C1 = c1, | |
| 50 | } | |
| 51 | return w | |
| 52 | end | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | function clerp(a, b, t) | |
| 57 | return a:lerp(b, t) | |
| 58 | end | |
| 59 | ||
| 60 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 61 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 62 | ||
| 63 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 64 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 65 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 66 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 67 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 68 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 69 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 70 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 71 | ||
| 72 | local rarmc1 = RW.C1 | |
| 73 | local larmc1 = LW.C1 | |
| 74 | local rlegc1 = RH.C1 | |
| 75 | local llegc1 = LH.C1 | |
| 76 | ||
| 77 | local resetc1 = false | |
| 78 | ||
| 79 | function PlayAnimationFromTable(table, speed, bool) | |
| 80 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 81 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 82 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 83 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 84 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 85 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 86 | if bool == true then | |
| 87 | if resetc1 == false then | |
| 88 | resetc1 = true | |
| 89 | RootJoint.C1 = RootJoint.C1 | |
| 90 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 91 | RW.C1 = rarmc1 | |
| 92 | LW.C1 = larmc1 | |
| 93 | RH.C1 = rlegc1 | |
| 94 | LH.C1 = llegc1 | |
| 95 | end | |
| 96 | end | |
| 97 | end | |
| 98 | ||
| 99 | ArtificialHB = Create("BindableEvent"){
| |
| 100 | Parent = script, | |
| 101 | Name = "Heartbeat", | |
| 102 | } | |
| 103 | ||
| 104 | script:WaitForChild("Heartbeat")
| |
| 105 | ||
| 106 | frame = 1 / 30 | |
| 107 | tf = 0 | |
| 108 | allowframeloss = false | |
| 109 | tossremainder = false | |
| 110 | lastframe = tick() | |
| 111 | script.Heartbeat:Fire() | |
| 112 | ||
| 113 | ||
| 114 | spawn(function() | |
| 115 | while true do | |
| 116 | if Anim == "Walk" then | |
| 117 | CFuncs.Sound.Create(sfx[math.random(#sfx)], Head, .5, 1) | |
| 118 | end | |
| 119 | wait(.6) | |
| 120 | end | |
| 121 | end) | |
| 122 | ||
| 123 | ||
| 124 | ||
| 125 | local function soundbork(obj) | |
| 126 | if obj:IsA("Sound") and obj.Name ~= "important" then
| |
| 127 | obj.Volume = 0 | |
| 128 | return | |
| 129 | end | |
| 130 | ||
| 131 | ||
| 132 | local children = obj:GetChildren() | |
| 133 | for i = 1, #children do | |
| 134 | soundbork(children[i]) | |
| 135 | end | |
| 136 | ||
| 137 | return | |
| 138 | end | |
| 139 | ||
| 140 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 141 | tf = tf + s | |
| 142 | if tf >= frame then | |
| 143 | if allowframeloss then | |
| 144 | script.Heartbeat:Fire() | |
| 145 | lastframe = tick() | |
| 146 | else | |
| 147 | for i = 1, math.floor(tf / frame) do | |
| 148 | script.Heartbeat:Fire() | |
| 149 | end | |
| 150 | lastframe = tick() | |
| 151 | end | |
| 152 | if tossremainder then | |
| 153 | tf = 0 | |
| 154 | else | |
| 155 | tf = tf - frame * math.floor(tf / frame) | |
| 156 | end | |
| 157 | end | |
| 158 | end) | |
| 159 | ||
| 160 | function swait(num) | |
| 161 | if num == 0 or num == nil then | |
| 162 | ArtificialHB.Event:wait() | |
| 163 | else | |
| 164 | for i = 0, num do | |
| 165 | ArtificialHB.Event:wait() | |
| 166 | end | |
| 167 | end | |
| 168 | end | |
| 169 | ||
| 170 | local m = Create("Model"){
| |
| 171 | Parent = Character, | |
| 172 | Name = "WeaponModel" | |
| 173 | } | |
| 174 | ||
| 175 | function RemoveOutlines(part) | |
| 176 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 177 | end | |
| 178 | ||
| 179 | CFuncs = {
| |
| 180 | Part = {
| |
| 181 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 182 | local Part = Create("Part"){
| |
| 183 | Parent = Parent, | |
| 184 | Reflectance = Reflectance, | |
| 185 | Transparency = Transparency, | |
| 186 | CanCollide = false, | |
| 187 | Locked = true, | |
| 188 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 189 | Name = Name, | |
| 190 | Size = Size, | |
| 191 | Material = Material, | |
| 192 | } | |
| 193 | RemoveOutlines(Part) | |
| 194 | if Size == Vector3.new() then | |
| 195 | Part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 196 | else | |
| 197 | Part.Size = Size | |
| 198 | end | |
| 199 | return Part | |
| 200 | end; | |
| 201 | }; | |
| 202 | ||
| 203 | Mesh = {
| |
| 204 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 205 | local Msh = Create(Mesh){
| |
| 206 | Parent = Part, | |
| 207 | Offset = OffSet, | |
| 208 | Scale = Scale, | |
| 209 | } | |
| 210 | if Mesh == "SpecialMesh" then | |
| 211 | Msh.MeshType = MeshType | |
| 212 | Msh.MeshId = MeshId | |
| 213 | end | |
| 214 | return Msh | |
| 215 | end; | |
| 216 | }; | |
| 217 | ||
| 218 | Weld = {
| |
| 219 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 220 | local Weld = Create("Weld"){
| |
| 221 | Parent = Parent, | |
| 222 | Part0 = Part0, | |
| 223 | Part1 = Part1, | |
| 224 | C0 = C0, | |
| 225 | C1 = C1, | |
| 226 | } | |
| 227 | return Weld | |
| 228 | end; | |
| 229 | }; | |
| 230 | ||
| 231 | Sound = {
| |
| 232 | Create = function(id, par, vol, pit) | |
| 233 | coroutine.resume(coroutine.create(function() | |
| 234 | local S = Create("Sound"){
| |
| 235 | Volume = vol, | |
| 236 | Pitch = pit or 1, | |
| 237 | SoundId = "rbxassetid://" .. id, | |
| 238 | Parent = par or workspace, | |
| 239 | Name = "important" | |
| 240 | } | |
| 241 | wait() | |
| 242 | S:play() | |
| 243 | game:GetService("Debris"):AddItem(S, 10)
| |
| 244 | end)) | |
| 245 | end; | |
| 246 | }; | |
| 247 | ||
| 248 | Sound2 = {
| |
| 249 | Create = function(id, par, vol, pit) | |
| 250 | coroutine.resume(coroutine.create(function() | |
| 251 | local S = Create("Sound"){
| |
| 252 | Volume = vol, | |
| 253 | Pitch = pit or 1, | |
| 254 | SoundId = "rbxassetid://" .. id, | |
| 255 | Parent = par or workspace, | |
| 256 | Name = "important", | |
| 257 | Looped = true | |
| 258 | } | |
| 259 | wait() | |
| 260 | S:play() | |
| 261 | game:GetService("Debris"):AddItem(S, 10)
| |
| 262 | end)) | |
| 263 | end; | |
| 264 | }; | |
| 265 | ||
| 266 | ParticleEmitter = {
| |
| 267 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 268 | local Particle = Create("ParticleEmitter"){
| |
| 269 | Parent = Parent, | |
| 270 | Color = ColorSequence.new(Color1, Color2), | |
| 271 | LightEmission = LightEmission, | |
| 272 | Size = Size, | |
| 273 | Texture = Texture, | |
| 274 | Transparency = Transparency, | |
| 275 | ZOffset = ZOffset, | |
| 276 | Acceleration = Accel, | |
| 277 | Drag = Drag, | |
| 278 | LockedToPart = LockedToPart, | |
| 279 | VelocityInheritance = VelocityInheritance, | |
| 280 | EmissionDirection = EmissionDirection, | |
| 281 | Enabled = Enabled, | |
| 282 | Lifetime = LifeTime, | |
| 283 | Rate = Rate, | |
| 284 | Rotation = Rotation, | |
| 285 | RotSpeed = RotSpeed, | |
| 286 | Speed = Speed, | |
| 287 | VelocitySpread = VelocitySpread, | |
| 288 | } | |
| 289 | return Particle | |
| 290 | end; | |
| 291 | }; | |
| 292 | ||
| 293 | CreateTemplate = {
| |
| 294 | ||
| 295 | }; | |
| 296 | } | |
| 297 | ||
| 298 | ||
| 299 | ||
| 300 | function RayCast(Position, Direction, Range, Ignore) | |
| 301 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 302 | end | |
| 303 | ||
| 304 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(0.779999912, 0.780000091, 0.750000238)) | |
| 305 | HandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.33985698, 0.205783844, -0.0249519944, 0, -1, 0, -1, 0, 0, 0, 0, -1)) | |
| 306 | ||
| 307 | FHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(0.779999912, 0.780000091, 0.750000238)) | |
| 308 | FHandleWeld=CFuncs.Weld.Create(m,FHandle,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.33985698, 0.205783844, -0.0249519944, 0, -1, 0, -1, 0, 0, 0, 0, -1)) | |
| 309 | ||
| 310 | Glasses=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Institutional white","Glasses",Vector3.new(1.04999995, 1, 1)) | |
| 311 | GlassesWeld=CFuncs.Weld.Create(m,FHandle,Glasses,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.019271493, -0.20810318, 0.170232952, -1, -6.50000002e-05, 0, -6.50000002e-05, 1, 0, 0, 0, -1)) | |
| 312 | gl00ses=CFuncs.Mesh.Create("SpecialMesh",Glasses,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134026193",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
| |
| 313 | - | gl00ses=CFuncs.Mesh.Create("SpecialMesh",Glasses,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=22053998",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
|
| 313 | + | gl00ses.TextureId = "http://www.roblox.com/asset/?id=134026217" |
| 314 | - | gl00ses.TextureId = "http://www.roblox.com/asset/?id=38205002" |
| 314 | + | |
| 315 | ||
| 316 | FauxHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","FauxHandle",Vector3.new(0.779999912, 0.780000091, 0.750000238)) | |
| 317 | FauxHandleWeld=CFuncs.Weld.Create(workspace.CurrentCamera,Character["Head"],FauxHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00429534912, -0.0208046436, -0.0191295743, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 318 | FauxGlasses=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","FauxGlasses",Vector3.new(1.04999995, 1, 1)) | |
| 319 | FauxGlassesWeld=CFuncs.Weld.Create(m,FauxHandle,FauxGlasses,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00775146484, -0.208105445, 0.170232952, -1, -6.50000002e-05, 0, -6.50000002e-05, 1, 0, 0, 0, -1)) | |
| 320 | gl00ses2=CFuncs.Mesh.Create("SpecialMesh",FauxGlasses,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/id=134026193",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
| |
| 321 | - | gl00ses2=CFuncs.Mesh.Create("SpecialMesh",FauxGlasses,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=22053998",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
|
| 321 | + | gl00ses2.TextureId = "http://www.roblox.com/asset/?id=134026217" |
| 322 | - | gl00ses2.TextureId = "http://www.roblox.com/asset/?id=38205002" |
| 322 | + | |
| 323 | ||
| 324 | - | --Converted with ttyyuu12345's model to script plugin v4 |
| 324 | + | |
| 325 | local env = getfenv(func) | |
| 326 | local newenv = setmetatable({},{
| |
| 327 | __index = function(self,k) | |
| 328 | if k=="script" then | |
| 329 | return var | |
| 330 | else | |
| 331 | return env[k] | |
| 332 | end | |
| 333 | end, | |
| 334 | }) | |
| 335 | setfenv(func,newenv) | |
| 336 | return func | |
| 337 | end | |
| 338 | cors = {}
| |
| 339 | mas = Instance.new("Model",Camera)
| |
| 340 | Model0 = Instance.new("Model")
| |
| 341 | Part1 = Instance.new("Part")
| |
| 342 | Part2 = Instance.new("Part")
| |
| 343 | Model0.Name = "Netherworld" | |
| 344 | Model0.Parent = mas | |
| 345 | Part1.Name = "Spart" | |
| 346 | Part1.Parent = Camera | |
| 347 | Part1.Material = Enum.Material.Neon | |
| 348 | Part1.Transparency = 1 | |
| 349 | Part1.Anchored = true | |
| 350 | Part1.CanCollide = false | |
| 351 | Part1.Size = Vector3.new(4, 1, 2) | |
| 352 | Part1.CFrame = CFrame.new(144.5, 1290.63574, 2.74698257, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 353 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
| 354 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
| 355 | Part1.Position = Vector3.new(144.5, 1290.63574, 2.74698257) | |
| 356 | Part2.Parent = Camera | |
| 357 | Part2.Material = Enum.Material.SmoothPlastic | |
| 358 | Part2.BrickColor = BrickColor.new("Really red")
| |
| 359 | Part2.Transparency = 0.0099999997764826 | |
| 360 | Part2.Reflection = 1 | |
| 361 | Part2.Anchored = true | |
| 362 | Part2.Size = Vector3.new(233.790359, 1.15406489, 245.924103) | |
| 363 | Part2.CFrame = CFrame.new(130.757782, 1311.9447, 21.3496704, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 364 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
| 365 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
| 366 | Part2.Position = Vector3.new(130.757782, 1311.9447, 21.3496704) | |
| 367 | for i,v in pairs(mas:GetChildren()) do | |
| 368 | v.Parent = workspace | |
| 369 | pcall(function() v:MakeJoints() end) | |
| 370 | end | |
| 371 | mas:Destroy() | |
| 372 | - | Part3.Parent = Camera |
| 372 | + | |
| 373 | spawn(function() | |
| 374 | pcall(v) | |
| 375 | end) | |
| 376 | end | |
| 377 | ||
| 378 | local houseBackup = mas:Clone() | |
| 379 | ||
| 380 | ||
| 381 | ||
| 382 | ||
| 383 | ||
| 384 | - | Part4.Parent = Camera |
| 384 | + | |
| 385 | local list = (game.Workspace:children()) | |
| 386 | local torso = nil | |
| 387 | local dist = 1000 | |
| 388 | local temp, human, temp2 = nil, nil, nil | |
| 389 | for x = 1, #list do | |
| 390 | temp2 = list[x] | |
| 391 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 392 | temp = temp2:findFirstChild("Torso")
| |
| 393 | human = temp2:findFirstChild("Humanoid")
| |
| 394 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 395 | local dohit = true | |
| 396 | - | Part5.Parent = Camera |
| 396 | + | |
| 397 | torso = temp | |
| 398 | dist = (temp.Position - pos).magnitude | |
| 399 | end | |
| 400 | end | |
| 401 | end | |
| 402 | end | |
| 403 | return torso, dist | |
| 404 | end | |
| 405 | ||
| 406 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 407 | if hit.Parent == nil then | |
| 408 | - | Part6.Parent = Camera |
| 408 | + | |
| 409 | end | |
| 410 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 411 | for _, v in pairs(hit.Parent:children()) do | |
| 412 | if v:IsA("Humanoid") then
| |
| 413 | h = v | |
| 414 | end | |
| 415 | end | |
| 416 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 417 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 418 | if hit.Parent.DebounceHit.Value == true then | |
| 419 | - | Part7.Parent = Camera |
| 419 | + | |
| 420 | end | |
| 421 | end | |
| 422 | local c = Create("ObjectValue"){
| |
| 423 | Name = "creator", | |
| 424 | Value = game:service("Players").LocalPlayer,
| |
| 425 | Parent = h, | |
| 426 | } | |
| 427 | game:GetService("Debris"):AddItem(c, .5)
| |
| 428 | if HitSound ~= nil and HitPitch ~= nil then | |
| 429 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 430 | end | |
| 431 | local Damage = math.random(minim, maxim) | |
| 432 | local blocked = false | |
| 433 | local block = hit.Parent:findFirstChild("Block")
| |
| 434 | if block ~= nil then | |
| 435 | if block.className == "IntValue" then | |
| 436 | if block.Value > 0 then | |
| 437 | blocked = true | |
| 438 | block.Value = block.Value - 1 | |
| 439 | print(block.Value) | |
| 440 | end | |
| 441 | end | |
| 442 | end | |
| 443 | if blocked == false then | |
| 444 | h.Health = h.Health - Damage | |
| 445 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 446 | else | |
| 447 | h.Health = h.Health - (Damage / 2) | |
| 448 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 449 | end | |
| 450 | if Type == "Knockdown" then | |
| 451 | local hum = hit.Parent.Humanoid | |
| 452 | hum.PlatformStand = true | |
| 453 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 454 | swait(1) | |
| 455 | HHumanoid.PlatformStand = false | |
| 456 | end), hum) | |
| 457 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 458 | local bodvol = Create("BodyVelocity"){
| |
| 459 | velocity = angle * knockback, | |
| 460 | P = 5000, | |
| 461 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 462 | Parent = hit, | |
| 463 | } | |
| 464 | local rl = Create("BodyAngularVelocity"){
| |
| 465 | P = 3000, | |
| 466 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 467 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 468 | Parent = hit, | |
| 469 | } | |
| 470 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 471 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 472 | elseif Type == "Normal" then | |
| 473 | local vp = Create("BodyVelocity"){
| |
| 474 | P = 500, | |
| 475 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 476 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 477 | } | |
| 478 | if knockback > 0 then | |
| 479 | vp.Parent = hit.Parent.Torso | |
| 480 | end | |
| 481 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 482 | elseif Type == "Up" then | |
| 483 | local bodyVelocity = Create("BodyVelocity"){
| |
| 484 | velocity = Vector3.new(0, 20, 0), | |
| 485 | P = 5000, | |
| 486 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 487 | Parent = hit, | |
| 488 | } | |
| 489 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 490 | elseif Type == "DarkUp" then | |
| 491 | coroutine.resume(coroutine.create(function() | |
| 492 | for i = 0, 1, 0.1 do | |
| 493 | swait() | |
| 494 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 495 | end | |
| 496 | end)) | |
| 497 | local bodyVelocity = Create("BodyVelocity"){
| |
| 498 | velocity = Vector3.new(0, 20, 0), | |
| 499 | P = 5000, | |
| 500 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 501 | Parent = hit, | |
| 502 | } | |
| 503 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 504 | elseif Type == "Snare" then | |
| 505 | local bp = Create("BodyPosition"){
| |
| 506 | P = 2000, | |
| 507 | D = 100, | |
| 508 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 509 | position = hit.Parent.Torso.Position, | |
| 510 | Parent = hit.Parent.Torso, | |
| 511 | } | |
| 512 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 513 | elseif Type == "Freeze" then | |
| 514 | local BodPos = Create("BodyPosition"){
| |
| 515 | P = 50000, | |
| 516 | D = 1000, | |
| 517 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 518 | position = hit.Parent.Torso.Position, | |
| 519 | Parent = hit.Parent.Torso, | |
| 520 | } | |
| 521 | local BodGy = Create("BodyGyro") {
| |
| 522 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 523 | P = 20e+003, | |
| 524 | Parent = hit.Parent.Torso, | |
| 525 | cf = hit.Parent.Torso.CFrame, | |
| 526 | } | |
| 527 | hit.Parent.Torso.Anchored = true | |
| 528 | coroutine.resume(coroutine.create(function(Part) | |
| 529 | swait(1.5) | |
| 530 | Part.Anchored = false | |
| 531 | end), hit.Parent.Torso) | |
| 532 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 533 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 534 | end | |
| 535 | local debounce = Create("BoolValue"){
| |
| 536 | Name = "DebounceHit", | |
| 537 | Parent = hit.Parent, | |
| 538 | Value = true, | |
| 539 | } | |
| 540 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 541 | c = Create("ObjectValue"){
| |
| 542 | Name = "creator", | |
| 543 | Value = Player, | |
| 544 | Parent = h, | |
| 545 | } | |
| 546 | game:GetService("Debris"):AddItem(c, .5)
| |
| 547 | end | |
| 548 | end | |
| 549 | ||
| 550 | function ShowDamage(Pos, Text, Time, Color) | |
| 551 | local Rate = (1 / 30) | |
| 552 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 553 | local Text = (Text or "") | |
| 554 | local Time = (Time or 2) | |
| 555 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 556 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 557 | EffectPart.Anchored = true | |
| 558 | local BillboardGui = Create("BillboardGui"){
| |
| 559 | Size = UDim2.new(3, 0, 3, 0), | |
| 560 | Adornee = EffectPart, | |
| 561 | Parent = EffectPart, | |
| 562 | } | |
| 563 | local TextLabel = Create("TextLabel"){
| |
| 564 | BackgroundTransparency = 1, | |
| 565 | Size = UDim2.new(1, 0, 1, 0), | |
| 566 | Text = Text, | |
| 567 | Font = "SciFi", | |
| 568 | TextColor3 = Color, | |
| 569 | TextScaled = true, | |
| 570 | Parent = BillboardGui, | |
| 571 | } | |
| 572 | game.Debris:AddItem(EffectPart, (Time)) | |
| 573 | EffectPart.Parent = game:GetService("Workspace")
| |
| 574 | delay(0, function() | |
| 575 | local Frames = (Time / Rate) | |
| 576 | for Frame = 1, Frames do | |
| 577 | wait(Rate) | |
| 578 | local Percent = (Frame / Frames) | |
| 579 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 580 | TextLabel.TextTransparency = Percent | |
| 581 | end | |
| 582 | if EffectPart and EffectPart.Parent then | |
| 583 | EffectPart:Destroy() | |
| 584 | end | |
| 585 | end) | |
| 586 | end | |
| 587 | ||
| 588 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 589 | for _, c in pairs(workspace:children()) do | |
| 590 | local hum = c:findFirstChild("Humanoid")
| |
| 591 | if hum ~= nil then | |
| 592 | local head = c:findFirstChild("Torso")
| |
| 593 | if head ~= nil then | |
| 594 | local targ = head.Position - Part.Position | |
| 595 | local mag = targ.magnitude | |
| 596 | if mag <= Magnitude and c.Name ~= Player.Name then | |
| 597 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 598 | end | |
| 599 | end | |
| 600 | end | |
| 601 | end | |
| 602 | end | |
| 603 | ||
| 604 | EffectModel = Create("Model"){
| |
| 605 | Parent = Character, | |
| 606 | Name = "EffectModel", | |
| 607 | } | |
| 608 | ||
| 609 | Effects = {
| |
| 610 | Block = {
| |
| 611 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part) | |
| 612 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 613 | prt.Anchored = true | |
| 614 | prt.CFrame = cframe | |
| 615 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 616 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 617 | if Type == 1 or Type == nil then | |
| 618 | table.insert(Effects, {
| |
| 619 | prt, | |
| 620 | "Block1", | |
| 621 | delay, | |
| 622 | x3, | |
| 623 | y3, | |
| 624 | z3, | |
| 625 | msh | |
| 626 | }) | |
| 627 | elseif Type == 2 then | |
| 628 | table.insert(Effects, {
| |
| 629 | prt, | |
| 630 | "Block2", | |
| 631 | delay, | |
| 632 | x3, | |
| 633 | y3, | |
| 634 | z3, | |
| 635 | msh | |
| 636 | }) | |
| 637 | elseif Type == 3 then | |
| 638 | table.insert(Effects, {
| |
| 639 | prt, | |
| 640 | "Block3", | |
| 641 | delay, | |
| 642 | x3, | |
| 643 | y3, | |
| 644 | z3, | |
| 645 | msh, | |
| 646 | Part | |
| 647 | }) | |
| 648 | elseif Type == 4 then | |
| 649 | table.insert(Effects, {
| |
| 650 | prt, | |
| 651 | "Block2Fire", | |
| 652 | delay, | |
| 653 | x3, | |
| 654 | y3, | |
| 655 | z3, | |
| 656 | msh | |
| 657 | }) | |
| 658 | end | |
| 659 | end | |
| 660 | }; | |
| 661 | ||
| 662 | Sphere = {
| |
| 663 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent) | |
| 664 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 665 | prt.Anchored = true | |
| 666 | prt.CFrame = cframe | |
| 667 | if parent == nil then | |
| 668 | prt.Parent = workspace | |
| 669 | else | |
| 670 | prt.Parent = parent | |
| 671 | end | |
| 672 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 673 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 674 | table.insert(Effects, {
| |
| 675 | prt, | |
| 676 | "Cylinder", | |
| 677 | delay, | |
| 678 | x3, | |
| 679 | y3, | |
| 680 | z3, | |
| 681 | msh | |
| 682 | }) | |
| 683 | end | |
| 684 | }; | |
| 685 | ||
| 686 | Blood = {
| |
| 687 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 688 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 689 | prt.Anchored = true | |
| 690 | prt.CFrame = cframe | |
| 691 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 692 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 693 | table.insert(Effects, {
| |
| 694 | prt, | |
| 695 | "Blood", | |
| 696 | delay, | |
| 697 | x3, | |
| 698 | y3, | |
| 699 | z3, | |
| 700 | msh | |
| 701 | }) | |
| 702 | end | |
| 703 | }; | |
| 704 | ||
| 705 | Blast = {
| |
| 706 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part) | |
| 707 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 708 | prt.Anchored = true | |
| 709 | prt.CFrame = cframe | |
| 710 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 711 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 712 | table.insert(Effects, {
| |
| 713 | prt, | |
| 714 | "Block4", | |
| 715 | delay, | |
| 716 | x3, | |
| 717 | y3, | |
| 718 | z3, | |
| 719 | msh, | |
| 720 | Part | |
| 721 | }) | |
| 722 | end | |
| 723 | }; | |
| 724 | ||
| 725 | Ring = {
| |
| 726 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 727 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 728 | prt.Anchored = true | |
| 729 | prt.CFrame = cframe | |
| 730 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 731 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 732 | table.insert(Effects, {
| |
| 733 | prt, | |
| 734 | "Cylinder", | |
| 735 | delay, | |
| 736 | x3, | |
| 737 | y3, | |
| 738 | z3, | |
| 739 | msh | |
| 740 | }) | |
| 741 | end | |
| 742 | }; | |
| 743 | ||
| 744 | Cylinder = {
| |
| 745 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 746 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 747 | prt.Anchored = true | |
| 748 | prt.CFrame = cframe | |
| 749 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 750 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 751 | table.insert(Effects, {
| |
| 752 | prt, | |
| 753 | "Cylinder", | |
| 754 | delay, | |
| 755 | x3, | |
| 756 | y3, | |
| 757 | z3, | |
| 758 | msh | |
| 759 | }) | |
| 760 | end | |
| 761 | }; | |
| 762 | ||
| 763 | Head = {
| |
| 764 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 765 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 766 | prt.Anchored = true | |
| 767 | prt.CFrame = cframe | |
| 768 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 769 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 770 | table.insert(Effects, {
| |
| 771 | prt, | |
| 772 | "Cylinder", | |
| 773 | delay, | |
| 774 | x3, | |
| 775 | y3, | |
| 776 | z3, | |
| 777 | msh | |
| 778 | }) | |
| 779 | end | |
| 780 | }; | |
| 781 | ||
| 782 | Wave = {
| |
| 783 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 784 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 785 | prt.Anchored = true | |
| 786 | prt.CFrame = cframe | |
| 787 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 788 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 789 | table.insert(Effects, {
| |
| 790 | prt, | |
| 791 | "Cylinder", | |
| 792 | delay, | |
| 793 | x3, | |
| 794 | y3, | |
| 795 | z3, | |
| 796 | msh | |
| 797 | }) | |
| 798 | end | |
| 799 | }; | |
| 800 | ||
| 801 | Break = {
| |
| 802 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 803 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 804 | prt.Anchored = true | |
| 805 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 806 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 807 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 808 | local num = math.random(10, 50) / 1000 | |
| 809 | table.insert(Effects, {
| |
| 810 | prt, | |
| 811 | "Shatter", | |
| 812 | num, | |
| 813 | prt.CFrame, | |
| 814 | math.random() - math.random(), | |
| 815 | 0, | |
| 816 | math.random(50, 100) / 100 | |
| 817 | }) | |
| 818 | end | |
| 819 | }; | |
| 820 | ||
| 821 | Elec = {
| |
| 822 | Create = function(brickcolor, cff, x, y, z) | |
| 823 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1)) | |
| 824 | prt.Anchored = true | |
| 825 | prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100) | |
| 826 | prt.CFrame = CFrame.new(prt.Position) | |
| 827 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 828 | xval = math.random() / 9 | |
| 829 | yval = math.random() / 9 | |
| 830 | zval = math.random() / 9 | |
| 831 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 832 | eul1 = math.random(-50, 50) | |
| 833 | eul2 = math.random(-50, 50) | |
| 834 | eul3 = math.random(-50, 50) | |
| 835 | euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3) | |
| 836 | euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3) | |
| 837 | table.insert(Effects, {
| |
| 838 | prt, | |
| 839 | "Elec", | |
| 840 | .05, | |
| 841 | x, | |
| 842 | y, | |
| 843 | z, | |
| 844 | xval, | |
| 845 | yval, | |
| 846 | zval, | |
| 847 | msh, | |
| 848 | euld, | |
| 849 | euld2 | |
| 850 | }) | |
| 851 | end | |
| 852 | }; | |
| 853 | ||
| 854 | Elec2 = {
| |
| 855 | Create = function(brickcolor, cff, x, y, z) | |
| 856 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1)) | |
| 857 | prt.Anchored = true | |
| 858 | prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100) | |
| 859 | prt.CFrame = CFrame.new(prt.Position) | |
| 860 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 861 | xval = math.random() / 7 | |
| 862 | yval = math.random() / 7 | |
| 863 | zval = math.random() / 7 | |
| 864 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 865 | eul1 = math.random(-50, 50) | |
| 866 | eul2 = math.random(-50, 50) | |
| 867 | eul3 = math.random(-50, 50) | |
| 868 | euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3) | |
| 869 | euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3) | |
| 870 | table.insert(Effects, {
| |
| 871 | prt, | |
| 872 | "Elec", | |
| 873 | .1, | |
| 874 | x, | |
| 875 | y, | |
| 876 | z, | |
| 877 | xval, | |
| 878 | yval, | |
| 879 | zval, | |
| 880 | msh, | |
| 881 | euld, | |
| 882 | euld2 | |
| 883 | }) | |
| 884 | end | |
| 885 | }; | |
| 886 | ||
| 887 | Clone = {
| |
| 888 | Create = function() | |
| 889 | for _, v in pairs(Torso.Parent:children()) do | |
| 890 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 891 | local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
| |
| 892 | c.Anchored = true | |
| 893 | c.CFrame = v.CFrame | |
| 894 | game:GetService("Debris"):AddItem(c, 5)
| |
| 895 | local cmsh = nil | |
| 896 | if v.Name == "Head" then | |
| 897 | cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
| |
| 898 | else | |
| 899 | cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 900 | end | |
| 901 | table.insert(Effects, {
| |
| 902 | c, | |
| 903 | "Cylinder", | |
| 904 | 0.05, | |
| 905 | 0.1, | |
| 906 | 0.1, | |
| 907 | 0.1, | |
| 908 | cmsh | |
| 909 | }) | |
| 910 | end | |
| 911 | end | |
| 912 | end | |
| 913 | }; | |
| 914 | ||
| 915 | EffectTemplate = {
| |
| 916 | ||
| 917 | }; | |
| 918 | } | |
| 919 | ||
| 920 | --gross code | |
| 921 | ||
| 922 | demon1=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
| |
| 923 | demon1.Anchored = false | |
| 924 | local mbewm2 = Instance.new("SpecialMesh", demon1)
| |
| 925 | mbewm2.MeshType = "Sphere" | |
| 926 | mbewm2.Scale = Vector3.new(1,1,1) | |
| 927 | demon1.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80)) | |
| 928 | ||
| 929 | demon2=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
| |
| 930 | demon2.Anchored = false | |
| 931 | local mbewm2 = Instance.new("SpecialMesh", demon2)
| |
| 932 | mbewm2.MeshType = "Sphere" | |
| 933 | mbewm2.Scale = Vector3.new(1,1,1) | |
| 934 | demon2.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80)) | |
| 935 | ||
| 936 | demon2=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
| |
| 937 | demon2.Anchored = false | |
| 938 | local mbewm2 = Instance.new("SpecialMesh", demon2)
| |
| 939 | mbewm2.MeshType = "Sphere" | |
| 940 | mbewm2.Scale = Vector3.new(1,1,1) | |
| 941 | demon2.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80)) | |
| 942 | ||
| 943 | demon3=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
| |
| 944 | demon3.Anchored = false | |
| 945 | local mbewm2 = Instance.new("SpecialMesh", demon3)
| |
| 946 | mbewm2.MeshType = "Sphere" | |
| 947 | mbewm2.Scale = Vector3.new(1,1,1) | |
| 948 | demon3.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80)) | |
| 949 | ||
| 950 | demon4=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
| |
| 951 | demon4.Anchored = false | |
| 952 | local mbewm2 = Instance.new("SpecialMesh", demon4)
| |
| 953 | mbewm2.MeshType = "Sphere" | |
| 954 | mbewm2.Scale = Vector3.new(1,1,1) | |
| 955 | demon4.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80)) | |
| 956 | ||
| 957 | demon5=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
| |
| 958 | demon5.Anchored = false | |
| 959 | local mbewm2 = Instance.new("SpecialMesh", demon5)
| |
| 960 | mbewm2.MeshType = "Sphere" | |
| 961 | mbewm2.Scale = Vector3.new(1,1,1) | |
| 962 | demon5.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80)) | |
| 963 | ||
| 964 | whisper1 = Instance.new("Sound",demon1)
| |
| 965 | whisper1.SoundId = "http://www.roblox.com/asset/?id=228797800" | |
| 966 | whisper1.Looped = true | |
| 967 | whisper1.Volume = .6 | |
| 968 | whisper1.Name = "important" | |
| 969 | whisper1:Play() | |
| 970 | ||
| 971 | ||
| 972 | whisper2 = Instance.new("Sound",demon2)
| |
| 973 | whisper2.SoundId = "http://www.roblox.com/asset/?id=228797800" | |
| 974 | whisper2.Looped = true | |
| 975 | whisper2.Volume = .6 | |
| 976 | whisper2.Name = "important" | |
| 977 | whisper2:Play() | |
| 978 | ||
| 979 | whisper3 = Instance.new("Sound",demon3)
| |
| 980 | whisper3.SoundId = "http://www.roblox.com/asset/?id=228797800" | |
| 981 | whisper3.Looped = true | |
| 982 | whisper3.Volume = .6 | |
| 983 | whisper3.Name = "important" | |
| 984 | whisper3:Play() | |
| 985 | ||
| 986 | whisper4 = Instance.new("Sound",demon4)
| |
| 987 | whisper4.SoundId = "http://www.roblox.com/asset/?id=228797800" | |
| 988 | whisper4.Looped = true | |
| 989 | whisper4.Volume = .6 | |
| 990 | whisper4.Name = "important" | |
| 991 | whisper4:Play() | |
| 992 | ||
| 993 | whisper5 = Instance.new("Sound",demon5)
| |
| 994 | whisper5.SoundId = "http://www.roblox.com/asset/?id=228797800" | |
| 995 | whisper5.Looped = true | |
| 996 | whisper5.Volume = .6 | |
| 997 | whisper5.Name = "important" | |
| 998 | whisper5:Play() | |
| 999 | ||
| 1000 | ||
| 1001 | bp1 = Instance.new("BodyPosition",demon1)
| |
| 1002 | bp1.P = 1500 | |
| 1003 | bp1.Position = demon1.Position | |
| 1004 | local roketsped = 0 | |
| 1005 | local spawnPosition = (demon1.CFrame).p | |
| 1006 | demon1.CFrame = CFrame.new(spawnPosition, Torso.Position) | |
| 1007 | demon1.Velocity = demon1.CFrame.lookVector * roketsped | |
| 1008 | local GRAVITY_ACCELERATION = 196.2 | |
| 1009 | bodyForce = Instance.new('BodyForce', demon1)
| |
| 1010 | bodyForce.Name = 'Antigravity' | |
| 1011 | bodyForce.force = Vector3.new(0, demon1:GetMass() * GRAVITY_ACCELERATION, 0) | |
| 1012 | ||
| 1013 | bp2 = Instance.new("BodyPosition",demon2)
| |
| 1014 | bp2.P = 1500 | |
| 1015 | bp2.Position = demon2.Position | |
| 1016 | local roketsped = 0 | |
| 1017 | local spawnPosition = (demon2.CFrame).p | |
| 1018 | demon2.CFrame = CFrame.new(spawnPosition, Torso.Position) | |
| 1019 | demon2.Velocity = demon1.CFrame.lookVector * roketsped | |
| 1020 | local GRAVITY_ACCELERATION = 196.2 | |
| 1021 | bodyForce = Instance.new('BodyForce', demon2)
| |
| 1022 | bodyForce.Name = 'Antigravity' | |
| 1023 | bodyForce.force = Vector3.new(0, demon2:GetMass() * GRAVITY_ACCELERATION, 0) | |
| 1024 | ||
| 1025 | bp3 = Instance.new("BodyPosition",demon3)
| |
| 1026 | bp3.P = 1500 | |
| 1027 | bp3.Position = demon3.Position | |
| 1028 | local roketsped = 0 | |
| 1029 | local spawnPosition = (demon3.CFrame).p | |
| 1030 | demon3.CFrame = CFrame.new(spawnPosition, Torso.Position) | |
| 1031 | demon3.Velocity = demon3.CFrame.lookVector * roketsped | |
| 1032 | local GRAVITY_ACCELERATION = 196.2 | |
| 1033 | bodyForce = Instance.new('BodyForce', demon3)
| |
| 1034 | bodyForce.Name = 'Antigravity' | |
| 1035 | bodyForce.force = Vector3.new(0, demon3:GetMass() * GRAVITY_ACCELERATION, 0) | |
| 1036 | ||
| 1037 | bp4 = Instance.new("BodyPosition",demon4)
| |
| 1038 | bp4.P = 1500 | |
| 1039 | bp4.Position = demon4.Position | |
| 1040 | local roketsped = 0 | |
| 1041 | local spawnPosition = (demon4.CFrame).p | |
| 1042 | demon4.CFrame = CFrame.new(spawnPosition, Torso.Position) | |
| 1043 | demon4.Velocity = demon4.CFrame.lookVector * roketsped | |
| 1044 | local GRAVITY_ACCELERATION = 196.2 | |
| 1045 | bodyForce = Instance.new('BodyForce', demon4)
| |
| 1046 | bodyForce.Name = 'Antigravity' | |
| 1047 | bodyForce.force = Vector3.new(0, demon4:GetMass() * GRAVITY_ACCELERATION, 0) | |
| 1048 | ||
| 1049 | bp5 = Instance.new("BodyPosition",demon5)
| |
| 1050 | bp5.P = 1500 | |
| 1051 | bp5.Position = demon5.Position | |
| 1052 | local roketsped = 0 | |
| 1053 | local spawnPosition = (demon5.CFrame).p | |
| 1054 | demon5.CFrame = CFrame.new(spawnPosition, Torso.Position) | |
| 1055 | demon5.Velocity = demon5.CFrame.lookVector * roketsped | |
| 1056 | local GRAVITY_ACCELERATION = 196.2 | |
| 1057 | bodyForce = Instance.new('BodyForce', demon5)
| |
| 1058 | bodyForce.Name = 'Antigravity' | |
| 1059 | bodyForce.force = Vector3.new(0, demon5:GetMass() * GRAVITY_ACCELERATION, 0) | |
| 1060 | ||
| 1061 | demon1.Name = "bad" | |
| 1062 | demon2.Name = "bad" | |
| 1063 | demon3.Name = "bad" | |
| 1064 | demon4.Name = "bad" | |
| 1065 | demon5.Name = "bad" | |
| 1066 | ||
| 1067 | local con1 = demon1.Touched:connect(function(hit) if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
| |
| 1068 | RightArm.CanCollide = true end end) | |
| 1069 | ||
| 1070 | local con2 = demon2.Touched:connect(function(hit) if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
| |
| 1071 | RightArm.CanCollide = true end end) | |
| 1072 | ||
| 1073 | local con3 = demon3.Touched:connect(function(hit) if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
| |
| 1074 | RightArm.CanCollide = true end end) | |
| 1075 | ||
| 1076 | local con4 = demon4.Touched:connect(function(hit) if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
| |
| 1077 | RightArm.CanCollide = true end end) | |
| 1078 | ||
| 1079 | local con4 = demon5.Touched:connect(function(hit)if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
| |
| 1080 | RightArm.CanCollide = true end end) | |
| 1081 | ||
| 1082 | ||
| 1083 | ||
| 1084 | local tp=CFuncs.Part.Create(Camera, "Glass", 0, .99, BrickColor.new("White"), "ref", Vector3.new(10000,1,10000))
| |
| 1085 | tp.CFrame = Torso.CFrame * CFrame.new(0,100,0) | |
| 1086 | tp.Anchored = true | |
| 1087 | ||
| 1088 | ||
| 1089 | ||
| 1090 | function glasseson() | |
| 1091 | Attack = true | |
| 1092 | Humanoid.WalkSpeed = 0 | |
| 1093 | Humanoid.JumpPower = 0 | |
| 1094 | tp=CFuncs.Part.Create(Torso, "Neon", 0, 1, BrickColor.new("Really black"), "ref", Vector3.new(1,1,1))
| |
| 1095 | tp.CFrame = Torso.CFrame | |
| 1096 | tp.Anchored = true | |
| 1097 | for i = 0, 1, 0.1 do | |
| 1098 | swait() | |
| 1099 | PlayAnimationFromTable({
| |
| 1100 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1101 | CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1102 | CFrame.new(1.21651638, 0.0496894419, -0.74465692, 0.939692616, 0.342020124, 1.00488698e-07, -0.219845921, 0.604022026, -0.766045153, -0.262002915, 0.719846964, 0.642786741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1103 | CFrame.new(-1.07138252, 0.0392258763, -0.822793722, 0.939692974, -0.342019349, 4.83909517e-08, 0.196173996, 0.538984954, -0.819152594, 0.280166, 0.769751906, 0.573575616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1104 | CFrame.new(0.692459702, -1.98315287, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1105 | CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1106 | }, .3, false) | |
| 1107 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(350)), 1) | |
| 1108 | end | |
| 1109 | for i = 0, .5, 0.1 do | |
| 1110 | swait() | |
| 1111 | PlayAnimationFromTable({
| |
| 1112 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1113 | CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1114 | CFrame.new(1.33964431, 0.724650919, -0.651913106, 0.983905137, 0.0593908615, -0.16853331, -0.0901150107, -0.649520218, -0.754985332, -0.154305011, 0.758021295, -0.633714259) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1115 | CFrame.new(-1.11699426, 0.573325932, -1.04379082, 0.925419092, -0.163175523, 0.342013717, 0.0509470068, -0.840772271, -0.538986504, 0.37550506, 0.516213, -0.769753337) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1116 | CFrame.new(0.692459702, -1.98315287, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1117 | CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1118 | }, .3, false) | |
| 1119 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(360), math.rad(0)), 1) | |
| 1120 | end | |
| 1121 | local mosic2 = Instance.new("Sound",Torso)
| |
| 1122 | mosic2.SoundId = "http://www.roblox.com/asset/?id=406943544" | |
| 1123 | mosic2.Looped = true | |
| 1124 | mosic2.Volume = 1 | |
| 1125 | mosic2.Name = "important" | |
| 1126 | mosic2:Play() | |
| 1127 | local smonk = Instance.new("ParticleEmitter",Torso)
| |
| 1128 | smonk.LightEmission = .1 | |
| 1129 | smonk.Size = NumberSequence.new(0.2) | |
| 1130 | smonk.Texture = "http://www.roblox.com/asset/?ID=137243001" | |
| 1131 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
| |
| 1132 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1133 | smonk.Transparency = bbb | |
| 1134 | smonk.Size = aaa | |
| 1135 | smonk.ZOffset = 0 | |
| 1136 | smonk.Acceleration = Vector3.new(0, -5, 0) | |
| 1137 | smonk.LockedToPart = false | |
| 1138 | smonk.EmissionDirection = "Back" | |
| 1139 | smonk.Lifetime = NumberRange.new(.1, .5) | |
| 1140 | smonk.Rate = 1000 | |
| 1141 | smonk.Rotation = NumberRange.new(-100, 100) | |
| 1142 | smonk.RotSpeed = NumberRange.new(-100, 100) | |
| 1143 | smonk.Speed = NumberRange.new(4) | |
| 1144 | smonk.VelocitySpread = 100 | |
| 1145 | smonk.Enabled=true | |
| 1146 | CFuncs.Sound.Create(177359995, Head, 1, 1) | |
| 1147 | Player.CameraMode = Enum.CameraMode.LockFirstPerson | |
| 1148 | for i = 0, 5, 0.1 do | |
| 1149 | swait() | |
| 1150 | PlayAnimationFromTable({
| |
| 1151 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1152 | CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1153 | CFrame.new(1.35316098, 0.789045751, -0.264938205, 0.998222768, 0.053874854, -0.025473481, 0.0423549898, -0.94208312, -0.332694232, -0.0419219881, 0.331024021, -0.942690611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1154 | CFrame.new(-1.25144863, 0.784832895, -0.439222217, 0.974767983, -0.0652274415, 0.213477939, -0.0166469999, -0.974933088, -0.221875042, 0.222599, 0.212722927, -0.951419353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1155 | CFrame.new(0.692465484, -1.98315263, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1156 | CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1157 | }, .3, false) | |
| 1158 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1.3, -.8, .35) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)), 1) | |
| 1159 | end | |
| 1160 | glasses = true | |
| 1161 | LeftArm.Parent = workspace | |
| 1162 | RightArm.Parent = workspace | |
| 1163 | LeftArm.CanCollide = false | |
| 1164 | RightArm.CanCollide = false | |
| 1165 | CFuncs.Sound.Create(263609923, Head, 1, 1) | |
| 1166 | smonk:Destroy() | |
| 1167 | Humanoid.WalkSpeed = 10 | |
| 1168 | Humanoid.JumpPower = 50 | |
| 1169 | mosic2:Destroy() | |
| 1170 | FauxGlasses.Transparency = 0 | |
| 1171 | Glasses.Transparency = 1 | |
| 1172 | Attack = false | |
| 1173 | end | |
| 1174 | ||
| 1175 | ||
| 1176 | function glassesoff() | |
| 1177 | Attack = true | |
| 1178 | Humanoid.WalkSpeed = 0 | |
| 1179 | Humanoid.JumpPower = 0 | |
| 1180 | Glasses.Parent = workspace | |
| 1181 | for i = 0, 1, 0.1 do | |
| 1182 | swait() | |
| 1183 | PlayAnimationFromTable({
| |
| 1184 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1185 | CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1186 | CFrame.new(1.35316098, 0.789045751, -0.264938205, 0.998222768, 0.053874854, -0.025473481, 0.0423549898, -0.94208312, -0.332694232, -0.0419219881, 0.331024021, -0.942690611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1187 | CFrame.new(-1.25144863, 0.784832895, -0.439222217, 0.974767983, -0.0652274415, 0.213477939, -0.0166469999, -0.974933088, -0.221875042, 0.222599, 0.212722927, -0.951419353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1188 | CFrame.new(0.692465484, -1.98315263, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1189 | CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1190 | }, .3, false) | |
| 1191 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1.3, -.8, .35) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)), 1) | |
| 1192 | end | |
| 1193 | FauxGlasses.Transparency = 1 | |
| 1194 | Glasses.Transparency = 0 | |
| 1195 | for i = 0, .5, 0.1 do | |
| 1196 | swait() | |
| 1197 | PlayAnimationFromTable({
| |
| 1198 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1199 | CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1200 | CFrame.new(1.33964431, 0.724650919, -0.651913106, 0.983905137, 0.0593908615, -0.16853331, -0.0901150107, -0.649520218, -0.754985332, -0.154305011, 0.758021295, -0.633714259) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1201 | CFrame.new(-1.11699426, 0.573325932, -1.04379082, 0.925419092, -0.163175523, 0.342013717, 0.0509470068, -0.840772271, -0.538986504, 0.37550506, 0.516213, -0.769753337) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1202 | CFrame.new(0.692459702, -1.98315287, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1203 | CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1204 | }, .3, false) | |
| 1205 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(360), math.rad(0)), 1) | |
| 1206 | end | |
| 1207 | ||
| 1208 | for i = 0, .5, 0.1 do | |
| 1209 | swait() | |
| 1210 | PlayAnimationFromTable({
| |
| 1211 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1212 | CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1213 | CFrame.new(1.21651638, 0.0496894419, -0.74465692, 0.939692616, 0.342020124, 1.00488698e-07, -0.219845921, 0.604022026, -0.766045153, -0.262002915, 0.719846964, 0.642786741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1214 | CFrame.new(-1.07138252, 0.0392258763, -0.822793722, 0.939692974, -0.342019349, 4.83909517e-08, 0.196173996, 0.538984954, -0.819152594, 0.280166, 0.769751906, 0.573575616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1215 | CFrame.new(0.692459702, -1.98315287, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1216 | CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1217 | }, .3, false) | |
| 1218 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(350)), 1) | |
| 1219 | end | |
| 1220 | glasses = false | |
| 1221 | Player.CameraMode = Enum.CameraMode.Classic | |
| 1222 | Glasses.Parent = m | |
| 1223 | Humanoid.WalkSpeed = 10 | |
| 1224 | Humanoid.JumpPower = 50 | |
| 1225 | Attack = false | |
| 1226 | end | |
| 1227 | ||
| 1228 | ||
| 1229 | ||
| 1230 | ||
| 1231 | glasses = false | |
| 1232 | ||
| 1233 | Mouse.KeyDown:connect(function(Key) | |
| 1234 | Key = Key:lower() | |
| 1235 | if Attack == false and Key == 'f' and glasses == false then | |
| 1236 | glasseson() | |
| 1237 | RootPart.CFrame = Part1.CFrame | |
| 1238 | mosic = Instance.new("Sound",Player.PlayerGui)
| |
| 1239 | mosic.SoundId = "http://www.roblox.com/asset/?id=406943544" | |
| 1240 | mosic.Looped = true | |
| 1241 | mosic.Volume = 1 | |
| 1242 | mosic.Name = "important" | |
| 1243 | mosic:Play() | |
| 1244 | elseif Attack == false and Key == 'f' and glasses == true then | |
| 1245 | glassesoff() | |
| 1246 | Character.Parent = workspace | |
| 1247 | LeftArm.Parent = Character | |
| 1248 | RightArm.Parent = Character | |
| 1249 | RootPart.CFrame = tp.CFrame | |
| 1250 | CFuncs.Sound.Create("263609898", Head, 1, 1)
| |
| 1251 | mosic:Destroy() | |
| 1252 | tp:Destroy() | |
| 1253 | end | |
| 1254 | end) | |
| 1255 | ||
| 1256 | ||
| 1257 | ||
| 1258 | ||
| 1259 | ||
| 1260 | ||
| 1261 | ||
| 1262 | ||
| 1263 | ||
| 1264 | ||
| 1265 | ||
| 1266 | ||
| 1267 | ||
| 1268 | while true do | |
| 1269 | swait() | |
| 1270 | for i, v in pairs(Character:GetChildren()) do | |
| 1271 | if v:IsA("Part") then
| |
| 1272 | v.Material = "SmoothPlastic" | |
| 1273 | elseif v:IsA("Accessory") then
| |
| 1274 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1275 | end | |
| 1276 | end | |
| 1277 | for i, v in pairs(Character:GetChildren()) do | |
| 1278 | if v:IsA'Model' then | |
| 1279 | for _, c in pairs(v:GetChildren()) do | |
| 1280 | if c:IsA'Part' then | |
| 1281 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1282 | end | |
| 1283 | end | |
| 1284 | end | |
| 1285 | end | |
| 1286 | TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1287 | Velocity = RootPart.Velocity.y | |
| 1288 | Sine = Sine + Change | |
| 1289 | local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1290 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1291 | Anim = "Jump" | |
| 1292 | if Attack == false then | |
| 1293 | Change = 1 | |
| 1294 | PlayAnimationFromTable({
| |
| 1295 | CFrame.new(-0.0142319221, 0.0233184248, 0.0206878185, 1.00000012, 1.49011612e-08, 0, 2.72463048e-08, 0.965925992, 0.258818656, 2.98023224e-08, -0.258818597, 0.965925932) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1296 | CFrame.new(0.0172861218, 1.54588914, -0.00366462767, 0.999084175, 0.00742999092, -0.0421376228, -0.011074245, 0.996153653, -0.0869220346, 0.0413297117, 0.0873090774, 0.995323658) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1297 | CFrame.new(1.54051697, 0.254249156, -0.521965742, 0.890014946, -0.152965426, -0.429505706, -0.32768172, 0.440404594, -0.835864007, 0.317014515, 0.884672523, 0.341842651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1298 | CFrame.new(-1.55745959, 0.112057857, 0.343250573, 0.986049891, 0.113037676, 0.12218184, -0.158506706, 0.861737013, 0.481959641, -0.050808996, -0.49460274, 0.867632747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1299 | CFrame.new(0.566533923, -1.59700418, -0.481964171, 0.999206185, -0.0385679156, -0.00998616219, 0.0397087261, 0.94381088, 0.328091979, -0.00322881341, -0.328228056, 0.944592893) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1300 | CFrame.new(-0.433014154, -1.95977831, 0.0051856637, 1, 0, 0, 0, 0.965925813, 0.258819401, -2.98023224e-08, -0.258819431, 0.965925753) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1301 | }, .3, false) | |
| 1302 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3) | |
| 1303 | end | |
| 1304 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1305 | Anim = "Fall" | |
| 1306 | if Attack == false then | |
| 1307 | Change = 1 | |
| 1308 | PlayAnimationFromTable({
| |
| 1309 | CFrame.new(-0.0142319212, 0.0233183783, 0.0206877608, 1.00000012, 1.49011612e-08, 2.98023224e-08, 2.72463048e-08, 0.984807968, 0.173647314, 2.98023224e-08, -0.17364724, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1310 | CFrame.new(0.0154076805, 1.5522356, -0.0916171968, 0.999084175, 0.0180828422, -0.0387787819, -0.00742995739, 0.9658584, 0.258964151, 0.0421376526, -0.258438855, 0.965108156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1311 | CFrame.new(1.44003379, 0.0510732532, -0.418421805, 0.890014946, -0.0760585517, -0.449542671, -0.298804998, 0.647417247, -0.701118112, 0.344367683, 0.75833106, 0.553484201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1312 | CFrame.new(-1.55745959, 0.141547889, 0.332177758, 0.986049891, 0.113037676, 0.12218184, -0.162331849, 0.815350056, 0.555745184, -0.036800772, -0.567826271, 0.822325349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1313 | CFrame.new(0.573113441, -1.8059541, -0.374102622, 0.999206126, -0.0373207629, 0.0139417946, 0.0392762311, 0.98143959, -0.187706873, -0.00667765737, 0.188105404, 0.982126117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1314 | CFrame.new(-0.433013678, -1.95186841, 0.175973177, 1, 0, 2.98023224e-08, 0, 0.98480773, 0.173648328, 2.98023224e-08, -0.173648328, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1315 | }, .3, false) | |
| 1316 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3) | |
| 1317 | end | |
| 1318 | elseif TorsoVelocity < 1 and hit ~= nil then | |
| 1319 | Anim = "Idle" | |
| 1320 | if Attack == false then | |
| 1321 | Change = 1 | |
| 1322 | PlayAnimationFromTable({
| |
| 1323 | CFrame.new(-0, -0, 0, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1324 | CFrame.new(1.34110451e-07, 1.49998593, -1.49011612e-07, 0.76604414, 0.0560228154, -0.640341997, 0, 0.996194661, 0.087155968, 0.642788053, -0.0667653158, 0.763129056) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .02 * math.cos(Sine/15), 0, 0), | |
| 1325 | CFrame.new(1.62554669, 0.0800072104, -0.00825580303, 0.98480773, -0.173648, 4.47034836e-07, 0.173647985, 0.984807849, -5.96214491e-08, -4.76837158e-07, 1.34110451e-07, 1.00000012) * CFrame.new(0, 0 + .02 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0 - .03 * math.cos(Sine/15)), | |
| 1326 | CFrame.new(-1.61308134, 0.0621920712, 0.0519417189, 0.98480773, 0.173648, 4.47034836e-07, -0.173647985, 0.984807849, 5.96214491e-08, -4.76837158e-07, -1.34110451e-07, 1.00000012) * CFrame.new(0, 0 + .02 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0 + .03 * math.cos(Sine/15)), | |
| 1327 | CFrame.new(0.651529193, -1.96177566, 0.0285208113, 0.996194839, -0.0871560052, -1.49011612e-07, 0.0871560052, 0.996194661, 1.05878144e-06, 0, -1.06170774e-06, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1328 | CFrame.new(-0.481398791, -1.99999607, -0.035370484, 0.98480773, 0, 0.173648447, 0, 1, 0, -0.173648447, 0, 0.98480773) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0), | |
| 1329 | }, .3, false) | |
| 1330 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3) | |
| 1331 | end | |
| 1332 | elseif TorsoVelocity > 2 and hit ~= nil then | |
| 1333 | Anim = "Walk" | |
| 1334 | if Attack == false then | |
| 1335 | PlayAnimationFromTable({
| |
| 1336 | CFrame.new(-0.0142326364, 0.023318341, 0.0206875801, 1.00000012, 1.5803721e-08, 5.96046448e-08, 2.72463048e-08, 1, 5.61747235e-08, 2.98023224e-08, 2.44280045e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(-.2, math.rad(0 - 10 * math.cos(Sine/6)/2), 0), | |
| 1337 | CFrame.new(1.03447394e-06, 1.49992573, -8.27737608e-07, 0.999084234, 2.72463048e-08, -0.0427876711, 2.93197502e-08, 1, 2.55612349e-08, 0.0427877009, 5.61747235e-08, 0.999084353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1338 | CFrame.new(1.66816366, 0.125450149, 0.167713135, 0.975411952, -0.217704624, -0.0342991352, 0.22028406, 0.9678877, 0.12111339, 0.0068307519, -0.125690982, 0.992045999) * CFrame.new(0, 0, 0 + .2 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(0 - 30 * math.cos(Sine/6)/2), 0, 0), | |
| 1339 | CFrame.new(-1.58983934, 0.0268005617, -0.146883398, 0.986049891, 0.166255936, -0.00805497169, -0.16625604, 0.981399775, -0.0959867239, -0.00805321336, 0.0959868878, 0.995350063) * CFrame.new(0, 0, 0 - .3 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(0 + 30 * math.cos(Sine/6)/2), 0, 0), | |
| 1340 | CFrame.new(.5, -1.64 - 0.8 * math.cos(Sine / 6) / 2, 0 + 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(-50 * math.sin(Sine / 6)), math.rad(-3), math.rad(0)), | |
| 1341 | CFrame.new(-.5, -1.64 + 0.8 * math.cos(Sine / 6) / 2, 0 - 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(50 * math.sin(Sine / 6)), math.rad(3), math.rad(0)),}, .3, false) | |
| 1342 | FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3) | |
| 1343 | end | |
| 1344 | end | |
| 1345 | if #Effects > 0 then | |
| 1346 | for e = 1, #Effects do | |
| 1347 | if Effects[e] ~= nil then | |
| 1348 | local Thing = Effects[e] | |
| 1349 | if Thing ~= nil then | |
| 1350 | local Part = Thing[1] | |
| 1351 | local Mode = Thing[2] | |
| 1352 | local Delay = Thing[3] | |
| 1353 | local IncX = Thing[4] | |
| 1354 | local IncY = Thing[5] | |
| 1355 | if Thing[1].Transparency <= 1 then | |
| 1356 | if Thing[2] == "Block1" then | |
| 1357 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1358 | Mesh = Thing[7] | |
| 1359 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1360 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1361 | elseif Thing[2] == "Ice" then | |
| 1362 | if Thing[6] <= Thing[5] then | |
| 1363 | Thing[6] = Thing[6] + .05 | |
| 1364 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0) | |
| 1365 | else | |
| 1366 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1367 | end | |
| 1368 | elseif Thing[2] == "Shatter" then | |
| 1369 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1370 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1371 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1372 | Thing[6] = Thing[6] + Thing[5] | |
| 1373 | elseif Thing[2] == "Block2" then | |
| 1374 | Thing[1].CFrame = Thing[1].CFrame | |
| 1375 | Mesh = Thing[7] | |
| 1376 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1377 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1378 | elseif Thing[2] == "Block3" then | |
| 1379 | Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1380 | Mesh = Thing[7] | |
| 1381 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1382 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1383 | elseif Thing[2] == "Block4" then | |
| 1384 | Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0) | |
| 1385 | Mesh = Thing[7] | |
| 1386 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1387 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1388 | elseif Thing[2] == "Block2Fire" then | |
| 1389 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1390 | Mesh = Thing[7] | |
| 1391 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1392 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1393 | if Thing[1].Transparency >= .3 then | |
| 1394 | Thing[1].BrickColor = BrickColor.new("Bright red")
| |
| 1395 | else | |
| 1396 | Thing[1].BrickColor = BrickColor.new("Bright yellow")
| |
| 1397 | end | |
| 1398 | elseif Thing[2] == "Cylinder" then | |
| 1399 | Mesh = Thing[7] | |
| 1400 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1401 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1402 | elseif Thing[2] == "Blood" then | |
| 1403 | Mesh = Thing[7] | |
| 1404 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0) | |
| 1405 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1406 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1407 | elseif Thing[2] == "Elec" then | |
| 1408 | Mesh = Thing[10] | |
| 1409 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1410 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1411 | Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2) | |
| 1412 | Thing[1].Rotation = Vector3.new(0, 0, 0) | |
| 1413 | elseif Thing[2] == "Disappear" then | |
| 1414 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1415 | end | |
| 1416 | else | |
| 1417 | Part.Parent = nil | |
| 1418 | table.remove(Effects, e) | |
| 1419 | end | |
| 1420 | end | |
| 1421 | end | |
| 1422 | end | |
| 1423 | end | |
| 1424 | soundbork(Character) | |
| 1425 | Humanoid.Health = math.huge | |
| 1426 | if glasses == true then | |
| 1427 | bp1.Position = Torso.Position | |
| 1428 | bp2.Position = Torso.Position | |
| 1429 | bp3.Position = Torso.Position | |
| 1430 | bp4.Position = Torso.Position | |
| 1431 | bp5.Position = Torso.Position | |
| 1432 | end | |
| 1433 | ||
| 1434 | if glasses == false then | |
| 1435 | bp1.Position = demon1.Position | |
| 1436 | bp2.Position = demon2.Position | |
| 1437 | bp3.Position = demon3.Position | |
| 1438 | bp4.Position = demon4.Position | |
| 1439 | bp5.Position = demon5.Position | |
| 1440 | end | |
| 1441 | ||
| 1442 | if not Part1 then | |
| 1443 | function sandbox(var,func) | |
| 1444 | local env = getfenv(func) | |
| 1445 | local newenv = setmetatable({},{
| |
| 1446 | __index = function(self,k) | |
| 1447 | if k=="script" then | |
| 1448 | return var | |
| 1449 | else | |
| 1450 | return env[k] | |
| 1451 | end | |
| 1452 | end, | |
| 1453 | }) | |
| 1454 | setfenv(func,newenv) | |
| 1455 | return func | |
| 1456 | end | |
| 1457 | cors = {}
| |
| 1458 | mas = Instance.new("Model",Camera)
| |
| 1459 | Model0 = Instance.new("Model")
| |
| 1460 | Part1 = Instance.new("Part")
| |
| 1461 | Part2 = Instance.new("Part")
| |
| 1462 | Part3 = Instance.new("Part")
| |
| 1463 | Part4 = Instance.new("Part")
| |
| 1464 | Part5 = Instance.new("Part")
| |
| 1465 | Part6 = Instance.new("Part")
| |
| 1466 | Part7 = Instance.new("Part")
| |
| 1467 | Model0.Name = "Netherworld" | |
| 1468 | Model0.Parent = mas | |
| 1469 | Part1.Name = "Spart" | |
| 1470 | Part1.Parent = Model0 | |
| 1471 | Part1.Material = Enum.Material.Neon | |
| 1472 | Part1.Transparency = 1 | |
| 1473 | Part1.Anchored = true | |
| 1474 | Part1.CanCollide = false | |
| 1475 | Part1.Size = Vector3.new(4, 1, 2) | |
| 1476 | Part1.CFrame = CFrame.new(144.5, 1290.63574, 2.74698257, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1477 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
| 1478 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
| 1479 | Part1.Position = Vector3.new(144.5, 1290.63574, 2.74698257) | |
| 1480 | Part2.Parent = Model0 | |
| 1481 | Part2.Material = Enum.Material.Neon | |
| 1482 | Part2.BrickColor = BrickColor.new("Really black")
| |
| 1483 | Part2.Transparency = 0.0099999997764826 | |
| 1484 | Part2.Anchored = true | |
| 1485 | Part2.Size = Vector3.new(233.790359, 1.15406489, 245.924103) | |
| 1486 | Part2.CFrame = CFrame.new(130.757782, 1311.9447, 21.3496704, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1487 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
| 1488 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
| 1489 | Part2.Position = Vector3.new(130.757782, 1311.9447, 21.3496704) | |
| 1490 | Part3.Parent = Model0 | |
| 1491 | Part3.Material = Enum.Material.Neon | |
| 1492 | Part3.BrickColor = BrickColor.new("Really black")
| |
| 1493 | Part3.Transparency = 0.0099999997764826 | |
| 1494 | Part3.Rotation = Vector3.new(90, 90, 0) | |
| 1495 | Part3.Anchored = true | |
| 1496 | Part3.Size = Vector3.new(233.790359, 1.15406489, 233.317429) | |
| 1497 | Part3.CFrame = CFrame.new(131.542297, 1193.58923, -99.4936905, 0, 0, 1, 1, 0, 0, 0, 1, 0) | |
| 1498 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
| 1499 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
| 1500 | Part3.Position = Vector3.new(131.542297, 1193.58923, -99.4936905) | |
| 1501 | Part3.Orientation = Vector3.new(0, 90, 90) | |
| 1502 | Part4.Parent = Model0 | |
| 1503 | Part4.Material = Enum.Material.Neon | |
| 1504 | Part4.BrickColor = BrickColor.new("Really black")
| |
| 1505 | Part4.Transparency = 0.0099999997764826 | |
| 1506 | Part4.Rotation = Vector3.new(0, 0, 90) | |
| 1507 | Part4.Anchored = true | |
| 1508 | Part4.Size = Vector3.new(232.420349, 1.15406489, 242.134125) | |
| 1509 | Part4.CFrame = CFrame.new(246.358215, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1) | |
| 1510 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
| 1511 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
| 1512 | Part4.Position = Vector3.new(246.358215, 1194.35278, 22.2144928) | |
| 1513 | Part4.Orientation = Vector3.new(0, 0, 90) | |
| 1514 | Part5.Parent = Model0 | |
| 1515 | Part5.Material = Enum.Material.Neon | |
| 1516 | Part5.BrickColor = BrickColor.new("Really black")
| |
| 1517 | Part5.Transparency = 0.0099999997764826 | |
| 1518 | Part5.Rotation = Vector3.new(90, 90, 0) | |
| 1519 | Part5.Anchored = true | |
| 1520 | Part5.Size = Vector3.new(233.790359, 1.15406489, 233.317429) | |
| 1521 | Part5.CFrame = CFrame.new(131.542297, 1193.58923, 143.942886, 0, 0, 1, 1, 0, 0, 0, 1, 0) | |
| 1522 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
| 1523 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
| 1524 | Part5.Position = Vector3.new(131.542297, 1193.58923, 143.942886) | |
| 1525 | Part5.Orientation = Vector3.new(0, 90, 90) | |
| 1526 | Part6.Parent = Model0 | |
| 1527 | Part6.Material = Enum.Material.Neon | |
| 1528 | Part6.BrickColor = BrickColor.new("Really black")
| |
| 1529 | Part6.Transparency = 0.0099999997764826 | |
| 1530 | Part6.Rotation = Vector3.new(0, 0, 90) | |
| 1531 | Part6.Anchored = true | |
| 1532 | Part6.Size = Vector3.new(232.420349, 1.15406489, 242.134125) | |
| 1533 | Part6.CFrame = CFrame.new(18, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1) | |
| 1534 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
| 1535 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
| 1536 | Part6.Orientation = Vector3.new(0, 0, 90) | |
| 1537 | Part7.Parent = Model0 | |
| 1538 | Part7.Material = Enum.Material.Neon | |
| 1539 | Part7.BrickColor = BrickColor.new("Really black")
| |
| 1540 | Part7.Transparency = 0.0099999997764826 | |
| 1541 | Part7.Anchored = true | |
| 1542 | Part7.Size = Vector3.new(233.790359, 1.15406489, 244.754089) | |
| 1543 | Part7.CFrame = CFrame.new(130.757782, 1077.43396, 20.7646637, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1544 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
| 1545 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
| 1546 | Part7.Position = Vector3.new(130.757782, 1077.43396, 20.7646637) | |
| 1547 | for i,v in pairs(mas:GetChildren()) do | |
| 1548 | v.Parent = workspace | |
| 1549 | pcall(function() v:MakeJoints() end) | |
| 1550 | end | |
| 1551 | mas:Destroy() | |
| 1552 | for i,v in pairs(cors) do | |
| 1553 | spawn(function() | |
| 1554 | pcall(v) | |
| 1555 | end) | |
| 1556 | end | |
| 1557 | end | |
| 1558 | end |