Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local TextLabel = Instance.new("TextLabel")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local TextButton_4 = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- TextLabel.Parent = ScreenGui
- TextLabel.Active = true
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.Draggable = true
- TextLabel.Position = UDim2.new(0, 306, 0, 192)
- TextLabel.Size = UDim2.new(0, 248, 0, 14)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "For: YouWillNeverGuessMy - By Ryanawesome222"
- TextLabel.TextSize = 14
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0, 305, 0, 207)
- Frame.Size = UDim2.new(0, 249, 0, 148)
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Position = UDim2.new(0, 315, 0, 217)
- TextButton.Size = UDim2.new(0, 225, 0, 19)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.FontSize = Enum.FontSize.Size14
- TextButton.Text = "SUN IS A DEADLY LASER SCRIPT"
- TextButton.TextSize = 14
- TextButton_2.Parent = ScreenGui
- TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton_2.Position = UDim2.new(0, 314, 0, 248)
- TextButton_2.Size = UDim2.new(0, 225, 0, 19)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.FontSize = Enum.FontSize.Size14
- TextButton_2.Text = "Death Note"
- TextButton_2.TextSize = 14
- TextButton_3.Parent = ScreenGui
- TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton_3.Position = UDim2.new(0, 315, 0, 281)
- TextButton_3.Size = UDim2.new(0, 225, 0, 19)
- TextButton_3.Font = Enum.Font.SourceSans
- TextButton_3.FontSize = Enum.FontSize.Size14
- TextButton_3.Text = "Mustardfoot's Elevator to Hell"
- TextButton_3.TextSize = 14
- TextButton_4.Parent = ScreenGui
- TextButton_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton_4.Position = UDim2.new(0, 316, 0, 319)
- TextButton_4.Size = UDim2.new(0, 225, 0, 19)
- TextButton_4.Font = Enum.Font.SourceSans
- TextButton_4.FontSize = Enum.FontSize.Size14
- TextButton_4.Text = "Island Dimension"
- TextButton_4.TextSize = 14
- TextButton.MouseButton1Click:connect(function()
- --[[
- SUN IS A DEADLY LASER SCRIPT
- { NOT ANYMORE THERE'S A BLANKET! }
- Created by Minty_Latios (ROBLOX)
- MintyLatios (V3rmillion)
- Minty Latios#1938
- --]]
- wait(1 / 60)
- Effects = { }
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local Create = LoadLibrary("RbxUtility").Create
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- ["Part"] = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Weld"] = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- ["Sound"] = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end))
- end;
- };
- ["ParticleEmitter"] = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return fp
- end;
- };
- CreateTemplate = {
- };
- }
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- FindNearestTorso = function(pos)
- local list = (game.Workspace:children())
- local torso = nil
- local dist = 1000
- local temp, human, temp2 = nil, nil, nil
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso, dist
- end
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- 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)
- else
- h.Health = h.Health - (Damage / 2)
- 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)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame,
- }
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "SciFi",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= Magnitude and c.Name ~= Player.Name then
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
- end
- end
- end
- end
- end
- EffectModel = Create("Model"){
- Parent = Character,
- Name = "Effects",
- }
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- CFuncs['Sound'].Create("rbxassetid://836740253",Character,10,1)
- attack = true
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- Deadly = New("Model",Torso,"Deadly",{})
- Sun = New("Part",Deadly,"Sun",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(-128.325043, 6.92500401, -88.5550079, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 0),})
- SunWeld = New("Weld",Sun,"Weld",{Part0 = Sun,Part1 = Torso,C0 = CFrame.new(0,10,-10)})
- Mesh = New("SpecialMesh",Sun,"Mesh",{Scale = Vector3.new(25, 25, 25),MeshType = Enum.MeshType.Sphere,})
- wait(2.4)
- for i = 0, 5, .1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(7.62939453e-06, 1.49997127, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.49998116, 1.30000138, -0, -0.925471961, -0.378816098, -0, 0.378816068, -0.925472021, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.49998665, -7.67409801e-07, 0, 0.996534884, 0.083175458, -0, -0.0831753537, 0.996536195, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002444, -1.99997056, 0, 0.997888863, -0.0649460033, -0, 0.0649460033, 0.997888863, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499981999, -1.99997056, 0, 0.998180926, 0.0602900013, -0, -0.0602900013, 0.998180926, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .1, false)
- SunWeld.C0 = clerp(SunWeld.C0, CFrame.new(0,-15,-10), 0.1)
- end
- wait(0.5)
- Humanoid.WalkSpeed = 19
- Humanoid.JumpPower = 75
- attack = false
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end;
- };
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Head = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Elect = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 2)
- local xval = math.random() / 2
- local yval = math.random() / 2
- local zval = math.random() / 2
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- table.insert(Effects, {
- prt,
- "Elec",
- 0.1,
- x,
- y,
- z,
- xval,
- yval,
- zval
- })
- end;
- };
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end;
- };
- Fire = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end;
- };
- FireWave = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Top",
- }
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Bottom",
- }
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "FireWave",
- 1,
- 30,
- math.random(400, 600) / 100,
- msh
- })
- end;
- };
- Lightning = {
- Create = function(p0, p1, tym, ofs, col, th, tra, last)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {
- -ofs,
- ofs
- }
- for i = 1, tym do
- local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
- li.Material = "Neon"
- if tym == i then
- local magz2 = (curpos - p1).magnitude
- li.Size = Vector3.new(th, th, magz2)
- li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- else
- do
- do
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, 10)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- end
- end
- end
- end
- end
- };
- EffectTemplate = {
- };
- }
- function supernova()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(7.62939453e-06, 1.49997127, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.49998248, 1.03999865, 1.31132779e-07, -0.874934673, -0.48424086, -8.74230253e-08, 0.48424086, -0.874934673, 2.16521015e-13, -7.64895418e-08, -4.23336139e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.45997405, 1.03999221, 0, -0.85547322, 0.5178473, -0, -0.517847538, -0.855473042, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500002444, -1.99997056, 0, 0.997888863, -0.0649460033, -0, 0.0649460033, 0.997888863, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499981999, -1.99997056, 0, 0.998180926, 0.0602900013, -0, -0.0602900013, 0.998180926, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- wait(.5)
- for i = 0, 5, .1 do
- Mesh.Scale = Mesh.Scale + Vector3.new(2,2,2)
- swait()
- end
- --
- coroutine.wrap(function()
- repeat swait()
- Mesh.Scale = Mesh.Scale + Vector3.new(2,2,2)
- until nil
- end)()
- --CFuncs['Sound'].Create("rbxassetid://265492506",Character,10,1)
- local a = Instance.new("ColorCorrectionEffect",game:service'Lighting')
- a.TintColor = Color3.new(1,1,1)
- local b = Instance.new("BlurEffect",game:service'Lighting')
- b.Size = 0
- for i = 1,0,-.1 do
- b.Size = b.Size + .5
- a.TintColor = Color3.new(1,1,i)
- wait()
- end
- wait(1)
- for i = 1,0,-.1 do
- a.TintColor = Color3.new(1,i,0)
- b.Size = b.Size + 1
- wait()
- end
- wait(1)
- for i = 1,0,-.1 do
- a.TintColor = Color3.new(i,0,0)
- wait()
- end
- wait(1)
- coroutine.wrap(function()
- for i,v in next, workspace:children() do
- if v:IsA"Model" or v:IsA"Part" then
- if v:FindFirstChildOfClass"Humanoid"then
- v:BreakJoints()
- end
- end
- end
- end)()
- wait(1)
- for i = 0,1,.1 do
- a.TintColor = Color3.new(1,1,i)
- b.Size = b.Size - 2
- wait()
- end
- a:destroy()
- game:service'Debris':AddItem(b,3)
- end
- function attackone()
- CFuncs['Sound'].Create("rbxassetid://811841430",Character,10,1)
- local a = Instance.new("Part",Character)
- a.Name = "Lazer"
- a.Anchored = true
- a.CanCollide = false
- a.BrickColor = BrickColor.new"New Yeller"
- local ray = Ray.new(
- Sun.CFrame.p, -- origin
- (Mouse.Hit.p - Sun.CFrame.p).unit * 500 -- direction
- )
- local ignore = Character
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- if hit then
- local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
- if not humanoid then
- humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
- end
- if humanoid then
- if humanoid.Parent:IsA"Model" then
- humanoid.Parent:BreakJoints()
- end
- end
- end
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (Sun.CFrame.p - position).magnitude
- a.Size = Vector3.new(1, 1, distance)
- a.CFrame = CFrame.new(Sun.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- game:GetService("Debris"):AddItem(a, 0.1)
- end
- Mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- attackone()
- end
- end)
- Mouse.KeyDown:connect(function(k)
- if attack == false and k == 'v' then
- supernova()
- end
- end)
- while true do
- swait()
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0, -0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(7.62939453e-06, 1.49997127, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(math.sin(sine/22)/12,0,0),
- CFrame.new(0.429973245, 0.490001738, -0.460011989, 0.0975494087, 0.994276762, -0.0435587466, 0.0559796244, -0.0491798446, -0.997221529, -0.993656218, 0.0948399603, -0.0604567304) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, math.sin(sine/16)/10, math.sin(sine/16)/10),
- CFrame.new(-0.320005357, 0.480002224, -0.539992452, 0.357028693, -0.930425704, -0.0826981664, -0.130211353, 0.0380947962, -0.990754068, 0.924973309, 0.364495993, -0.107551016) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, -math.sin(sine/16)/10, -math.sin(sine/16)/10),
- CFrame.new(0.500002444, -1.99997056, 0, 0.997888863, -0.0649460033, -0, 0.0649460033, 0.997888863, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499981999, -1.99997056, 0, 0.998180926, 0.0602900013, -0, -0.0602900013, 0.998180926, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 3), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.429973245, 0.490001738, -0.460011989, 0.0975494087, 0.994276762, -0.0435587466, 0.0559796244, -0.0491798446, -0.997221529, -0.993656218, 0.0948399603, -0.0604567304) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, math.sin(sine/16)/10, math.sin(sine/16)/10),
- CFrame.new(-0.320005357, 0.480002224, -0.539992452, 0.357028693, -0.930425704, -0.0826981664, -0.130211353, 0.0380947962, -0.990754068, 0.924973309, 0.364495993, -0.107551016) * CFrame.new(0, 0, math.sin(sine/16)/14) * CFrame.Angles(0, -math.sin(sine/16)/10, -math.sin(sine/16)/10),
- CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 6)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 6)), 0, 0),
- CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 6)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 6)), 0, 0),
- }, .3, false)
- end
- end
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if Thing[2] == "Shoot" then
- local Look = Thing[1]
- local move = 30
- if Thing[8] == 3 then
- move = 10
- end
- local hit, pos = rayCast(Thing[4], Thing[1], move, m)
- if Thing[10] ~= nil then
- da = pos
- cf2 = CFrame.new(Thing[4], Thing[10].Position)
- cfa = CFrame.new(Thing[4], pos)
- tehCF = cfa:lerp(cf2, 0.2)
- Thing[1] = tehCF.lookVector
- end
- local mag = (Thing[4] - pos).magnitude
- Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
- if Thing[8] == 2 then
- Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
- end
- Thing[4] = Thing[4] + Look * move
- Thing[3] = Thing[3] - 1
- if 2 < Thing[5] then
- Thing[5] = Thing[5] - 0.3
- Thing[6] = Thing[6] - 0.3
- end
- if hit ~= nil then
- Thing[3] = 0
- if Thing[8] == 1 or Thing[8] == 3 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- else
- if Thing[8] == 2 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
- game:GetService("Debris"):AddItem(ref, 0.2)
- Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
- Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
- MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
- end
- end
- end
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
- game:GetService("Debris"):AddItem(ref, 1)
- end
- if Thing[3] <= 0 then
- table.remove(Effects, e)
- end
- end
- do
- do
- if Thing[2] == "FireWave" then
- if Thing[3] <= Thing[4] then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
- Thing[3] = Thing[3] + 1
- Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Fire" then
- Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Cylinder" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Elec" then
- Mesh = Thing[10]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- end
- end
- end
- end
- end
- end
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- TextButton_2.MouseButton1Click:connect(function()
- --Made by Hirari_Tear, credits to expro for the GUI--
- local Handle = Instance.new('Part')
- local Mesh = Instance.new('SpecialMesh')
- local Death = Instance.new('Tool')
- Death.Name = "Death Note"
- Handle.Name = "Handle"
- Death.Parent = game.Players.LocalPlayer.Backpack
- Death.GripForward = Vector3.new(0.331, -0.766, 0.551)
- Death.GripPos = Vector3.new(-0.8, 0, -0.8)
- Death.GripRight = Vector3.new(-0.943, -0.297, 0.152)
- Death.GripUp = Vector3.new(-0.048, 0.57, 0.82)
- Death.ToolTip = "Kill your fucking rival"
- Handle.Parent = Death
- Mesh.Parent = Handle
- Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=18276952"
- Mesh.Scale = Vector3.new(0.55, 0.174, 0.6)
- Handle.Rotation = Vector3.new(0,-90,0)
- Death.Equipped:connect(function(mouse)
- local Bounce = Enum.EasingStyle.Bounce
- local Quad = Enum.EasingStyle.Quad
- local Normal = Enum.EasingStyle.Linear
- local ScreenGui = Instance.new("ScreenGui", game.Players["LocalPlayer"].PlayerGui)
- ScreenGui.Name = "Death Note"
- local open = Instance.new("ImageButton", ScreenGui)
- open.Position = UDim2.new(1, -110, 1, 500)
- open.Size = UDim2.new(0, 100,0, 150)
- open.Image = "rbxassetid://18536731"
- open:TweenPosition(UDim2.new(1, -110, 1, -150), "In", Bounce, 0.8, true)
- local Note = Instance.new("Frame", ScreenGui)
- Note.Active = true
- Note.Position = UDim2.new(1, -321, 1, 500)
- Note.Size = UDim2.new(0, 320,0, 250)
- Note.Visible = false
- Note.Draggable = true
- open.MouseButton1Down:connect(function()
- open:TweenPosition(UDim2.new(open.Position.X.Scale,open.Position.X.Offset, 1, 500), "Out", Normal, 0.8, true)
- wait(0.30)
- open.Visible = false
- Note.Visible = true
- Note.Position = UDim2.new(1, -321, 1, 500)
- Note:TweenPosition(UDim2.new(1, -321, 1, -251), "In", Normal, 0.5, true)
- end)
- local bg = Instance.new("Frame", Note)
- bg.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
- bg.Size = UDim2.new(0, 160,0, 250)
- bg.ZIndex = 2
- -- Background
- local close = Instance.new("TextButton", bg)
- close.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- close.BackgroundTransparency = 1
- close.Position = UDim2.new(0, 8,0, 10)
- close.Size = UDim2.new(0, 10,0, 10)
- close.ZIndex = 4
- close.Font = "Cartoon"
- close.Text = "X"
- close.TextColor3 = Color3.fromRGB(255, 255, 255)
- close.TextSize = "17"
- close.MouseButton1Down:connect(function()
- Note:TweenPosition(UDim2.new(Note.Position.X.Scale,Note.Position.X.Offset,1, 500), "Out", Normal, 0.5, true)
- wait(0.30)
- Note.Visible = false
- open.Visible = true
- open:TweenPosition(UDim2.new(1, -110, 1, -150), "In", Normal, 0.8, true)
- end)
- local image1 = Instance.new("ImageLabel", bg)
- image1.BackgroundTransparency = 1
- image1.Size = UDim2.new(1, 0,1, 0)
- image1.ZIndex = 3
- image1.Image = "rbxassetid://18528551"
- local title = Instance.new("TextLabel", bg)
- title.BackgroundTransparency = 1
- title.Position = UDim2.new(0, 0,0, 30)
- title.Size = UDim2.new(1, 0,0, 30)
- title.ZIndex = 4
- title.Font = "Bodoni"
- title.Text = "DEATH NOTE"
- title.TextColor3 = Color3.fromRGB(255, 255, 255)
- title.TextSize = "18"
- local body = Instance.new("TextLabel", bg)
- body.BackgroundTransparency = 1
- body.Position = UDim2.new(0, 15,0, 65)
- body.Size = UDim2.new(0, 134,0, 40)
- body.ZIndex = 4
- body.Font = "Garamond"
- body.Text = "Type in somebody's name to kill them."
- body.TextColor3 = Color3.fromRGB(255, 255, 255)
- body.TextSize = "19"
- body.TextWrapped = true
- body.TextXAlignment = "Left"
- body.TextYAlignment = "Top"
- local line = Instance.new("TextLabel", body)
- line.BackgroundTransparency = 1
- line.Position = UDim2.new(0, 0,0, 50)
- line.Size = UDim2.new(0, 130,0, 40)
- line.ZIndex = 4
- line.Font = "Garamond"
- line.Text = "________________"
- line.TextColor3 = Color3.fromRGB(255, 255, 255)
- line.TextSize = "19"
- line.TextWrapped = true
- line.TextXAlignment = "Left"
- line.TextYAlignment = "Top"
- local text = Instance.new("TextLabel", body)
- text.BackgroundTransparency = 1
- text.Position = UDim2.new(0, 0,0, 100)
- text.Size = UDim2.new(0, 134,0, 40)
- text.ZIndex = 4
- text.Font = "Garamond"
- text.Text = "This was made by RcDZ."
- text.TextColor3 = Color3.fromRGB(255, 255, 255)
- text.TextSize = "19"
- text.TextWrapped = true
- text.TextXAlignment = "Left"
- text.TextYAlignment = "Top"
- -- Page
- local page = Instance.new("Frame", Note)
- page.BackgroundColor3 = Color3.fromRGB(236, 236, 236)
- page.Position = UDim2.new(0, 160,0, 0)
- page.Size = UDim2.new(0, 160,0, 250)
- page.ZIndex = 2
- local list = Instance.new("TextBox", page)
- list.BackgroundTransparency = 1
- list.Position = UDim2.new(0, 25,0, 20)
- list.Size = UDim2.new(0.8, 5,0, 230)
- list.ZIndex = 4
- list.Font = "Antique"
- list.Text = ""
- list.TextColor3 = Color3.fromRGB(0, 0, 0)
- list.TextSize = "23"
- list.TextWrapped = true
- list.TextXAlignment = "Left"
- list.TextYAlignment = "Top"
- local image2 = Instance.new("ImageLabel", page)
- image2.BackgroundTransparency = 1
- image2.Size = UDim2.new(1, 0,1, 0)
- image2.ZIndex = 3
- image2.Image = "rbxassetid://170279713"
- image2.Transparency = 0.2
- while true do
- repeat wait() until game.Workspace:FindFirstChild(list.Text)
- if game.Workspace[list.Text]:FindFirstChild("Humanoid") then
- game.Workspace[list.Text].Humanoid.PlatformStand = true
- game.Workspace[list.Text].Humanoid.Health = 0
- elseif game.Workspace[list.Text]:FindFirstChild("Zombie") then
- game.Workspace[list.Text].Zombie.PlatformStand = true
- game.Workspace[list.Text].Zombie.Health = 0
- end
- end
- end)
- Death.Unequipped:connect(function(mouse)
- game.Players.LocalPlayer.PlayerGui["Death Note"]:remove()
- end)
- end)
- TextButton_3.MouseButton1Click:connect(function()
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local TextBox = Instance.new("TextBox")
- function MoveSpawn(obj1,PLAYER)
- local playerpos = nil
- if PLAYER:FindFirstChildOfClass('Humanoid') and PLAYER:FindFirstChild('HumanoidRootPart') then
- playerpos = PLAYER.HumanoidRootPart.Position - Vector3.new(0,PLAYER:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
- end
- print(playerpos)
- for _,part in pairs (obj1:GetChildren()) do
- if part:IsA('BasePart') and playerpos then
- print('thefuck')
- print(playerpos)
- part.CFrame = part.CFrame + playerpos + Vector3.new(-2.6,-20,-143)
- end
- end
- end
- function ToHell(obj1)
- for i,v in pairs(obj1:GetChildren()) do
- v.CFrame = v.CFrame+Vector3.new(5000,5000,5000)
- end
- end
- function MoveBy(obj1,AMNT)
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.CFrame = v.CFrame + AMNT
- end
- end
- end
- function MovePartBy(part,AMNT)
- part.CFrame = part.CFrame+AMNT
- end
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- ScreenGui.ResetOnSpawn = false
- TextBox.Parent = ScreenGui
- TextBox.AnchorPoint = Vector2.new(0.5, 0.5)
- TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
- TextBox.BorderColor3 = Color3.new(0.47451, 0, 0)
- TextBox.BorderSizePixel = 5
- TextBox.Position = UDim2.new(0.5, 0, 0.949999988, 0)
- TextBox.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.FontSize = Enum.FontSize.Size14
- TextBox.Text = "Enter Target's Name (Can be Shortened)"
- TextBox.TextColor3 = Color3.new(0.47451, 0, 0)
- TextBox.TextScaled = true
- TextBox.TextSize = 14
- TextBox.TextWrapped = true
- TextBox.FocusLost:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- if (string.sub(string.lower(v.Name),1,string.len(TextBox.Text)) == string.lower(TextBox.Text) and string.lower(TextBox.Text) ~= "all" and string.lower(TextBox.Text) ~= "others" and string.lower(TextBox.Text) ~= "me") or string.lower(TextBox.Text) == "all" or (string.lower(TextBox.Text) == "others" and v ~= game.Players.LocalPlayer) or (string.lower(TextBox.Text) == "me" and v == game.Players.LocalPlayer) then
- local coru = coroutine.wrap(function()
- print('elevatoring '..v.Name)
- local plr = v
- -- 1 - Model
- local obj1 = Instance.new("Model")
- obj1.Parent = workspace
- -- 2 - Part
- local obj2 = Instance.new("Part")
- obj2.CFrame = CFrame.new(Vector3.new(7.60000801, 8.2000227, 143.099991)) * CFrame.Angles(-0, 0, -0)
- obj2.Material = Enum.Material.Neon
- obj2.Size = Vector3.new(0.400000006, 0.200000003, 6.5999999)
- obj2.Anchored = true
- obj2.BrickColor = BrickColor.new("Maroon")
- obj2.Friction = 0.30000001192093
- obj2.Shape = Enum.PartType.Block
- obj2.Parent = obj1
- -- 3 - Part
- local obj3 = Instance.new("Part")
- obj3.CFrame = CFrame.new(Vector3.new(17.550005, 2.40002203, 152.699997)) * CFrame.Angles(-0, 0, -0)
- obj3.Material = Enum.Material.Foil
- obj3.Size = Vector3.new(19.4999981, 0.200000003, 0.200000003)
- obj3.Anchored = true
- obj3.BrickColor = BrickColor.new("Really black")
- obj3.Friction = 0.30000001192093
- obj3.Shape = Enum.PartType.Block
- obj3.Parent = obj1
- -- 4 - Wedge
- local obj4 = Instance.new("WedgePart")
- obj4.CFrame = CFrame.new(Vector3.new(27.300005, 0.107478142, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
- obj4.TopSurface = Enum.SurfaceType.Smooth
- obj4.Material = Enum.Material.Marble
- obj4.Size = Vector3.new(0.200000003, 1, 1)
- obj4.Anchored = true
- obj4.BrickColor = BrickColor.new("Maroon")
- obj4.Friction = 0.30000001192093
- obj4.Name = "Wedge"
- obj4.Parent = obj1
- -- 5 - Part
- local obj5 = Instance.new("Part")
- obj5.CFrame = CFrame.new(Vector3.new(17.7938519, 0.107021809, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0)
- obj5.TopSurface = Enum.SurfaceType.Smooth
- obj5.BottomSurface = Enum.SurfaceType.Smooth
- obj5.Material = Enum.Material.Marble
- obj5.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
- obj5.Anchored = true
- obj5.BrickColor = BrickColor.new("Maroon")
- obj5.Friction = 0.30000001192093
- obj5.Shape = Enum.PartType.Block
- obj5.Parent = obj1
- -- 6 - Part
- local obj6 = Instance.new("Part")
- obj6.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 149.850006)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj6.Material = Enum.Material.Cobblestone
- obj6.Size = Vector3.new(6.90000153, 13, 0.400000006)
- obj6.Anchored = true
- obj6.BrickColor = BrickColor.new("Maroon")
- obj6.Friction = 0.30000001192093
- obj6.Shape = Enum.PartType.Block
- obj6.Parent = obj1
- -- 7 - Part
- local obj7 = Instance.new("Part")
- obj7.CFrame = CFrame.new(Vector3.new(27.4000034, 2.40002203, 143.199997)) * CFrame.Angles(-0, 0, -0)
- obj7.Material = Enum.Material.Foil
- obj7.Size = Vector3.new(0.200000003, 0.200000003, 19.2000008)
- obj7.Anchored = true
- obj7.BrickColor = BrickColor.new("Really black")
- obj7.Friction = 0.30000001192093
- obj7.Shape = Enum.PartType.Block
- obj7.Parent = obj1
- -- 8 - Part
- local obj8 = Instance.new("Part")
- obj8.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 153.199997)) * CFrame.Angles(-0, 0, -0)
- obj8.Material = Enum.Material.Cobblestone
- obj8.Size = Vector3.new(20, 13, 0.200000003)
- obj8.Anchored = true
- obj8.BrickColor = BrickColor.new("Maroon")
- obj8.Friction = 0.30000001192093
- obj8.Shape = Enum.PartType.Block
- obj8.Parent = obj1
- -- 9 - Part
- local obj9 = Instance.new("Part")
- obj9.CFrame = CFrame.new(Vector3.new(7.6000042, 4.05002213, 139.899994)) * CFrame.Angles(-0, 0, -0)
- obj9.Material = Enum.Material.Neon
- obj9.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003)
- obj9.Anchored = true
- obj9.BrickColor = BrickColor.new("Maroon")
- obj9.Friction = 0.30000001192093
- obj9.Shape = Enum.PartType.Block
- obj9.Parent = obj1
- -- 10 - Part
- local obj10 = Instance.new("Part")
- obj10.CFrame = CFrame.new(Vector3.new(17.8000011, 0.100021839, 143.100006)) * CFrame.Angles(-0, 0, -0)
- obj10.TopSurface = Enum.SurfaceType.Smooth
- obj10.BottomSurface = Enum.SurfaceType.Smooth
- obj10.Material = Enum.Material.Wood
- obj10.Size = Vector3.new(20, 0.200000003, 20)
- obj10.Anchored = true
- obj10.BrickColor = BrickColor.new("Black")
- obj10.Friction = 0.30000001192093
- obj10.Shape = Enum.PartType.Block
- obj10.Parent = obj1
- -- 11 - Wedge
- local obj11 = Instance.new("WedgePart")
- obj11.CFrame = CFrame.new(Vector3.new(8.2999897, 0.107478142, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063)
- obj11.TopSurface = Enum.SurfaceType.Smooth
- obj11.Material = Enum.Material.Marble
- obj11.Size = Vector3.new(0.200000003, 1, 1)
- obj11.BottomSurface = Enum.SurfaceType.Smooth
- obj11.Anchored = true
- obj11.BrickColor = BrickColor.new("Maroon")
- obj11.Friction = 0.30000001192093
- obj11.Name = "Wedge"
- obj11.Parent = obj1
- -- 12 - Wedge
- local obj12 = Instance.new("WedgePart")
- obj12.CFrame = CFrame.new(Vector3.new(8.2988987, 0.107478142, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
- obj12.TopSurface = Enum.SurfaceType.Smooth
- obj12.Material = Enum.Material.Marble
- obj12.Size = Vector3.new(0.200000003, 1, 1)
- obj12.BottomSurface = Enum.SurfaceType.Smooth
- obj12.Anchored = true
- obj12.BrickColor = BrickColor.new("Maroon")
- obj12.Friction = 0.30000001192093
- obj12.Name = "Wedge"
- obj12.Parent = obj1
- -- 13 - Part
- local obj13 = Instance.new("Part")
- obj13.CFrame = CFrame.new(Vector3.new(17.7979107, 0.107021809, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126)
- obj13.TopSurface = Enum.SurfaceType.Smooth
- obj13.BottomSurface = Enum.SurfaceType.Smooth
- obj13.Material = Enum.Material.Marble
- obj13.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
- obj13.Anchored = true
- obj13.BrickColor = BrickColor.new("Maroon")
- obj13.Friction = 0.30000001192093
- obj13.Shape = Enum.PartType.Block
- obj13.Parent = obj1
- -- 14 - Wedge
- local obj14 = Instance.new("WedgePart")
- obj14.CFrame = CFrame.new(Vector3.new(27.2989597, 0.107478142, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
- obj14.TopSurface = Enum.SurfaceType.Smooth
- obj14.Material = Enum.Material.Marble
- obj14.Size = Vector3.new(0.200000003, 1, 1)
- obj14.Anchored = true
- obj14.BrickColor = BrickColor.new("Maroon")
- obj14.Friction = 0.30000001192093
- obj14.Name = "Wedge"
- obj14.Parent = obj1
- -- 15 - Part
- local obj15 = Instance.new("Part")
- obj15.CFrame = CFrame.new(Vector3.new(27.8999996, 6.50002193, 143.100006)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj15.Material = Enum.Material.Cobblestone
- obj15.Size = Vector3.new(20.4000015, 13, 0.200000003)
- obj15.Anchored = true
- obj15.BrickColor = BrickColor.new("Maroon")
- obj15.Friction = 0.30000001192093
- obj15.Shape = Enum.PartType.Block
- obj15.Parent = obj1
- -- 16 - Part
- local obj16 = Instance.new("Part")
- obj16.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 146.299988)) * CFrame.Angles(-0, 0, -0)
- obj16.Material = Enum.Material.Neon
- obj16.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003)
- obj16.Anchored = true
- obj16.BrickColor = BrickColor.new("Maroon")
- obj16.Friction = 0.30000001192093
- obj16.Shape = Enum.PartType.Block
- obj16.Parent = obj1
- -- 17 - Part
- local obj17 = Instance.new("Part")
- obj17.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 133)) * CFrame.Angles(-0, 0, -0)
- obj17.Material = Enum.Material.Cobblestone
- obj17.Size = Vector3.new(20, 13, 0.200000003)
- obj17.Anchored = true
- obj17.BrickColor = BrickColor.new("Maroon")
- obj17.Friction = 0.30000001192093
- obj17.Shape = Enum.PartType.Block
- obj17.Parent = obj1
- -- 18 - Part
- local obj18 = Instance.new("Part")
- obj18.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 136.350006)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj18.Material = Enum.Material.Cobblestone
- obj18.Size = Vector3.new(6.90000153, 13, 0.400000006)
- obj18.Anchored = true
- obj18.BrickColor = BrickColor.new("Maroon")
- obj18.Friction = 0.30000001192093
- obj18.Shape = Enum.PartType.Block
- obj18.Parent = obj1
- -- 19 - Part
- local obj19 = Instance.new("Part")
- obj19.CFrame = CFrame.new(Vector3.new(7.6000042, 10.6500206, 143.099991)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj19.Material = Enum.Material.Cobblestone
- obj19.Size = Vector3.new(6.60000181, 4.69999981, 0.400000006)
- obj19.Anchored = true
- obj19.BrickColor = BrickColor.new("Maroon")
- obj19.Friction = 0.30000001192093
- obj19.Shape = Enum.PartType.Block
- obj19.Parent = obj1
- -- 20 - Part
- local obj20 = Instance.new("Part")
- obj20.CFrame = CFrame.new(Vector3.new(17.6500034, 2.40002203, 133.5)) * CFrame.Angles(-0, 0, -0)
- obj20.Material = Enum.Material.Foil
- obj20.Size = Vector3.new(19.7000008, 0.200000003, 0.200000003)
- obj20.Anchored = true
- obj20.BrickColor = BrickColor.new("Really black")
- obj20.Friction = 0.30000001192093
- obj20.Shape = Enum.PartType.Block
- obj20.Parent = obj1
- -- 21 - Door1
- local obj21 = Instance.new("Part")
- obj21.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 144.649994)) * CFrame.Angles(-0, 0, -0)
- obj21.Material = Enum.Material.Granite
- obj21.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014)
- obj21.Anchored = true
- obj21.BrickColor = BrickColor.new("Really black")
- obj21.Friction = 0.30000001192093
- obj21.Shape = Enum.PartType.Block
- obj21.Name = "Door1"
- obj21.Parent = obj1
- -- 22 - Part
- local obj22 = Instance.new("Part")
- obj22.CFrame = CFrame.new(Vector3.new(17.8000011, 12.9000273, 143.100006)) * CFrame.Angles(-0, 0, -0)
- obj22.TopSurface = Enum.SurfaceType.Smooth
- obj22.BottomSurface = Enum.SurfaceType.Smooth
- obj22.Material = Enum.Material.Wood
- obj22.Size = Vector3.new(20, 0.200000003, 20)
- obj22.Anchored = true
- obj22.BrickColor = BrickColor.new("Black")
- obj22.Friction = 0.30000001192093
- obj22.Shape = Enum.PartType.Block
- obj22.Parent = obj1
- -- 23 - Wedge
- local obj23 = Instance.new("WedgePart")
- obj23.CFrame = CFrame.new(Vector3.new(8.2999897, 12.9074841, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063)
- obj23.TopSurface = Enum.SurfaceType.Smooth
- obj23.Material = Enum.Material.Marble
- obj23.Size = Vector3.new(0.200000003, 1, 1)
- obj23.BottomSurface = Enum.SurfaceType.Smooth
- obj23.Anchored = true
- obj23.BrickColor = BrickColor.new("Maroon")
- obj23.Friction = 0.30000001192093
- obj23.Name = "Wedge"
- obj23.Parent = obj1
- -- 24 - Wedge
- local obj24 = Instance.new("WedgePart")
- obj24.CFrame = CFrame.new(Vector3.new(8.2988987, 12.9074841, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
- obj24.TopSurface = Enum.SurfaceType.Smooth
- obj24.Material = Enum.Material.Marble
- obj24.Size = Vector3.new(0.200000003, 1, 1)
- obj24.BottomSurface = Enum.SurfaceType.Smooth
- obj24.Anchored = true
- obj24.BrickColor = BrickColor.new("Maroon")
- obj24.Friction = 0.30000001192093
- obj24.Name = "Wedge"
- obj24.Parent = obj1
- -- 25 - Wedge
- local obj25 = Instance.new("WedgePart")
- obj25.CFrame = CFrame.new(Vector3.new(27.300005, 12.9074841, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
- obj25.TopSurface = Enum.SurfaceType.Smooth
- obj25.Material = Enum.Material.Marble
- obj25.Size = Vector3.new(0.200000003, 1, 1)
- obj25.Anchored = true
- obj25.BrickColor = BrickColor.new("Maroon")
- obj25.Friction = 0.30000001192093
- obj25.Name = "Wedge"
- obj25.Parent = obj1
- -- 26 - Part
- local obj26 = Instance.new("Part")
- obj26.CFrame = CFrame.new(Vector3.new(17.7938519, 12.9070272, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0)
- obj26.TopSurface = Enum.SurfaceType.Smooth
- obj26.BottomSurface = Enum.SurfaceType.Smooth
- obj26.Material = Enum.Material.Marble
- obj26.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
- obj26.Anchored = true
- obj26.BrickColor = BrickColor.new("Maroon")
- obj26.Friction = 0.30000001192093
- obj26.Shape = Enum.PartType.Block
- obj26.Parent = obj1
- -- 27 - Part
- local obj27 = Instance.new("Part")
- obj27.CFrame = CFrame.new(Vector3.new(17.7979107, 12.9070272, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126)
- obj27.TopSurface = Enum.SurfaceType.Smooth
- obj27.BottomSurface = Enum.SurfaceType.Smooth
- obj27.Material = Enum.Material.Marble
- obj27.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
- obj27.Anchored = true
- obj27.BrickColor = BrickColor.new("Maroon")
- obj27.Friction = 0.30000001192093
- obj27.Shape = Enum.PartType.Block
- obj27.Parent = obj1
- -- 28 - Door2
- local obj28 = Instance.new("Part")
- obj28.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 141.550003)) * CFrame.Angles(-0, 0, -0)
- obj28.Material = Enum.Material.Granite
- obj28.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014)
- obj28.Anchored = true
- obj28.BrickColor = BrickColor.new("Really black")
- obj28.Friction = 0.30000001192093
- obj28.Shape = Enum.PartType.Block
- obj28.Name = "Door2"
- obj28.Parent = obj1
- -- 29 - Wedge
- local obj29 = Instance.new("WedgePart")
- obj29.CFrame = CFrame.new(Vector3.new(27.2989597, 12.9074841, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
- obj29.TopSurface = Enum.SurfaceType.Smooth
- obj29.Material = Enum.Material.Marble
- obj29.Size = Vector3.new(0.200000003, 1, 1)
- obj29.Anchored = true
- obj29.BrickColor = BrickColor.new("Maroon")
- obj29.Friction = 0.30000001192093
- obj29.Name = "Wedge"
- obj29.Parent = obj1
- -- 30 - Wedge
- local obj30 = Instance.new("WedgePart")
- obj30.CFrame = CFrame.new(Vector3.new(27.2918797, 12.8000755, 152.600006)) * CFrame.Angles(-0, 0, 1.5707963705063)
- obj30.TopSurface = Enum.SurfaceType.Smooth
- obj30.Material = Enum.Material.Marble
- obj30.Size = Vector3.new(0.200000003, 1, 1)
- obj30.BottomSurface = Enum.SurfaceType.Smooth
- obj30.Anchored = true
- obj30.BrickColor = BrickColor.new("Really black")
- obj30.Friction = 0.30000001192093
- obj30.Name = "Wedge"
- obj30.Parent = obj1
- -- 31 - Part
- local obj31 = Instance.new("Part")
- obj31.CFrame = CFrame.new(Vector3.new(17.7939548, 12.8005333, 143.093857)) * CFrame.Angles(-3.1415927410126, 0.78539752960205, -0)
- obj31.TopSurface = Enum.SurfaceType.Smooth
- obj31.BottomSurface = Enum.SurfaceType.Smooth
- obj31.Material = Enum.Material.Marble
- obj31.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
- obj31.Anchored = true
- obj31.BrickColor = BrickColor.new("Really black")
- obj31.Friction = 0.30000001192093
- obj31.Shape = Enum.PartType.Block
- obj31.Parent = obj1
- -- 32 - Wedge
- local obj32 = Instance.new("WedgePart")
- obj32.CFrame = CFrame.new(Vector3.new(8.29290962, 12.8000755, 152.600037)) * CFrame.Angles(-1.5707963705063, -1.5707963705063, 0)
- obj32.TopSurface = Enum.SurfaceType.Smooth
- obj32.Material = Enum.Material.Marble
- obj32.Size = Vector3.new(0.200000003, 1, 1)
- obj32.Anchored = true
- obj32.BrickColor = BrickColor.new("Really black")
- obj32.Friction = 0.30000001192093
- obj32.Name = "Wedge"
- obj32.Parent = obj1
- -- 33 - Part
- local obj33 = Instance.new("Part")
- obj33.CFrame = CFrame.new(Vector3.new(17.7918682, 12.8075333, 143.100006)) * CFrame.Angles(-0, 0, -3.1415927410126)
- obj33.TopSurface = Enum.SurfaceType.Smooth
- obj33.BottomSurface = Enum.SurfaceType.Smooth
- obj33.Material = Enum.Material.Concrete
- obj33.Size = Vector3.new(20, 0.200000003, 20)
- obj33.Anchored = true
- obj33.BrickColor = BrickColor.new("Maroon")
- obj33.Friction = 0.30000001192093
- obj33.Shape = Enum.PartType.Block
- obj33.Parent = obj1
- -- 34 - Wedge
- local obj34 = Instance.new("WedgePart")
- obj34.CFrame = CFrame.new(Vector3.new(8.2918644, 12.8000755, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, -1.5707963705063)
- obj34.TopSurface = Enum.SurfaceType.Smooth
- obj34.Material = Enum.Material.Marble
- obj34.Size = Vector3.new(0.200000003, 1, 1)
- obj34.Anchored = true
- obj34.BrickColor = BrickColor.new("Really black")
- obj34.Friction = 0.30000001192093
- obj34.Name = "Wedge"
- obj34.Parent = obj1
- -- 35 - Part
- local obj35 = Instance.new("Part")
- obj35.CFrame = CFrame.new(Vector3.new(17.7980175, 12.8005333, 143.101028)) * CFrame.Angles(-0, 0.78539896011353, -3.1415927410126)
- obj35.TopSurface = Enum.SurfaceType.Smooth
- obj35.BottomSurface = Enum.SurfaceType.Smooth
- obj35.Material = Enum.Material.Marble
- obj35.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
- obj35.Anchored = true
- obj35.BrickColor = BrickColor.new("Really black")
- obj35.Friction = 0.30000001192093
- obj35.Shape = Enum.PartType.Block
- obj35.Parent = obj1
- -- 36 - Wedge
- local obj36 = Instance.new("WedgePart")
- obj36.CFrame = CFrame.new(Vector3.new(27.2929707, 12.8000755, 133.599976)) * CFrame.Angles(1.5707963705063, 1.5707963705063, 0)
- obj36.TopSurface = Enum.SurfaceType.Smooth
- obj36.Material = Enum.Material.Marble
- obj36.Size = Vector3.new(0.200000003, 1, 1)
- obj36.BottomSurface = Enum.SurfaceType.Smooth
- obj36.Anchored = true
- obj36.BrickColor = BrickColor.new("Really black")
- obj36.Friction = 0.30000001192093
- obj36.Name = "Wedge"
- obj36.Parent = obj1
- -- 2 - HANDS
- local hand = Instance.new("Part")
- hand.CFrame = CFrame.new(Vector3.new(13.4999914, 4.49999952, 143.299988)) * CFrame.Angles(-1.570796251297, 0.84960347414017, -1.5707963705063)
- hand.FormFactor = Enum.FormFactor.Symmetric
- hand.TopSurface = Enum.SurfaceType.Weld
- hand.BottomSurface = Enum.SurfaceType.Weld
- hand.Material = Enum.Material.Neon
- hand.Size = Vector3.new(8, 9, 2)
- hand.Anchored = true
- hand.BrickColor = BrickColor.new("Really black")
- hand.Friction = 0.30000001192093
- hand.Shape = Enum.PartType.Block
- hand.Name = "HANDS"
- hand.CanCollide = false
- hand.Parent = obj1
- -- 3 - Mesh
- local handmesh = Instance.new("SpecialMesh")
- handmesh.MeshType = Enum.MeshType.FileMesh
- handmesh.Scale = Vector3.new(2, 2, 2)
- handmesh.MeshId = "http://www.roblox.com/asset/?id=32054761"
- handmesh.Parent = hand
- -- 4 - Realistic Stone Fist
- local fist = Instance.new("Part")
- fist.CFrame = CFrame.new(Vector3.new(3.50006008, 3.00004196, 143.000076)) * CFrame.Angles(-3.1415786743164, 1.8000484487857e-05, -1.5707963705063)
- fist.Transparency = 1
- fist.Material = Enum.Material.Neon
- fist.Size = Vector3.new(6, 6, 6)
- fist.Anchored = true
- fist.CanCollide = false
- fist.BrickColor = BrickColor.new("Really black")
- fist.Friction = 0.30000001192093
- fist.Shape = Enum.PartType.Block
- fist.Name = "Realistic Stone Fist"
- fist.Parent = obj1
- -- 5 - Mesh
- local fistmesh = Instance.new("SpecialMesh")
- fistmesh.MeshType = Enum.MeshType.FileMesh
- fistmesh.Scale = Vector3.new(15, 15, 15)
- fistmesh.MeshId = "http://www.roblox.com/asset/?id=90718752"
- fistmesh.Parent = fist
- if plr.Character then
- function thatstuff()
- MoveSpawn(obj1,plr.Character)
- if plr.Character:FindFirstChild('Torso') and plr.Character:FindFirstChild('HumanoidRootPart') then
- plr.Character.Torso.Anchored = true
- elseif plr.Character:FindFirstChild('UpperTorso') and plr.Character:FindFirstChild('HumanoidRootPart') then
- plr.Character.UpperTorso.Anchored = true
- end
- local thing = Instance.new('Part',workspace)
- thing.Size = Vector3.new(0.2,0.2,0.2)
- thing.Material = Enum.Material.Neon
- thing.BrickColor = BrickColor.new('Really red')
- local plrpos = nil
- thing.Anchored=true
- thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0)
- if plr.Character:FindFirstChildOfClass('Humanoid') then
- plr.Character:FindFirstChildOfClass('Humanoid').Name = "No Escape."
- plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
- end
- if plrpos then
- thing.CFrame = thing.CFrame - plrpos
- end
- local flame = Instance.new('ParticleEmitter',thing)
- flame.Texture = 'rbxassetid://743419909'
- flame.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(255,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,0))})
- flame.LightEmission = 1
- flame.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
- flame.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.137,0,0),NumberSequenceKeypoint.new(0.809,0.256,0),NumberSequenceKeypoint.new(1,1,0)})
- flame.Lifetime = NumberRange.new(0.5,1)
- flame.Rate = 10000
- flame.VelocityInheritance = 1
- flame.VelocitySpread = 15
- flame.Speed = NumberRange.new(10)
- for i=1,120 do
- if thing then
- thing.Size = thing.Size+Vector3.new(0.2,0,0.2)
- thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0)
- if plr.Character:FindFirstChildOfClass('Humanoid') then
- plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
- end
- if plrpos then
- thing.CFrame = thing.CFrame + Vector3.new(0,0.1,0) - plrpos
- end
- wait()
- end
- end
- for i=1,51 do
- MoveBy(obj1,Vector3.new(0,0.4,0))
- wait()
- end
- local sound = Instance.new('Sound',obj21)
- sound.SoundId = 'rbxassetid://138169063'
- sound.Volume = 1
- sound:Play()
- wait(1)
- for i=1,50 do
- MovePartBy(obj21,Vector3.new(0,0,0.1))
- MovePartBy(obj28,Vector3.new(0,0,-0.1))
- wait()
- end
- wait(0.5)
- for i=1,100 do
- MovePartBy(hand,Vector3.new(-0.1,0,0))
- wait()
- end
- hand.Transparency = 1
- fist.Transparency = 0
- wait(0.5)
- for i=1,75 do
- MovePartBy(fist,Vector3.new(0.2,0,0))
- if plr.Character:FindFirstChild('Torso') then
- MovePartBy(plr.Character.Torso,Vector3.new(0.2,0,0))
- end
- wait()
- end
- local sound = Instance.new('Sound',obj21)
- sound.SoundId = 'rbxassetid://178555466'
- sound.Volume = 1
- sound:Play()
- for i=1,50 do
- MovePartBy(obj21,Vector3.new(0,0,-0.1))
- MovePartBy(obj28,Vector3.new(0,0,0.1))
- wait()
- end
- for i=1,10 do
- fist.Transparency = i/10
- wait()
- end
- wait(1)
- for i=1,51 do
- MoveBy(obj1,Vector3.new(0,-0.4,0))
- if plr.Character:FindFirstChild('Torso') then
- MovePartBy(plr.Character.Torso,Vector3.new(0,-0.4,0))
- end
- wait()
- end
- ToHell(obj1)
- if plr.Character:FindFirstChild('Torso') then
- plr.Character.Torso.CFrame = plr.Character.Torso.CFrame + Vector3.new(5000,5000,5000)
- plr.Character.Torso.Anchored = false
- end
- local cf = thing.CFrame
- for i=1,120 do
- if thing then
- thing.Size = thing.Size-Vector3.new(0.2,0,0.2)
- thing.CFrame = cf
- wait()
- end
- end
- if thing then
- thing:Destroy()
- end
- if plr.Character:FindFirstChildOfClass('Humanoid') then
- plr.Character:FindFirstChildOfClass('Humanoid').JumpPower = 0
- end
- for i=1,100 do
- MovePartBy(obj33,Vector3.new(0,-0.1,0))
- wait()
- end
- if plr.Character:FindFirstChildOfClass('Humanoid') then
- plr.Character:FindFirstChildOfClass('Humanoid').Health = 0
- end
- for i=1,15 do
- MovePartBy(obj33,Vector3.new(0,-0.1,0))
- wait()
- end
- wait(10)
- if obj1 then
- obj1:Destroy()
- end
- end
- local success, message = pcall(thatstuff)
- if success == false then
- print("An error occurred: "..message..". Removing the elevator for this player.")
- obj1:Destroy()
- end
- end
- end)
- coru()
- end--33
- end
- TextBox.Text = "Enter Target's Name (Can be Shortened)"
- end)
- end)
- TextButton_4.MouseButton1Click:connect(function()
- --[[
- Island Dimension made by Fenrier.
- ]]
- it=Instance.new
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- teledebounce=false
- teledebounce2=false
- if workspace.Base:findFirstChild("Tower Model",true) ~= nil then
- workspace.Base:findFirstChild("Tower Model",true).Parent = nil
- end
- function part(formfactor,parent,reflectance,transparency,brickcolor,name,size,cframe)
- local fp = it("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = true
- fp.Anchored = true
- fp.Locked=true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.CFrame = cframe
- fp.BottomSurface="Smooth"
- fp.TopSurface="Smooth"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh = it(Mesh)
- mesh.Parent = part
- if Mesh=="SpecialMesh" then
- mesh.MeshType = meshtype
- mesh.MeshId = meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0)
- local weld = it("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0
- return weld
- end
- local modelzorz = Instance.new("Model")
- modelzorz.Parent = workspace.Base
- modelzorz.Name = "Tower Model"
- script.Parent=modelzorz
- local prt1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(2,100,20),cf(100,50,20))
- local prt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(2,100,20),cf(100,50,-20))
- local prt3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(2,80,20),cf(100,60,0))
- local prt4=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(2,100,60),cf(130,50,29)*euler(0,1.57,0))
- local prt5=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(2,100,60),cf(130,50,-29)*euler(0,1.57,0))
- local prt6=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(2,100,60),cf(160,50,0))
- local prt7=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part7",vt(80,2,80),cf(130,100,0))
- local prt8=part(3,modelzorz,0,0,BrickColor.new("Br. yellowish green"),"Part8",vt(20,3,20),cf(150,100,0))
- local prt9=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(3,3,79.99),cf(91.51,101,0))
- local prt10=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part10",vt(3,3,79.99),cf(168.49,101,0))
- local prt11=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part11",vt(3,3,79.99),cf(130,101,38.48)*euler(0,1.57,0))
- local prt12=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part12",vt(3,3,79.99),cf(130,101,-38.48)*euler(0,1.57,0))
- local prt13=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part13",vt(2,20,20),cf(100,110,20))
- local prt14=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part14",vt(2,20,20),cf(100,110,-20))
- local prt15=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(2,20,20),cf(110,110,29)*euler(0,1.57,0))
- local prt16=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(2,20,20),cf(150,110,29)*euler(0,1.57,0))
- local prt17=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part17",vt(2,20,20),cf(160,110,20))
- local prt18=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part18",vt(2,20,20),cf(160,110,-20))
- local prt19=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(2,20,20),cf(110,110,-29)*euler(0,1.57,0))
- local prt20=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part20",vt(2,20,20),cf(150,110,-29)*euler(0,1.57,0))
- local prt21=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part21",vt(61.9,2,60),cf(130,120,0))
- local prt22=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part22",vt(60,2,60),cf(130,128,0))
- local prt23=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part23",vt(60,2,60),cf(1500,1500,1500))
- local prt24=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part24",vt(2,100,60),prt23.CFrame*cf(-30,50,0))
- local prt25=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part25",vt(2,100,60),prt23.CFrame*cf(30,50,0))
- local prt26=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part26",vt(2,100,60),prt23.CFrame*cf(0,50,30)*euler(0,1.57,0))
- local prt27=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part27",vt(2,100,60),prt23.CFrame*cf(0,50,-30)*euler(0,1.57,0))
- local prt28=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part28",vt(20,100,20),prt23.CFrame*cf(0,50,0))
- BasicCFrame=prt28.CFrame*cf(0,50,0)
- local prt29=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part29",vt(199,2,62),BasicCFrame*cf(130.5,0,0))
- prt29.Material="Grass"
- local prt30=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part30",vt(199,2,62),BasicCFrame*cf(-130.5,0,0))
- prt30.Material="Grass"
- local prt31=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part31",vt(460,2,200),BasicCFrame*cf(0,0,131))
- prt31.Material="Grass"
- local prt32=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part32",vt(460,2,200),BasicCFrame*cf(0,0,-131))
- prt32.Material="Grass"
- local prt33=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part33",vt(50,2.2,200),BasicCFrame*cf(0,0,-131))
- local prt34=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part34",vt(50,2.2,200),BasicCFrame*cf(0,0,131))
- local prt35=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part35",vt(35,2.2,62),BasicCFrame*cf(-7.5,0,0))
- local prt35b=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part35b",vt(15,2.2,31),BasicCFrame*cf(17.5,0,-15.5))
- local prt36=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part36",vt(60,2,30),BasicCFrame*cf(0,-1,-15))
- local prt37=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part37",vt(30,2,30),BasicCFrame*cf(-25,-1,15)*euler(0,1.57,0))
- local prt38=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part38",vt(220,100,62),BasicCFrame*cf(141,-51,0))
- prt38.Material="Slate"
- local prt39=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part39",vt(220,100,62),BasicCFrame*cf(-141,-51,0))
- prt39.Material="Slate"
- local prt40=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part40",vt(502,100,220),BasicCFrame*cf(0,-51,141))
- prt40.Material="Slate"
- local prt41=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part41",vt(502,100,220),BasicCFrame*cf(0,-51,-141))
- prt41.Material="Slate"
- local prt42=part(3,modelzorz,0,0.5,BrickColor.new("Bright blue"),"Part42",vt(20,200,20),BasicCFrame*cf(0,100,225))
- prt42.CanCollide=false
- local prt43=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part43",vt(80,5,80),BasicCFrame*cf(0,200,225))
- prt43.Material="Wood"
- local prt44=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part44",vt(40,10,40),BasicCFrame*cf(0,200,225))
- local prt45=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part45",vt(1,1,80),BasicCFrame*cf(39.5,208,225)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random())))
- prt45.Material="Wood"
- local prt46=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part46",vt(1,1,80),BasicCFrame*cf(-39.5,208,225)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random())))
- prt46.Material="Wood"
- local prt47=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part47",vt(1,80,1),BasicCFrame*cf(0,208,225-39.5)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),1.57+math.rad(math.random(-2,1)+math.random())))
- prt47.Material="Wood"
- local prt48=part(3,modelzorz,0,0.5,BrickColor.new("Bright blue"),"Part48",vt(20,20,20),prt43.CFrame*cf(0,5,0))
- prt48.CanCollide=false
- local prt49=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part49",vt(1,1,95),prt43.CFrame*cf(12,2,87))
- prt49.Material="Wood"
- local prt50=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part49",vt(1,1,95),prt43.CFrame*cf(-12,2,87))
- prt50.Material="Wood"
- local msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(1,1,1))
- local msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(1,1,1))
- local msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1,1,1))
- local msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(1,1,1))
- local msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(1,1,1))
- local msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(1,1,1))
- local msh7=mesh("BlockMesh",prt7,"","",vt(0,0,0),vt(1,1,1))
- local msh8=mesh("BlockMesh",prt8,"","",vt(0,0,0),vt(1,1,1))
- local msh9=mesh("BlockMesh",prt9,"","",vt(0,0,0),vt(1,1,1))
- local msh10=mesh("BlockMesh",prt10,"","",vt(0,0,0),vt(1,1,1))
- local msh11=mesh("BlockMesh",prt11,"","",vt(0,0,0),vt(1,1,1))
- local msh12=mesh("BlockMesh",prt12,"","",vt(0,0,0),vt(1,1,1))
- local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,1,1))
- local msh14=mesh("BlockMesh",prt14,"","",vt(0,0,0),vt(1,1,1))
- local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(1,1,1))
- local msh16=mesh("BlockMesh",prt16,"","",vt(0,0,0),vt(1,1,1))
- local msh17=mesh("BlockMesh",prt17,"","",vt(0,0,0),vt(1,1,1))
- local msh18=mesh("BlockMesh",prt18,"","",vt(0,0,0),vt(1,1,1))
- local msh19=mesh("BlockMesh",prt19,"","",vt(0,0,0),vt(1,1,1))
- local msh20=mesh("BlockMesh",prt20,"","",vt(0,0,0),vt(1,1,1))
- local msh21=mesh("BlockMesh",prt21,"","",vt(0,0,0),vt(1,1,1))
- local msh22=mesh("SpecialMesh",prt22,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(45,10,45))
- local msh23=mesh("BlockMesh",prt23,"","",vt(0,0,0),vt(1,1,1))
- local msh24=mesh("BlockMesh",prt24,"","",vt(0,0,0),vt(1,1,1))
- local msh25=mesh("BlockMesh",prt25,"","",vt(0,0,0),vt(1,1,1))
- local msh26=mesh("BlockMesh",prt26,"","",vt(0,0,0),vt(1,1,1))
- local msh27=mesh("BlockMesh",prt27,"","",vt(0,0,0),vt(1,1,1))
- local msh28=mesh("CylinderMesh",prt28,"","",vt(0,0,0),vt(1,1,1))
- local msh42=mesh("CylinderMesh",prt42,"","",vt(0,0,0),vt(1,1,1))
- local msh48=mesh("SpecialMesh",prt48,"Sphere","",vt(0,0,0),vt(1,1,1))
- local basestairprt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Base Stair Part1",vt(61.9,2,60),cf(130,2,0))
- local basestairmsh=mesh("BlockMesh",basestairprt,"","",vt(0,0,0),vt(1,1,1))
- local basestairprt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Base Stair Part2",vt(20,100,20),cf(130,50,0))
- local basestairmsh2=mesh("CylinderMesh",basestairprt2,"","",vt(0,0,0),vt(1,1,1))
- local teleprt=part(3,modelzorz,0,1,BrickColor.new("Black"),"Teleport Part",vt(61,10,59),cf(130,95,0))
- teleprt.CanCollide=false
- local teleprt2=part(3,modelzorz,0,1,BrickColor.new("Black"),"Teleport Part2",vt(61,10,59),prt23.CFrame*cf(0,6,0))
- teleprt2.CanCollide=false
- local teleprt3=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Teleport Part3",vt(1000,10,1000),BasicCFrame*cf(0,-300,0))
- teleprt3.CanCollide=false
- local skyboxprt=part(3,modelzorz,0,0,BrickColor.new("Black"),"Skybox",vt(1,1,1),BasicCFrame)
- local skyboxmsh=mesh("SpecialMesh",skyboxprt,"FileMesh","http://www.roblox.com/asset/?id=1527559",vt(0,0,0),vt(-1000,-1000,-1000))
- skyboxmsh.TextureId="http://www.roblox.com/asset/?id=24824960"
- coroutine.resume(coroutine.create(function()
- while true do
- wait()
- skyboxprt.CFrame=skyboxprt.CFrame*angles(math.pi/math.random(4000,6000),math.pi/math.random(4000,6000),math.pi/math.random(4000,6000))
- end
- end))
- for i=1,8 do
- local tree1=part(3,modelzorz,0,0,BrickColor.new("Brown"),"Tree1",vt(3,20,3),BasicCFrame*cf(math.random(30,200),10,math.random(-200,200)))
- local treemsh1=mesh("CylinderMesh",tree1,"","",vt(0,0,0),vt(1,1,1))
- local tree2=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Tree2",vt(15,15,15),tree1.CFrame*cf(0,30,0))
- tree2.Shape=0
- tree2.Material="Grass"
- tree2.CFrame=tree1.CFrame*cf(0,10,0)
- local grass=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Grass",vt(1,1,1),BasicCFrame*cf(math.random(30,200),2.5,math.random(-200,200)))
- local grassmsh=mesh("SpecialMesh",grass,"FileMesh","http://www.roblox.com/asset/?id=1091940",vt(0,0,0),vt(2,2,2))
- grassmsh.TextureId="http://www.roblox.com/asset/?id=1091942"
- end
- for i=1,8 do
- local tree1=part(3,modelzorz,0,0,BrickColor.new("Brown"),"Tree1",vt(3,20,3),BasicCFrame*cf(math.random(-200,-30),10,math.random(-200,200)))
- local treemsh1=mesh("CylinderMesh",tree1,"","",vt(0,0,0),vt(1,1,1))
- local tree2=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Tree2",vt(15,15,15),tree1.CFrame*cf(0,30,0))
- tree2.Shape=0
- tree2.Material="Grass"
- tree2.CFrame=tree1.CFrame*cf(0,10,0)
- local grass=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Grass",vt(1,1,1),BasicCFrame*cf(math.random(-200,-30),2.5,math.random(-200,200)))
- local grassmsh=mesh("SpecialMesh",grass,"FileMesh","http://www.roblox.com/asset/?id=1091940",vt(0,0,0),vt(2,2,2))
- grassmsh.TextureId="http://www.roblox.com/asset/?id=1091942"
- end
- con1=teleprt.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce==false and hit.Parent:FindFirstChild("Torso")~=nil then
- print("Teleported")
- teledebounce=true
- hit.Parent.Torso.CFrame=prt23.CFrame*cf(0,5,20)
- wait(2)
- teledebounce=false
- end
- end)
- con2=teleprt2.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce==false and hit.Parent:FindFirstChild("Torso")~=nil then
- print("Teleported")
- teledebounce=true
- hit.Parent.Torso.CFrame=teleprt.CFrame*cf(0,-5,15)
- wait(2)
- teledebounce=false
- end
- end)
- con3=prt42.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce2==false and hit.Parent:FindFirstChild("Torso")~=nil then
- print("Teleported to Statue Island.")
- teledebounce2=true
- Torso=hit.Parent.Torso
- Torso.Anchored=true
- Torso.CFrame=prt42.CFrame*cf(0,-95,0)
- wait(2)
- numb2=0
- for i=0,20 do
- wait(0)
- Torso.CFrame=prt42.CFrame*cf(0,-95+numb2,0)
- numb2=numb2+10
- end
- Torso.Anchored=false
- Torso.Velocity=vt(0,200,0)
- wait(2)
- teledebounce2=false
- end
- end)
- con4=prt48.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce2==false and hit.Parent:FindFirstChild("Torso")~=nil then
- print("Teleported out Statue Island.")
- teledebounce2=true
- Torso=hit.Parent.Torso
- Torso.Anchored=true
- Torso.CFrame=prt48.CFrame*cf(0,3,0)
- wait(2)
- numb2=0
- for i=0,20 do
- wait(0)
- Torso.CFrame=prt48.CFrame*cf(0,3-numb2,0)
- numb2=numb2+10
- end
- Torso.Anchored=false
- wait(2)
- teledebounce2=false
- end
- end)
- con5=teleprt3.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
- print("Fallen Teleport")
- hit.Parent.Torso.CFrame=teleprt3.CFrame*cf(-1500,-1000,-1500)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- hit.Parent.Humanoid.PlatformStand=true
- end
- end)
- for i=0,50 do
- prtsize=math.random(1,20)
- local prt=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Brick",vt(prtsize,prtsize,prtsize),BasicCFrame*cf(math.random(-500,500),math.random(-500,500),math.random(-500,500))*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)))
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
- coroutine.resume(coroutine.create(function(Part)
- randomnumb=math.random(1,10)+math.random()
- wait(randomnumb)
- while Part.Parent~=nil do
- for i=0,1,0.005 do
- wait()
- Part.Position=Part.Position+vt(0,-0.2,0)
- end
- for i=0,1,0.005 do
- wait()
- Part.Position=Part.Position+vt(0,0.2,0)
- end
- end
- end),prt)
- end
- for i=0,15 do
- prtsize=math.random(0,3)+math.random()
- local prt=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Brick",vt(prtsize,prtsize,prtsize),BasicCFrame*cf(math.random(-50,50),math.random(5,170),math.random(200,250))*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)))
- prt.Material="Grass"
- coroutine.resume(coroutine.create(function(Part)
- randomnumb=math.random(1,10)+math.random()
- wait(randomnumb)
- while Part.Parent~=nil do
- for i=0,1,0.005 do
- wait()
- Part.Position=Part.Position+vt(0,-0.2,0)
- end
- for i=0,1,0.005 do
- wait()
- Part.Position=Part.Position+vt(0,0.2,0)
- end
- end
- end),prt)
- end
- count=0
- for i=1,15 do
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(39.5-count,205,225-39.5)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
- prt.Material="Wood"
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(39.5,205,225-39.5+count)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
- prt.Material="Wood"
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(-39.5,205,225-39.5+count)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
- prt.Material="Wood"
- count=count+5.64
- end
- count=0
- for i=1,15 do
- local prt48=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part48",vt(20,1,5),prt43.CFrame*cf(0,2,42+count)*euler(math.rad(math.random(-10,9)+math.random()),math.rad(math.random(-10,9)+math.random()),math.rad(math.random(-10,9)+math.random())))
- prt48.Material="Wood"
- count=count+6
- end
- count=-0.25
- for i=0,164 do
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stair",vt(2,3,20),basestairprt.CFrame*euler(0,count,0)*cf(0,0.5+(count*12),19))
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
- light = Instance.new("PointLight")
- light.Brightness = .8
- light.Range = 100
- light.Parent=prt
- count=count+0.05
- end
- count=0
- for i=0,160 do
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stair2",vt(2,3,20),prt23.CFrame*euler(0,count,0)*cf(0,0.5+(count*12),19))
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
- light = Instance.new("PointLight")
- light.Brightness = .8
- light.Range = 100
- light.Parent=prt
- count=count+0.05
- end
- count=0
- for i=0,15 do
- local prt=part(3,modelzorz,0,1-count,BrickColor.new("Black"),"Shade",vt(61,1,59),cf(130,70+(count*40),0))
- prt.CanCollide=false
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
- count=count+0.05
- end
- count=0
- for i=0,15 do
- local prt=part(3,modelzorz,0,count,BrickColor.new("Black"),"Shade2",vt(61,1,59),prt23.CFrame*cf(0,count*40,0))
- prt.CanCollide=false
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
- count=count+0.05
- end
- count=0
- for i=0,15 do
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51,104,38.48-count))
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
- count=count+5.13
- end
- count=0
- for i=0,15 do
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(168.49,104,38.48-count))
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
- count=count+5.13
- end
- count=5.13
- for i=0,13 do
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51+count,104,38.48))
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
- count=count+5.13
- end
- count=5.13
- for i=0,13 do
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51+count,104,-38.48))
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
- count=count+5.13
- end
- print("Fenrier's Tower Dimension loaded.")
- --workspace.Fenrier.Torso.CFrame=teleprt2.CFrame*cf(0,150,0)
- -- mediafire
- --[[
- Copyrighted (C) Fenrier 2013
- ]]
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement