Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Notify(titletxt, text, time)
- local GUI = Instance.new("ScreenGui")
- local Main = Instance.new("Frame", GUI)
- local title = Instance.new("TextLabel", Main)
- local message = Instance.new("TextLabel", Main)
- GUI.Name = "NotificationOof"
- GUI.Parent = game.CoreGui
- Main.Name = "MainFrame"
- Main.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(1, 5, 0, 50)
- Main.Size = UDim2.new(0, 330, 0, 100)
- title.BackgroundColor3 = Color3.new(0, 0, 0)
- title.BackgroundTransparency = 0.89999997615814
- title.Size = UDim2.new(1, 0, 0, 30)
- title.Font = Enum.Font.SourceSansSemibold
- title.Text = titletxt
- title.TextColor3 = Color3.new(1, 1, 1)
- title.TextSize = 17
- message.BackgroundColor3 = Color3.new(0, 0, 0)
- message.BackgroundTransparency = 1
- message.Position = UDim2.new(0, 0, 0, 30)
- message.Size = UDim2.new(1, 0, 1, -30)
- message.Font = Enum.Font.SourceSans
- message.Text = text
- message.TextColor3 = Color3.new(1, 1, 1)
- message.TextSize = 16
- wait(0.1)
- Main:TweenPosition(UDim2.new(1, -330, 0, 50), "Out", "Sine", 0.5)
- wait(time)
- Main:TweenPosition(UDim2.new(1, 5, 0, 50), "Out", "Sine", 0.5)
- wait(0.6)
- GUI:Destroy();
- end
- Notify("Auto Farm", "Phase 2 Started.", 2.5)
- while wait() do
- local ores = game:GetService("Workspace").Ores.Barium:GetChildren()
- for i, child in ipairs(ores) do
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = child.Rock.CFrame
- for count = 1, 20 do
- game:GetService("ReplicatedStorage").Mine:InvokeServer(child, game:GetService("Players").LocalPlayer.Character["Mining Laser"].Client.Settings)
- end
- end
- local ores = game:GetService("Workspace").Ores.Barium:GetChildren()
- for i, child in ipairs(ores) do
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = child.Rock.CFrame
- for count = 1, 20 do
- game:GetService("ReplicatedStorage").Mine:InvokeServer(child, game:GetService("Players").LocalPlayer.Character["Mining Laser"].Client.Settings)
- end
- end
- local ores = game:GetService("Workspace").Ores.Barium:GetChildren()
- for i, child in ipairs(ores) do
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = child.Rock.CFrame
- for count = 1, 20 do
- game:GetService("ReplicatedStorage").Mine:InvokeServer(child, game:GetService("Players").LocalPlayer.Character["Mining Laser"].Client.Settings)
- end
- end
- local ores = game:GetService("Workspace").Ores.Barium:GetChildren()
- for i, child in ipairs(ores) do
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = child.Rock.CFrame
- for count = 1, 20 do
- game:GetService("ReplicatedStorage").Mine:InvokeServer(child, game:GetService("Players").LocalPlayer.Character["Mining Laser"].Client.Settings)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement