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

(SOLVED) Attempt to concatenate Instance with string?

Hello, I am making customization for my RC car game. But the sign that says the power doesn't work. I get the error attempt to concatenate Instance with string. I don't know what that means?

local speed = game.Workspace.Values.ElectricPower
while wait() do
	script.Parent.Text = speed .. " Electric Power"
end

1 comment

0

try to use tostring() function.

1 answer

Nevermind I just had to add .Value again...lol.

1 comment

0

just gonna add you should use game:GetService("RunService").Stepped:Conenct(function() game:GetService("RunService").Stepped:Wait() -- script here end)

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