1 | local ScreenGui = Instance.new("ScreenGui") |
2 | local Frame = Instance.new("Frame") |
3 | local TextBox = Instance.new("TextBox") |
4 | local TextButton = Instance.new("TextButton") |
5 | local hs = game:GetService("HttpService") |
6 | --Properties: |
7 | ScreenGui.Name = hs:GenerateGUID(false) |
8 | ScreenGui.Parent = game.CoreGui |
9 | ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling |
10 | |
11 | Frame.Parent = ScreenGui |
12 | Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) |
13 | Frame.BorderColor3 = Color3.fromRGB(30, 30, 30) |
14 | Frame.Position = UDim2.new(0.0210396033, 0, 0.0932944641, 0) |
15 | Frame.Size = UDim2.new(0, 106, 0, 108) |
16 | Frame.Active = true |
17 | Frame.Selectable = true |
18 | Frame.Draggable = true |
19 | |
20 | TextBox.Parent = Frame |
21 | TextBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40) |
22 | TextBox.BorderColor3 = Color3.fromRGB(27, 42, 53) |
23 | TextBox.BorderSizePixel = 0 |
24 | TextBox.Position = UDim2.new(0.0566037744, 0, 0.216276109, 0) |
25 | TextBox.Size = UDim2.new(0, 94, 0, 36) |
26 | TextBox.Font = Enum.Font.SourceSansBold |
27 | TextBox.PlaceholderText = "PLAYER NAME" |
28 | TextBox.Text = "" |
29 | TextBox.TextColor3 = Color3.fromRGB(255, 255, 255) |
30 | TextBox.TextScaled = true |
31 | TextBox.TextSize = 14.000 |
32 | TextBox.TextWrapped = true |
33 | |
34 | TextButton.Parent = Frame |
35 | TextButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) |
36 | TextButton.BorderSizePixel = 0 |
37 | TextButton.Position = UDim2.new(0.113207549, 0, 0.648593485, 0) |
38 | TextButton.Size = UDim2.new(0, 82, 0, 28) |
39 | TextButton.Font = Enum.Font.SourceSansBold |
40 | TextButton.Text = "TP TO PLAYER" |
41 | TextButton.TextColor3 = Color3.fromRGB(255, 255, 255) |
42 | TextButton.TextScaled = true |
43 | TextButton.TextSize = 14.000 |
44 | TextButton.TextWrapped = true |
45 | |
46 | -- Scripts: |
47 | |
48 | local function UVRRY_fake_script() -- Frame.LocalScript |
49 | local script = Instance.new('LocalScript', Frame) |
50 | |
51 | local btn = script.Parent.TextButton |
52 | local box = script.Parent.TextBox |
53 | local ts = game:GetService("TweenService") |
54 | |
55 | local t = 8 |
56 | |
57 | btn.MouseButton1Click:Connect(function() |
58 | if game.Players:FindFirstChild(box.Text) then |
59 | |
60 | local plr = game.Players:FindFirstChild(box.Text) |
61 | local char = game.Players.LocalPlayer |
62 | |
63 | local tween = ts:Create(char.Character.HumanoidRootPart, TweenInfo.new(t), {CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position)}) |
64 | tween:Play() |
65 | |
66 | end |
67 | end) |
68 | end |
69 | coroutine.wrap(UVRRY_fake_script)() |