#Im hard stuck

1 messages · Page 1 of 1 (latest)

inland pond
#

so i am making a tycoon just for fun to try and learn a bit more of scripting. and it went great for a while but wen it came to rebirth it would not work. like te buttons dissapears and changes color when you can buy the rebirth but thats it. the tycoon wont reset or give you like +1 rebirth. does anyone know where the problem might be or where i could look to find it. if any question pls feel free to ask and pls help me (i did use a tutorial but it still went wrong) 😦

opaque rivetBOT
#

studio** You are now Level 1! **studio

inland pond
#

idk

raven relic
#

without any code sent

inland pond
#

you need te core script or a other script

raven relic
#

?

dusk ermine
raven relic
#

oh

inland pond
#

elseif v:FindFirstChild("Rebirth") and v.Rebirth.Value then
if player:FindFirstChild("leaderstats").Cash.Value >= v.Price.Value then
playSound(v, audio.ButtonSound.SoundId)
player.leaderstats.Cash.Value -= v.Price.Value
object[v.Object.Value].Parent = tycoon.Purchases
tycoon.Parent:FindFirstChild("RebirthTycoon"):Fire(player)
v:Destroy()
end

                            elseif v:FindFirstChild("RebirthPrice") and v.RebirthPrice.Value then
                                if player:FindFirstChild("leaderstats").Rebirths.Value >= v.RebirthPrice.Value then
                                    playSound(v, audio.ButtonSound.SoundId)
                                    player.leaderstats.Rebirths.Value -= v.RebirthPrice.Value
                                    object[v.Object.Value].Parent = tycoon.Purchases
                                    v:Destroy()
                                end

                            elseif player:FindFirstChild("leaderstats").Cash.Value >= v.Price.Value then
                                player.leaderstats.Cash.Value -= v.Price.Value
                                object[v.Object.Value].Parent = tycoon.Purchases
                                playSound(v, audio.ButtonSound.SoundId)
                                v:Destroy()
                            else
#

i think its in here

raven relic
#

you think

#

oh wait u said tutorial ok

inland pond
#

yea i was follow a tutorial but i went wrong somewhere

raven relic
#

show ur button

#

in explorer

#

ITS children

inland pond
raven relic
#

what exactly isn’t working tho

fading saffron
#

like any of this script

#

anything?

dusk ermine
#

99% no

fading saffron
#

thats what im thinking

inland pond
fading saffron
#

just stop using the tutorial and follow this

https://www.youtube.com/watch?v=9MUgLaF22Yo

This is the first episode and beginning to become a Roblox Scripter/Game Developer! With 3 playlists (Beginner, Advanced, GUI) containing 50+ videos and 30+ hours of content, I will guide you through this journey to start making the games you want to create on Roblox!

DISCORD 📜
Join my Discord Community if you want scripting help, participat...

▶ Play video
inland pond
#

i watched a couple already but wanted to try and fix this but then i wil just come back to it later

#

thanks for the respons

dusk ermine
#

I take mvp

opaque rivetBOT
#

studio** You are now Level 5! **studio

fading saffron
#

learn the basics

  • functions
  • variables
  • leaderstats
  • .touched events etc
  • server side vs client side
  • click detectors
#

stuff like this

fading saffron