RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"script a tool that makes the player shrink when player left clicks with tool equipped."
-- local script inside the tool local tool = script.Parent local mouse = game.Players.LocalPlayer:GetMouse() local function shrink() local player = game.Players.LocalPlayer local character = player.Character if character then for _, part in ipairs(character:GetChildren()) do if part:IsA("BasePart") then part.Size = part.Size / 2 end end end end tool.Activated:Connect(shrink)