#My Tycoon buy button doesnt desapear when i step on it and idk what is wrong
1 messages · Page 1 of 1 (latest)
** You are now Level 4! **
Where is the script. It says that 2 variables are the parent so is the script right inside the button
@gleaming viper
When you step on the button, it’s supposed to detect that a player touched it and then make it disappear.
But in the original script, the line local character = hit.Parent doesn’t always find the player’s character correctly, because the thing that touches the button (the “hit” part) could be any part of your body, like a foot or arm.
Script is probably in the wrong location
Both the collector and buy button are "script.Parent," which can't be true since they're different parts
This isn't the problem. The game.Players:GetPlayerFromCharacter(character) is taking care of player detection
** You are now Level 13! **
ohhh