local Library = loadstring(game:HttpGet("https://[Log in to view URL]"))() -- defining the gui library

local Pendulum = Library:New("Sing It")
local Exploit2 = Pendulum:NewTab("rate")

local ratingInput = Exploit2:NewTextBar("Enter rating (can be negative)", "Enter rating (can be negative)", "", function(text)
    -- Store user input for later use
    local rating = tonumber(text) -- Convert input to a number
    if not rating then
        rating = 0 -- Default rating if input is invalid
    end
end)

Exploit2:NewButton("rate", "type any number on how much you want to rate them", function()
    local playerName = game.Players.LocalPlayer.Name -- Get the local player's username
    local rating = tonumber(ratingInput.Text) or 0 -- Get the rating from the text input, default to 0

    local args = {
        [1] = playerName,
        [2] = rating,
        [3] = true,
        [4] = true
    }

    game:GetService("ReplicatedStorage").Remotes.SendRatingsEvent:FireServer(unpack(args))
end)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: