Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local service = setmetatable({}, {__index = function(t, k) return game:GetService(k) end })
- local OtherScreen = Instance.new("ScreenGui")
- local OtherFrame = Instance.new("Frame")
- local slotNum = Instance.new("TextBox")
- local Load = Instance.new("TextButton")
- local BpArt = Instance.new("TextButton")
- local Save = Instance.new("TextButton")
- local Dupe = Instance.new("TextButton")
- local EMPTY = Instance.new("TextButton")
- local EMPTY_2 = Instance.new("TextButton")
- local EMPTY_3 = Instance.new("TextButton")
- OtherScreen.Name = "OtherScreen"
- OtherScreen.Parent = game.CoreGui.LT2.MainFrame.ButtonFrame.Other
- OtherFrame.Name = "OtherFrame"
- OtherFrame.Parent = OtherScreen
- OtherFrame.BackgroundColor3 = Color3.new(0.145098, 0.145098, 0.14902)
- OtherFrame.BorderColor3 = Color3.new(0, 0, 0)
- OtherFrame.BorderSizePixel = 2
- OtherFrame.Position = UDim2.new(0, -145, 0, -260)
- OtherFrame.Size = UDim2.new(0, 335, 0, 255)
- slotNum.Name = "slotNum"
- slotNum.Parent = OtherFrame
- slotNum.BackgroundColor3 = Color3.new(0.6, 0.6, 0.6)
- slotNum.BorderColor3 = Color3.new(0, 0, 0)
- slotNum.BorderSizePixel = 2
- slotNum.Position = UDim2.new(0, 45, 0, 185)
- slotNum.Size = UDim2.new(0, 90, 0, 20)
- slotNum.Font = Enum.Font.Gotham
- slotNum.PlaceholderColor3 = Color3.new(0, 0, 0)
- slotNum.PlaceholderText = "Slot #"
- slotNum.Text = ""
- slotNum.TextColor3 = Color3.new(0, 0, 0)
- slotNum.TextSize = 16
- Load.Name = "Load"
- Load.Parent = OtherFrame
- Load.BackgroundColor3 = Color3.new(0.054902, 0.054902, 0.0588235)
- Load.BorderColor3 = Color3.new(0, 0, 0)
- Load.BorderSizePixel = 2
- Load.Position = UDim2.new(0, 175, 0, 215)
- Load.Size = UDim2.new(0, 150, 0, 20)
- Load.Font = Enum.Font.Gotham
- Load.Text = "3. Load"
- Load.TextColor3 = Color3.new(1, 1, 1)
- Load.TextSize = 14
- BpArt.Name = "BpArt"
- BpArt.Parent = OtherFrame
- BpArt.BackgroundColor3 = Color3.new(0.054902, 0.054902, 0.0588235)
- BpArt.BorderColor3 = Color3.new(0, 0, 0)
- BpArt.BorderSizePixel = 2
- BpArt.Position = UDim2.new(0, 30, 0, 15)
- BpArt.Size = UDim2.new(0, 275, 0, 25)
- BpArt.Font = Enum.Font.Gotham
- BpArt.Text = "Blueprint Art"
- BpArt.TextColor3 = Color3.new(1, 1, 1)
- BpArt.TextSize = 14
- Save.Name = "Save"
- Save.Parent = OtherFrame
- Save.BackgroundColor3 = Color3.new(0.054902, 0.054902, 0.0588235)
- Save.BorderColor3 = Color3.new(0, 0, 0)
- Save.BorderSizePixel = 2
- Save.Position = UDim2.new(0, 175, 0, 185)
- Save.Size = UDim2.new(0, 150, 0, 20)
- Save.Font = Enum.Font.Gotham
- Save.Text = "1. Save"
- Save.TextColor3 = Color3.new(1, 1, 1)
- Save.TextSize = 14
- Dupe.Name = "Dupe"
- Dupe.Parent = OtherFrame
- Dupe.BackgroundColor3 = Color3.new(0.054902, 0.054902, 0.0588235)
- Dupe.BorderColor3 = Color3.new(0, 0, 0)
- Dupe.BorderSizePixel = 2
- Dupe.Position = UDim2.new(0, 15, 0, 215)
- Dupe.Size = UDim2.new(0, 150, 0, 20)
- Dupe.Font = Enum.Font.Gotham
- Dupe.Text = "2. Dupe"
- Dupe.TextColor3 = Color3.new(1, 1, 1)
- Dupe.TextSize = 14
- EMPTY.Name = "EMPTY"
- EMPTY.Parent = OtherFrame
- EMPTY.Active = false
- EMPTY.BackgroundColor3 = Color3.new(0.054902, 0.054902, 0.0588235)
- EMPTY.BorderColor3 = Color3.new(0, 0, 0)
- EMPTY.BorderSizePixel = 2
- EMPTY.Position = UDim2.new(0, 30, 0, 50)
- EMPTY.Size = UDim2.new(0, 275, 0, 25)
- EMPTY.Font = Enum.Font.Gotham
- EMPTY.Text = "- EMPTY -"
- EMPTY.TextColor3 = Color3.new(0.298039, 0.298039, 0.298039)
- EMPTY.TextSize = 14
- EMPTY.TextStrokeTransparency = 0
- EMPTY_2.Name = "EMPTY"
- EMPTY_2.Parent = OtherFrame
- EMPTY_2.Active = false
- EMPTY_2.BackgroundColor3 = Color3.new(0.054902, 0.054902, 0.0588235)
- EMPTY_2.BorderColor3 = Color3.new(0, 0, 0)
- EMPTY_2.BorderSizePixel = 2
- EMPTY_2.Position = UDim2.new(0, 30, 0, 85)
- EMPTY_2.Size = UDim2.new(0, 275, 0, 25)
- EMPTY_2.Font = Enum.Font.Gotham
- EMPTY_2.Text = "- EMPTY -"
- EMPTY_2.TextColor3 = Color3.new(0.298039, 0.298039, 0.298039)
- EMPTY_2.TextSize = 14
- EMPTY_2.TextStrokeTransparency = 0
- EMPTY_3.Name = "EMPTY"
- EMPTY_3.Parent = OtherFrame
- EMPTY_3.Active = false
- EMPTY_3.BackgroundColor3 = Color3.new(0.054902, 0.054902, 0.0588235)
- EMPTY_3.BorderColor3 = Color3.new(0, 0, 0)
- EMPTY_3.BorderSizePixel = 2
- EMPTY_3.Position = UDim2.new(0, 30, 0, 120)
- EMPTY_3.Size = UDim2.new(0, 275, 0, 25)
- EMPTY_3.Font = Enum.Font.Gotham
- EMPTY_3.Text = "- EMPTY -"
- EMPTY_3.TextColor3 = Color3.new(0.298039, 0.298039, 0.298039)
- EMPTY_3.TextSize = 14
- EMPTY_3.TextStrokeTransparency = 0
- function Create(cls,props)
- local inst = Instance.new(cls)
- for i,v in pairs(props) do
- inst[i] = v
- end
- return inst
- end
- local MoneyCooldown = false
- local CurrentSlot = game.Players.LocalPlayer:WaitForChild("CurrentSaveSlot").Value
- local ScriptLoadOrSave = false
- local CurrentlySavingOrLoading = game.Players.LocalPlayer:WaitForChild("CurrentlySavingOrLoading")
- local TreeLogs={}
- local WoodPlanks={}
- local Render = service.RunService.RenderStepped
- local UserInputService = game:GetService("UserInputService")
- local shiftKeyL = Enum.KeyCode.LeftShift
- local Replicated = service.ReplicatedStorage
- local Client = Replicated.Interaction.ClientSetListPlayer
- local Dragging = Replicated.Interaction.ClientIsDragging
- local Properties = service.Workspace.Properties
- local Players = service.Players
- local PlayerModels = service.Workspace.PlayerModels
- local Player = Players.LocalPlayer
- local Char = Player.Character
- local Hum = Char.Humanoid
- local Root = Char.HumanoidRootPart
- local Mouse = Player:GetMouse()
- local Noclipper = false
- local Open = true
- local throwAxe = false
- local misc = false
- local player = false
- local slot = false
- local box = false
- local log = false
- local plank = false
- local players = false
- local wp = false
- local other = false
- BpArt.MouseButton1Down:connect(function()
- loadstring(game:HttpGet("https://pastebin.com/raw/nKX32w8r", true))()
- end)
- local function CheckIfSlotAvailable(Slot)
- for a,b in pairs(game.ReplicatedStorage.LoadSaveRequests.GetMetaData:InvokeServer(game.Players.LocalPlayer)) do
- if a == Slot then
- for c,d in pairs(b) do
- if c == "NumSaves" and d ~= 0 then
- return true
- else
- return false
- end
- end
- end
- end
- end
- local function CheckSlotNumber() --Checks if the slot number is right
- if slotNum.Text == "1" or slotNum.Text == "2" or slotNum.Text == "3" or slotNum.Text == "4" or slotNum.Text == "5" or slotNum.Text == "6" then
- local SlotNumber = tonumber(slotNum.Text)
- return SlotNumber
- else return false
- end
- end
- local function SendNotification(Title,Text,Duration) -- Sends Notification in the bottom right of the screen
- game.StarterGui:SetCore("SendNotification", {
- Title = Title;
- Text = Text;
- Icon = nil;
- Duration = Duration
- })
- end
- Save.MouseButton1Down:connect(function() --Saves the slot that you want
- local CheckSlot = CheckSlotNumber()
- if CheckSlot ~= false then
- if CurrentSlot ~= -1 then
- ScriptLoadOrSave = true
- local SaveSlot = game.ReplicatedStorage.LoadSaveRequests.RequestSave:InvokeServer(CheckSlot)
- if SaveSlot == true then
- SendNotification("Save Notification", "Saved your Slot", 2)
- wait(.5)
- ScriptLoadOrSave = false
- elseif SaveSlot == false then
- SendNotification("Already Saving", "Saving/Loading is currently in Progress", 1)
- wait(.5)
- ScriptLoadOrSave = false
- end
- else
- SendNotification("Error", "Load Your Slot First before saving", 1)
- end
- else
- SendNotification("Incorrect Slot", "Enter a number in the upper field", 1)
- end
- end)
- Load.MouseButton1Down:connect(function() --Loads the slot you want
- ScriptLoadOrSave = true
- local CheckSlot = CheckSlotNumber()
- if CheckSlot ~= false then
- if CheckIfSlotAvailable(CheckSlot) == true then
- local LoadSlot = game.ReplicatedStorage.LoadSaveRequests.RequestLoad:InvokeServer(CheckSlot)
- if LoadSlot == false then
- SendNotification("Cooldown Notification", "You aren't abled to load now", 1)
- end
- if LoadSlot == true then
- SendNotification("Reload Notification", "Loaded Your Slot", 2)
- CurrentSlot = CheckSlot
- end
- else
- SendNotification("Slot not Available", "This Slot is not Available, please choose another slot", 2)
- end
- else
- SendNotification("Incorrect Slot", "Enter a Valid number in the upper field", 1)
- end
- ScriptLoadOrSave = false
- end)
- Dupe.MouseButton1Down:connect(function() --Sends the money and will come back after around 2 mins
- if MoneyCooldown == true then
- SendNotification("Cooldown Notification", "Wait for your Money to come back",2)
- return
- elseif MoneyCooldown == false then
- MoneyCooldown = true
- SendNotification("Money Sent", "Wait about 2 minutes for your Money to come back", 5)
- game.ReplicatedStorage.Transactions.ClientToServer.Donate:InvokeServer(game.Players.LocalPlayer, game.Players.LocalPlayer.leaderstats.Money.Value, 1)
- SendNotification("Money Received", "You received your money that you have sent earlier", 5)
- MoneyCooldown = false
- end
- end)
- --Anti Overwrite Slot (Sub-Function)
- while wait(.15) do
- if CurrentlySavingOrLoading.Value == true and ScriptLoadOrSave == false then
- repeat
- wait(1)
- until CurrentlySavingOrLoading.Value == false
- wait(1)
- CurrentSlot = game.Players.LocalPlayer.CurrentSaveSlot.Value
- print(CurrentSlot)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement