well, I wanted it to be when you collect a "star" the box would say A STAR?! here is the script
local brick = script.Parent
function onTouched(hit)
for i,player in ipairs(game.Players:GetPlayers()) do
if player.Character then
local stat = player:FindFirstChild("leaderstats")
if stat then
game.SoundService.Sound:Play()
player.leaderstats.Bonuses.Value = player.leaderstats.Bonuses.Value +1
player.leaderstats.TotalBonuses.Value = player.leaderstats.TotalBonuses.Value +1
game.StarterGui.textbox.text = ("A STAR?!") --the problem is that when i was typing textbox i could not use TAB to finish the word textbox thing. same with text
brick:Destroy()
end
end
end
end
brick.Touched:connect(onTouched)

13 comments
how do i import that textbox into playergui?
Just put it in the startergui
does this help? https://gyazo.com/cc7ebb624f9ea0807cec170386e0c420
referring to the edit, i have done that
sorry for being such a pain
Whoops I messed up
Is your game Filtering Enabled?
yep https://gyazo.com/3c66df090c46a6879ab3bf3750c28829
Ohh lemme fix this then
im so sorry but im like, confused, client, server? (this is a singleplayer game)
Wait Wait. Singleplayer? Turn off Filtering Enabled if it's single player.
0.0 SO FREAKING SORRY
OOH thanks buddy :D