Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local survivor = Instance.new("ScreenGui")
- local gui = Instance.new("Frame")
- local tp = Instance.new("TextButton")
- local idols = Instance.new("TextButton")
- local close = Instance.new("ImageButton")
- local open = Instance.new("TextButton")
- survivor.Name = "survivor"
- survivor.Parent = game.CoreGui
- gui.Name = "gui"
- gui.Parent = survivor
- gui.BackgroundColor3 = Color3.new(1, 1, 1)
- gui.BorderSizePixel = 5
- gui.Position = UDim2.new(0.286785364, 0, 0.17786561, 0)
- gui.Size = UDim2.new(0, 328, 0, 297)
- gui.Visible = false
- tp.Name = "tp"
- tp.Parent = gui
- tp.BackgroundColor3 = Color3.new(1, 1, 1)
- tp.BorderSizePixel = 5
- tp.Position = UDim2.new(0.076219514, 0, 0.286195278, 0)
- tp.Size = UDim2.new(0, 97, 0, 50)
- tp.Font = Enum.Font.SourceSansBold
- tp.FontSize = Enum.FontSize.Size18
- tp.Text = "Click TP"
- tp.TextSize = 15
- idols.Name = "idols"
- idols.Parent = gui
- idols.BackgroundColor3 = Color3.new(1, 1, 1)
- idols.BorderSizePixel = 5
- idols.Position = UDim2.new(0.626524329, 0, 0.286195278, 0)
- idols.Size = UDim2.new(0, 97, 0, 50)
- idols.Font = Enum.Font.SourceSansBold
- idols.FontSize = Enum.FontSize.Size18
- idols.Text = "TP Idols"
- idols.TextSize = 15
- idols.TextStrokeTransparency = 3
- close.Name = "close"
- close.Parent = gui
- close.BackgroundColor3 = Color3.new(1, 1, 1)
- close.BackgroundTransparency = 1
- close.BorderSizePixel = 0
- close.Position = UDim2.new(0, 0, 0.875420868, 0)
- close.Size = UDim2.new(0, 41, 0, 37)
- close.Image = "rbxassetid://247421309"
- open.Name = "open"
- open.Parent = survivor
- open.BackgroundColor3 = Color3.new(1, 1, 1)
- open.BorderSizePixel = 5
- open.Position = UDim2.new(0.00562324282, 0, 0.897233188, 0)
- open.Size = UDim2.new(0, 78, 0, 40)
- open.ZIndex = 2
- open.Font = Enum.Font.SourceSansBold
- open.FontSize = Enum.FontSize.Size18
- open.Text = "Open"
- open.TextSize = 15
- open.MouseButton1Click:connect(function()
- gui.Visible = true
- open.Visible = false
- end)
- close.MouseButton1Click:connect(function()
- open.Visible = true
- gui.Visible = false
- end)
- tp.MouseButton1Click:connect(function()
- game.StarterGui:SetCoreGuiEnabled(2, true)
- wait()
- mouse = game.Players.LocalPlayer:GetMouse()
- tool = Instance.new("Tool")
- tool.RequiresHandle = false
- tool.Name = "Click Teleport"
- tool.Activated:connect(function()
- local pos = mouse.Hit+Vector3.new(0,2.5,0)
- pos = CFrame.new(pos.X,pos.Y,pos.Z)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
- end)
- tool.Parent = game.Players.LocalPlayer.Backpack
- end)
- idols.MouseButton1Click:connect(function()
- local idols = game.Workspace.Misc.Idols:GetChildren()
- local lp = game.Players.LocalPlayer.Character
- for i = 1,#idols do
- if #idols>0 then
- lp:MoveTo(idols[i].Position)
- wait(2)
- end
- end
- if #idols == 0 then
- print('No idols were found.')
- end
- end)
- print("Made by Lau & Nijae")
- warn("Lau : Gui/TP Click")
- warn("Nijae : TP Idols")
Add Comment
Please, Sign In to add comment