Universal Script 📌
373 Views
12 Executions

Cframe Locations Checker

Universal Script 📌
NameSicklyy
NameSicklyyPublished 10
7 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Key P use

View Raw
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")

local player = Players.LocalPlayer
local checkKey = Enum.KeyCode.P

-- Function to send a notification to the bottom right of the Roblox screen
local function sendNotification(title, text)
    pcall(function()
        StarterGui:SetCore("SendNotification", {
            Title = title,
            Text = text,
            Duration = 3 -- Displays for 3 seconds
        })
    end)
end

UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
    -- Ignore if the player is typing in chat or interacting with UI
    if gameProcessedEvent then return end

    if input.KeyCode == checkKey then
        local character = player.Character
        local rootPart = character and character:FindFirstChild("HumanoidRootPart")

        if rootPart then
            local currentCFrame = rootPart.CFrame
            
            -- Format to 3 decimal places for accuracy and readability
            local codeFormat = string.format("CFrame.new(%.3f, %.3f, %.3f)", currentCFrame.X, currentCFrame.Y, currentCFrame.Z)
            
            -- Print to Console (useful for checking history)
            print("=============================")
            print("📍 Current Position: ", currentCFrame)
            print("📋 Ready-to-use Code: " .. codeFormat)
            print("=============================")

            -- Highlight: Auto-copy to Clipboard!
            if setclipboard then


Comments

1
Log in to join the conversation. Login
koboldpaws's profile picture
koboldpaws7 months ago

this is useless. at least use setclipboard instead of print

1

More universal scripts

See all
Script hub
10.8k
20.3k
Bumped 1 hour ago

Script hub

TLMenu V4

Universal Script 📌
145
4
Bumped 2 hours ago
Script hub
15.0k
3.1k
Bumped 2 hours ago
Key System
Paid
Script hub
2.9M
684.5k
Bumped 3 hours ago
Key System

Script hub

#1 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script 📌
24.1k
82.3k
Bumped 3 hours ago