He currently works as a builder and has been commissioned by groups such as Trade. Prior to this, he was not well known outside of groups dedicated to 'bhopping' and 'surfing'. It also removes the unnecessary if statement inside the event handler.Page last updated on Jr0cu is a Roblox player who is notable for having won the one-of-a-kind Dominus Venari from the Ready Player One event. This script will continuously check if the player is seated or not and enable/disable the backpack accordingly. Here’s an updated version of your script: local player = game:GetService("Players").LocalPlayerĬ:Connect(checkSeated) ![]() The game.StarterGui:SetCoreGuiEnabled(, false) line is being called twice, so you can remove the first one. The checkSeated() function is only being called once at the start of the script, so it won’t continuously check if the player is seated or not. The backpack variable is not being used, so it can be removed. There are a couple of issues with your script: Game.StarterGui:SetCoreGuiEnabled(, true) Game.StarterGui:SetCoreGuiEnabled(, false)Ĭ:Connect(function(isSeated) Local backpack = game.StarterGui:SetCoreGuiEnabled() ![]() Local character = player.Character or player.CharacterAdded:Wait() My script below: local player = game:GetService("Players").LocalPlayer The scripts that I have tried in the past, I have placed them in StarterPlayerScripts or StarterPack. I have found no luck from all the script I have tried. I have been trying to create a simple script that automatically disables the toolbar when a player is seated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |