So I ran the code below. No errors are flagged and the print command returned values that were behaving properly. In-game though the moon only spins if a value is already input for the smart property Moon Rotation and then it moves exponentially in decay to no movement instead of a linear increase as is expected and output via print command. The moon won't spin at all if the starting Vector3 for Moon Rotation is 0,0,0. What in the world is going on?
local moon = script.parent
local propRotationRate = script:GetCustomProperty("RotationRate")
local propMoonRotation = script:GetCustomProperty("MoonRotation")
local propMoonSpin = moon:GetSmartProperty("Moon Rotation")
local moonSpin = propMoonRotation
moon:RotateContinuous(propRotationRate)
function Tick()
Task.Wait(0.1)
local propMoonSpin = moon:GetSmartProperty("Moon Rotation")
local moonSpin = moonSpin + propMoonSpin
moon:SetSmartProperty("Moon Rotation", moonSpin)
print(moonSpin)
end