#Trying to create a line to game - scripts aren't working

1 messages · Page 1 of 1 (latest)

shut folio
#

I'm new to creating games so the error might be a simple spelling mistake. Could some please have a look though ( I can't find the error).

crying

static valley
#

well first of all
the first one line 96 should be getPlayers

#

for _, otherPlayer in ipairs(Players:GetPlayers()) do

#

for _, otherPlayer in ipairs(Players:getPlayers()) do

#

in line 80 theres a random +

#

if lastTile and not tileInUse then+

#

Line 91 "if currentTile > 1 then" is this intentional? i think its meant to be currentTileNumber

sonic yokeBOT
#

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

static valley
#

thx mee6

#

im not sure what else there is if somebody could help pls but theres my answer for u c:

shut folio
#

thanks really appreciate your help @static valley

shut folio
#

If anyone else is reading this some bugs from my code are:

  • not resetting money when going back in line
  • not moving player to other square (teleporting)
  • if more then 1 player in the game then once the line queue is done the second square doesn't delete and first place get stuck
  • first place make the least money
  • my script for turning the gui red is broken

any help is appreciated🙏

LMK if you want other bits of the code

latent coral
#

holy nesting