local db = true
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
if db == true then
db = false
script.Parent.Transparency = 1
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
player.leaderstats.Bricks.Value = player.leaderstats.Bricks.Value + 1
script.Sound:Play()
wait(1)
script.Parent:Remove()
end
end
end)
So this is the script I made but I dont know how to make it only disappear on your screen but everybody can go get it

5 comments
Try putting that code in a LOCALSCRIPT. I haven't scripted in a while and know nothing about FE, but give that a try.
edit:- codeblock
I tryed that but doesnt work
Did you want it to disappear only for you? Theres nothing wrong with your code
I want to make it disappear only for me I put it in a script but it shows up for everyone when I put it in local script it wont do anything