Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char = [[qwertyuiop\\asdfghjkl;'zxcvbnm,./QWERTYUIOOP{}|ASDFGHJKL:"ZXCVBNM<>?!@#$%^&*()_+1234567890-=]]
- function findobj(o)
- pcall(function()
- --if game:service("Players"):GetPlayerFromCharacter(o) == nil then
- local txt = ""
- for i = 1, math.random(1, 40) do
- local numb = math.random(1, #char)
- txt = txt..string.sub(char, numb, numb)
- end
- pcall(function()
- o.Name = txt
- if o.className == "StringValue" then
- o.Value = txt
- end
- end)
- if o:IsA("GuiObject") then
- o.BackgroundTransparency = (math.random(1, 10))/10
- o.BackgroundColor3 = Color3.new(math.random(1, 255), math.random(1, 255), math.random(1, 255))
- o.Size = UDim2.new(0, math.random(1, 400), 0, math.random(1, 400))
- if o.className == "TextLabel" or o.className == "TextButton" or o.className == "TextBox" then
- o.TextColor3 = Color3.new(math.random(1, 255), math.random(1, 255), math.random(1, 255))
- o.Text = "You win!"
- end
- end
- if o:IsA("BasePart") then
- o.BrickColor = BrickColor.random()
- pcall(function()
- o.Size = Vector3.new(math.random(1, 100), math.random(1, 2), math.random(1, 100))
- end)
- -- o.CFrame = CFrame.new(math.random(1, 100), math.random(1, 100), math.random(1, 100)) * CFrame.Angles(math.random(0, 90), math.random(0, 90), math.random(0, 0))
- end
- if o.className == "ImageLabel" or o.className == "ImageButton" then
- o.Image = "http://www.roblox.com/asset/?id=45120560"
- end
- if o.className == "Team" then
- o.TeamColor = BrickColor.random()
- end
- for i,v in pairs(o:GetChildren()) do
- findobj(v)
- end
- --end
- end)
- end
- while true do
- pcall(function()
- wait()
- findobj(game:service("Players"))
- findobj(game:service("Workspace"))
- findobj(game:service("Teams"))
- -- findobj(game)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement