Disappearing Platform with a Warning thumbnail
0 views0 copies0 likes

Disappearing Platform with a Warning

Universal script

Copy it, then test it in your own Studio place.

Utilities Verified

Script code

16 lines · 0.5 KB
Download
local part = workspace:WaitForChild("BlinkPlatform")local color, opacity = part.Color, part.Transparencylocal running = falsepart.Touched:Connect(function(hit)	local model = hit:FindFirstAncestorOfClass("Model")	if running or not model or not model:FindFirstChildOfClass("Humanoid") then return end	running = true	part.Color = Color3.fromRGB(255, 177, 52)	task.wait(0.65)	part.Transparency = 1	part.CanCollide = false	task.wait(2)	part.Color, part.Transparency = color, opacity	part.CanCollide = true-- …open Get script for the full source

About this script

Create an anchored part called BlinkPlatform inside Workspace. When a character steps on it, the platform turns amber, then becomes invisible and non-collidable for two seconds. A shared busy flag stops repeated limb contacts from overlapping timers. Build a safe surrounding floor first and change the warning delay to suit how much reaction time your course needs.

Comments

Share what works, ask questions, or report an issue.

0

Log in to leave a comment.

No comments yet

Be the first to share your thoughts!

Raw Luau source

local part = workspace:WaitForChild("BlinkPlatform")
local color, opacity = part.Color, part.Transparency
local running = false
part.Touched:Connect(function(hit)
	local model = hit:FindFirstAncestorOfClass("Model")
	if running or not model or not model:FindFirstChildOfClass("Humanoid") then return end
	running = true
	part.Color = Color3.fromRGB(255, 177, 52)
	task.wait(0.65)
	part.Transparency = 1
	part.CanCollide = false
	task.wait(2)
	part.Color, part.Transparency = color, opacity
	part.CanCollide = true
	running = false
end)