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) 😦
#Im hard stuck
1 messages · Page 1 of 1 (latest)
** You are now Level 1! **
how are u expecting any help
idk
without any code sent
you need te core script or a other script
?
😭
oh
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
yea i was follow a tutorial but i went wrong somewhere
what exactly isn’t working tho
do you know what any of this means?
like any of this script
anything?
99% no
thats what im thinking
it wont reset the tycoon or give like a tycoon rebirth +
just stop using the tutorial and follow this
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...
yea your right
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
I take mvp
** You are now Level 5! **
learn the basics
- functions
- variables
- leaderstats
- .touched events etc
- server side vs client side
- click detectors
stuff like this
hell nah