User blog:PewDieFern/Roblox Script Test

This is just a random blog. I was getting bored of scripting and building on ROBLOX so I'm gonna share all the scripts I know:

script.Parent.Touched:connect(function(part) pcall(function part.Parent.Humanoid.Health = 0 end) end)

p= game.Workspace:GetChildren

for i= 1, #p do if p[i].className == "Part" then p[i].Name = "Shane" end end

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,500,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5

<span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,-25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5

<span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,525,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5

<span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">p= game.Players:GetChildren <span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">for i= 1, #p do <span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">if p[i] ~= "shanethe13" then <span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">p[i].Character.Torso.CFrame = CFrame.new(0,515,0) <span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">end <span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">end

<span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">p= game.Players:GetChildren

<span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">for i= 1, #p do <span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">p[i]:remove <span style="color:rgb(0,0,0);font-family:Arial;font-size:12px;line-height:17.1359996795654px;white-space:pre-wrap;">end