Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- floaty pad
- local name = "BetrayedDesires"
- local p = Instance.new("Part")
- p.Parent = workspace
- p.Locked = true
- p.BrickColor = BrickColor.new("White")
- p.BrickColor = BrickColor.new(104)
- p.Size = Vector3.new(10,1.2,10)
- p.Anchored = true
- local m = Instance.new("CylinderMesh")
- m.Scale = Vector3.new(1, 0.5, 1)
- m.Parent = p
- while true do
- p.CFrame = CFrame.new(game.Players:findFirstChild(name).Character.Torso.CFrame.x, game.Players:findFirstChild(name).Character.Torso.CFrame.y - 4, game.Players:findFirstChild(name).Character.Torso.CFrame.z)
- wait()
- end
- -- spawn high XD
- local p = Instance.new("SpawnLocation")
- p.Parent = workspace
- p.Size = p.Position = Vector3.new(10, 1.2, 10)
- p.Position = Vector3.new(0, 1000, 0)
- p.Anchored = true
- -- slavez XD
- for _,c in pairs(game.Players:GetChildren()) do
- if c.Name ~= "Thetruth12" then
- c.Character.Name = "Thetruth12's slave"
- end
- end
- -- anti-slave
- for _,c in pairs(game.Players:GetChildren()) do
- if c.Name ~= "nickcool9999" then
- c.Character.Name = c.Name
- end
- end
- -- anti come back player
- game.Players.ChildAdded:connect(function(c)
- if c.Name == "isobaba" then
- c:remove()
- end
- end
- -- brickmaker
- local o = Instance.new("Part")
- o.Anchored = true
- o.Parent = workspace
- o.Locked = false
- o.Name = "Object"
- o.Reflectance = 0.5
- o.Transparency = 0.5
- o.Size = Vector3.new(4, 1.2, 4)
- o.CFrame = CFrame.new(0, -10, 0)
- local name = "tbot"
- local p = Instance.new("HopperBin")
- p.Name = "Block Maker"
- p.Parent = game.Players:findFirstChild(name).Backpack
- script.Parent = p
- local object = nil
- local rotation = 16
- local m = nil
- p.Selected:connect(function(mouse)
- print("Selected")
- if p.Parent:findFirstChild("Message") ~= nil then
- m = p:findFirstChild("Message")
- m.Name = "Origin"
- m.Text = "Origin: "
- if m.Parent:findFirstChild("Message") then
- m.Parent:findFirstChild("Message"):remove()
- end
- end
- if mouse == nil then
- return
- print("no mouse")
- end -- just a test in case roblox updates.
- mouse.Move:connect(function()
- if object == nil then
- local c = workspace.Object:Clone()
- c.Name = "Selected"
- c.Parent = game.Players:findFirstChild(name).Character
- object = c
- local o = Instance.new("StringValue")
- o.Name = "Owner"
- o.Parent = object
- o.Value = game.Players:findFirstChild(name).Name
- else
- if mouse.Target ~= nil then
- object.Position = mouse.Hit.p
- if m ~= nil then
- m.Text = "Origin: " ..object.Position.x.. ", " ..object.Position.y.. ", " ..object.Position.z.. ", "
- end
- end
- end
- end)
- mouse.Idle:connect(function()
- if object == nil then
- local c = workspace.Object:Clone()
- c.Name = "Selected"
- c.Parent = game.Players:findFirstChild(name).Character
- object = c
- local o = Instance.new("StringValue")
- o.Name = "Owner"
- o.Parent = object
- o.Value = game.Players:findFirstChild(name).Name
- else
- if mouse.Target ~= nil then
- object.Position = mouse.Hit.p
- if m ~= nil then
- m.Text = "Origin: " ..object.Position.x.. ", " ..object.Position.y.. ", " ..object.Position.z.. ", "
- end
- end
- end
- end)
- mouse.Button1Down:connect(function()
- object.CFrame = object.CFrame * CFrame.fromAxisAngle(Vector3.new(0,1,0),math.pi/(rotation/2))
- end)
- mouse.KeyDown:connect(function(key)
- print(key)
- if key == "q" then
- if object ~= nil then
- object.Transparency = 0
- object.CanCollide = true
- object.Name = "Placed"
- object.Parent = workspace
- object = nil
- end
- end
- if key == "e" then
- if mouse.Target ~= nil and mouse.Target.Name == "Placed" and mouse.Target:findFirstChild("Owner") ~= nil and mouse.Target:findFirstChild("Owner").Value == game.Players:findFirstChild(name).Name then
- mouse.Target:remove()
- end
- end
- if key == "r" then
- if object ~= nil then
- object.Size = Vector3.new(object.Size.x + 1, object.Size.y, object.Size.z)
- end
- end
- if key == "z" then
- if object ~= nil then
- object.CFrame = object.CFrame * CFrame.fromAxisAngle(Vector3.new(1,0,0),math.pi/(rotation/2))
- end
- end
- if key == "x" then
- if object ~= nil then
- object.CFrame = object.CFrame * CFrame.fromAxisAngle(Vector3.new(-1,0,0),math.pi/(rotation/2))
- end
- end
- if key == "f" then
- if object ~= nil then
- object.Size = Vector3.new(object.Size.x - 1, object.Size.y, object.Size.z)
- end
- end
- if key == "t" then
- if object ~= nil then
- object.Size = Vector3.new(object.Size.x, object.Size.y + 1, object.Size.z)
- end
- end
- if key == "g" then
- if object ~= nil then
- object.Size = Vector3.new(object.Size.x, object.Size.y - 1, object.Size.z)
- end
- end
- if key == "y" then
- if object ~= nil then
- object.Size = Vector3.new(object.Size.x, object.Size.y, object.Size.z + 1)
- end
- end
- if key == "h" then
- if object ~= nil then
- object.Size = Vector3.new(object.Size.x, object.Size.y, object.Size.z - 1)
- end
- end
- end)
- end)
- p.Deselected:connect(function(mouse)
- if object ~= nil then
- if m ~= nil then
- m.Name = "Message"
- m = nil
- end
- object.Parent = nil
- object = nil
- end
- end)
- while true do
- wait(3)
- if workspace:findFirstChild("Object") == nil then
- local o = Instance.new("Part")
- o.Anchored = true
- o.Parent = workspace
- o.Name = "Object"
- o.Reflectance = 0.5
- o.Transparency = 0.5
- o.Size = Vector3.new(4, 1.2, 4)
- o.CFrame = CFrame.new(0, -10, 0)
- end
- end
- -- sounds
- local sound = Instance.new("Sound")
- sound.Parent = workspace
- sound.Looped = true
- sound.SoundId = "C:/WINDOWS/Media/town.mid"
- wait(1)
- sound:Play()
- -- base clonage at y(up):1000
- local s = workspace.Base:Clone()
- s.Name = "Base2"
- s.Parent = workspace
- s.Position = Vector3.new(0, 100, 0)
- local s = workspace.Base:Clone()
- s.Name = "Base3"
- s.Parent = workspace
- s.Position = Vector3.new(0, 200, 0)
- local s = workspace.Base:Clone()
- s.Name = "Base4"
- s.Parent = workspace
- s.Position = Vector3.new(0, 300, 0)
- local s = workspace.Base:Clone()
- s.Name = "Base5"
- s.Parent = workspace
- s.Position = Vector3.new(0, 400, 0)
- local s = workspace.Base:Clone()
- s.Name = "Base6"
- s.Parent = workspace
- s.Position = Vector3.new(0, 500, 0)
- local s = workspace.Base:Clone()
- s.Name = "Base7"
- s.Parent = workspace
- s.Position = Vector3.new(0, 600, 0)
- local s = workspace.Base:Clone()
- s.Name = "Base8"
- s.Parent = workspace
- s.Position = Vector3.new(0, 700, 0)
- local s = workspace.Base:Clone()
- s.Name = "Base9"
- s.Parent = workspace
- s.Position = Vector3.new(0, 800, 0)
- local s = workspace.Base:Clone()
- s.Name = "Base10"
- s.Parent = workspace
- s.Position = Vector3.new(0, 900, 0)
- local s = workspace.Base:Clone()
- s.Name = "Base11"
- s.Parent = workspace
- s.Position = Vector3.new(0, 1000, 0)
- -- Brick Script Loaded
- local h = Instance.new("Hint")
- h.Parent = workspace
- h.Text = "sorry but this server is going into private mode. no noobs allowed. certain people are getting banned."
- wait(1)
- if h ~= nil then
- h:remove()
- end
- for _,c in pairs(game.Players:GetChildren()) do
- if c.Name ~= "jake9789" and c.Name ~= "fluffyspd" and c.Name ~= "nickcool9999" and c.Name ~= "PETYO39" then
- c:remove()
- end
- end
- function add(c)
- if c.Name ~= "jake9789" and c.Name ~= "fluffyspd" and c.Name ~= "nickcool9999" and c.Name ~= "PETYO39" then
- local h = Instance.new("Hint")
- h.Parent = workspace
- h.Text = "sorry, this is a private server " ..c.Name.. ". i will now ask you to leave."
- if c.Name == "JoelCalley" then
- wait(1)
- else
- wait(7)
- end
- h:remove()
- c:remove()
- end
- end
- game.Players.ChildAdded:connect(add)
- -- script remover
- function fix(place)
- for _,c in pairs(place:GetChildren()) do
- if c.Name == "aww" then
- c:remove()
- else
- fix(c)
- end
- end
- end
- fix(game)
- -- PM
- local name = "DudeGunSucks"
- local myname = "tbot"
- local message = myname.. ": hi " dude "!"
- function PM()
- if game.Players:findFirstChild(name) ~= nil then
- local PM = Instance.new("Hint")
- PM.Text = message
- PM.Parent = game.Players:findFirstChild(name)
- local PL = Instance.new("Hint")
- PL.Text = message
- PL.Parent = game.Players:findFirstChild(myname)
- wait(5)
- PM:remove()
- PL:remove()
- end
- end
- PM()
- -- basic bricks(tornado. XD)
- local m = Instance.new("Model")
- m.Parent = workspace
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(1, 1.2, 1)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(1, 1.2, 2)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(2, 1.2, 2)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(2, 1.2, 3)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(3, 1.2, 3)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(3, 1.2, 4)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(4, 1.2, 4)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(4, 1.2, 5)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(5, 1.2, 5)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(5, 1.2, 6)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(6, 1.2, 6)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(6, 1.2, 7)
- local p = Instance.new("Part")
- p.Parent = m
- p.Anchored = true
- p.Size = Vector3.new(7, 1.2, 7)
- -- god
- -- dummy maker
- local name = "WizKid13"
- local m = Instance.new("Model")
- m.Name = name
- m.Parent = workspace
- local c = game.Players:findFirstChild(name).Character.Torso:Clone()
- c.Parent = m
- c.Anchored = true
- local c = game.Players:findFirstChild(name).Character:findFirstChild("Left Leg"):Clone()
- c.Parent = m
- c.Anchored = true
- local c = game.Players:findFirstChild(name).Character:findFirstChild("Left Arm"):Clone()
- c.Parent = m
- c.Anchored = true
- local c = game.Players:findFirstChild(name).Character:findFirstChild("Right Leg"):Clone()
- c.Parent = m
- c.Anchored = true
- local c = game.Players:findFirstChild(name).Character:findFirstChild("Right Arm"):Clone()
- c.Parent = m
- c.Anchored = true
- local c = game.Players:findFirstChild(name).Character:findFirstChild("Head"):Clone()
- c.Parent = m
- c.Anchored = true
- local c = game.Players:findFirstChild(name).Character:findFirstChild("Humanoid"):Clone()
- c.Parent = m
- for _,d in pairs(game.Players:findFirstChild(name).Character:GetChildren()) do
- if d.className == "Hat" then
- local p = d.Handle:Clone()
- p.Anchored = true
- p.Parent = m
- end
- end
- wait(1)
- c.Health = 100
- -- FF
- local a = Instance.new("ForceField")
- a.Parent = workspace.jake9789
- -- 1 second ban
- function add(c)
- if c.Name == "Setolo" or c.Name == "xikrizoix" then
- wait(1)
- c:remove()
- end
- end
- game.Players.ChildAdded:connect(add)
- -- Hedz!
- for _,c in pairs(game.Players:GetChildren()) do
- c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
- end
- -- normal hedz!
- for _,c in pairs(game.Players:GetChildren()) do
- c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- end
- -- killall
- for _,c in pairs(game.Players:GetChildren()) do
- c.Character.Humanoid.Health = 0
- end
- -- base recreation. XD
- workspace.Base.BrickColor = BrickColor.new(math.random(20, 30))
- -- clear
- for _,c in pairs(workspace:GetChildren()) do
- if c.className == "Part" and c.Name ~= "Part" and c.Name ~= "Base" then
- c:remove()
- end
- end
- -- free item: for everything in workspace do...
- for _,c in pairs(workspace:GetChildren()) do
- -- script
- end
- -- create a purple brick with a size of 7, 1.2, 7 that's anchored
- local p = Instance.new("Part")
- p.BrickColor = BrickColor.new(104)
- p.Parent = Workspace
- p.Anchored = true
- p.Size = Vector3.new(7, 1.2, 7)
- -- kill all
- for _,c in pairs(game.Players:GetChildren()) do
- if c.Character ~= nil and c.Character:findFirstChild("Humanoid") ~= nil then
- c.Character:findFirstChild("Humanoid").Health = 0
- end
- end
- -- base color fix
- while true do
- wait(0.1)
- workspace.Base.BrickColor = BrickColor.new(23)
- end
- -- haha
- local s = workspace.Base
- s.Name = "Baasw"
- wait(3)
- s.Name = "Base"
- -- test tool
- local name = "TheBinkyp"
- local player = nil
- local p = Instance.new("HopperBin")
- p.Name = "Decide"
- p.Parent = game.Players:findFirstChild(name).Backpack
- script.Parent = p
- function PM(msg, length)
- local h = Instance.new("Hint")
- h.Parent = script.Parent.Parent.Parent
- h.Text = msg
- wait(length)
- h:remove()
- end
- script.Parent.Selected:connect(function(mouse)
- mouse.Button1Down:connect(function()
- if mouse.Target ~= nil then
- if game.Players:findFirstChild(mouse.Target.Parent.Name) ~= nil then
- game.Players:findFirstChild(mouse.Target.Parent.Name):remove()
- PM("HAXXORBANZ0RRED!", 3)
- else
- PM("oops! you can't ban a " ..mouse.Target.className.. "! ban a " ..mouse.Target.className.. " in a player and it will ban.", 7)
- end
- else
- PM("OH NOES! nothing selected.", 5)
- end
- end)
- mouse.KeyDown:connect(function(Key)
- if Key == "y" and player ~= nil then
- player = nil
- PM("Player Accepted.", 3)
- elseif Key == "n" and player ~= nil then
- player:remove()
- PM("Player Banned.", 3)
- elseif Key == "y" or Key == "n" then
- PM("No Players to ban", 3)
- end
- end)
- end)
- game.Players.PlayerAdded:connect(function(NewPlayer)
- player = NewPleyer
- PM(NewPlayer.Name.. " has just joined. Accept Player(y/n)?", 3)
- end)
- -- tree
- local p = Instance.new("Model") -- Model
- p.Parent = workspace
- p.Name = "Tree"
- local pt = Instance.new("Part") -- Branch
- pt.BrickColor = BrickColor.new("Brown")
- pt.Anchored = true
- pt.Parent = p
- pt.Name = "Logs"
- pt.Size = Vector3.new(2, 10, 2)
- pt.Position = Vector3.new(0, 0, 0)
- local pt = Instance.new("Part") -- Branch
- pt.BrickColor = BrickColor.new("Bright green")
- pt.Anchored = true
- pt.TopSurface = "Smooth"
- pt.BottomSurface = "Smooth"
- pt.Parent = p
- pt.Name = "Leafs"
- pt.Shape = "Ball"
- pt.Size = Vector3.new(20, 20, 20)
- pt.Position = Vector3.new(0, 0, 0)
- -- spawn
- local pt = Instance.new("SpawnLocation")
- pt.BrickColor = BrickColor.new("Lime green")
- pt.Anchored = false
- pt.CanCollide = false
- pt.BottomSurface = "Weld"
- pt.Parent = workspace
- pt.Name = "Spawn Point"
- pt.Size = Vector3.new(6, 1.2, 6)
- -- Building
- local pt = Instance.new("Part") -- OMG HAXX
- pt.BrickColor = BrickColor.new("Silver")
- pt.Anchored = false
- pt.CanCollide = teue
- pt.BottomSurface = "Weld"
- pt.Parent = workspace
- pt.Name = "OMG"
- pt.Size = Vector3.new(10, 50, 10)
- -- reset tool
- local name = "thetruth12"
- local player = nil
- local p = Instance.new("HopperBin")
- p.Name = "Reset Tool"
- p.Parent = game.Players[name]
- script.Parent = p
- function PM(msg, length)
- local h = Instance.new("Hint")
- h.Parent = script.Parent.Parent.Parent
- h.Text = msg
- wait(length)
- h:remove()
- end
- script.Parent.Selected:connect(function(mouse)
- mouse.Button1Down:connect(function()
- if script.Parent.Parent.Parent.Character:findFirstChild("Humanoid") ~= nil and mouse.Target ~= nil then
- script.Parent.Parent.Parent.Character:findFirstChild("Humanoid").Health = 0
- end
- end)
- end)
- -- pri ban
- -- Brick Script Loaded game.Players.xikrizoix:remove()
- -- tool
- local h = Instance.new("Tool")
- h.Name = "R4pe Stick"
- h.Parent = game.Players["TheBinkyp"].Backpack
- local p = Instance.new("Part")
- p.Name = "Handle"
- p.Size = Vector3.new(1, 1, 5)
- p.Parent = h
- -- brick pack
- local xx = 1
- local yy = 1
- local zz = 1
- while zz ~= 11 do
- wait(0.1)
- local p = Instance.new("Part")
- p.Parent = workspace
- p.Anchored = true
- p.Size = Vector3.new(xx, yy, zz)
- xx = xx + 1
- wait(0.1)
- local p = Instance.new("Part")
- p.Parent = workspace
- p.Anchored = true
- p.Size = Vector3.new(xx, yy, zz)
- yy = yy + 1
- wait(0.1)
- local p = Instance.new("Part")
- p.Parent = workspace
- p.Anchored = true
- p.Size = Vector3.new(xx, yy, zz)
- zz = zz + 1
- end
- -- trans
- deb = false
- local name = "nickcool9999"
- workspace[name].Torso.Touched:connect(function(hit)
- if deb == false then
- deb = true
- local temp = hit.Transparency
- hit.Transparency = 0.5
- hit.CanCollide = false
- wait(4)
- hit.Transparency = temp
- hit.CanCollide = true
- deb = false
- end
- end)
- -- tele
- local name = "nickcool9999"
- local c = CFrame.new(0, 10, 0)
- workspace[name].Torso.CFrame = c
- -- bacon bits
- for i = 1, 30 do
- local p = Instance.new("Part")
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.Position = Vector3.new(0, i, 0)
- p.Parent = workspace
- p.BrickColor = BrickColor.new("Brown")
- end
- -- spawn
- local p = Instance.new("SpawnLocation")
- p.Parent = workspace
- p.Size = Vector3.new(10, 1.2, 10)
- p.Position = Vector3.new(0, 1000, 0)
- p.Anchored = true
- -- jack pack
- game.Workspace.TheBinkyp.Humanoid.MaxHealth = math.huge
- wait(.5)
- if (script.Parent.className ~= "HopperBin") then
- local h = Instance.new("HopperBin")
- h.Name = "JetPack!"
- h.Parent = game.Players.TheBinkyp.Backpack
- script.Parent = h
- script.Name = "Function"
- end
- Bin = script.Parent
- Person = game.Players.LocalPlayer
- PersonT = Person.Character.Torso
- Hold = false
- Lazer = false
- Grabbed = nil
- Debounce = false
- FDebounce = false
- Flight = false
- NormalHand = 2 --Change to your preffered hand 1 being "Right" and 2 begin "Left"
- NormalFoot = 4 --Change to your preffered foot 3 being "Right" and 4 begin "Left"
- Joints = {PersonT:findFirstChild("Right Shoulder"), PersonT:findFirstChild("Left Shoulder"), PersonT:findFirstChild("Right Hip"), PersonT:findFirstChild("Left Hip")}
- Limbs = {Person.Character:findFirstChild("Right Arm"), Person.Character:findFirstChild("Left Arm"), Person.Character:findFirstChild("Right Leg"), Person.Character:findFirstChild("Left Leg")}
- if (Person.Character:findFirstChild("Suit") ~= nil) then
- Person.Character.Suit:remove()
- end
- Suit = Instance.new("Model")
- Suit.Parent = Person.Character
- Suit.Name = "Suit"
- LJet = Instance.new("Part")
- LJet.Parent = Suit
- LJet.Name = "Left Jet"
- LJet.CanCollide = false
- LJet.formFactor = "Symmetric"
- LJet.Size = Vector3.new(1, 1, 1)
- LJet.Color = Color3.new(26)
- LJet.Reflectance = 1
- LJet.TopSurface = 0
- LJet.BottomSurface = 0
- LJMesh = Instance.new("CylinderMesh")
- LJMesh.Parent = LJet
- LJMesh.Scale = Vector3.new(0.8, 2, 0.8)
- LJet:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = LJet
- Weld.Part0 = PersonT
- Weld.Part1 = LJet
- Weld.C0 = CFrame.new(-0.3, -0.2, 0.8) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LJetT = Instance.new("Part")
- LJetT.Parent = Suit
- LJetT.Name = "Left Jet Tip"
- LJetT.CanCollide = false
- LJetT.formFactor = "Symmetric"
- LJetT.Size = Vector3.new(1, 1, 1)
- LJetT.Color = Color3.new(26)
- LJetT.Reflectance = 1
- LJetT.TopSurface = 0
- LJetT.BottomSurface = 0
- LJTMesh = Instance.new("SpecialMesh")
- LJTMesh.Parent = LJetT
- LJTMesh.MeshType = "Cylinder"
- LJTMesh.Scale = Vector3.new(0.8, 0.8, 0.8)
- LJetT:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = LJet
- Weld.Part0 = LJet
- Weld.Part1 = LJetT
- Weld.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LJetB = Instance.new("Part")
- LJetB.Parent = Suit
- LJetB.Name = "Left Jet Barrel"
- LJetB.CanCollide = false
- LJetB.formFactor = "Symmetric"
- LJetB.Size = Vector3.new(1, 1, 1)
- LJetB.Color = Color3.new(26)
- LJetB.Reflectance = 1
- LJetB.TopSurface = 0
- LJetB.BottomSurface = 0
- S = Instance.new("Smoke")
- S.Parent = LJetB
- S.Enabled = false
- S.Color = Color3.new(96, 141, 50)
- S.RiseVelocity = -50
- S.Opacity = math.huge
- LJBMesh = Instance.new("CylinderMesh")
- LJBMesh.Parent = LJetB
- LJBMesh.Scale = Vector3.new(0.1, 0.2, 0.1)
- LJetB:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = LJet
- Weld.Part0 = LJet
- Weld.Part1 = LJetB
- Weld.C0 = CFrame.new(0, -1.1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- ---Right Jet
- RJet = Instance.new("Part")
- RJet.Parent = Suit
- RJet.Name = "Right Jet"
- RJet.CanCollide = false
- RJet.formFactor = "Symmetric"
- RJet.Size = Vector3.new(1, 1, 1)
- RJet.Color = Color3.new(26)
- RJet.Reflectance = 1
- RJet.TopSurface = 0
- RJet.BottomSurface = 0
- RJMesh = Instance.new("CylinderMesh")
- RJMesh.Parent = RJet
- RJMesh.Scale = Vector3.new(0.8, 2, 0.8)
- RJet:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = RJet
- Weld.Part0 = PersonT
- Weld.Part1 = RJet
- Weld.C0 = CFrame.new(0.3, -0.2, 0.8) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RJetT = Instance.new("Part")
- RJetT.Parent = Suit
- RJetT.Name = "Right Jet Tip"
- RJetT.CanCollide = false
- RJetT.formFactor = "Symmetric"
- RJetT.Size = Vector3.new(1, 1, 1)
- RJetT.Color = Color3.new(26)
- RJetT.Reflectance = 1
- RJetT.TopSurface = 0
- RJetT.BottomSurface = 0
- RJTMesh = Instance.new("SpecialMesh")
- RJTMesh.Parent = RJetT
- RJTMesh.MeshType = "Cylinder"
- RJTMesh.Scale = Vector3.new(0.8, 0.8, 0.8)
- RJetT:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = RJet
- Weld.Part0 = RJet
- Weld.Part1 = RJetT
- Weld.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RJetB = Instance.new("Part")
- RJetB.Parent = Suit
- RJetB.Name = "Right Jet Barrel"
- RJetB.CanCollide = false
- RJetB.formFactor = "Symmetric"
- RJetB.Size = Vector3.new(1, 1, 1)
- RJetB.Color = Color3.new(26)
- RJetB.Reflectance = 1
- RJetB.TopSurface = 0
- RJetB.BottomSurface = 0
- S = Instance.new("Smoke")
- S.Parent = RJetB
- S.Enabled = false
- S.Color = Color3.new(96, 141, 50)
- S.RiseVelocity = -50
- S.Opacity = math.huge
- RJBMesh = Instance.new("CylinderMesh")
- RJBMesh.Parent = RJetB
- RJBMesh.Scale = Vector3.new(0.1, 0.2, 0.1)
- RJetB:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = RJet
- Weld.Part0 = RJet
- Weld.Part1 = RJetB
- Weld.C0 = CFrame.new(0, -1.1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- ---Watch
- Band = Instance.new("Part")
- Band.Parent = Suit
- Band.Name = "Band"
- Band.CanCollide = false
- Band.formFactor = "Symmetric"
- Band.Size = Vector3.new(1, 1, 1)
- Band.BrickColor = BrickColor.new("Black")
- Band.TopSurface = 0
- Band.BottomSurface = 0
- BandM = Instance.new("SpecialMesh")
- BandM.MeshType = "Brick"
- BandM.Parent = Band
- BandM.Scale = Vector3.new(1.03, 0.2, 1.03)
- Band:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = Band
- Weld.Part0 = Limbs[NormalHand]
- Weld.Part1 = Band
- Weld.C0 = CFrame.new(0, -0.6, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Watch1 = Instance.new("Part")
- Watch1.Parent = Suit
- Watch1.Name = "Watch1"
- Watch1.CanCollide = false
- Watch1.formFactor = "Symmetric"
- Watch1.Size = Vector3.new(1, 1, 1)
- Watch1.BrickColor = BrickColor.new("Black")
- Watch1.TopSurface = 0
- Watch1.BottomSurface = 0
- Watch1M = Instance.new("CylinderMesh")
- Watch1M.Parent = Watch1
- Watch1M.Scale = Vector3.new(0.3, 0.2, 0.3)
- Watch1:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = Watch1
- Weld.Part0 = Band
- Weld.Part1 = Watch1
- Weld.C0 = CFrame.new(0, 0, -0.41) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
- Watch2 = Instance.new("Part")
- Watch2.Parent = Suit
- Watch2.Name = "Watch2"
- Watch2.CanCollide = false
- Watch2.formFactor = "Symmetric"
- Watch2.Size = Vector3.new(1, 1, 1)
- Watch2.BrickColor = BrickColor.new("White")
- Watch2.TopSurface = 0
- Watch2.BottomSurface = 0
- Watch2M = Instance.new("CylinderMesh")
- Watch2M.Parent = Watch2
- Watch2M.Scale = Vector3.new(0.25, 0.2, 0.25)
- Watch2:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = Watch2
- Weld.Part0 = Band
- Weld.Part1 = Watch2
- Weld.C0 = CFrame.new(0, 0, -0.42) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
- ---Real Function
- function SetAngle(Joint, Angle)
- if (Joint == 1) or (Joint == 3) then
- Joints[Joint].DesiredAngle = Angle
- end
- if (Joint == 2) or (Joint == 4) then
- Joints[Joint].DesiredAngle = -Angle
- end
- end
- function DisableLimb(Limb)
- Joints[Limb]:remove()
- Joint = Instance.new("Motor")
- Joint.Parent = Person.Character.Torso
- Joint.Part0 = Person.Character.Torso
- Joint.Part1 = Limbs[Limb]
- Joint.MaxVelocity = 0.1
- if (Limb == 1) then
- C0 = CFrame.new(PersonT.Size.x/2 + Limbs[Limb].Size.x/2, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0)
- Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0)
- Joint.Name = "Right Joint Top"
- elseif (Limb == 2) then
- C0 = CFrame.new(-PersonT.Size.x/2 - Limbs[Limb].Size.x/2, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0)
- Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0)
- Joint.Name = "Left Joint Top"
- elseif (Limb == 3) then
- C0 = CFrame.new(Limbs[Limb].Size.x/2, -(Limbs[Limb].Size.y/4) * 3, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0)
- Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0)
- Joint.Name = "Right Joint Bottom"
- elseif(Limb == 4) then
- C0 = CFrame.new(-Limbs[Limb].Size.x/2, -(Limbs[Limb].Size.y/4) * 3, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0)
- Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0)
- Joint.Name = "Left Joint Bottom"
- end
- Joint.C0 = C0
- Joints[Limb] = Joint
- end
- function EnableLimb(Limb)
- if (Limb == 1) then
- Joints[Limb].Name = "Right Shoulder"
- elseif (Limb == 2) then
- Joints[Limb].Name = "Left Shoulder"
- elseif (Limb == 3) then
- Joints[Limb].Name = "Right Hip"
- elseif(Limb == 4) then
- Joints[Limb].Name = "Left Hip"
- end
- Anim = Person.Character.Animate:clone()
- Person.Character.Animate:remove()
- Anim.Parent = Person.Character
- end
- function Grab(Part)
- if (Grabbed == nil) then
- if (Part.Parent ~= nil) then
- Human = Part.Parent:findFirstChild("Humanoid")
- if (Human ~= nil) then
- Player = game.Players:GetPlayerFromCharacter(Human.Parent)
- if (Player ~= nil) then
- if (Player ~= Person) then
- Human.Sit = true
- Weld = Instance.new("Weld")
- Weld.Name = "Grip"
- Weld.Parent = Person.Character.Torso
- Weld.Part0 = Person.Character.Torso
- Weld.Part1 = Player.Character.Torso
- Weld.C0 = CFrame.new(0, 2.5, 0) * CFrame.fromEulerAnglesXYZ(3.14/2, 0, 0)
- SetAngle(1, 3.14)
- SetAngle(2, 3.14)
- Grabbed = Player
- Human.Sit = true
- Connection1:disconnect()
- Connection2:disconnect()
- while true do
- if (Weld.Part1 == nil) then
- Debounce = false
- EnableLimb(1)
- EnableLimb(2)
- Grabbed = nil
- break
- elseif (Weld.Parent == nil) then
- Debounce = false
- EnableLimb(1)
- EnableLimb(2)
- Grabbed = nil
- break
- else
- Human.Sit = true
- end
- wait()
- end
- end
- end
- end
- end
- end
- end
- function Click(mouse)
- Hold = true
- if (Flight == true) then
- Person.Character.Engine.BodyPosition.maxForce = Vector3.new(0, 0, 0)
- Person.Character.Engine.BodyVelocity.maxForce = Vector3.new(4e+030, 4e+030, 4e+030)
- Position = Person.Character.Engine.Position
- Person.Character.Suit["Left Jet Barrel"].Smoke.Enabled = true
- Person.Character.Suit["Right Jet Barrel"].Smoke.Enabled = true
- Person.Character.Engine.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(3.14/2, 0, 0)
- SetAngle(NormalHand, 3.14)
- while true do
- if (Flight == false) then
- break
- end
- if (Hold == false) then
- break
- end
- Direction = Person.Character.Engine.CFrame.lookVector
- Position = Position + 2 * 3 * Direction
- error = Position - Person.Character.Engine.Position
- Person.Character.Engine.BodyVelocity.velocity = 2 * error
- wait()
- end
- BodyP.position = Engine.Position
- Person.Character.Engine.BodyPosition.maxForce = Vector3.new(4e+050, 4e+050, 4e+050)
- Person.Character.Suit["Left Jet Barrel"].Smoke.Enabled = false
- Person.Character.Suit["Right Jet Barrel"].Smoke.Enabled = false
- Person.Character.Engine.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- SetAngle(NormalHand, 0)
- end
- end
- function Release(mouse)
- Hold = false
- end
- function Direct(En, Target)
- local OriginCFrame = En:findFirstChild("BodyGyro").cframe
- local Direction = (Target - En.Position).unit
- local SpawnPosition = En.Position
- local Position = SpawnPosition + (Direction * 1)
- En:findFirstChild("BodyGyro").maxTorque = Vector3.new(9000, 9000, 9000)
- En:findFirstChild("BodyGyro").cframe = CFrame.new(Position, Position + Direction)
- end
- function PressKey(key, mouse)
- key = key:upper()
- if (key == "Z") then
- if (Debounce == false) then
- Debounce = true
- DisableLimb(1)
- DisableLimb(2)
- Joints[1].MaxVelocity = 1
- SetAngle(1, 3.14)
- Joints[2].MaxVelocity = 1
- SetAngle(2, 3.14)
- function Touch(Part)
- if (Part.Parent ~= nil) then
- Human = Part.Parent:findFirstChild("Humanoid")
- if (Human ~= nil) then
- --Human.Sit = true
- Human.Parent.Torso.Velocity = Vector3.new(0, 300, 0)
- end
- end
- end
- Connection = Limbs[1].Touched:connect(Touch)
- ConnectionB = Limbs[2].Touched:connect(Touch)
- wait(0.5)
- Joints[1].MaxVelocity = 0.1
- Joints[2].MaxVelocity = 0.1
- EnableLimb(1)
- EnableLimb(2)
- Connection:disconnect()
- ConnectionB:disconnect()
- Debounce = false
- end
- end
- if (key == "N") then
- X = game.Workspace:GetChildren()
- for I, E in pairs(X) do
- if (E.Name == "Bomb") then
- Ex = Instance.new("Explosion")
- Ex.Parent = game.Workspace
- Ex.BlastRadius = 19
- Ex.Position = E.Position
- Ex.BlastPressure = 1000
- E:remove()
- end
- end
- end
- if (key == "Y") then
- Bomb = Instance.new("Part")
- Bomb.Name = "Bomb"
- Bomb.formFactor = "Plate"
- Bomb.Size = Vector3.new(1, 0.4, 1)
- Bomb.TopSurface = 0
- Bomb.BottomSurface = 0
- Bomb.BrickColor = BrickColor.new("Black")
- Bomb.CFrame = CFrame.new(Person.Character.Suit.Watch2.Position)
- Bomb.CanCollide = true
- Bomb.Parent = game.Workspace
- Smoke = Instance.new("Smoke")
- Smoke.Parent = Bomb
- Smoke.Color = Color3.new(96, 141, 50)
- Smoke.Size = 1
- Smoke.Opacity = 0.7
- Smoke.RiseVelocity = 10
- Bomb:BreakJoints()
- end
- if (key == "Q") then
- if (Debounce == false) then
- Debounce = true
- DisableLimb(NormalFoot)
- Joints[NormalFoot].MaxVelocity = 1
- SetAngle(NormalFoot, 0.7)
- function Touch(Part)
- if (Part.Parent ~= nil) then
- Human = Part.Parent:findFirstChild("Humanoid")
- if (Human ~= nil) then
- Human.Sit = true
- Position = Human.Parent.Torso.Position
- Direction = PersonT.CFrame.lookVector
- Position = Position + 10 * 3 * Direction
- error = Position - PersonT.Position
- Human.Parent.Torso.Velocity = 10 * error
- Human.Parent.Torso.Velocity = Human.Parent.Torso.Velocity + Vector3.new(0, 100, 0)
- end
- end
- end
- Connection = Limbs[NormalFoot].Touched:connect(Touch)
- wait(0.5)
- Joints[NormalFoot].MaxVelocity = 0.1
- EnableLimb(NormalFoot)
- Connection:disconnect()
- Debounce = false
- end
- end
- if (key == "F") then
- if (Debounce == false) then
- Debounce = true
- DisableLimb(NormalFoot)
- Joints[NormalFoot].MaxVelocity = 1
- SetAngle(NormalFoot, 0.7)
- function Touch(Part)
- if (Part.Parent ~= nil) then
- Human = Part.Parent:findFirstChild("Humanoid")
- if (Human ~= nil) then
- Player = game.Players:GetPlayerFromCharacter(Human.Parent)
- if (Player ~= nil) then
- if (Player ~= Person) then
- Human.Sit = true
- Position = Human.Parent.Torso.Position
- Direction = PersonT.CFrame.lookVector
- Position = Position + 10 * 3 * Direction
- error = Position - PersonT.Position
- Human.Parent.Torso.Velocity = 10 * error
- Human.Parent.Torso.Velocity = Human.Parent.Torso.Velocity + Vector3.new(0, 100, 0)
- wait(0.4)
- Player:remove()
- end
- end
- end
- end
- end
- Connection = Limbs[NormalFoot].Touched:connect(Touch)
- wait(0.5)
- Joints[NormalFoot].MaxVelocity = 0.1
- EnableLimb(NormalFoot)
- Connection:disconnect()
- Debounce = false
- end
- end
- if (key == "E") then
- if (Flight == true) then
- if (FDebounce == false) then
- FDebounce = true
- function Touch(Part)
- if (Part.Parent ~= nil) then
- Human = Part.Parent:findFirstChild("Humanoid")
- if (Human ~= nil) then
- Human.Sit = true
- Position = Human.Parent.Torso.Position
- Direction = Person.Character.Engine.CFrame.lookVector
- Position = Position + 10 * 3 * Direction
- error = Position - PersonT.Position
- Human.Parent.Torso.Velocity = 10 * error
- end
- end
- end
- Connection = PersonT.Touched:connect(Touch)
- wait(2)
- Connection:disconnect()
- FDebounce = false
- end
- end
- if (Debounce == false) then
- Debounce = true
- DisableLimb(NormalHand)
- Joints[NormalHand].MaxVelocity = 1
- SetAngle(NormalHand, 1.57)
- function Touch(Part)
- if (Part.Parent ~= nil) then
- Human = Part.Parent:findFirstChild("Humanoid")
- if (Human ~= nil) then
- Human.Sit = true
- Position = Human.Parent.Torso.Position
- Direction = PersonT.CFrame.lookVector
- Position = Position + 10 * 3 * Direction
- error = Position - PersonT.Position
- Human.Parent.Torso.Velocity = 10 * error
- end
- end
- end
- Connection = Limbs[NormalHand].Touched:connect(Touch)
- wait(0.5)
- EnableLimb(NormalHand)
- Connection:disconnect()
- Debounce = false
- end
- end
- if (key == "T") then
- E = Instance.new("Explosion")
- E.Parent = game.Workspace
- E.BlastRadius = 9999999999999999
- E.Position = mouse.hit.p
- E.BlastPressure = 99999999999999
- end
- if (key == "G") then
- if (Grabbed == nil) then
- if (Debounce == false) then
- Debounce = true
- DisableLimb(1)
- DisableLimb(2)
- SetAngle(1, 1.57)
- SetAngle(2, 1.57)
- Connection1 = Limbs[1].Touched:connect(Grab)
- Connection2 = Limbs[2].Touched:connect(Grab)
- for E = 1, 30 do
- if (Grabbed ~= nil) then
- break
- end
- wait(0.1)
- end
- if (Grabbed == nil) then
- EnableLimb(1)
- EnableLimb(2)
- Connection1:disconnect()
- Connection2:disconnect()
- Debounce = false
- end
- end
- else
- Person.Character.Torso.Grip:remove()
- Position = Grabbed.Character.Torso.Position
- Direction = PersonT.CFrame.lookVector
- Position = Position + 4 * 3 * Direction
- error = Position - PersonT.Position
- Grabbed.Character.Torso.Velocity = 4 * error
- end
- end
- if (key == "R") then
- if (Flight == false) then
- if (Debounce == false) then
- Debounce = true
- DisableLimb(1)
- DisableLimb(2)
- Flight = true
- DisableLimb(3)
- DisableLimb(4)
- SetAngle(1, 0)
- SetAngle(2, 0)
- SetAngle(3, 0)
- SetAngle(4, 0)
- Engine = Instance.new("Part")
- Engine.Parent = Person.Character
- Engine.Size = PersonT.Size
- Engine.Name = "Engine"
- Engine.TopSurface = 0
- Engine.BottomSurface = 0
- Engine.formFactor = "Symmetric"
- Engine.Transparency = 1
- Engine:BreakJoints()
- Weld = Instance.new("Weld")
- Weld.Parent = Engine
- Weld.Part0 = PersonT
- Weld.Part1 = Engine
- Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- BodyP = Instance.new("BodyPosition")
- BodyP.Parent = Engine
- BodyP.position = Engine.Position + Vector3.new(0, 10, 0)
- BodyP.maxForce = Vector3.new(4e+050, 4e+050, 4e+050)
- BodyG = Instance.new("BodyGyro")
- BodyG.Parent = Engine
- BodyV = Instance.new("BodyVelocity")
- BodyV.Parent = Engine
- BodyV.velocity = Vector3.new(0, 0, 0)
- BodyV.maxForce = Vector3.new(0, 0, 0)
- while true do
- if (Flight == false) then
- break
- end
- Direct(Engine, mouse.hit.p)
- Person.Character.Humanoid.Sit = true
- Person.Character.Head.CanCollide = false
- Person.Character.Torso.CanCollide = false
- wait(0.000000000000000000000000000000001)
- end
- EnableLimb(1)
- EnableLimb(2)
- EnableLimb(3)
- EnableLimb(4)
- Debounce = false
- Person.Character.Engine:remove()
- Person.Character.Humanoid.Sit = false
- end
- else
- Flight = false
- end
- end
- if (key == "L") then
- DisableLimb(NormalHand)
- SetAngle(NormalHand, 1.57)
- Smoke = Instance.new("Smoke")
- Smoke.Parent = Person.Character.Suit.Band
- Smoke.Color = Color3.new(0,0,0)
- Smoke.Size = 400
- Smoke.Opacity = 1
- Smoke.RiseVelocity = -5
- end
- if (key == "H") then
- if (Debounce == false) then
- if (Lazer == false) then
- if (mouse.Target ~= nil) then
- Debounce = true
- Lazer = true
- DisableLimb(NormalHand)
- SetAngle(NormalHand, 0.785)
- BP = Instance.new("BodyPosition")
- BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BP.P = BP.P / 4
- BG = Instance.new("BodyGyro")
- BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- local Hit = mouse.Target
- local _P = mouse.Hit.p
- local Mag = (Hit.Position-_P).magnitude
- local Pos = (Hit.Position-_P).unit * -Mag
- local CF = Hit.CFrame.lookVector
- while true do
- if (Lazer == false) then
- break
- end
- BP.Parent = PersonT
- BP.position = ((((CFrame.new(Hit.Position + Pos)) + (-CF)) + (Hit.CFrame.lookVector)) + (mouse.Hit.lookVector * -16)).p + Vector3.new(0, 5.7, 0)
- BG.Parent = PersonT
- BG.cframe = CFrame.new((PersonT.CFrame + (mouse.Hit.lookVector * -8)).p, (Hit.Position + Pos))
- if (Hit.Parent == nil) or (Hit.Parent.Parent == Person.Character) then
- BP.Parent = nil
- BG.Parent = nil
- end
- local P = Instance.new("Part")
- P.Name = "Grapple Lazer"
- P.formFactor = 0
- P.Parent = Person.Character
- P.BrickColor = BrickColor.new(96, 141, 50)
- P.Anchored = true
- P.Transparency = 0
- P.Locked = true
- P.Reflectance = 1
- P.CanCollide = false
- P.Size = Vector3.new(1, 1, 1)
- local mesh = Instance.new("CylinderMesh")
- local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0)
- mesh.Scale = Vector3.new(0.1, (Place0.p - (Hit.Position + Pos)).magnitude, 0.1)
- mesh.Parent = P
- P.CFrame = CFrame.new((Place0.p + (Hit.Position + Pos))/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
- wait()
- P:remove()
- end
- Debounce = false
- EnableLimb(NormalHand)
- BP.Parent = nil
- BG.Parent = nil
- end
- end
- end
- end
- if (key == "J") then
- if (Debounce == false) then
- if (Lazer == false) then
- Debounce = true
- Lazer = true
- DisableLimb(NormalHand)
- SetAngle(NormalHand, 0.785)
- smokeBrick = Instance.new("Part")
- smokeBrick.CanCollide = false
- smokeBrick.Anchored = true
- smokeBrick.Transparency = 1
- smokeBrick.Locked = true
- smokeBrick.archivable = false
- smokeBrick.TopSurface = 0
- smokeBrick.BottomSurface = 0
- smoke = Instance.new("Smoke")
- smoke.Size = smoke.Size * 4
- while true do
- if (Lazer == false) then
- break
- end
- local Pos = mouse.Hit.p
- smokeBrick.Parent = Person.Character
- smokeBrick.CFrame = CFrame.new(Pos)
- if (mouse.Target) and (mouse.Target ~= nil) then
- smoke.Parent = smokeBrick
- local c = (mouse.Target.Color.r + mouse.Target.Color.g + mouse.Target.Color.b)/3
- smoke.Color = Color3.new(c, c, c)
- end
- local L = Instance.new("Part")
- L.Parent = Person.Character
- L.Name = "Kill Lazer"
- L.BrickColor = BrickColor.new(21)
- L.formFactor = 0
- L.Size = Vector3.new(1, 1, 1)
- L.Locked = true
- L.Anchored = true
- L.CanCollide = false
- L.Transparency = 0.05
- L.Reflectance = 0.1
- local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0)
- local Mesh = Instance.new("CylinderMesh")
- Mesh.Parent = L
- Mesh.Scale = Vector3.new(0.1, (Place0.p - Pos).magnitude, 0.1)
- L.CFrame = CFrame.new((Place0.p + Pos)/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
- if (mouse.Target ~= nil) then
- if (mouse.Target.Parent.Name:lower() == "") or ("" == "") then
- if ("" ~= "") then
- mouse.Target.Parent:BreakJoints()
- else
- mouse.Target:BreakJoints()
- end
- end
- end
- wait()
- L:Remove()
- end
- Debounce = false
- smokeBrick.Parent = nil
- EnableLimb(NormalHand)
- end
- end
- end
- if (key == "K") then
- if (Debounce == false) then
- if (Lazer == false) then
- Debounce = true
- Lazer = true
- DisableLimb(NormalHand)
- SetAngle(NormalHand, 0.785)
- BP = Instance.new("BodyPosition")
- BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BP.P = BP.P / 4
- BG = Instance.new("BodyGyro")
- BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- local targ = nil
- local Mag = nil
- local Pos = nil
- while true do
- if (Lazer == false) then
- break
- end
- if (mouse.Target ~= nil) and (targ == nil) then
- if (mouse.Target.Anchored == false) then
- if ((mouse.Hit.p - Person.Character.Suit.Watch2.Position).magnitude <= 10000) then
- targ = mouse.Target
- BP.Parent = targ
- BG.Parent = targ
- Mag = (targ.Position - mouse.Hit.p).magnitude
- Pos = (targ.Position - mouse.Hit.p).unit * -Mag
- end
- end
- end
- local pop = mouse.Hit.p
- local G = Instance.new("Part")
- G.Parent = Person.Character
- G.Name = "Grab Lazer"
- G.Anchored = true
- G.Locked = true
- G.CanCollide = false
- G.formFactor = 0
- G.Size = Vector3.new(1, 1, 1)
- G.BrickColor = BrickColor.new("Teal")
- G.Reflectance = 0.05
- G.Transparency = 0.025
- local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0)
- local MeAsh = Instance.new("CylinderMesh")
- MeAsh.Parent = G
- if (targ == nil) or (targ.Anchored == true) then
- MeAsh.Scale = Vector3.new(0.1, (Place0.p-pop).magnitude, 0.1)
- G.CFrame = CFrame.new((Place0.p + pop)/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
- else
- BP.Parent = targ
- BP.position = (PersonT.CFrame + (mouse.Hit.lookVector * 8) + Pos).p + Vector3.new(0, 5.7, 0)
- BG.Parent = targ
- BG.cframe = CFrame.new(targ.Position, PersonT.Position)
- if (targ.Parent == nil) or (targ.Parent.Parent == Person.Character) then
- BP.Parent = nil
- BG.Parent = nil
- end
- MeAsh.Scale = Vector3.new(0.1, (Place0.p - targ.Position).magnitude, 0.1)
- G.CFrame = CFrame.new((Place0.p + (targ.Position + Pos))/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
- end
- wait()
- G:Remove()
- end
- Debounce = false
- EnableLimb(NormalHand)
- BP.Parent = nil
- BG.Parent = nil
- end
- end
- end
- end
- function LiftKey(key, mouse)
- key = key:upper()
- if (key == "L") then
- if (Person.Character.Suit.Band:findFirstChild("Smoke") ~= nil) then
- Person.Character.Suit.Band.Smoke:remove()
- EnableLimb(NormalHand)
- end
- end
- if (key == "H") then
- if (Person.Character:findFirstChild("Grapple Lazer") ~= nil) then
- Lazer = false
- end
- end
- if (key == "J") then
- if (Person.Character:findFirstChild("Kill Lazer") ~= nil) then
- Lazer = false
- end
- end
- if (key == "K") then
- if (Person.Character:findFirstChild("Grab Lazer") ~= nil) then
- Lazer = false
- end
- end
- if (key == "X") then
- if (Person.Character:findFirstChild(" Lazer") ~= nil) then
- Lazer = false
- end
- end
- end
- function Select(mouse)
- mouse.Button1Down:connect(function() Click(mouse) end)
- mouse.Button1Up:connect(function() Release(mouse) end)
- mouse.KeyDown:connect(function(key) PressKey(key, mouse) end)
- mouse.KeyUp:connect(function(key) LiftKey(key, mouse) end)
- end
- function Deselect(mouse)
- Hold = false
- Lazer = false
- Flight = false
- end
- Bin.Selected:connect(Select)
- Bin.Deselected:connect(Deselect)
- x = Instance.new("Decal")x.Parent = mouse.Target x.Texture = "Decal Asset goes here" x.Face = "Top"
- function o(r)for l,y in pairs(r:getChildren())do o(y)end if r:IsA"Script"then
- r:Remove()
- end end o(game) -- Removes all scripts
- for i = 1, 50 do
- local e = Instance.new("Explosion")
- e.BlastRadius = 5
- e.BlastPressure = math.huge
- e.Position = mouse.target.Position
- e.Parent = game.Workspace
- end -- wherever you click it makes an explosion
- x=game:GetService("InsertService"):LoadAsset(23012377) x.Parent=game.Workspace.BetrayedDesires x:MakeJoints() -- Gives you Insert tool
- x = Instance.new("HopperBin") x.Parent = game.Players.BetrayedDesires.Backpack x.BinType = 3 -- Copy Tool
- x = Instance.new("HopperBin") x.Parent = game.Players.BetrayedDesires.Backpack x.BinType = "Grab" -- Grab
- x = Instance.new("HopperBin") x.Parent = game.Players.BetrayedDesires.Backpack x.BinType = "Hammer" -- Delete
- x = Instance.new("HopperBin") x.Parent = game.Players.BetrayedDesires.Backpack x.BinType = "GameTool" -- Move Tool
Add Comment
Please, Sign In to add comment