Local script
function Pieper() if workspace.ambulancemembers:FindFirstChild(game.Players.LocalPlayer.Name) then script.Parent.Parent.Enabled = true wait(15) script.Parent.Parent.Enabled = false end end game:GetService("ReplicatedStorage").CallAmbu.OnClientEvent:Connect(Pieper)
This is in a GUI Localscript
requested = false script.Parent.InputBegan:connect(function(t) if t.UserInputType == Enum.UserInputType.MouseButton1 and not requested then requested = true game.ServerStorage.Dead.Value = game.Players.LocalPlayer.Name game:GetService("ReplicatedStorage").CallAmbu:FireServer() script.Parent.Text = "Ambulance is requested" end end)
This is in a GUI to I did this but it isn't working no anyone who is in that folder don't see the GUI?