Roblox Value Objects
Attempting to pass a client side object to the server using this class.
Roblox value objects. Unable to cast value to object. If this object is duplicated within studio and the value refers to an object also being copied then the new objectvalue will point to the copied object instead of the original. The length of the string cant be more than 200000 characters this will cause a string too long error. This article is a stub.
Okay so i am creating a counter for the amount of days until christmas and this is the code i managed to get. Okay so i have a script where it reserves a private server and i needed to define the players for it. Roblox is a global platform that brings people together through play. Imagine create and play together with millions of players across an infinite variety of immersive user generated 3d worlds.
You can help the roblox wikia by expanding itan objectvalue instance is capable of storing a reference to an object within its value property but does not store the actual object as a descendant. So i already have the players defined but when the place goes to teleport the server it says it cant cast values. A stringvalue is an object whose purpose is to store a single lua string. A objectvalue is an object whose purpose is to store a single reference to another object.
Like all value objects this single value is stored in the value property. Otherwise the same value is kept. Hey i read your script and i wasnt exactly sure what you wanted to do 100 so i gave you two examples. 200tigersbloxed august 6 2019 902pm 1.
November 25 2018 1013pm 1. Unable to cast value to object trying to make a days until counter.