Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local QueueOnTeleport = queue_on_teleport or queue_for_teleport or syn.queue_on_teleport
- QueueOnTeleport([[
- loadstring(game:HttpGet("https://coasts.cool/scripts/getcoordinates.lua"))()
- ]])
- local CoordinatesGrabber = Instance.new("ScreenGui")
- local Main = Instance.new("ImageLabel")
- local GrabCoordinatesButton = Instance.new("TextButton")
- local GrabCoordinatesButtonRounded = Instance.new("ImageLabel")
- local UserInputService = game:GetService("UserInputService")
- local TweenService = game:GetService("TweenService")
- local HttpService = game:GetService("HttpService")
- local LocalPlayer = game:GetService("Players").LocalPlayer
- CoordinatesGrabber.Name = HttpService:GenerateGUID(false)
- CoordinatesGrabber.Parent = game:GetService("CoreGui")
- Main.Name = "Main"
- Main.Parent = CoordinatesGrabber
- Main.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Main.BackgroundTransparency = 1.000
- Main.Position = UDim2.new(0.5, -104, 0.5, -29)
- Main.Size = UDim2.new(0, 209, 0, 59)
- Main.Image = "rbxassetid://3570695787"
- Main.ImageColor3 = Color3.fromRGB(35, 35, 35)
- Main.ScaleType = Enum.ScaleType.Slice
- Main.SliceCenter = Rect.new(100, 100, 100, 100)
- Main.SliceScale = 0.070
- GrabCoordinatesButton.Name = "GrabCoordinatesButton"
- GrabCoordinatesButton.Parent = Main
- GrabCoordinatesButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- GrabCoordinatesButton.BackgroundTransparency = 1.000
- GrabCoordinatesButton.BorderSizePixel = 0
- GrabCoordinatesButton.Position = UDim2.new(0.497607946, -88, 0.5, -13)
- GrabCoordinatesButton.Size = UDim2.new(0, 176, 0, 27)
- GrabCoordinatesButton.ZIndex = 2
- GrabCoordinatesButton.Font = Enum.Font.SourceSansBold
- GrabCoordinatesButton.Text = "Copy Coordinates"
- GrabCoordinatesButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- GrabCoordinatesButton.TextSize = 15.000
- GrabCoordinatesButton.TextWrapped = true
- GrabCoordinatesButton.Modal = true
- GrabCoordinatesButtonRounded.Name = "GrabCoordinatesButtonRounded"
- GrabCoordinatesButtonRounded.Parent = GrabCoordinatesButton
- GrabCoordinatesButtonRounded.Active = true
- GrabCoordinatesButtonRounded.AnchorPoint = Vector2.new(0.5, 0.5)
- GrabCoordinatesButtonRounded.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- GrabCoordinatesButtonRounded.BackgroundTransparency = 1.000
- GrabCoordinatesButtonRounded.Position = UDim2.new(0.502840936, 0, 0.5, 0)
- GrabCoordinatesButtonRounded.Selectable = true
- GrabCoordinatesButtonRounded.Size = UDim2.new(1.00568151, 0, 1, 0)
- GrabCoordinatesButtonRounded.Image = "rbxassetid://3570695787"
- GrabCoordinatesButtonRounded.ImageColor3 = Color3.fromRGB(55, 55, 55)
- GrabCoordinatesButtonRounded.ScaleType = Enum.ScaleType.Slice
- GrabCoordinatesButtonRounded.SliceCenter = Rect.new(100, 100, 100, 100)
- GrabCoordinatesButtonRounded.SliceScale = 0.060
- function Dragging(instancename, instancename2)
- local Dragging = nil
- local DragInput = nil
- local DragStart = nil
- local StartPosition = nil
- local function update(input)
- local Delta = input.Position - DragStart
- instancename2.Position = UDim2.new(StartPosition.X.Scale, StartPosition.X.Offset + Delta.X, StartPosition.Y.Scale, StartPosition.Y.Offset + Delta.Y)
- end
- instancename.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- Dragging = true
- DragStart = input.Position
- StartPosition = instancename2.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- Dragging = false
- end
- end)
- end
- end)
- instancename.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- DragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == DragInput and Dragging then
- update(input)
- end
- end)
- end
- Dragging(Main, Main)
- GrabCoordinatesButton.MouseButton1Down:Connect(function()
- setclipboard(tostring(LocalPlayer.Character.HumanoidRootPart.CFrame))
- end)
- GrabCoordinatesButton.MouseEnter:Connect(function()
- TweenService:Create(GrabCoordinatesButtonRounded, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {ImageTransparency = 0.25}):Play()
- end)
- GrabCoordinatesButton.MouseLeave:Connect(function()
- TweenService:Create(GrabCoordinatesButtonRounded, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {ImageTransparency = 0}):Play()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement