RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make all players fling when a player clicks a ui button and buys a developer product"
-- local script local button = script.Parent local function fling() for _, player in pairs(game.Players:GetPlayers()) do player.Character:SetPrimaryPartCFrame(CFrame.new(player.Character.PrimaryPart.Position + Vector3.new(0, 10, 0))) player.Character.Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) end end button.Activated:Connect(fling)