This is the game work in progress error code.
Players.maxfawks.PlayerScripts.NotificationSender:15: Incomplete statement: expected assignment or a function call
if text == "Yes!" then
if text == "No!" then
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 5
end
end
local bindableFunction = Instance.new("BindableFunction")
bindableFunction.OnInvoke = callback
re.OnClientEvent:Connect(function()
game.StarterGui:SetCore("SendNotification",
{
Title = "Owner has joined!";
Text = "I think it may be a good idea to be good;)";
Icon = "rbxassetid://156507320";
Duration = 10;
Callback = bindableFunction;
Button1 = "Yes!";
Button2 = "No!"
}
)
