User:Jak12321: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Jak12321
No edit summary
>JulienDethurens
Nominated for deletion.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Scripts that may help! ==
{{delete}}
Thanks to Telemon Miked and jak12321 (might be others)
 
Trapdoor:--
 
print("Trapdoor loaded")
 
local trapdoor = script.Parent
 
while true do --Repeat Line
  wait(5) --Standby for 5 seconds
 
  trapdoor.Transparency = 1 --Invisible
  trapdoor.CanCollide = false  --Make trapdoor disappear and have anyone on the brick fall through
 
  wait(1) --Wait before I Go Back To Normal
 
  trapdoor.Transparency = 0 --Visible
  trapdoor.CanCollide = true  --Return brick to normal condition
end
 
FireWorks:--
 
game.Lighting.TimeOfDay = "08,00,00"
e = {}  
 
msg = Instance.new("Message")
msg.Text = "Get ready for the science labs awesome fireworks!"
msg.Parent = game.Workspace
 
p = game.Players:GetChildren()
ch = game.Workspace:GetChildren()
for i = 1, #p do
    for j = 1, #ch do
        if ch[j].Name == p[i].Name then
            ch[j]:MoveTo(Vector3.new(math.random(-500,-450),200,math.random(-50,50)))
            ch[j].Torso.Anchored = true
        end
    end
end
 
wait(3)
msg:Remove()
 
for n = 1, 10 do
    for t = 1, 2 do
        x = math.random(-100, 100)
        y = math.random(50,150)
        z = math.random(-100,100)
        e[t] = Instance.new("Explosion")
        e[t].Position = Vector3.new(x,y,z)
        e[t].BlastPressure = 100
        e[t].Parent = game.Workspace
        col = BrickColor.Random()
        for i = 1, 100 do
            b = Instance.new("Part")
            b.Size = Vector3.new(math.random(1,5), math.random(1,5), math.random(1,5))
            b.BrickColor = col
            b.Name = "aBrick"
            b.Position = Vector3.new(x+math.random(-1,1), y+math.random(-1, 1), z+math.random(-1, 1))
            b.Parent = game.Workspace
            b.Velocity = Vector3.new(math.random(-20,20), math.random(-5,200), math.random(-20,20))
        end
        wait()
    end
    wait(5)
end
wait(2)
 
p = game.Players:GetChildren()
ch = game.Workspace:GetChildren()
for i = 1, #p do
    for j = 1, #ch do
        if ch[j].Name == p[i].Name then
            ch[j]:MoveTo(Vector3.new(math.random(-50,50),10,math.random(-50,50)))
            ch[j].Torso.Anchored = false
        end
    end
end
 
ch = game.Workspace:GetChildren()
for i = 1, #ch do
    if ch[i].Name == "aBrick" then
        ch[i]:Remove()
    end
end
 
game.Lighting.TimeOfDay = "12,00,00"
 
 
Explotion block:--
 
function Explosion(blastRadius, blastPressure, position)
  local Boom = Instance.new("Explosion")
  Boom.Parent = game.Workspace
  Boom.BlastRadius = blastRadius
  Boom.BlastPressure = blastPressure
  Boom.Position = position
end
 
function onTouched(part)
  local h = part.Parent:FindFirstChild("Humanoid")
  if h~=nil then
      Explosion(10, 1000, Vector3.new(10,10,10)) --All numbers are edittable.
  end
end
 
script.Parent.Touched:connect(onTouched) --If you want to change which brick to touch, change "script.Parent".
 
 
 
 
CoulourFull Brick:--
 
 
 
<nowiki>while true do
script.Parent.Color = Color3.new(math.random(), math.random(), math.random())
wait(0.5)
<nowiki></nowiki>

Latest revision as of 23:44, 5 May 2012

This page has been nominated for deletion