Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I'm getting something that I dont reconize, can someone help?

Asked by 10 years ago

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

1 answer

Log in to vote
0
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
10 years ago

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 ends do not correspond to anything.

Ad

Answer this question