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

Expected 'end' (to close 'function' at line 26), got <eof>?

rEvents.CreateVote.OnClientEvent:Connect(function(name,imageId) local image = Instance.new("ImageButton",voteFrame) image.Name = name image.BorderSizePixel = 0 image.BackgroundTransparency = 0.65 image.BackgroundColor3 = Color3.fromRGB(0,0,0) image.Image = "rbxassetid://".. imageId

image.MouseButton1Click:Connect(function()
	if currentVote == image then 
	
	else
		currentVote = image
		rStorage.AddVote:FireServer(name)
	end	
end)

configs.Status:GetPropertyChangedSignal("Value"):Connect(function() interText.Text = configs.Status.Value end)

1 answer

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