Universal Script 📌
3.3k Views
16 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
Script hub
2.9M
1.1M
Bumped 2 hours ago
Key System

Script hub

#10 today

CanHub V2 200 GAMES KEYLESS

Script hub
5.5M
1.0M
Bumped 3 hours ago
Key System
Script hub
1.7M
2.2M
Bumped 3 hours ago
Key System

Script hub

#16 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
14.6k
83.0k
Bumped 3 hours ago
Key System

Script hub

Kronos New

Script hub
3.2M
753.8k
Bumped 6 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
493
1.2k
Bumped 8 hours ago
Key System
Universal Script 📌
7.2k
142.9k
Bumped 8 hours ago