#ProximityPrompt not working for house purchasing

33 messages · Page 1 of 1 (latest)

fervent raven
#

what's not working

#

os it not appearing

#

or your script not workinh

bitter ingot
#

the script

#

is not working

#

when i activate the pp

#

nothing happens

fervent raven
#

🤨🤔

bitter ingot
#

can u vc?

fervent raven
#

ill read

#

no

bitter ingot
#

ok

#

thanks tho

fervent raven
#

ill see what i can help with

#

yea idk

#

ill try later when im on pc

bitter ingot
#

@uncut drift

uncut drift
bitter ingot
#

hey

#

this was what i was having problems with

#

nothing happens when activated

uncut drift
bitter ingot
#

how do i do that

#
local claimed = pp.Parent.Claimed
#

nvm

#
local pp = script.Parent
local claimed = pp.Parent.Claimed


pp.Triggered:Connect(function(player)
    if claimed == false then
        if player.data.Values.OwnsHouse.Value == false and player.leaderstats.Coins.Value >= 5000 then
            local Playername = player.Name
            player.data.Values.OwnsHouse.Value = true
            player.leaderstats.Coins.Value = player.leaderstats.Coins.Value - 5000
            pp.Parent.Gee.Tee.Text = player.data.stats.firstName.Value.."'s House"

            player.Character.HumanoidRootPart.CFrame = CFrame.new(-2145.966, 978.685, -2184.809)

            while wait(0.1) do
                if game.Players:FindFirstChild(Playername) then
                    claimed = true
                else
                    claimed = false
                end
            end
        elseif player.data.Values.OwnsHouse.Value == true then
            local Playername = player.Name
            pp.Parent.Gee.Tee.Text = player.data.stats.firstName.Value.."'s House"

            player.Character.HumanoidRootPart.CFrame = CFrame.new(-2145.966, 978.685, -2184.809)

            while wait(0.1) do
                if game.Players:FindFirstChild(Playername) then
                    claimed = true
                else
                    claimed = false
                end
            end

        end
    end
end)
lime sage
#

@bitter ingot still need help?

olive moonBOT
#

studio** You are now Level 2! **studio

bitter ingot
#

Yes

#

@lime sage

round vector
#

What u wanna do

#

And can u show the explorer

bitter ingot
#

nvm i got it