Hello all, I've been trying to get a part to remove according to if a player is a specific level!
Of course, this will need to be done via a LocalScript I believe, as I only want that player to see if they're below the required level, the block, and if above, then it's gone. Now, this is for a sort of teleporter, and there is a image that will be posted ABOVE my code for this.
For better explanation, if unclear, I'd like to remove a part from the Workspace locally. How could I do this? My attempt is below!!
Any and ALL help is appreciated!
Image: https://gyazo.com/7725ad906e6bc11a79ab95d7b73f2de2
Code:
local player = game.Players.LocalPlayer
local part = script.Parent
if player.leaderstats.xp.Value > 7777 then
script.Parent:Destroy()
end

1 comment
This method didn't work either! Thank you for your attempt!