Advertisements
68 views
Universal Script
Quick Actions
Description
if you need a location for your script for a certain game where you stand and tap this button it tells you the location for your script.
Advertisements
Features
1 Feature
- Teleport
141 lines•3938 bytes
--[[ RoScripter Safety TipThe uploader of this script isn't verified on RoScripter yet. Be careful.Protect your account: • Type your Roblox password only on roblox.com. • A site that looks like Roblox but has a different address is fake. • Pages that give free Robux or prizes if you log in are scams.]]--====== RoScripter Analytics ======--task.defer(pcall,function()loadstring(game:HttpGet("https://api.roscripter.com/stats/FzDzRGEj?v=1"))()end);--=== Does not affect the script ===--local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
-- ScreenGui
local gui = Instance.new("ScreenGui")
gui.Name = "FurryTracker"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
-- Main Frame
local frame = Instance.new("Frame")
frame.Parent = gui
frame.Size = UDim2.new(0, 435, 0, 320)
frame.Position = UDim2.new(0.5,-217,0.5,-160)
frame.BackgroundColor3 = Color3.fromRGB(110,230,240)
frame.BorderSizePixel = 0
-- Title
local title = Instance.new("TextLabel")
title.Parent = frame
title.Size = UDim2.new(1,0,0,60)
title.BackgroundTransparency = 1
title.Text = "furry furry tracker"
title.TextColor3 = Color3.fromRGB(255,0,0)
title.Font = Enum.Font.SourceSansBold
title.TextScaled = true
-- Track Button
local button = Instance.new("TextButton")
button.Parent = frame
button.Size = UDim2.new(0,110,0,55)
button.Position = UDim2.new(0,20,0,80)
button.BackgroundColor3 = Color3.fromRGB(255,255,255)
button.Text = "track location"
button.TextColor3 = Color3.new(0,0,0)
button.Font = Enum.Font.SourceSans
button.TextScaled = true
-- Coordinates Label
local coords = Instance.new("TextLabel")
coords.Parent = frame
coords.Size = UDim2.new(0,260,0,55)
coords.Position = UDim2.new(0,140,0,80)
coords.BackgroundTransparency = 1
coords.Text = ""
coords.TextColor3 = Color3.new(0,0,0)
coords.Font = Enum.Font.SourceSansBold
coords.TextScaled = true
coords.TextXAlignment = Enum.TextXAlignment.Left
-- Left Image
local leftImage = Instance.new("ImageLabel")
leftImage.Parent = frame
leftImage.Size = UDim2.new(0,100,0,100)
leftImage.Position = UDim2.new(0,0,1,-100)
leftImage.BackgroundTransparency = 1
-- PUT YOUR LEFT DECAL ID HERE
leftImage.Image = "rbxassetid://1488852514"
-- Right Image
local rightImage = Instance.new("ImageLabel")
rightImage.Parent = frame
rightImage.Size = UDim2.new(0,100,0,100)
rightImage.Position = UDim2.new(1,-100,1,-100)
rightImage.BackgroundTransparency = 1
-- PUT YOUR RIGHT DECAL ID HERE
rightImage.Image = "rbxassetid://123284890336454"
-- Track Location
button.MouseButton1Click:Connect(function()
local character = player.Character or player.CharacterAdded:Wait()
local root = character:WaitForChild("HumanoidRootPart")
local pos = root.Position
coords.Text = string.format(
"X: %.1f Y: %.1f Z: %.1f",
pos.X,
pos.Y,
pos.Z
)
end)
-------------------------------------------------
-- DRAGGABLE GUI
-------------------------------------------------
local dragging = false
local dragInput
local dragStart
local startPos
frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
dragInput = input
end
end)
UIS.InputChanged:Connect(function(input)
if input == dragInput and dragging then
local delta = input.Position - dragStart
frame.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)Advertisements
Comments
0Did it work for you? Sign in to share your experience.
No comments yet
Tried it? Let others know if it works.