Back to Scripts
Get placeid script

Get placeid script

ScriptBlox
Universal Free

Game: Universal Script 📌

40 Views
0 Likes
0 Dislikes
Joyful_PizzaPartyl

Joyful_PizzaPartyl

offline

Features

Does Just does Does/does/refs/heads/main/It_Just_Gets_Placeid_And_Generates_Teleportservice_Script

Script Code

--[[
Needs executor that supports:
- Setclipboard
- TeleportService(turn off delta's teleport blocking thing)
 That's all, for script development.
]]--
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")
local LocalPlayer = Players.LocalPlayer


local screenGui = Instance.new("ScreenGui")
screenGui.Name = "PlaceScriptGUI"
screenGui.ResetOnSpawn = false
screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")


local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 400, 0, 150)
frame.Position = UDim2.new(0.5, -200, 0.5, -75)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 0
frame.Parent = screenGui


local textbox = Instance.new("TextBox")
textbox.Size = UDim2.new(1, -20, 0, 80)
textbox.Position = UDim2.new(0, 10, 0, 10)
textbox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
textbox.TextColor3 = Color3.fromRGB(255, 255, 255)
textbox.TextWrapped = true
textbox.MultiLine = true
textbox.ClearTextOnFocus = false
textbox.Font = Enum.Font.Code
textbox.TextSize = 18
textbox.Parent = frame


local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 100, 0, 40)
button.Position = UDim2.new(0.5, -50, 1, -50)
button.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.Text = "Copy"
button.Font = Enum.Font.SourceSansBold
button.TextSize = 20
button.Parent = frame


local placeId = game.PlaceId
local teleportScript = [[
local TeleportService = game:GetService("TeleportService")
TeleportService:Teleport(]] .. placeId .. [[)
]]

textbox.Text = teleportScript


button.MouseButton1Click:Connect(function()
    if setclipboard then
        setclipboard(textbox.Text)
    else
        
        print("ur executor sucks doesnt even support setclipboard")
    end
end)

Ratings & Reviews

No reviews yet. Be the first to review this script!

Comments (0)

Please login to comment

Login with Discord

Loading comments...