Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Expected <eof> but got end error in GUI?

So, I am making a GUI, a GUI for Prison Life. I'm not doing it to exploit, I have my own game and me and my friends play together there and we "exploit", we just take those GUIs and put them in the game. I have a copy of Prison Life, and I made this GUI, for us to have fun with.

REMOVED

is the script, I converted it to Lua so that someone could help, I'd appreciate it if you help, and no I will not release this script to exploiters (I'm going to edit this right after I fix it).

In Roblox Studio it shows that the error is in line 1265.

It is fixed now, it turns out I didn't need any help.

4 comments

1

Are you saying that you want us to find the error in this 1300+ lines script?

0

You're trolling, right? That script is 1300 lines and you didnt say what line the error was. Provide a bit more info please.

0

No, in roblox studio it shows that the error is in line 1265.

0

Sorry, that no was for the first comment,

1 answer

Replace 1249-1267 to this, it may fix it

for i,v in pairs(game.Teams["Guards"]:GetPlayers()) do
	if v.Name ~= game:GetService('Players').LocalPlayer.Name then
		pcall(function()
			v.Character.HumanoidRootPart.Size = Vector3.new(_G.HeadSize,_G.HeadSize,_G.HeadSize)
			v.Character.HumanoidRootPart.Transparency = 0.7
			v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really blue")
			v.Character.HumanoidRootPart.Material = "Neon"
			v.Character.HumanoidRootPart.CanCollide = false
			end)
			if _G.Reset then
				if v.Character.Humanoid.Health == 0 then
					v.Character.HumanoidRootPart.Size = Vector3.new(1,1,1)
				end
			end
		end)
	end
end

This discussion is preserved as it was. New answers, comments, and votes are closed.