RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"if I move my mouse the color of the black screen changes"
-- Local Script in StarterGui local player = game.Players.LocalPlayer local mouse = player:GetMouse() local screenGui = Instance.new("ScreenGui") local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 1, 0) frame.BackgroundColor3 = Color3.new(0, 0, 0) frame.Parent = screenGui screenGui.Parent = player.PlayerGui mouse.Move:Connect(function() local randomColor = Color3.fromRGB(math.random(0, 255), math.random(0, 255), math.random(0, 255)) frame.BackgroundColor3 = randomColor end)