Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DonatePart = Instance.new("Part")
- local SurfaceGui = Instance.new("SurfaceGui")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- SurfaceGui.Parent = DonatePart
- SurfaceGui.Adornee = DonatePart
- DonatePart.Parent = workspace
- DonatePart.Anchored = true
- DonatePart.Size = Vector3.new(9, 15, 1)
- DonatePart.CanCollide = true
- DonatePart.Position = Vector3.new(110.99, 1007.5, 219.43)
- DonatePart.BrickColor = BrickColor.new("Institutional white")
- DonatePart.Material = "Metal"
- ScrollingFrame.CanvasSize = UDim2.new(0, 0, 4, 0)
- ScrollingFrame.ScrollBarImageColor3 = Color3.new(1, 1, 1)
- ScrollingFrame.ScrollBarThickness = 8
- ScrollingFrame.Active = true
- ScrollingFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- ScrollingFrame.BackgroundTransparency = 1
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Position = UDim2.new(0.03, 0, 0, 0)
- ScrollingFrame.Size = UDim2.new(0.96, 0, 1, 0)
- ScrollingFrame.Name = "ScrollingFrame"
- ScrollingFrame.Parent = SurfaceGui
- local L = game:GetService("Lighting")
- L.ClockTime = 12
- local Sky = Instance.new("Sky")
- Sky.Name = "Sky"
- Sky.SkyboxUp = "http://www.roblox.com/asset/?id=600835177"
- Sky.SkyboxLf = "http://www.roblox.com/asset/?id=600886090"
- Sky.SkyboxBk = "http://www.roblox.com/asset/?id=600830446"
- Sky.SkyboxFt = "http://www.roblox.com/asset/?id=600832720"
- Sky.StarCount = 100
- Sky.SkyboxDn = "http://www.roblox.com/asset/?id=600831635"
- Sky.SkyboxRt = "http://www.roblox.com/asset/?id=600833862"
- Sky.Parent = L
- local ShiftlockStarterGui = Instance.new("ScreenGui")
- local ImageButton = Instance.new("ImageButton")
- ShiftlockStarterGui.Name = "Shiftlock (StarterGui)"
- ShiftlockStarterGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ShiftlockStarterGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ImageButton.Parent = ShiftlockStarterGui
- ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageButton.BackgroundTransparency = 1.000
- ImageButton.Position = UDim2.new(0.921914339, 0, 0.552375436, 0)
- ImageButton.Size = UDim2.new(0.0636147112, 0, 0.0661305636, 0)
- ImageButton.SizeConstraint = Enum.SizeConstraint.RelativeXX
- ImageButton.Image = "http://www.roblox.com/asset/?id=182223762"
- local function TLQOYN_fake_script() -- ImageButton.ShiftGUI
- local script = Instance.new('LocalScript', ImageButton)
- local MobileCameraFramework = {}
- local players = game:GetService("Players")
- local runservice = game:GetService("RunService")
- local CAS = game:GetService("ContextActionService")
- local player = players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local root = character:WaitForChild("HumanoidRootPart")
- local humanoid = character.Humanoid
- local camera = workspace.CurrentCamera
- local button = script.Parent
- uis = game:GetService("UserInputService")
- ismobile = uis.TouchEnabled
- button.Visible = ismobile
- local states = {
- OFF = "rbxasset://textures/ui/mouseLock_off@2x.png",
- ON = "rbxasset://textures/ui/mouseLock_on@2x.png"
- }
- local MAX_LENGTH = 900000
- local active = false
- local ENABLED_OFFSET = CFrame.new(1.7, 0, 0)
- local DISABLED_OFFSET = CFrame.new(-1.7, 0, 0)
- local function UpdateImage(STATE)
- button.Image = states[STATE]
- end
- local function UpdateAutoRotate(BOOL)
- humanoid.AutoRotate = BOOL
- end
- local function GetUpdatedCameraCFrame(ROOT, CAMERA)
- return CFrame.new(root.Position, Vector3.new(CAMERA.CFrame.LookVector.X * MAX_LENGTH, root.Position.Y, CAMERA.CFrame.LookVector.Z * MAX_LENGTH))
- end
- local function EnableShiftlock()
- UpdateAutoRotate(false)
- UpdateImage("ON")
- root.CFrame = GetUpdatedCameraCFrame(root, camera)
- camera.CFrame = camera.CFrame * ENABLED_OFFSET
- end
- local function DisableShiftlock()
- UpdateAutoRotate(true)
- UpdateImage("OFF")
- camera.CFrame = camera.CFrame * DISABLED_OFFSET
- pcall(function()
- active:Disconnect()
- active = nil
- end)
- end
- UpdateImage("OFF")
- active = false
- function ShiftLock()
- if not active then
- active = runservice.RenderStepped:Connect(function()
- EnableShiftlock()
- end)
- else
- DisableShiftlock()
- end
- end
- local ShiftLockButton = CAS:BindAction("ShiftLOCK", ShiftLock, false, "On")
- CAS:SetPosition("ShiftLOCK", UDim2.new(0.8, 0, 0.8, 0))
- button.MouseButton1Click:Connect(function()
- if not active then
- active = runservice.RenderStepped:Connect(function()
- EnableShiftlock()
- end)
- else
- DisableShiftlock()
- end
- end)
- return MobileCameraFramework
- end
- coroutine.wrap(TLQOYN_fake_script)()
- local function OMQRQRC_fake_script() -- ShiftlockStarterGui.LocalScript
- local script = Instance.new('LocalScript', ShiftlockStarterGui)
- local Players = game:GetService("Players")
- local UserInputService = game:GetService("UserInputService")
- local Settings = UserSettings()
- local GameSettings = Settings.GameSettings
- local ShiftLockController = {}
- while not Players.LocalPlayer do
- wait()
- end
- local LocalPlayer = Players.LocalPlayer
- local Mouse = LocalPlayer:GetMouse()
- local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
- local ScreenGui, ShiftLockIcon, InputCn
- local IsShiftLockMode = true
- local IsShiftLocked = true
- local IsActionBound = false
- local IsInFirstPerson = false
- ShiftLockController.OnShiftLockToggled = Instance.new("BindableEvent")
- local function isShiftLockMode()
- return LocalPlayer.DevEnableMouseLock and GameSettings.ControlMode == Enum.ControlMode.MouseLockSwitch and LocalPlayer.DevComputerMovementMode ~= Enum.DevComputerMovementMode.ClickToMove and GameSettings.ComputerMovementMode ~= Enum.ComputerMovementMode.ClickToMove and LocalPlayer.DevComputerMovementMode ~= Enum.DevComputerMovementMode.Scriptable
- end
- if not UserInputService.TouchEnabled then
- IsShiftLockMode = isShiftLockMode()
- end
- local function onShiftLockToggled()
- IsShiftLocked = not IsShiftLocked
- ShiftLockController.OnShiftLockToggled:Fire()
- end
- local initialize = function()
- print("enabled")
- end
- function ShiftLockController:IsShiftLocked()
- return IsShiftLockMode and IsShiftLocked
- end
- function ShiftLockController:SetIsInFirstPerson(isInFirstPerson)
- IsInFirstPerson = isInFirstPerson
- end
- local function mouseLockSwitchFunc(actionName, inputState, inputObject)
- if IsShiftLockMode then
- onShiftLockToggled()
- end
- end
- local function disableShiftLock()
- if ScreenGui then
- ScreenGui.Parent = nil
- end
- IsShiftLockMode = false
- Mouse.Icon = ""
- if InputCn then
- InputCn:disconnect()
- InputCn = nil
- end
- IsActionBound = false
- ShiftLockController.OnShiftLockToggled:Fire()
- end
- local onShiftInputBegan = function(inputObject, isProcessed)
- if isProcessed then
- return
- end
- if inputObject.UserInputType ~= Enum.UserInputType.Keyboard or inputObject.KeyCode == Enum.KeyCode.LeftShift or inputObject.KeyCode == Enum.KeyCode.RightShift then
- end
- end
- local function enableShiftLock()
- IsShiftLockMode = isShiftLockMode()
- if IsShiftLockMode then
- if ScreenGui then
- ScreenGui.Parent = PlayerGui
- end
- if IsShiftLocked then
- ShiftLockController.OnShiftLockToggled:Fire()
- end
- if not IsActionBound then
- InputCn = UserInputService.InputBegan:connect(onShiftInputBegan)
- IsActionBound = true
- end
- end
- end
- GameSettings.Changed:connect(function(property)
- if property == "ControlMode" then
- if GameSettings.ControlMode == Enum.ControlMode.MouseLockSwitch then
- enableShiftLock()
- else
- disableShiftLock()
- end
- elseif property == "ComputerMovementMode" then
- if GameSettings.ComputerMovementMode == Enum.ComputerMovementMode.ClickToMove then
- disableShiftLock()
- else
- enableShiftLock()
- end
- end
- end)
- LocalPlayer.Changed:connect(function(property)
- if property == "DevEnableMouseLock" then
- if LocalPlayer.DevEnableMouseLock then
- enableShiftLock()
- else
- disableShiftLock()
- end
- elseif property == "DevComputerMovementMode" then
- if LocalPlayer.DevComputerMovementMode == Enum.DevComputerMovementMode.ClickToMove or LocalPlayer.DevComputerMovementMode == Enum.DevComputerMovementMode.Scriptable then
- disableShiftLock()
- else
- enableShiftLock()
- end
- end
- end)
- LocalPlayer.CharacterAdded:connect(function(character)
- if not UserInputService.TouchEnabled then
- initialize()
- end
- end)
- if not UserInputService.TouchEnabled then
- initialize()
- if isShiftLockMode() then
- InputCn = UserInputService.InputBegan:connect(onShiftInputBegan)
- IsActionBound = true
- end
- end
- enableShiftLock()
- return ShiftLockController
- end
- coroutine.wrap(OMQRQRC_fake_script)()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(98.629, 1004, 218.486)
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- Humanoid.MaxHealth = 100
- Humanoid.HealthChanged:connect(function()
- if Humanoid.Health < 5 then
- Humanoid.Health = Humanoid.MaxHealth
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(98.629, 1004, 218.486)
- end
- end)
- local Floor = Instance.new("Part")
- Floor.Parent = workspace
- Floor.Anchored = true
- Floor.Size = Vector3.new(100, 1, 100)
- Floor.CanCollide = true
- Floor.Position = Vector3.new(143.055, 1000, 172.955)
- Floor.BrickColor = BrickColor.new("Institutional white")
- local TowerWall1 = Instance.new("Part")
- TowerWall1.Parent = workspace
- TowerWall1.Anchored = true
- TowerWall1.Size = Vector3.new(100, 1, 666)
- TowerWall1.CanCollide = true
- TowerWall1.Position = Vector3.new(143.272, 1333.5, 222.578)
- TowerWall1.BrickColor = BrickColor.new("Institutional white")
- TowerWall1.Rotation = Vector3.new(-90, 0, 0)
- TowerWall1.Transparency = 0.5
- local TowerWall2 = Instance.new("Part")
- TowerWall2.Parent = workspace
- TowerWall2.Anchored = true
- TowerWall2.Size = Vector3.new(100, 1, 666)
- TowerWall2.CanCollide = true
- TowerWall2.Position = Vector3.new(143.272, 1333.5, 123.578)
- TowerWall2.BrickColor = BrickColor.new("Institutional white")
- TowerWall2.Rotation = Vector3.new(-90, 0, 0)
- local TowerWall3 = Instance.new("Part")
- TowerWall3.Parent = workspace
- TowerWall3.Anchored = true
- TowerWall3.Size = Vector3.new(100, 1, 666)
- TowerWall3.CanCollide = true
- TowerWall3.Position = Vector3.new(93.272, 1333.5, 172.578)
- TowerWall3.BrickColor = BrickColor.new("Institutional white")
- TowerWall3.Rotation = Vector3.new(-90, 0, -90)
- local TowerWall4 = Instance.new("Part")
- TowerWall4.Parent = workspace
- TowerWall4.Anchored = true
- TowerWall4.Size = Vector3.new(100, 1, 666)
- TowerWall4.CanCollide = true
- TowerWall4.Position = Vector3.new(193.272, 1333.5, 172.578)
- TowerWall4.BrickColor = BrickColor.new("Institutional white")
- TowerWall4.Rotation = Vector3.new(-90, 0, -90)
- local TowerPart1 = Instance.new("Part")
- TowerPart1.Parent = workspace
- TowerPart1.Anchored = true
- TowerPart1.Size = Vector3.new(8, 4, 8)
- TowerPart1.CanCollide = true
- TowerPart1.Position = Vector3.new(98.275, 1002, 218.618)
- TowerPart1.BrickColor = BrickColor.new("Really black")
- local GlassBoxPart1 = Instance.new("Part")
- GlassBoxPart1.Parent = workspace
- GlassBoxPart1.Anchored = true
- GlassBoxPart1.Size = Vector3.new(7, 1, 7)
- GlassBoxPart1.CanCollide = true
- GlassBoxPart1.Position = Vector3.new(135.324, 1001, 219.324)
- local Mesh = Instance.new("CylinderMesh", GlassBoxPart1)
- GlassBoxPart1.BrickColor = BrickColor.new("Medium stone grey")
- GlassBoxPart1.Material = "DiamondPlate"
- local GlassBoxPart2 = Instance.new("Part")
- GlassBoxPart2.Parent = workspace
- GlassBoxPart2.Anchored = true
- GlassBoxPart2.Size = Vector3.new(7, 1, 7)
- GlassBoxPart2.CanCollide = true
- GlassBoxPart2.Position = Vector3.new(135.324, 1010, 219.324)
- local Mesh = Instance.new("CylinderMesh", GlassBoxPart2)
- GlassBoxPart2.BrickColor = BrickColor.new("Medium stone grey")
- GlassBoxPart2.Material = "DiamondPlate"
- local GlassBoxPart3 = Instance.new("Part")
- GlassBoxPart3.Parent = workspace
- GlassBoxPart3.Anchored = true
- GlassBoxPart3.Size = Vector3.new(5, 9, 5)
- GlassBoxPart3.CanCollide = true
- GlassBoxPart3.Position = Vector3.new(135.324, 1005, 219.324)
- local Mesh = Instance.new("CylinderMesh", GlassBoxPart3)
- GlassBoxPart3.Material = "ForceField"
- GlassBoxPart3.Touched:connect(function()
- if GetTool1 then
- return
- end
- pcall(function()
- getgenv().GetTool1 = true
- --speed coil
- _G.speedcoil = game:GetObjects('rbxassetid://99119158')[1]
- _G.speedcoil.Parent = game.Players.LocalPlayer.Backpack
- _G.speedcoil.Equipped:Connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
- local Sound = Instance.new("Sound")
- local Id = "99173388"
- Sound.Parent = game.Workspace
- Sound.SoundId = "rbxassetid://"..Id
- Sound.Playing = true
- Sound.Looped = false
- Sound.Volume = 1
- end)
- _G.speedcoil.Unequipped:Connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- end)
- end)
- end)
- local GlassBoxPart4 = Instance.new("Part")
- GlassBoxPart4.Parent = workspace
- GlassBoxPart4.Anchored = true
- GlassBoxPart4.Size = Vector3.new(7, 1, 7)
- GlassBoxPart4.CanCollide = true
- GlassBoxPart4.Position = Vector3.new(123.324, 1001, 219.324)
- local Mesh = Instance.new("CylinderMesh", GlassBoxPart4)
- GlassBoxPart4.BrickColor = BrickColor.new("Medium stone grey")
- GlassBoxPart4.Material = "DiamondPlate"
- local GlassBoxPart5 = Instance.new("Part")
- GlassBoxPart5.Parent = workspace
- GlassBoxPart5.Anchored = true
- GlassBoxPart5.Size = Vector3.new(7, 1, 7)
- GlassBoxPart5.CanCollide = true
- GlassBoxPart5.Position = Vector3.new(123.324, 1010, 219.324)
- local Mesh = Instance.new("CylinderMesh", GlassBoxPart5)
- GlassBoxPart5.BrickColor = BrickColor.new("Medium stone grey")
- GlassBoxPart5.Material = "DiamondPlate"
- local GlassBoxPart6 = Instance.new("Part")
- GlassBoxPart6.Parent = workspace
- GlassBoxPart6.Anchored = true
- GlassBoxPart6.Size = Vector3.new(5, 9, 5)
- GlassBoxPart6.CanCollide = true
- GlassBoxPart6.Position = Vector3.new(123.324, 1005, 219.324)
- local Mesh = Instance.new("CylinderMesh", GlassBoxPart6)
- GlassBoxPart6.Material = "ForceField"
- GlassBoxPart6.Touched:connect(function()
- if GetTool2 then
- return
- end
- pcall(function()
- getgenv().GetTool2 = true
- --gravity coil
- _G.gravitycoil = game:GetObjects('rbxassetid://16688968')[1]
- _G.gravitycoil.Parent = game.Players.LocalPlayer.Backpack
- _G.gravitycoil.Equipped:Connect(function()
- game.workspace.Gravity = 80
- local Sound = Instance.new("Sound")
- local Id = "16619553"
- Sound.Parent = game.Workspace
- Sound.SoundId = "rbxassetid://"..Id
- Sound.Playing = true
- Sound.Looped = false
- Sound.Volume = 1
- end)
- _G.gravitycoil.Unequipped:Connect(function()
- game.workspace.Gravity = 196.2
- end)
- end)
- end)
- local Coil2 = Instance.new("Part")
- Coil2.Parent = workspace
- Coil2.Anchored = true
- Coil2.Size = Vector3.new(1, 1, 1)
- Coil2.CanCollide = true
- Coil2.Position = Vector3.new(123.324, 1005, 219.324)
- local Coil2mesh = Instance.new("SpecialMesh", Coil2)
- Coil2mesh.Scale = Vector3.new(1, 1, 1)
- Coil2mesh.MeshId = "rbxassetid://16606212"
- Coil2mesh.TextureId = "rbxassetid://16606141"
- local Coil1 = Instance.new("Part")
- Coil1.Parent = workspace
- Coil1.Anchored = true
- Coil1.Size = Vector3.new(1, 1, 1)
- Coil1.CanCollide = true
- Coil1.Position = Vector3.new(135.324, 1005, 219.324)
- local Coil1mesh = Instance.new("SpecialMesh", Coil1)
- Coil1mesh.Scale = Vector3.new(1, 1, 1)
- Coil1mesh.MeshId = "rbxassetid://16606212"
- Coil1mesh.TextureId = "rbxassetid://99170547"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement