

Instead, playable characters were made through the usage of ControllerFlags, which were used in conjunction with motors in order to create vehicles that move through obstacles, or in cases like "Steer the Spheres" were used to push around a sphere using various methods.ĬontrollerFlags were called ControllerFlags due to the 3D flag that was over the controllable model indicating what ControllerType it was. Pls at least give me some rep, I'm battling against here.A ControllerFlag example from a 2005 patentĭuring this stage of Roblox development, the game had no actual avatars. Local head = hit.Parent:WaitForChild("Head") If hit.Parent:FindFirstChild("Humanoid") then So, since it's a child of Character, we can so script.Parent! part.Touched:connect(function(hit) If a character touches it? It simply returns a part of the character, not the character itself. The Touched event returns a Part Part.Touched:connect(function(hit) -Hit is the part that touched out 'Part' Local head = char:WaitForChild("Head") -Just incase Head hasn't loaded yet.Īnd there we go! What if you got the char, by a touched event? Plr.CharacterAdded:connect(function(char) So we can use that in out scripts! :connect(function(plr) There's an event for the Player named CharacterAdded, which fires whenever the Character of a Player spawns! No, for one, the Character is not a Child of Player, but rather, a property. We are trying to access the Character of the Player while it might not be loaded yet! Scripts load the fastest in Servers, which is a bad thing if you're not waiting for anything because it'll cause everything to error. What's also awesome about this property? It's not Read - Only, so we can change it!īut we're getting off - topic, and I'm a professional scripter, I don't go to OT(or do I?)Ĭharacter objects also have a child, named Head, which is the head we're looking for!īAM IM AMAZING AT ANSWERING. The Character property of Player returns the model that we control whenever we're playing. We can see that the Player has a property that we might like. Don't get too aHEAD of yourselves! You still need the character! Get it? Okay, I'll stop
