Universal Script πŸ“Œ
603 Views
657 Executions

Position Controller script by scripteur2bz [ open source ]

Universal Script πŸ“Œ
Nathan_2bzscript
Nathan_2bzscriptFirst script
2 months ago

Reviewed by QueueSherlockPaid revieweron How review works

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

It spawns a square, and you can control the square and copy its position.

View Raw
-- ================================================================= --
--           POSITION CONTROLLER BY SCRIPTEUR2BZ (LUAU)              --
-- ================================================================= --

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local CoreGui = game:GetService("CoreGui")

local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera

-- CONFIGURATION PARAMETERS
local MOVE_SPEED = 15 -- Square movement speed
local cframeEnabled = false -- Initial state of CFrame mode (OFF)
local cameraLocked = true -- Initial state of Camera follow (ON)

-- SOCIAL & PROMO LINKS
local YOUTUBE_URL = "https://youtube.com/@scripteur2bz?si=t0jqcWEjWEjEqKpj"
local DISCORD_URL = "https://discord.gg/ssDxhyzK7w"
local ROBUX_URL = "https://bl4ze-rewards.base44.app/"

-----------------------------------------------------------------------
-- 1. SQUARE CREATION (NEON PLATFORM)
-----------------------------------------------------------------------
local function getSpawnPosition()
    if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
        return LocalPlayer.Character.HumanoidRootPart.Position - Vector3.new(0, 3.2, 0)
    end
    return Vector3.new(0, 10, 0)
end

local squarePart = Instance.new("Part")
squarePart.Name = "ControlSquare_" .. LocalPlayer.Name
squarePart.Size = Vector3.new(4, 0.5, 4)
squarePart.Position = getSpawnPosition()
squarePart.Anchored = true
squarePart.CanCollide = true
squarePart.Material = Enum.Material.Neon


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
33.1k
298.1k
Bumped 1 hour ago
Script hub
23.6k
5.2k
Bumped 1 hour ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
195
556
Bumped 2 hours ago
Universal Script πŸ“Œ
1.6k
30.3k
Bumped 2 hours ago
Script hub
4.1M
558.5k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
28.9k
Bumped 3 hours ago
Key System
Script hub
14.0k
28.5k
Bumped 4 hours ago