Hello I was wondering how I could fix my script.
local part = game.Workspace.Generator
local NumBlocks = game.StarterGui.ScreenGui.NumBlocks
local User = NumBlocks.Parent.User
local Rating = NumBlocks.Parent.Rating
local IntValue = game.ReplicatedStorage.Value
while true do
local LagPart = Instance.new("Part", game.Workspace)
LagPart.CFrame = LagPart.CFrame * part.CFrame
LagPart.Transparency = 1
IntValue.Value = IntValue.Value + 1
wait(0.1)
print(IntValue)
end
So when I print it it just prints Value and how many times it has been printed. I want to make it so that it will print a number thank you.

8 comments
I dont understand the question here.
What do you mean it prints value?
So when I run this it prints a string and i want to print a intiger
What's the string value that it's printing?
it is printing the word Value and this is the name of my IntValue
Make sure the actual value object is a int value and not a string value.
It is an int
Apple check my answer