Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CoordinateGenerator = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Transparency = Instance.new("ScrollingFrame")
- local Settings = Instance.new("TextLabel")
- local Coordinates = Instance.new("TextLabel")
- local Copy = Instance.new("TextButton")
- local Info = Instance.new("TextLabel")
- local Logbtn = Instance.new("TextButton")
- local Log = Instance.new("TextButton")
- local Close = Instance.new("ImageButton")
- local Main_2 = Instance.new("ImageLabel")
- local Logger = Instance.new("ScrollingFrame")
- local UIController = Instance.new("UIListLayout")
- -- Properties
- CoordinateGenerator.Name = "CoordinateGenerator"
- CoordinateGenerator.Parent = game.CoreGui
- Main.Name = "Main"
- Main.Parent = CoordinateGenerator
- Main.Active = true
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.BorderSizePixel = 0
- Main.Draggable = true
- Main.Position = UDim2.new(0.0636864603, 0, 0.638141811, 0)
- Main.Size = UDim2.new(0, 317, 0, 185)
- Transparency.Name = "Transparency"
- Transparency.Parent = Main
- Transparency.BackgroundColor3 = Color3.new(0.513726, 0.513726, 0.513726)
- Transparency.BorderSizePixel = 0
- Transparency.Position = UDim2.new(3.7252903e-09, 0, 0.940577686, 0)
- Transparency.Size = UDim2.new(0, 190, 0, 11)
- Transparency.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Transparency.CanvasSize = UDim2.new(0, 200000, 0, 0)
- Transparency.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Settings.Name = "Settings"
- Settings.Parent = Main
- Settings.BackgroundColor3 = Color3.new(1, 1, 1)
- Settings.BackgroundTransparency = 1
- Settings.Position = UDim2.new(0, 0, 0.789802194, 0)
- Settings.Size = UDim2.new(0, 200, 0, 25)
- Settings.Font = Enum.Font.SourceSansLight
- Settings.FontSize = Enum.FontSize.Size32
- Settings.Text = "Transparency"
- Settings.TextSize = 31
- Settings.TextXAlignment = Enum.TextXAlignment.Left
- Settings.TextYAlignment = Enum.TextYAlignment.Bottom
- Coordinates.Name = "Coordinates"
- Coordinates.Parent = Main
- Coordinates.BackgroundColor3 = Color3.new(1, 1, 1)
- Coordinates.BorderSizePixel = 0
- Coordinates.Position = UDim2.new(0.14037855, 0, 0.162162155, 0)
- Coordinates.Size = UDim2.new(0, 228, 0, 63)
- Coordinates.Font = Enum.Font.SourceSansLight
- Coordinates.FontSize = Enum.FontSize.Size14
- Coordinates.TextColor3 = Color3.new(0.509804, 0.796079, 1)
- Coordinates.TextScaled = true
- Coordinates.TextSize = 14
- Coordinates.TextWrapped = true
- Coordinates.Text = "Waiting for child..."
- Copy.Name = "Copy"
- Copy.Parent = Main
- Copy.BackgroundColor3 = Color3.new(0.262745, 0.768628, 1)
- Copy.BorderSizePixel = 0
- Copy.Position = UDim2.new(0.305993676, 0, 0.502702713, 0)
- Copy.Size = UDim2.new(0, 124, 0, 14)
- Copy.Font = Enum.Font.SourceSans
- Copy.FontSize = Enum.FontSize.Size14
- Copy.Text = "Copy"
- Copy.TextSize = 14
- Info.Name = "Info"
- Info.Parent = Main
- Info.BackgroundColor3 = Color3.new(1, 1, 1)
- Info.BackgroundTransparency = 1
- Info.Position = UDim2.new(0.630914807, 0, 0.654054046, 0)
- Info.Size = UDim2.new(0, 117, 0, 50)
- Info.Font = Enum.Font.SourceSansLight
- Info.FontSize = Enum.FontSize.Size14
- Info.TextScaled = true
- Info.TextSize = 14
- Info.TextWrapped = true
- Logbtn.Name = "Logbtn"
- Logbtn.Parent = Main
- Logbtn.BackgroundColor3 = Color3.new(0.262745, 0.768628, 1)
- Logbtn.BorderSizePixel = 0
- Logbtn.Position = UDim2.new(0.305993676, 0, 0.610810816, 0)
- Logbtn.Size = UDim2.new(0, 124, 0, 14)
- Logbtn.Font = Enum.Font.SourceSans
- Logbtn.FontSize = Enum.FontSize.Size14
- Logbtn.Text = "Open log"
- Logbtn.TextSize = 14
- Log.Name = "Log"
- Log.Parent = CoordinateGenerator
- Log.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- Log.BorderSizePixel = 0
- Log.Draggable = true
- Log.Position = UDim2.new(0.470300049, 0, 0.290953547, 0)
- Log.Size = UDim2.new(0, 426, 0, 34)
- Log.Visible = false
- Log.Font = Enum.Font.SourceSansLight
- Log.FontSize = Enum.FontSize.Size48
- Log.Text = "Syntax's Coordinate Generator"
- Log.TextColor3 = Color3.new(1, 1, 1)
- Log.TextScaled = true
- Log.TextSize = 38
- Log.TextWrapped = true
- Log.TextXAlignment = Enum.TextXAlignment.Left
- Log.TextYAlignment = Enum.TextYAlignment.Bottom
- Close.Name = "Close"
- Close.Parent = Log
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BackgroundTransparency = 1
- Close.Position = UDim2.new(0.920187771, 0, 0.0588235259, 0)
- Close.Size = UDim2.new(0, 30, 0, 30)
- Close.Image = "rbxassetid://1375879623"
- Main_2.Name = "Main"
- Main_2.Parent = Log
- Main_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Main_2.BorderSizePixel = 0
- Main_2.Position = UDim2.new(-0.00234741787, 0, 1, 0)
- Main_2.Size = UDim2.new(0, 427, 0, 243)
- Main_2.Image = "rbxassetid://585867512"
- Main_2.ImageColor3 = Color3.new(0.462745, 0.462745, 0.462745)
- Logger.Name = "Logger"
- Logger.Parent = Main_2
- Logger.BackgroundColor3 = Color3.new(1, 1, 1)
- Logger.BackgroundTransparency = 1
- Logger.BorderSizePixel = 0
- Logger.Size = UDim2.new(0, 427, 0, 243)
- Logger.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Logger.CanvasSize = UDim2.new(0, 0, 1.20000005, 0)
- Logger.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- UIController.Parent = Logger
- Info.Text = "X Axis, Y Axis, Z Axis"
- local function Errorlog(text)
- local LogText = Instance.new("TextLabel")
- LogText.Name = "LogText"
- LogText.Parent = Logger
- LogText.BackgroundColor3 = Color3.new(1, 1, 1)
- LogText.BackgroundTransparency = 1
- LogText.BorderSizePixel = 0
- LogText.Position = UDim2.new(-0.958, LogText.Position.X.Offset, LogText.Position.Y, LogText.Position.Y.Offset)
- LogText.Size = UDim2.new(0, 410, 0, 50)
- LogText.Font = Enum.Font.SourceSansLight
- LogText.FontSize = Enum.FontSize.Size24
- LogText.Text = text
- LogText.TextColor3 = Color3.new(1, 0.00784314, 0.00784314)
- LogText.TextScaled = true
- LogText.TextSize = 19
- LogText.TextWrapped = true
- LogText.TextXAlignment = Enum.TextXAlignment.Left
- LogText.TextYAlignment = Enum.TextYAlignment.Top
- Logger.CanvasSize = UDim2.new(0, 0, Logger.CanvasSize.Y.Offset+3, 0)
- end
- Close.MouseButton1Up:connect(function()
- Log.Visible = false
- end)
- Logbtn.MouseButton1Up:connect(function()
- Log.Visible = true
- end)
- if Synapse ~= nil then
- Copy.Visible = true
- Copy.MouseButton1Down:connect(function()
- local LC = game.Players.LocalPlayer.Character
- Synapse:CopyString(LC.HumanoidRootPart.Position.X..", "..LC.HumanoidRootPart.Position.Y..", "..LC.HumanoidRootPart.Position.Z)
- end)
- else
- Copy.Visible = false
- end
- local max = Transparency.CanvasSize.X.Offset - 1000
- Transparency:GetPropertyChangedSignal("CanvasPosition"):Connect(function()
- Main.BackgroundTransparency = Transparency.CanvasPosition.X / max * 1.1
- Settings.TextStrokeTransparency = Main.BackgroundTransparency
- end)
- game.StarterGui:SetCore("SendNotification", {
- Title = "Success!";
- Text = "The Coordinate Generator has loaded!";
- })
- while wait() do
- local LC = game.Players.LocalPlayer.Character
- if game.Players.LocalPlayer.Character == nil then
- Errorlog("Character not found! This issue could be caused by custom game functions. Please wait until character loads!")
- game.StarterGui:SetCore("SendNotification", {
- Title = "Error";
- Text = "Character not found! This issue could be caused by custom game functions. Please wait until character loads!";
- })
- wait(5)
- else
- local LC = game.Players.LocalPlayer.Character
- if LC.HumanoidRootPart ~= nil then
- Coordinates.Text = LC.HumanoidRootPart.Position.X.." "..LC.HumanoidRootPart.Position.Y.." "..LC.HumanoidRootPart.Position.Z
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement