
603 Views
657 Executions
Position Controller script by scripteur2bz [ open source ]
Universal Script π
Nathan_2bzscriptFirst script
2 months ago
Reviewed by QueueSherlockPaid revieweron How review works
Does it work?
No reports yetNo 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.
-- ================================================================= --
-- 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
0Log in to join the conversation. Login
No comments yet. Be the first!







