ok so i posted this script like 3 times and here is the last problem, after roblox stops talking i want it to popup a gui, i just cant get it to work, how would i fix this?
Debounce = false
function onTouched(Hit)
local Player = Hit.Parent and Hit.Parent:FindFirstChild("Humanoid") and Hit.Parent.Humanoid.Health > 0 and game.Players:GetPlayerFromCharacter(Hit.Parent)
if Player then
local plr = game.Workspace:FindFirstChild(Player.Name)
game:GetService("Chat"):Chat(script.Parent.Head, "Somethings Wrong. HMM", Enum.ChatColor.Blue)
wait(4)
game:GetService("Chat"):Chat(script.Parent.Head, "OH I NOW KNOW, ITS THE PART UPDATE *i don wanna get banned* so ill make him look even better", Enum.ChatColor.Blue)
wait(5)
game.Workspace.Stan.FakeShirt.Transparency = 1
game.Workspace.Stan.fakeleg.Transparency = 1
game:GetService("Chat"):Chat(script.Parent.Head, "You Are getting banned today", Enum.ChatColor.Blue)
if Hit.Parent:FindFirstChild("Humanoid") then
Players.LocalPlayer.PlayerGui.Frame.Visible=true
end
end
end
script.Parent.Touched:connect(onTouched)
