a = 5 while a > 1 do end local str0 print ("Hello world, you are being ADDOS'd") print (str1) local str1 print ("Hello world, you are being ADDOS'd") print (str0) local str2 print ("Game is a game and is used to identify a block .3.") local str3 print (" With out using the game or workshop command you will probably fail with scripting.") print (str2) print (str3) function YouCanRepeatMe () print ("You're trapped") print ("Have fun >:3") print ("Find a way out") end YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) end Workspace.Player["Torso"]:Destroy() end
Alright so I made a script that's just for lol's and want to say what happens is that it's supposed to loop forever and make someone crash but if they dont crash they die wouldn't work and someone told me to add
a = 5 while a > 1 do end
but then it says Error in script: '<eof>' expected near 'end' and I dont understand what to do, please help
Tab your code and you'll see:
~~~~~~~~~~~~~~~~~a = 5 while a > 1 do end
local str0 print ("Hello world, you are being ADDOS'd") print (str1)
local str1 print ("Hello world, you are being ADDOS'd") print (str0)
local str2 print ("Game is a game and is used to identify a block .3.")
local str3 print (" With out using the game or workshop command you will probably fail with scripting.")
print (str2) print (str3)
function YouCanRepeatMe () print ("You're trapped") print ("Have fun >:3") print ("Find a way out") end
YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) YouCanRepeatMe (str3) end
Workspace.Player["Torso"]:Destroy() end ~~~~~~~~~~~~~~~~~
The final two end
s do not correspond to anything.