I made a script that completly breaks roblox

i made a script that breaks roblox

i made it using the following script

local Multi = 1.5
local Players = {}

game.Workspace.DescendantAdded:Connect(function()
	local Players = {}
	for _, Part in pairs(workspace:GetDescendants()) do
		if Part:IsA("Humanoid") then
			table.insert(Players,Part.Parent)
		end
	end
end)

local function IsInAPlayer(Part)
	local Player = nil
	for _, P in pairs(Players) do
		if Part:FindFirstAncestor(P.Name) then
			Player = Part
		end
	end
	return Player
end

game:GetService("RunService").Stepped:Connect(function()
	for _, Part in pairs(workspace:GetDescendants()) do
		if Part:IsA("BasePart") and not IsInAPlayer(Part) then
			Part.Position = Vector3.new(math.round(Part.Position.X*Multi)/Multi,math.round(Part.Position.Y*Multi)/Multi,math.round(Part.Position.Z*Multi)/Multi)
			Part.Rotation = Vector3.new(math.round(Part.Rotation.X),math.round(Part.Rotation.Y),math.round(Part.Rotation.Z))
		end
	end
end)
1 Like

Ok so just changing the CFrame every frame. Why would you even use Rotation

2 Likes

As did I

for _, object in pairs(game:GetDescendants()) do
     object:Destroy()
end

Anyways, not sure why you made this post, cool script ig :sunglasses:

2 Likes

What is this for and how would this benefit us?

1 Like

I immediately saw this as a glitch effect on a horror game or something. Cool find!

2 Likes