So I have gotten Into a problem where I am trying to have a notification pop up when It touched a part however the problem Is that It doesn't show let me break It down:
This Is the part: (Note: The part Is Inside of a model)
local part = script.Parent local function findBot() game.StarterGui.findBot.Disabled = false wait(0.1) game.StarterGui.findBot.Disabled = true end part.Touched:Connect(findBot)
This Is the starterGUI local script:
local part = script.Parent local function findBot() game.StarterGui.findBot.Disabled = false wait(0.1) game.StarterGui.findBot.Disabled = true end part.Touched:Connect(findBot)
Hopefully this Is enough Information to get you started on nerfing It, thank you!
You should change PlayerGui not the StarterGui, for example:
game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui").findBot.Disabled = true
not
game.StarterGui.findBot.Disabled = true
Full script:
local part = script.Parent local function findBot() game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui").findBot.Disabled = false wait(0.1) game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui").findBot.Disabled = true end part.Touched:Connect(findBot)