Universal Script 📌
3.3k Views
19 Executions

remic82 cool gui

Universal Script 📌
c00lscripter
c00lscripterPublished 5
1 year 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

it can close itself, i think its the only one that works lmao

View Raw
-- 🔰 Remic82 Super GUI - Single Script (LocalScript in 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

-- CREATE REMOTEEVENT IF NOT EXISTS
local remoteEvent = ReplicatedStorage:FindFirstChild("Remic82_Remote")
if not remoteEvent then
	remoteEvent = Instance.new("RemoteEvent")
	remoteEvent.Name = "Remic82_Remote"
	remoteEvent.Parent = ReplicatedStorage
end

-- SERVER-SIDE LOGIC (for Studio playtest)
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 == "Teleport" then
			root.CFrame = CFrame.new(0, 10, 0)

		elseif action == "ToggleFly" then
			if flyingPlayers[player] then
				local bv = root:FindFirstChild("BodyVelocity")
				if bv then bv:Destroy() end


Comments

2
Log in to join the conversation. Login
BANGscripts's profile picture
BANGscripts1 year ago

Written by AI (LocalScript in StarterPlayerScripts) only AI would put that because you probably requested "Can i have a local script that sucks * but will make me look cooler"

1
Goldknow's profile picture
Goldknow1 year ago

the buttons don't work

1

More universal scripts

See all
Universal Script 📌
136
522
Bumped 21 minutes ago
Universal Script 📌
1.5k
30.2k
Bumped 22 minutes ago
Script hub
4.1M
558.5k
Bumped 45 minutes ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.4k
28.8k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.4k
Bumped 3 hours ago
Universal Script 📌
339.0k
75.0k
Bumped 3 hours ago
Script hub
462.0k
990.4k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!