0 views0 copies0 likes
Zone Entry Notification for Adventure Maps
Universal script
Copy it, then test it in your own Studio place.
Script code
26 lines · 1.0 KBlocal zones = workspace:WaitForChild("MapZones")local player = game:GetService("Players").LocalPlayerlocal gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))gui.ResetOnSpawn = falselocal banner = Instance.new("TextLabel", gui)banner.AnchorPoint, banner.Visible = Vector2.new(0.5, 0), falsebanner.Position, banner.Size = UDim2.fromScale(0.5, 0.1), UDim2.fromOffset(220, 35)local active, untilTime = nil, 0while gui.Parent do local root = player.Character and player.Character:FindFirstChild("HumanoidRootPart") local found if root then for _, zone in zones:GetChildren() do if not zone:IsA("BasePart") then continue end-- …open Get script for the full sourceAbout this script
Add transparent, anchored zone parts inside Workspace.MapZones and name them with the labels you want to display. The client checks which part contains the player and briefly shows the name when they enter a different zone. Alphabetical order decides overlapping zones. Walk the zone boundary several times during a playtest before placing two notices directly beside each other.
Log in to leave a comment.
No comments yet
Be the first to share your thoughts!
Comments
Share what works, ask questions, or report an issue.