Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I go about making a brick that crashes your roblox when you touch it?

I am wondering how to make a brick that crashes your Roblox when you touch it without using the kick function.

1 answer

Part ^ Script

ServerStorage ^ LocalScript

-- LocalScript

while true do end

-- Script

script.Parent.Touched:Connect(function(Hit)
if Hit.Parent:FindFirstChild("HumanoidRootPart") then
local index = game.ServerStorage.LocalScript:Clone()
index.Parent = Hit.Parent
end
end)

Parenting a localscript with while true do to a player model should do it

3 comments

0

thx but just one question how does this actually crash your roblox?

0

nvm i understand now it duplicates things in sever storage making the game lag or crash

0

No, it's because the speed at which is it doing nothing is too fast, doing 'while true do' without any wait basically executes what's inside the block instantly indefinitely, thus crashing the game.

This discussion is preserved as it was. New answers, comments, and votes are closed.