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

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

Asked by 4 years ago

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)

Locked by matiss112233, Nguyenlegiahung, and BlackOrange3343

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 4 years ago

Nvm, I fixed it.

Ad