
6.9k Views
2.4k Executions
my first script LY GUI
Universal Script 📌
c00lscripterPublished 5
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
im not sure if it works sorry
-- LocalScript: Place this in StarterPlayer > StarterPlayerScripts
-- SERVICES
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Lighting = game:GetService("Lighting")
local RunService = game:GetService("RunService")
-- PLAYER
local player = Players.LocalPlayer
-- REMOTE SETUP
local remoteEvent = ReplicatedStorage:FindFirstChild("FE_GUI_Action") or Instance.new("RemoteEvent")
remoteEvent.Name = "FE_GUI_Action"
remoteEvent.Parent = ReplicatedStorage
-- SERVER HANDLER (Runs on server using BindableEvent simulation)
if RunService:IsServer() then
local flyingPlayers = {}
local function getRootPart(character)
return character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso")
end
remoteEvent.OnServerEvent:Connect(function(player, action)
local char = player.Character
if not char then return end
local root = getRootPart(char)
if not root then return end
if action == "TeleportToSpawn" then
root.CFrame = CFrame.new(0, 10, 0)
elseif action == "PrintHello" then
print(player.Name .. " clicked Hello!")
elseif action == "ToggleFly" then
if flyingPlayers[player] then
local bv = root:FindFirstChild("BodyVelocity")
if bv then bv:Destroy() end









This is made by AI 😔
My pfp is me irl because of this
whats wrong with being a regretevator fan dude
yeah ts is AI + they a regretevator fan 😔🥀
thanks dude
good job !