Universal Script 📌
318 Views
31 Executions

Freecam

Universal Script 📌
HFJS
HFJSFirst script
8 months 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

Toggleable freecam

View Raw
--// Services
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

--// Player
local player = Players.LocalPlayer
local camera = workspace.CurrentCamera

--// State
local freeCamEnabled = false
local renderConnection
local currentCharacter = player.Character or player.CharacterAdded:Wait()

player.CharacterAdded:Connect(function(char)
	currentCharacter = char
end)

--// =========================
--// GUI
--// =========================

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FreeCamGui"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.Parent = player:WaitForChild("PlayerGui")

-- Main Window
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.fromOffset(280, 140)
mainFrame.Position = UDim2.fromScale(0.5, 0.5)
mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
mainFrame.BackgroundColor3 = Color3.fromRGB(255,255,255)
mainFrame.BorderSizePixel = 0
mainFrame.Parent = screenGui

Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0,12)

-- Title


Comments

2
Log in to join the conversation. Login
adventuroussparrow9's profile picture
adventuroussparrow98 months ago

ww

1
INRI's profile picture
INRI8 months ago

W

1

Tags

More universal scripts

See all
Universal Script 📌
4.3k
12.8k
Bumped 28 minutes ago
Universal Script 📌
172.0k
108.0k
Bumped 2 hours ago
Script hub
5.5M
1.0M
Bumped 5 hours ago
Key System
Script hub
150.5k
463.0k
Bumped 6 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub | Easy Key System

Script hub
3.3k
3.8k
Bumped 6 hours ago
Key System
Universal Script 📌
811
798
Bumped 7 hours ago