I'm making a quest system and I want the player to receive half of what the quest wants the player to get in money.
local plr = game.Players.LocalPlayer
local q = plr:WaitForChild("QuestGrass")
local qa = plr:WaitForChild("QuestActive")
script.Parent.Changed:Connect(function()
script.Parent.TextArea.Text = "Hey there can you get me " .. q.Value .. " Grass and I'll give you $" .. q.Value/2 .. " in return"
end)

1 comment
math.floor()