![]() Local ke圜onnection = mouse.KeyUp:connect(function (key) If loca.Visible = false and loca2.Visible = true and .Value = true then Like, I have this script to utilize the “M” button on a Keyboard to open up a menu: key = string.lower(key) ![]() ![]() So, what are some various things that I’d need to know in order to get started?Īlso, what do I need to do to recognize Xbox Inputs? The biggest one is being unable to click on things on the screen… SaveStat(Cre.Value, obviously, there is a lot of differences of console games versus Computer/Mobile. Local leaderstats = Cre.Value:FindFirstChild("leaderstats") Local Cre = Humanoid:FindFirstChild("creator") Local Humanoid = Character:WaitForChild("Humanoid") Player.CharacterAdded:Connect(function(Character) If Use_DP then -This is either not a valid variable or you didn't define it right, not enough information This should work, but I’m not exact if it will: :Connect(function(Player) If you care at all about performance, please only use the first option - I wi… Local obj = Instance.new(‘type’, parent) fill obj fields Local obj = Instance.new(‘type’) fill obj fields Tthere are several ways to create a ROBLOX object in Lua: I’ve discovered a pretty bad performance issue in one of top games that has to do with Instance.new and wanted to write about this, since this is not obvious unless you know the system inside out. PSA: Don't use Instance.new() with parent argument Announcements
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |