#Coin / touch earn 1 coins
1 messages · Page 1 of 1 (latest)
make me a coin script like when u touch the coin part it gives u 1 coins in leaderstat and the coin part disappears for 5 seconds
dont ask us to make shit
you should have something already
then ask for help if you dont get it
Why its the help thing for then?
for people that need help on something
not for people that want something made for them
But its not working
before if Hit.Parent:FindFirstChild... put print("Touched by:", Hit)
no
K
check output
Bruh idk why it doesn’t work
u could js do a while loop and when its running clone the model of the coin, and when the clone is touched you can do clone:Destroy(). smth like
while true do
task.wait()
local clone = (put the directory of the reference model here):Clone
clone.Parent = Workspace
clone.Position = (put a math.random thing here im too lazy)
clone.touched:connect(function(hit)
do the logic for it here. then at the end do
clone:Destroy()
end)
if u js do the transparency of the part to 0 the part is still gonna be there instead of js destroying it. also if you want code to copy and paste go ask chatgpt brah
im not writing the whole thing
😨
oh my god
when its invisible
you do NOT need a while true loop for this
i still can touch it
thanks for help thi
bc im not spending time making a whole script for that 😭
tho
it could be on any condition i js did while true because its easy
yeah thats why u destroy it after its invisible