Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print"This script was brought to you in part by zorua"
- print"WARNING! This will eventually crash the server. Just warning you"
- print"If you get an error involving 'Head' than it means that the place that heads are being spawned has no floor under it"
- --I have this section commented out, It's not needed for anything
- --don't know if the entire server sees the message or just you
- --local message = Instance.new('Message', game.Workspace)
- --message.Text = "It's Raining!"
- --wait(5)
- --message:Destroy() -- Remove the message
- --declaring functions
- function ExplosionSound()
- Explode = Instance.new("Sound")
- Explode.Name = "Explode"
- Explode.Pitch = 1
- Explode.SoundId = "rbxasset://sounds/collide.wav"
- Explode.Pitch = 1
- Explode.PlayOnRemove = true
- Explode.Volume = 0.5
- Explode.Parent=game.Workspace
- Explode:Play()
- Explode:Destroy()
- end
- function createsound()
- NubSound = Instance.new("Sound")
- NubSound.Name = "uuuhh"
- NubSound.Pitch = math.random(0.001,7.999)
- NubSound.SoundId = "http://www.roblox.com/asset/?id=12222242"
- NubSound.Pitch = 1
- NubSound.PlayOnRemove = true
- NubSound.Volume = 0.5
- NubSound.Parent=game.Workspace
- NubSound:Play()
- NubSound:Destroy()
- end
- --humanoid name randomizer
- local names = {
- "This is why you don't mess with ClockworkHorror.";
- }
- --creating the base model
- ModelNub = Instance.new("Model",game.Workspace)
- ModelNub.Name = "1x1x1x1"
- NubHead = Instance.new("Part")
- NubHead.Parent=ModelNub
- NubHead.Anchored = true
- NubHead.Size=Vector3.new(2,1,1)
- NubHead.BrickColor=BrickColor.new(24)
- NubHead.Name= "Head"
- HeadMeshz = Instance.new("SpecialMesh")
- HeadMeshz.Scale=Vector3.new(1.25,1.25,1.25)
- HeadMeshz.Parent=NubHead
- NubDecal = Instance.new("Decal")
- NubDecal.Texture = "http://www.roblox.com/asset/?id=138437944"
- NubDecal.Face = "Front"
- NubDecal.Parent=NubHead
- NubHuman = Instance.new("Humanoid")
- NubHuman.Name = "1x1x1x1"
- NubHuman.Parent=ModelNub
- NubHuman.Health = 0
- NubFire = Instance.new("Fire")
- NubFire.Parent=NubHead
- NubScript = Instance.new("LocalScript")
- NubScript.Name = "Explode"
- NubScript.Disabled = false
- NubScript.Parent=NubHead
- --magic happens here
- while wait() do
- local drop = ModelNub:clone()
- drop.Head.Position = Vector3.new(
- math.random(-100,100),--Change values here if you want to make the rain appear in a wider area
- 250,
- math.random(-100,100)--Also here
- )
- drop.Parent = game.Workspace
- drop.Head.Anchored = false
- drop.Name = names[math.random(1, #names)];
- createsound()
- wait(-100)--change this if you want heads to rain faster or slower, may break sound
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement