--[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] -- Function to check if the player is on the Bear team local function isPlayerOnBearTeam(player) local team = player.Team return team and team.Name == "Bear" end -- Check if the player is on the Bear team local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Name = "BearAlphaGrid" screenGui.Parent = player.PlayerGui local frame = Instance.new("Frame") frame.Name = "GridFrame" frame.Parent = screenGui frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) frame.BackgroundTransparency = 1 frame.Position = UDim2.new(0.1, 0, 0.1, 0) frame.Size = UDim2.new(0.8, 0, 0.8, 0) if isPlayerOnBearTeam(player) then -- Handle the Bear team UI -- Check if the player has a BillboardGui in the HumanoidRootPart local character = player.Character if character then local humanoidRootPart = character:WaitForChild("HumanoidRootPart") -- Add sound to HumanoidRootPart local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://3195446836" -- Bear sound sound.Parent = humanoidRootPart sound.PlaybackSpeed = 0.8 sound.Volume = 0.75 sound:Play() -- Play the sound immediately when added local billboardGui = humanoidRootPart:FindFirstChild("BillboardGui") -- If a BillboardGui does not exist, create one if not billboardGui then billboardGui = Instance.new("BillboardGui") billboardGui.Parent = humanoidRootPart billboardGui.Adornee = humanoidRootPart billboardGui.Size = UDim2.new(1, 0, 1, 0) -- Full size of the HumanoidRootPart billboardGui.AlwaysOnTop = false end -- Create or find the ImageLabels for walk1, walk2, and idle local walk1Image = billboardGui:FindFirstChild("Walk1") or Instance.new("ImageLabel") walk1Image.Name = "Walk1" walk1Image.Parent = billboardGui walk1Image.Size = UDim2.new(1, 0, 1, 0) walk1Image.Image = "rbxassetid://4707509319" -- Walk image 1 (same as provided) local walk2Image = billboardGui:FindFirstChild("Walk2") or Instance.new("ImageLabel") walk2Image.Name = "Walk2" walk2Image.Parent = billboardGui walk2Image.Size = UDim2.new(1, 0, 1, 0) walk2Image.Image = "rbxassetid://4707509319" -- Walk image 2 (same as provided) local idleImage = billboardGui:FindFirstChild("Idle") or Instance.new("ImageLabel") idleImage.Name = "Idle" idleImage.Parent = billboardGui idleImage.Size = UDim2.new(1, 0, 1, 0) idleImage.Image = "rbxassetid://4707509319" -- Idle image (same as provided) -- Function to change images when the button is pressed local function changeImageLabels() -- Set the images for walk1, walk2, and idle walk1Image.Image = "rbxassetid://4707509319" -- Walk image 1 (same as provided) walk2Image.Image = "rbxassetid://4707509319" -- Walk image 2 (same as provided) idleImage.Image = "rbxassetid://4707509319" -- Idle image (same as provided) end -- Create and add the Bear button local blueCell = Instance.new("Frame") blueCell.Name = "BlueCell" blueCell.Parent = frame blueCell.BackgroundColor3 = Color3.fromRGB(0, 0, 255) blueCell.Size = UDim2.new(0.2, 0, 0.2, 0) local bearButton = Instance.new("ImageButton") bearButton.Name = "BearButton" bearButton.Parent = blueCell bearButton.BackgroundTransparency = 1 bearButton.Image = "rbxassetid://4707509319" -- Button image (same as provided) bearButton.Size = UDim2.new(1, 0, 1, 0) bearButton.MouseButton1Click:Connect(function() changeImageLabels() end) end else -- Handle non-Bear team UI local blueCell = Instance.new("Frame") blueCell.Name = "BlueCell" blueCell.Parent = frame blueCell.BackgroundColor3 = Color3.fromRGB(0, 0, 255) blueCell.Size = UDim2.new(0.2, 0, 0.2, 0) local bearButton = Instance.new("ImageButton") bearButton.Name = "BearButton" bearButton.Parent = blueCell bearButton.BackgroundTransparency = 1 bearButton.Image = "rbxassetid://4707509319" -- Button image (same as provided) bearButton.Size = UDim2.new(1, 0, 1, 0) local messageLabel = Instance.new("TextLabel") messageLabel.Name = "MessageLabel" messageLabel.Parent = blueCell messageLabel.BackgroundTransparency = 1 messageLabel.Size = UDim2.new(1, 0, 0.2, 0) messageLabel.Position = UDim2.new(0, 0, 0.8, 0) messageLabel.Text = "Click Me!" messageLabel.TextColor3 = Color3.fromRGB(255, 255, 255) messageLabel.TextSize = 14 messageLabel.TextAlign = Enum.TextAnchor.MiddleCenter end