SHOW:
|
|
- or go back to the newest paste.
1 | if game.Players.LocalPlayer == GalaxyDelta232 | |
2 | - | error("ayy you gotta rl/ this") |
2 | + | |
3 | names = {"Base","base","Baseplate","baseplate","BasePlate","BASEPLATE","BASE","Ground","ground","GROUND"} | |
4 | base = nil | |
5 | pause = false | |
6 | lp = game.Players.GalaxyDelta232 | |
7 | for i=1, #names do | |
8 | wait(0.01) | |
9 | ff = workspace:FindFirstChild(names[i]) | |
10 | if ff then | |
11 | base = ff | |
12 | end | |
13 | end | |
14 | if base ~= nil then | |
15 | base.BrickColor = BrickColor.new("Dirt brown") | |
16 | base.Material = Enum.Material.Wood | |
17 | end | |
18 | part = Instance.new("Part",lp.Character) | |
19 | part.Anchored = true | |
20 | part.CFrame = CFrame.new(0,0,0) | |
21 | part.BrickColor = BrickColor.new("Dirt brown") | |
22 | part.BackSurface = Enum.SurfaceType.Smooth | |
23 | part.FrontSurface = Enum.SurfaceType.Smooth | |
24 | part.LeftSurface = Enum.SurfaceType.Smooth | |
25 | part.RightSurface = Enum.SurfaceType.Smooth | |
26 | part.TopSurface = Enum.SurfaceType.Smooth | |
27 | part.BottomSurface = Enum.SurfaceType.Smooth | |
28 | part.Material = Enum.Material.Wood | |
29 | part.Size = Vector3.new(10,20,10) | |
30 | base.BrickColor = BrickColor.new("Dirt brown") | |
31 | base.BackSurface = Enum.SurfaceType.Smooth | |
32 | base.FrontSurface = Enum.SurfaceType.Smooth | |
33 | base.LeftSurface = Enum.SurfaceType.Smooth | |
34 | base.RightSurface = Enum.SurfaceType.Smooth | |
35 | base.TopSurface = Enum.SurfaceType.Smooth | |
36 | base.BottomSurface = Enum.SurfaceType.Smooth | |
37 | part2 = Instance.new("Part",lp.Character) | |
38 | decal = Instance.new("Decal",part) | |
39 | decal.Face = "Top" | |
40 | decal.Texture = "http://www.roblox.com/asset/?id=675302795" | |
41 | wait(0.5) | |
42 | part2.Position = part.Position | |
43 | topcframe = part2.CFrame | |
44 | part2:Destroy() | |
45 | lp.Character.Head.CFrame = part2.CFrame | |
46 | wait(0.5) | |
47 | lp.Character.Head.Anchored = true | |
48 | sound = Instance.new("Sound",lp.Character.Head) | |
49 | sound.SoundId = "rbxassetid://157518993" | |
50 | sound.Volume = 10 | |
51 | sound.Looped = true | |
52 | sound:Play() | |
53 | while true do | |
54 | wait(0.01) | |
55 | repeat | |
56 | wait(0.01) | |
57 | until lp.Character.Humanoid.Jump == true | |
58 | if pause == false then | |
59 | pause = true | |
60 | sound:Pause() | |
61 | else | |
62 | sound:Resume() | |
63 | pause = false | |
64 | end | |
65 | end |