Universal Script 📌
954 Views
1.7k Executions

Custom Security Camera Tool (With Weld & Attach)

Universal Script 📌
Cortlandscripter
CortlandscripterFirst script
3 months ago

Reviewed by ThunderModsScriptBlox staffon How review works

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

A clean, fully local security camera script. It creates a simple UI that allows you to set up a hidden camera anywhere in the game world, unanchor it, or weld/attach it directly to moving or static base parts. Control everything toggleable via buttons. No external links.

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local camera = workspace.CurrentCamera
local mouse = player:GetMouse()

local cameraPart = nil
local watching = false
local placingCamera = false
local attachingCamera = false

--// GUI
local gui = Instance.new("ScreenGui")
gui.Name = "CameraGui"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 240, 0, 200)
frame.Position = UDim2.new(0, 20, 0.5, -100)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 0
frame.Parent = gui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 10)
corner.Parent = frame

--// Create button
local function createButton(text, y, color)

	local button = Instance.new("TextButton")

	button.Size = UDim2.new(1, -20, 0, 40)
	button.Position = UDim2.new(0, 10, 0, y)

	button.Text = text
	button.TextColor3 = Color3.new(1, 1, 1)
	button.TextSize = 16


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
17
3
Approved 38 minutes ago
Universal Script 📌
39
1
Approved 2 hours ago
Script hub
200
1.0k
Bumped 4 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
221.8k
Bumped 4 hours ago
Key System
Script hub
10.7k
202.7k
Bumped 4 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1