Universal Script 📌
10.5k Views
1.2k Executions

FreecamX

Universal Script 📌
ExoTheOneAndOnly
ExoTheOneAndOnlyFirst script
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

This script creates a full freecam system that works on both PC and mobile. On PC you can toggle freecam with the F key, move with WASD and QE, change FOV with the arrow keys, and look around by holding right click. There is also a camera speed panel you can drag around that lets you increase or decrease how fast the camera moves. On mobile there is a toggle button that lets you enter and exit freecam. When freecam is on you will see buttons for changing FOV, a camera speed panel, and two touch pads. The left pad is for moving and the right pad is for looking around, just like a thumbstick setup. When you leave freecam those extra controls hide again and your camera goes back to normal. The GUI uses a clean black and white style with rounded corners and a professional font. Everything the script needs is created by itself so you can just drop it in as a LocalScript inside StarterGui and it will work right away. BE WARNED THIS SCRIPT IS STILL IN BETA!!!

View Raw
local uis = game:GetService("UserInputService")
local rs = game:GetService("RunService")
local plr = game.Players.LocalPlayer
local cam = workspace.CurrentCamera
local pg = plr:WaitForChild("PlayerGui")
local char = plr.Character or plr.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FreecamX"
screenGui.Parent = pg

local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0,300,0,120)
mainFrame.Position = UDim2.new(0.5,-150,0.5,-60)
mainFrame.BackgroundColor3 = Color3.new(0,0,0)
mainFrame.BorderSizePixel = 0
mainFrame.Parent = screenGui
local cornerMain = Instance.new("UICorner")
cornerMain.CornerRadius = UDim.new(0,12)
cornerMain.Parent = mainFrame

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1,0,0.3,0)
title.BackgroundTransparency = 1
title.Text = "Choose Device"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.SourceSansSemibold
title.TextScaled = true
title.Parent = mainFrame

local pcButton = Instance.new("TextButton")
pcButton.Size = UDim2.new(0.5,-5,0.7,0)
pcButton.Position = UDim2.new(0,0,0.3,0)
pcButton.BackgroundColor3 = Color3.new(0.1,0.1,0.1)
pcButton.Text = "PC"
pcButton.TextColor3 = Color3.new(1,1,1)
pcButton.Font = Enum.Font.SourceSansSemibold
pcButton.TextScaled = true
pcButton.Parent = mainFrame


Comments

3
Log in to join the conversation. Login
scriptv3r's profile picture
scriptv3r1 year ago

but please make our character stop every time we use freecan

1
scriptv3r's profile picture
scriptv3r1 year ago

a like for not locking the mouse in one place !

1
Odetari's profile picture
Odetari1 year ago

nice

1

Tags

More universal scripts

See all
Script hub
16.0k
93.4k
Bumped 29 minutes ago
Key System

Script hub

Kronos New

Universal Script 📌
48.5k
46.6k
Bumped 3 hours ago
Universal Script 📌
1.5k
1.3k
Bumped 6 hours ago
Universal Script 📌
4.2k
56.5k
Bumped 7 hours ago
Universal Script 📌
7.1k
71.8k
Bumped 7 hours ago
Script hub
3.5M
1.2M
Bumped 8 hours ago
Key System