Universal Script 📌
1.0k Views
186 Executions

Show all Parts or Triggers

Universal Script 📌
AzScripter
AzScripter1M views
11 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

Features: - The feature of this script is to show parts or blocks that are not visible or transparency 1 - Delete parts, blocks, triggers that are not visible tool

View Raw
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local StarterGui = game:GetService("StarterGui")
local CollectionService = game:GetService("CollectionService")

local player = Players.LocalPlayer
local mouse = player:GetMouse()

if not game.IsLoaded then game.Loaded:Wait() end

local TAG = "NeonReveal"
local isRevealed = true
local currentHighlight = nil

local function processInvisiblePart(part)
	if not part:IsA("BasePart") then return end
	if CollectionService:HasTag(part, TAG) then return end
	if part.Transparency ~= 1 then return end

	part:SetAttribute("OriginalMaterial", part.Material.Name)
	CollectionService:AddTag(part, TAG)
	
	if isRevealed then
		part.Transparency = 0.8
		part.Material = Enum.Material.Neon
	else
		part.Transparency = 1
		part.Material = Enum.Material[part:GetAttribute("OriginalMaterial")]
	end
end

task.wait(2)
for _, obj in ipairs(Workspace:GetDescendants()) do
	processInvisiblePart(obj)
end

Workspace.DescendantAdded:Connect(function(obj)
	if obj:IsA("BasePart") then
		task.wait(0.1)
		processInvisiblePart(obj)


Comments

6
Log in to join the conversation. Login
SyncScripts's profile picture
SyncScripts11 months ago

Yeah how are you this good at scripting

2
Uhrvns's profile picture
Uhrvns11 months ago

How u so good at making script like this

2
AzScripter's profile picture
AzScripterUploader11 months ago

@Oehx Halah nyocot 😹

2
BlueTheGamer's profile picture
BlueTheGamer10 months ago

is this a refrerence to that source engine command where you can see triggers(showtriggers_toggle)

1
AzScripter's profile picture
AzScripterUploader11 months ago

you can remove jumpscare trigger, or any triggers

1
ninjaBoi's profile picture
ninjaBoi1 month ago

@AzScripter Hey so .. Can you make a same script like here for a game etoh? it has a checkpoint system which r invisible but it doesnt show in ur script

1

Tags

More universal scripts

See all
Universal Script 📌
3.8k
184.5k
Bumped 3 hours ago
Script hub
340
31
4 hours ago
Universal Script 📌
28.6k
663.4k
Bumped 6 hours ago
Script hub
13.7k
2.7k
Bumped 8 hours ago
Key System
Paid
Script hub
263.7k
88.1k
Bumped 8 hours ago
Key System
Universal Script 📌
2.9k
9.5k
Bumped 9 hours ago
Universal Script 📌
613
38
Approved 9 hours ago
Universal Script 📌
647
36
Approved 9 hours ago