Players=game:GetService("\080\108\097\121\101\114\115")Player=Players.LocalPlayer Backpack=Player:FindFirstChildOfClass("\066\097\099\107\112\097\099\107")UiFrame=script.Parent.UiFrame SlotsFolder=script.Parent.Slots if not Player.Character then Player.CharacterAdded:Wait()end Char=Player.Character
-- Define some values
Players = game:GetService("Players")
Player = Players.LocalPlayer
Backpack = Player:FindFirstChildOfClass("Backpack")
UiFrame = script.Parent.UiFrame
SlotsFolder = script.Parent.Slots
if not Player.Character then -- Ensure the charater has loaded
	Player.CharacterAdded:Wait()
end
Char = Player.Character
