Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.Players.LocalPlayer == nil then
- error("ayy you gotta rl/ this")
- end
- names = {"Base","base","Baseplate","baseplate","BasePlate","BASEPLATE","BASE","Ground","ground","GROUND"}
- base = nil
- pause = false
- lp = game.Players.LocalPlayer
- for i=1, #names do
- wait(0.01)
- ff = workspace:FindFirstChild(names[i])
- if ff then
- base = ff
- end
- end
- if base ~= nil then
- base.BrickColor = BrickColor.new("Dirt brown")
- base.Material = Enum.Material.Wood
- end
- part = Instance.new("Part",lp.Character)
- part.Anchored = true
- part.CFrame = CFrame.new(0,0,0)
- part.BrickColor = BrickColor.new("Dirt brown")
- part.BackSurface = Enum.SurfaceType.Smooth
- part.FrontSurface = Enum.SurfaceType.Smooth
- part.LeftSurface = Enum.SurfaceType.Smooth
- part.RightSurface = Enum.SurfaceType.Smooth
- part.TopSurface = Enum.SurfaceType.Smooth
- part.BottomSurface = Enum.SurfaceType.Smooth
- part.Material = Enum.Material.Wood
- part.Size = Vector3.new(10,20,10)
- base.BrickColor = BrickColor.new("Dirt brown")
- base.BackSurface = Enum.SurfaceType.Smooth
- base.FrontSurface = Enum.SurfaceType.Smooth
- base.LeftSurface = Enum.SurfaceType.Smooth
- base.RightSurface = Enum.SurfaceType.Smooth
- base.TopSurface = Enum.SurfaceType.Smooth
- base.BottomSurface = Enum.SurfaceType.Smooth
- part2 = Instance.new("Part",lp.Character)
- decal = Instance.new("Decal",part)
- decal.Face = "Top"
- decal.Texture = "http://www.roblox.com/asset/?id=675302795"
- wait(0.5)
- part2.Position = part.Position
- topcframe = part2.CFrame
- part2:Destroy()
- lp.Character.Head.CFrame = part2.CFrame
- wait(0.5)
- lp.Character.Head.Anchored = true
- sound = Instance.new("Sound",lp.Character.Head)
- sound.SoundId = "rbxassetid://157518993"
- sound.Volume = 10
- sound.Looped = true
- sound:Play()
- while true do
- wait(0.01)
- repeat
- wait(0.01)
- until lp.Character.Humanoid.Jump == true
- if pause == false then
- pause = true
- sound:Pause()
- else
- sound:Resume()
- pause = false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement