Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game.Players.LocalPlayer.Character
- local weld = Instance.new("Weld",p.Torso)
- weld.Part0 = p.Torso
- local train = Instance.new("Part",p.Torso)
- train.Anchored = true
- train.CanCollide = false
- train.Size = Vector3.new(3,2,6)
- train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld.Part1 = train
- weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
- train.Anchored = false
- local TrainMesh = Instance.new("SpecialMesh",train)
- TrainMesh.MeshType = Enum.MeshType.FileMesh
- TrainMesh.Scale = Vector3.new(0.020,0.020,0.015)
- TrainMesh.MeshId = "rbxassetid://430210147"
- TrainMesh.TextureId = "rbxassetid://430210159"
- local weld2 = Instance.new("Weld",p.Torso)
- weld2.Part0 = p.Torso
- local Smoke = Instance.new("Part",p.Torso)
- Smoke.Anchored = true
- Smoke.CanCollide = false
- Smoke.Size = Vector3.new(1,1,1)
- Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld2.Part1 = Smoke
- weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
- Smoke.Anchored = false
- Smoke.Transparency = 1;
- local Particle = Instance.new("ParticleEmitter",Smoke)
- Particle.Rate = 50;
- Particle.Speed = NumberRange.new(30,60);
- Particle.VelocitySpread = 4;
- Particle.Texture = "http://www.roblox.com/asset/?id=50607824"
- local Light = Instance.new("SpotLight",train)
- Light.Angle = 45;
- Light.Brightness = 100;
- Light.Face = Enum.NormalId.Back;
- Light.Range = 30;
- p.Humanoid.WalkSpeed = 60;
- for i,v in pairs(p:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1;
- elseif v:IsA("Hat") then
- v:Destroy()
- elseif v:IsA("Model") then
- v:Destroy()
- end
- end
- local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
- train.Touched:connect(function(p)
- if p.Parent then
- if p.Parent:IsA("Model") then
- if game.Players:FindFirstChild(p.Parent.Name) then
- if p.Parent.Name ~= game.Players.LocalPlayer.Name then
- game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
- local Whistle = SFX(428593644)
- Whistle:Play()
- end
- end
- end
- end
- end)
- local Music = SFX(222274242)
- Music.Looped = true;
- wait(1)
- Music:Play();
- wait(1)
- local song = Instance.new("Sound", game.Workspace)
- song.SoundId = "rbxassetid://169505671"
- song.Volume = 1
- song.Looped = true
- song.Name = "IT'S RAINING MEN!"
- song:Play()
- local sky = Instance.new("Sky", game.Lighting)
- sky.CelestialBodiesShown = false
- sky.SkyboxBk = "http://www.roblox.com/asset/?id=740491623"
- sky.SkyboxDn = "http://www.roblox.com/asset/?id=740491623"
- sky.SkyboxFt = "http://www.roblox.com/asset/?id=740491623"
- sky.SkyboxLf = "http://www.roblox.com/asset/?id=740491623"
- sky.SkyboxRt = "http://www.roblox.com/asset/?id=740491623"
- sky.SkyboxUp = "http://www.roblox.com/asset/?id=740491623"
- local randomnoises = {"rbxassetid://230287740","rbxassetid://271787597","rbxassetid://153752123","rbxassetid://271787503"}
- local makeitrain = coroutine.create(function()
- while wait() do
- local toad = Instance.new("Part", game.Workspace)
- toad.Name = "Toad"
- toad.Size = Vector3.new(220,265,190)
- toad.TopSurface = "Smooth"
- toad.BottomSurface = "Smooth"
- toad.CanCollide = false
- local mesh = Instance.new("SpecialMesh", toad)
- mesh.MeshId = "rbxassetid://430210147"
- mesh.TextureId = "rbxassetid://430210159"
- mesh.Scale = Vector3.new(0.5,0.5,0.5)
- toad.Position = Vector3.new(math.random(-1000,1000), math.random(300,1000), math.random(-1000,1000))
- toad.Rotation = Vector3.new(0, math.random(-180,180), 0)
- local noise = Instance.new("Sound", toad)
- noise.Volume = 1
- noise.EmitterSize = 200
- local chosennoise = randomnoises[math.random(1,#randomnoises)]
- noise.SoundId = chosennoise
- noise:Play()
- local lighting = game:GetService("Lighting")
- lighting.Ambient = Color3.new(math.random(255)/255, math.random(255)/255, math.random(255)/255)
- local a0 = Instance.new("Attachment", toad)
- a0.Name = "TrailAttachment0"
- a0.Position = Vector3.new(0, 50, 145)
- local a1 = Instance.new("Attachment", toad)
- a1.Name = "TrailAttachment1"
- a1.Position = Vector3.new(0, 50, -145)
- local trail = Instance.new("Trail", toad)
- trail.Attachment0 = a0
- trail.Attachment1 = a1
- trail.FaceCamera = true
- trail.Lifetime = 1
- trail.Transparency = NumberSequence.new(0,0.5,0,1,1,0)
- trail.Texture = "http://www.roblox.com/asset/?id=102124677"
- --trail.Color = Color3.new(math.random(255)/255, math.random(255)/255, math.random(255)/255)
- wait(0.1)
- end
- end)
- local createmessage = coroutine.create(function()
- while wait(0.4355) do
- local message = Instance.new("Message", game.Workspace)
- message.Text = "IT'S RAINING MEN!"
- local hint = Instance.new("Hint", game.Workspace)
- hint.Text = "IT'S RAINING MEN!"
- wait(0.4355)
- message:Destroy()
- hint:Destroy()
- end
- end)
- coroutine.resume(createmessage)
- coroutine.resume(makeitrain)
Add Comment
Please, Sign In to add comment