Advertisement
Aeyao

MINECRAFTINLIKEAMOFO9328471FHWTY08VB2Y89E

Aug 8th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.99 KB | None | 0 0
  1. local remote_mc = NS([[
  2. wait(.5)
  3.  
  4. local blockindex = {['Quartz Pillar'] = {Front = 'http://www.roblox.com/asset/?id=105562583',Back = 'http://www.roblox.com/asset/?id=105562583',Left = 'http://www.roblox.com/asset/?id=105562583',Right = 'http://www.roblox.com/asset/?id=105562583',Top = 'http://www.roblox.com/asset/?id=105562555',Bottom = 'http://www.roblox.com/asset/?id=105562555',Transparency = 0},['Sand'] = {Right = 'http://www.roblox.com/asset/?id=75881753',Top = 'http://www.roblox.com/asset/?id=75881753',Back = 'http://www.roblox.com/asset/?id=75881753',Left = 'http://www.roblox.com/asset/?id=75881753',Left = 'http://www.roblox.com/asset/?id=75881753',Front = 'http://www.roblox.com/asset/?id=75881753',Bottom = 'http://www.roblox.com/asset/?id=75881753',Transparency = 0},['Diamond block'] = {Front = 'http://www.roblox.com/asset/?id=56749955',Top = 'http://www.roblox.com/asset/?id=56749955',Bottom = 'http://www.roblox.com/asset/?id=56749955',Back = 'http://www.roblox.com/asset/?id=56749955',Right = 'http://www.roblox.com/asset/?id=56749955',Left = 'http://www.roblox.com/asset/?id=56749955',Transparency = 0},['Glowstone'] = {Front = 'http://www.roblox.com/asset/?id=54790811',Top = 'http://www.roblox.com/asset/?id=54790811',Bottom = 'http://www.roblox.com/asset/?id=54790811',Back = 'http://www.roblox.com/asset/?id=54790811',Left = 'http://www.roblox.com/asset/?id=54790811',Right = 'http://www.roblox.com/asset/?id=54790811',Transparency = 0},['Sponge'] = {Top = 'http://www.roblox.com/asset/?id=118556758',Back = 'http://www.roblox.com/asset/?id=118556758',Left = 'http://www.roblox.com/asset/?id=118556758',Front = 'http://www.roblox.com/asset/?id=118556758',Right = 'http://www.roblox.com/asset/?id=118556758',Bottom = 'http://www.roblox.com/asset/?id=118556758',Transparency = 0},['Glass'] = {Front = 'http://www.roblox.com/asset/?id=28845586',Back = 'http://www.roblox.com/asset/?id=28845586',Top = 'http://www.roblox.com/asset/?id=28845586',Bottom = 'http://www.roblox.com/asset/?id=28845586',Left = 'http://www.roblox.com/asset/?id=28845586',Right = 'http://www.roblox.com/asset/?id=28845586',Left = 'http://www.roblox.com/asset/?id=152239003',Top = 'http://www.roblox.com/asset/?id=152239003',Back = 'http://www.roblox.com/asset/?id=152239003',Right = 'http://www.roblox.com/asset/?id=152239003',Front = 'http://www.roblox.com/asset/?id=152239003',Bottom = 'http://www.roblox.com/asset/?id=152239003',Transparency = 1},['Redstone Ore'] = {Front = 'http://www.roblox.com/asset/?id=83031267',Back = 'http://www.roblox.com/asset/?id=83031267',Top = 'http://www.roblox.com/asset/?id=83031267',Bottom = 'http://www.roblox.com/asset/?id=83031267',Left = 'http://www.roblox.com/asset/?id=83031267',Right = 'http://www.roblox.com/asset/?id=83031267',Transparency = 0},['Golden Block'] = {Front = 'http://www.roblox.com/asset/?id=59406046',Top = 'http://www.roblox.com/asset/?id=59406046',Bottom = 'http://www.roblox.com/asset/?id=59406046',Back = 'http://www.roblox.com/asset/?id=59406046',Right = 'http://www.roblox.com/asset/?id=59406046',Left = 'http://www.roblox.com/asset/?id=59406046',Transparency = 0},['Mossy Cobblestone'] = {Front = 'http://www.roblox.com/asset/?id=53893036',Back = 'http://www.roblox.com/asset/?id=53893036',Top = 'http://www.roblox.com/asset/?id=53893036',Bottom = 'http://www.roblox.com/asset/?id=53893036',Left = 'http://www.roblox.com/asset/?id=53893036',Right = 'http://www.roblox.com/asset/?id=53893036',Transparency = 0},['Stone Bricks'] = {Top = 'http://www.roblox.com/asset/?id=75882113',Back = 'http://www.roblox.com/asset/?id=75882113',Left = 'http://www.roblox.com/asset/?id=75882113',Right = 'http://www.roblox.com/asset/?id=75882113',Front = 'http://www.roblox.com/asset/?id=75882113',Bottom = 'http://www.roblox.com/asset/?id=75882113',Transparency = 0},['Netherrack'] = {Front = 'http://www.roblox.com/asset/?id=55412718',Back = 'http://www.roblox.com/asset/?id=55412718',Top = 'http://www.roblox.com/asset/?id=55412718',Left = 'http://www.roblox.com/asset/?id=55412718',Bottom = 'http://www.roblox.com/asset/?id=55412718',Right = 'http://www.roblox.com/asset/?id=55412718',Transparency = 0},['Cobblestone'] = {Right = 'http://www.roblox.com/asset/?id=75881187',Top = 'http://www.roblox.com/asset/?id=75881187',Front = 'http://www.roblox.com/asset/?id=75881187',Left = 'http://www.roblox.com/asset/?id=75881187',Back = 'http://www.roblox.com/asset/?id=75881187',Bottom = 'http://www.roblox.com/asset/?id=75881187',Transparency = 0},['Soul Sand'] = {Front = 'http://www.roblox.com/asset/?id=55412725',Back = 'http://www.roblox.com/asset/?id=55412725',Top = 'http://www.roblox.com/asset/?id=55412725',Left = 'http://www.roblox.com/asset/?id=55412725',Bottom = 'http://www.roblox.com/asset/?id=55412725',Right = 'http://www.roblox.com/asset/?id=55412725',Transparency = 0},['Bricks'] = {Top = 'http://www.roblox.com/asset/?id=75882272',Back = 'http://www.roblox.com/asset/?id=75882272',Left = 'http://www.roblox.com/asset/?id=75882272',Front = 'http://www.roblox.com/asset/?id=75882272',Right = 'http://www.roblox.com/asset/?id=75882272',Bottom = 'http://www.roblox.com/asset/?id=75882272',Transparency = 0},['Bed'] = {Top = 'http://www.roblox.com/asset/?id=71456694',Front = 'http://www.roblox.com/asset/?id=71456673',Left = 'http://www.roblox.com/asset/?id=71456649',Right = 'http://www.roblox.com/asset/?id=71456626',Back = 'http://www.roblox.com/asset/?id=71650095',Transparency = 1},['Grass Block'] = {Top = 'http://www.roblox.com/asset/?id=75880459',Front = 'http://www.roblox.com/asset/?id=75880542',Right = 'http://www.roblox.com/asset/?id=75880542',Back = 'http://www.roblox.com/asset/?id=75880542',Left = 'http://www.roblox.com/asset/?id=75880542',Bottom = 'http://www.roblox.com/asset/?id=75880810',Transparency = 0},['Bedrock'] = {Right = 'http://www.roblox.com/asset/?id=75881126',Top = 'http://www.roblox.com/asset/?id=75881126',Front = 'http://www.roblox.com/asset/?id=75881126',Back = 'http://www.roblox.com/asset/?id=75881126',Left = 'http://www.roblox.com/asset/?id=75881126',Bottom = 'http://www.roblox.com/asset/?id=75881126',Transparency = 0},['Diamond Ore'] = {Front = 'http://www.roblox.com/asset/?id=53578271',Back = 'http://www.roblox.com/asset/?id=53578271',Top = 'http://www.roblox.com/asset/?id=53578271',Bottom = 'http://www.roblox.com/asset/?id=53578271',Left = 'http://www.roblox.com/asset/?id=53578271',Right = 'http://www.roblox.com/asset/?id=53578271',Transparency = 0},['Dirt'] = {Right = 'http://www.roblox.com/asset/?id=75880810',Back = 'http://www.roblox.com/asset/?id=75880810',Top = 'http://www.roblox.com/asset/?id=75880810',Front = 'http://www.roblox.com/asset/?id=75880810',Bottom = 'http://www.roblox.com/asset/?id=75880810',Left = 'http://www.roblox.com/asset/?id=75880810',Transparency = 0},['Emerald Block'] = {Top = 'http://www.roblox.com/asset/?id=88340019',Right = 'http://www.roblox.com/asset/?id=88340019',Left = 'http://www.roblox.com/asset/?id=88340019',Front = 'http://www.roblox.com/asset/?id=88340019',Bottom = 'http://www.roblox.com/asset/?id=88340019',Back = 'http://www.roblox.com/asset/?id=88340019',Transparency = 0},['Gravel'] = {Front = 'http://www.roblox.com/asset/?id=96303213',Top = 'http://www.roblox.com/asset/?id=96303213',Bottom = 'http://www.roblox.com/asset/?id=96303213',Left = 'http://www.roblox.com/asset/?id=96303213',Right = 'http://www.roblox.com/asset/?id=96303213',Back = 'http://www.roblox.com/asset/?id=96303213',Transparency = 0},['Sandstone'] = {Bottom = 'http://www.roblox.com/asset/?id=77390965',Back = 'http://www.roblox.com/asset/?id=77390993',Left = 'http://www.roblox.com/asset/?id=77390993',Front = 'http://www.roblox.com/asset/?id=77390993',Right = 'http://www.roblox.com/asset/?id=77390993',Top = 'http://www.roblox.com/asset/?id=77390977',Transparency = 0},['Brick'] = {Front = 'http://www.roblox.com/asset/?id=71456426',Back = 'http://www.roblox.com/asset/?id=71456426',Top = 'http://www.roblox.com/asset/?id=71456426',Bottom = 'http://www.roblox.com/asset/?id=71456426',Left = 'http://www.roblox.com/asset/?id=71456426',Right = 'http://www.roblox.com/asset/?id=71456426',Transparency = 0},['Gold Ore'] = {Back = 'http://www.roblox.com/asset/?id=56749991',Right = 'http://www.roblox.com/asset/?id=56749991',Front = 'http://www.roblox.com/asset/?id=56749991',Bottom = 'http://www.roblox.com/asset/?id=56749991',Left = 'http://www.roblox.com/asset/?id=56749991',Top = 'http://www.roblox.com/asset/?id=56749991',Transparency = 0},['Wood'] = {Right = 'http://www.roblox.com/asset/?id=75881388',Front = 'http://www.roblox.com/asset/?id=75881388',Back = 'http://www.roblox.com/asset/?id=75881388',Left = 'http://www.roblox.com/asset/?id=75881388',Top = 'http://www.roblox.com/asset/?id=75881451',Bottom = 'http://www.roblox.com/asset/?id=75881451',Transparency = 0},['Iron Ore'] = {Right = 'http://www.roblox.com/asset/?id=121551280',Top = 'http://www.roblox.com/asset/?id=121551280',Back = 'http://www.roblox.com/asset/?id=121551280',Left = 'http://www.roblox.com/asset/?id=121551280',Front = 'http://www.roblox.com/asset/?id=121551280',Bottom = 'http://www.roblox.com/asset/?id=121551280',Transparency = 0},['Wooden Planks'] = {Top = 'http://www.roblox.com/asset/?id=75881905',Right = 'http://www.roblox.com/asset/?id=75881905',Back = 'http://www.roblox.com/asset/?id=75881905',Left = 'http://www.roblox.com/asset/?id=75881905',Front = 'http://www.roblox.com/asset/?id=75881905',Bottom = 'http://www.roblox.com/asset/?id=75881905',Transparency = 0},['Book Shelf'] = {Front = 'http://www.roblox.com/asset/?id=75882918',Left = 'http://www.roblox.com/asset/?id=75882918',Right = 'http://www.roblox.com/asset/?id=75882918',Back = 'http://www.roblox.com/asset/?id=75882918',Top = 'http://www.roblox.com/asset/?id=75881905',Bottom = 'http://www.roblox.com/asset/?id=75881905',Transparency = 0},['Quartz Block'] = {Front = 'http://www.roblox.com/asset/?id=107043832',Back = 'http://www.roblox.com/asset/?id=107043832',Bottom = 'http://www.roblox.com/asset/?id=107043832',Left = 'http://www.roblox.com/asset/?id=107043832',Right = 'http://www.roblox.com/asset/?id=107043832',Top = 'http://www.roblox.com/asset/?id=107043832',Transparency = 0},['Snow'] = {Front = 'http://www.roblox.com/asset/?id=63441200',Top = 'http://www.roblox.com/asset/?id=63441200',Bottom = 'http://www.roblox.com/asset/?id=63441200',Back = 'http://www.roblox.com/asset/?id=63441200',Right = 'http://www.roblox.com/asset/?id=63441200',Left = 'http://www.roblox.com/asset/?id=63441200',Transparency = 0},['Iron Block'] = {Front = 'http://www.roblox.com/asset/?id=59406020',Top = 'http://www.roblox.com/asset/?id=59406020',Bottom = 'http://www.roblox.com/asset/?id=59406020',Back = 'http://www.roblox.com/asset/?id=59406020',Right = 'http://www.roblox.com/asset/?id=59406020',Left = 'http://www.roblox.com/asset/?id=59406020',Transparency = 0},['Obsidian'] = {Right = 'http://www.roblox.com/asset/?id=75881274',Top = 'http://www.roblox.com/asset/?id=75881274',Front = 'http://www.roblox.com/asset/?id=75881274',Left = 'http://www.roblox.com/asset/?id=75881274',Bottom = 'http://www.roblox.com/asset/?id=75881274',Back = 'http://www.roblox.com/asset/?id=75881274',Transparency = 0},['Spawner'] = {Front = 'http://www.roblox.com/asset/?id=48004782',Back = 'http://www.roblox.com/asset/?id=48004782',Top = 'http://www.roblox.com/asset/?id=48004782',Bottom = 'http://www.roblox.com/asset/?id=48004782',Left = 'http://www.roblox.com/asset/?id=48004782',Right = 'http://www.roblox.com/asset/?id=48004782',Transparency = 1},['Coal Ore'] = {Front = 'http://www.roblox.com/asset/?id=15845619',Back = 'http://www.roblox.com/asset/?id=15845619',Top = 'http://www.roblox.com/asset/?id=15845619',Bottom = 'http://www.roblox.com/asset/?id=15845619',Left = 'http://www.roblox.com/asset/?id=15845619',Right = 'http://www.roblox.com/asset/?id=15845619',Top = 'http://www.roblox.com/asset/?id=152572101',Back = 'http://www.roblox.com/asset/?id=152572101',Left = 'http://www.roblox.com/asset/?id=152572101',Front = 'http://www.roblox.com/asset/?id=152572101',Right = 'http://www.roblox.com/asset/?id=152572101',Bottom = 'http://www.roblox.com/asset/?id=152572101',Transparency = 0},['Chiseled Quartz Block'] = {Front = 'http://www.roblox.com/asset/?id=105552118',Back = 'http://www.roblox.com/asset/?id=105552118',Left = 'http://www.roblox.com/asset/?id=105552118',Right = 'http://www.roblox.com/asset/?id=105552118',Top = 'http://www.roblox.com/asset/?id=105548970',Bottom = 'http://www.roblox.com/asset/?id=105548970',Transparency = 0},['Leaves'] = {Top = 'http://www.roblox.com/asset/?id=55320241',Back = 'http://www.roblox.com/asset/?id=55320241',Left = 'http://www.roblox.com/asset/?id=55320241',Front = 'http://www.roblox.com/asset/?id=55320241',Right = 'http://www.roblox.com/asset/?id=55320241',Bottom = 'http://www.roblox.com/asset/?id=55320241',Transparency = 1},['TNT'] = {Left = 'http://www.roblox.com/asset/?id=87191728',Right = 'http://www.roblox.com/asset/?id=87191728',Top = 'http://www.roblox.com/asset/?id=87191731',Bottom = 'http://www.roblox.com/asset/?id=87191716',Front = 'http://www.roblox.com/asset/?id=87191728',Back = 'http://www.roblox.com/asset/?id=87191728',Transparency = 0},}
  5.  
  6. local p = game.Players:WaitForChild("asbuff")
  7.  
  8. local mhit = CFrame.new()
  9.  
  10. local ass2 = Instance.new("RemoteEvent",script)
  11. ass2.Name = "MINECRAFTASBUFF"
  12.  
  13. local c = p.Character
  14. local ra = c["Right Arm"]
  15. local rs = game:GetService("RunService").Stepped
  16. local tor = c.Torso
  17.  
  18. local cf = CFrame.new
  19. local ang = CFrame.Angles
  20.  
  21. local music = Instance.new("Sound",tor)
  22. music.SoundId = "rbxassetid://1232889811"
  23. music.Playing = true
  24. music.Looped = true
  25. music.Volume = 1
  26.  
  27. local breakfx = Instance.new("ParticleEmitter")
  28. breakfx.Enabled = false
  29. breakfx.Lifetime = NumberRange.new(.8)
  30. breakfx.Speed = NumberRange.new(10)
  31. breakfx.SpreadAngle = Vector2.new(180,180)
  32. breakfx.Acceleration = Vector3.new(0,-80,0)
  33. breakfx.Size = NumberSequence.new(.3)
  34. breakfx.LightInfluence = 1
  35. breakfx.LightEmission = 0
  36.  
  37. local joints = {
  38. ra = tor["Right Shoulder"],
  39. la = tor["Left Shoulder"],
  40. rl = tor["Right Hip"],
  41. ll = tor["Left Hip"],
  42. neck = tor["Neck"]
  43. }
  44.  
  45. c.Animate:Destroy()
  46.  
  47. for i,v in next,c.Humanoid:GetPlayingAnimationTracks() do
  48. v:Stop()
  49. end
  50.  
  51. local block = Instance.new("Part")
  52. block.Size = Vector3.new(.8,.8,.8)
  53.  
  54. local blockweld = Instance.new("Weld",ra)
  55. blockweld.Part0 = ra
  56. blockweld.Part1 = block
  57. blockweld.C0 = CFrame.new(0,-1.1,-.2)
  58.  
  59. block.CanCollide = false
  60. block.Parent = c
  61.  
  62. local rad = math.pi/180
  63. local walktick = 0
  64. local sprint = false
  65.  
  66. local blockname = "Dirt"
  67.  
  68.  
  69. local nco = joints.neck.C0
  70.  
  71. function updatetool()
  72. block:ClearAllChildren()
  73. for i,v in next,blockindex[blockname] do
  74. if i == "Transparency" then
  75. block.Transparency = v
  76. else
  77. local decal = Instance.new("Decal",block)
  78. decal.Texture = v
  79. decal.Face = i
  80. decal.Name = i
  81. end
  82. end
  83. end
  84.  
  85. function destroyblock(targ)
  86. if targ.Name == "Block" .. p.Name and targ.CanCollide == true and targ:FindFirstChild("Primed") == nil then
  87. targ.Transparency = 1
  88. targ.CanCollide = false
  89. targ.Anchored = true
  90. for i,v in next,targ:GetChildren() do
  91. v.Transparency = 1
  92. end
  93. local fx = breakfx:Clone()
  94. fx.Texture = targ:WaitForChild("Front").Texture
  95. fx.Parent = targ
  96. fx:Emit(70)
  97. wait()
  98. targ.Size = Vector3.new()
  99. game.Debris:AddItem(targ,2)
  100. end
  101. end
  102.  
  103. function prime(block)
  104. if block.Name == "Block".. p.Name then
  105. block.Anchored = false
  106. block.Velocity = Vector3.new(math.random(-2,2),14,math.random(-2,2))
  107. local ass = Instance.new("BodyThrust",block)
  108. ass.Force = Vector3.new(0,1000,0)
  109. ass.Name = "Primed"
  110. spawn(function()
  111. local times = 0
  112. local toggle = false
  113. repeat
  114. times = times + 1
  115. for i,v in next,block:GetChildren() do
  116. if v:IsA("Decal") then
  117. if toggle == true then
  118. v.Color3 = Color3.new(.5,.5,.5)
  119. else
  120. v.Color3 = Color3.new(1,1,1)
  121. end
  122. end
  123. end
  124. toggle = not toggle
  125. wait(.4)
  126. until times > 8
  127. local pos = block.CFrame.p
  128. block.Transparency = 1
  129. block.Anchored = true
  130. block.CanCollide = false
  131. block:ClearAllChildren()
  132. local xp = Instance.new("Explosion",workspace)
  133. xp.Position = pos
  134. xp.BlastRadius = 5
  135. xp.Hit:connect(function(h)
  136. if h.Name == "Block".. p.Name then
  137. destroyblock(h)
  138. end
  139. end)
  140. local s = Instance.new("Sound",block)
  141. s.SoundId = "rbxassetid://1388740053"
  142. s.Playing = true
  143. s.Volume = 1
  144. game.Debris:AddItem(block,1.4)
  145. end)
  146. end
  147. end
  148.  
  149. local plane = 0
  150.  
  151. function placeblock(hit,pos,face)
  152. local offset = face*2
  153. local newpos = Vector3.new()
  154. if hit.Name ~= "Block".. p.Name then
  155. newpos = pos+offset
  156.  
  157. newpos = Vector3.new(
  158. (newpos.x+1.5)-(newpos.x+1.5)%3,
  159. (newpos.y+1.5)-(newpos.y+1.5)%3,
  160. (newpos.z+1.5)-(newpos.z+1.5)%3
  161. )+Vector3.new(0,plane-1.5,0)
  162.  
  163. else
  164. newpos = hit.CFrame.p+offset*1.5
  165. end
  166. --workspace.d.CFrame = cf(newpos)
  167. --workspace.d2.CFrame = cf(pos+offset)
  168.  
  169. local part = Instance.new("Part")
  170. part.Anchored = true
  171. part.Size = Vector3.new(3,3,3)
  172. part.CFrame = cf(newpos)
  173.  
  174. for i,v in next,blockindex[blockname] do
  175. if i == "Transparency" then
  176. part.Transparency = v
  177. else
  178. local decal = Create("Decal"){
  179. Texture = v,
  180. Face = i,
  181. Name = i,
  182. Parent = part,
  183. }
  184. end
  185. end
  186.  
  187. part.Name = "Block".. p.Name
  188. part.Parent = workspace.Terrain
  189.  
  190. if blockname == "TNT" then
  191. prime(part)
  192. end
  193. if blockname == "Gravel" or blockname == "Sand" then
  194. part.Anchored = false
  195. end
  196.  
  197. end
  198.  
  199. local ff = Instance.new("ForceField",c)
  200. ff.Visible = false
  201.  
  202. updatetool()
  203.  
  204. function clientfired(p,a,b)
  205. if a == "placeblock" then
  206. local h,p,r = workspace:FindPartOnRayWithIgnoreList(Ray.new(b[1].p,cf(b[1].p,b[2].p).lookVector*999),{c})
  207. if h == nil then return end
  208. placeblock(h,p,r)
  209. elseif a == "removeblock" then
  210. local h,p,r = workspace:FindPartOnRayWithIgnoreList(Ray.new(b[1].p,cf(b[1].p,b[2].p).lookVector*999),{c})
  211. if h == nil then return end
  212. destroyblock(h)
  213. elseif a == "changeblock" then
  214. blockname = b
  215. updatetool()
  216. elseif a == "shutdown" then
  217. ass2:Destroy()
  218. script:Destroy()
  219. end
  220. end
  221.  
  222. ass2.OnServerEvent:connect(clientfired)
  223.  
  224. rs:connect(function()
  225.  
  226. c.Humanoid.MaxHealth = 300
  227. c.Humanoid.Health = math.min(c.Humanoid.Health + 1,300)
  228.  
  229. local ws = math.clamp(tor.Velocity.magnitude,-40,40)
  230. walktick = walktick + ws*.01
  231.  
  232. joints.ra.Transform = CFrame.Angles(0,0,math.sin(walktick)*rad*2*ws)
  233. joints.la.Transform = CFrame.Angles(0,0,math.sin(walktick)*rad*2*ws)
  234.  
  235. joints.rl.Transform = CFrame.Angles(0,0,math.sin(walktick)*rad*2*ws)
  236. joints.ll.Transform = CFrame.Angles(0,0,math.sin(walktick)*rad*2*ws)
  237.  
  238.  
  239. end)
  240. ]], owner.Character):WaitForChild("MINECRAFTASBUFF")
  241.  
  242. local p = owner
  243. local c = p.Character
  244. local m = p:GetMouse()
  245. local cam = workspace.CurrentCamera
  246. local sprint = false
  247. local blockindex = {['Quartz Pillar'] = {Front = 'http://www.roblox.com/asset/?id=105562583',Back = 'http://www.roblox.com/asset/?id=105562583',Left = 'http://www.roblox.com/asset/?id=105562583',Right = 'http://www.roblox.com/asset/?id=105562583',Top = 'http://www.roblox.com/asset/?id=105562555',Bottom = 'http://www.roblox.com/asset/?id=105562555',Transparency = 0},['Sand'] = {Right = 'http://www.roblox.com/asset/?id=75881753',Top = 'http://www.roblox.com/asset/?id=75881753',Back = 'http://www.roblox.com/asset/?id=75881753',Left = 'http://www.roblox.com/asset/?id=75881753',Left = 'http://www.roblox.com/asset/?id=75881753',Front = 'http://www.roblox.com/asset/?id=75881753',Bottom = 'http://www.roblox.com/asset/?id=75881753',Transparency = 0},['Diamond block'] = {Front = 'http://www.roblox.com/asset/?id=56749955',Top = 'http://www.roblox.com/asset/?id=56749955',Bottom = 'http://www.roblox.com/asset/?id=56749955',Back = 'http://www.roblox.com/asset/?id=56749955',Right = 'http://www.roblox.com/asset/?id=56749955',Left = 'http://www.roblox.com/asset/?id=56749955',Transparency = 0},['Glowstone'] = {Front = 'http://www.roblox.com/asset/?id=54790811',Top = 'http://www.roblox.com/asset/?id=54790811',Bottom = 'http://www.roblox.com/asset/?id=54790811',Back = 'http://www.roblox.com/asset/?id=54790811',Left = 'http://www.roblox.com/asset/?id=54790811',Right = 'http://www.roblox.com/asset/?id=54790811',Transparency = 0},['Sponge'] = {Top = 'http://www.roblox.com/asset/?id=118556758',Back = 'http://www.roblox.com/asset/?id=118556758',Left = 'http://www.roblox.com/asset/?id=118556758',Front = 'http://www.roblox.com/asset/?id=118556758',Right = 'http://www.roblox.com/asset/?id=118556758',Bottom = 'http://www.roblox.com/asset/?id=118556758',Transparency = 0},['Glass'] = {Front = 'http://www.roblox.com/asset/?id=28845586',Back = 'http://www.roblox.com/asset/?id=28845586',Top = 'http://www.roblox.com/asset/?id=28845586',Bottom = 'http://www.roblox.com/asset/?id=28845586',Left = 'http://www.roblox.com/asset/?id=28845586',Right = 'http://www.roblox.com/asset/?id=28845586',Left = 'http://www.roblox.com/asset/?id=152239003',Top = 'http://www.roblox.com/asset/?id=152239003',Back = 'http://www.roblox.com/asset/?id=152239003',Right = 'http://www.roblox.com/asset/?id=152239003',Front = 'http://www.roblox.com/asset/?id=152239003',Bottom = 'http://www.roblox.com/asset/?id=152239003',Transparency = 1},['Redstone Ore'] = {Front = 'http://www.roblox.com/asset/?id=83031267',Back = 'http://www.roblox.com/asset/?id=83031267',Top = 'http://www.roblox.com/asset/?id=83031267',Bottom = 'http://www.roblox.com/asset/?id=83031267',Left = 'http://www.roblox.com/asset/?id=83031267',Right = 'http://www.roblox.com/asset/?id=83031267',Transparency = 0},['Golden Block'] = {Front = 'http://www.roblox.com/asset/?id=59406046',Top = 'http://www.roblox.com/asset/?id=59406046',Bottom = 'http://www.roblox.com/asset/?id=59406046',Back = 'http://www.roblox.com/asset/?id=59406046',Right = 'http://www.roblox.com/asset/?id=59406046',Left = 'http://www.roblox.com/asset/?id=59406046',Transparency = 0},['Mossy Cobblestone'] = {Front = 'http://www.roblox.com/asset/?id=53893036',Back = 'http://www.roblox.com/asset/?id=53893036',Top = 'http://www.roblox.com/asset/?id=53893036',Bottom = 'http://www.roblox.com/asset/?id=53893036',Left = 'http://www.roblox.com/asset/?id=53893036',Right = 'http://www.roblox.com/asset/?id=53893036',Transparency = 0},['Stone Bricks'] = {Top = 'http://www.roblox.com/asset/?id=75882113',Back = 'http://www.roblox.com/asset/?id=75882113',Left = 'http://www.roblox.com/asset/?id=75882113',Right = 'http://www.roblox.com/asset/?id=75882113',Front = 'http://www.roblox.com/asset/?id=75882113',Bottom = 'http://www.roblox.com/asset/?id=75882113',Transparency = 0},['Netherrack'] = {Front = 'http://www.roblox.com/asset/?id=55412718',Back = 'http://www.roblox.com/asset/?id=55412718',Top = 'http://www.roblox.com/asset/?id=55412718',Left = 'http://www.roblox.com/asset/?id=55412718',Bottom = 'http://www.roblox.com/asset/?id=55412718',Right = 'http://www.roblox.com/asset/?id=55412718',Transparency = 0},['Cobblestone'] = {Right = 'http://www.roblox.com/asset/?id=75881187',Top = 'http://www.roblox.com/asset/?id=75881187',Front = 'http://www.roblox.com/asset/?id=75881187',Left = 'http://www.roblox.com/asset/?id=75881187',Back = 'http://www.roblox.com/asset/?id=75881187',Bottom = 'http://www.roblox.com/asset/?id=75881187',Transparency = 0},['Soul Sand'] = {Front = 'http://www.roblox.com/asset/?id=55412725',Back = 'http://www.roblox.com/asset/?id=55412725',Top = 'http://www.roblox.com/asset/?id=55412725',Left = 'http://www.roblox.com/asset/?id=55412725',Bottom = 'http://www.roblox.com/asset/?id=55412725',Right = 'http://www.roblox.com/asset/?id=55412725',Transparency = 0},['Bricks'] = {Top = 'http://www.roblox.com/asset/?id=75882272',Back = 'http://www.roblox.com/asset/?id=75882272',Left = 'http://www.roblox.com/asset/?id=75882272',Front = 'http://www.roblox.com/asset/?id=75882272',Right = 'http://www.roblox.com/asset/?id=75882272',Bottom = 'http://www.roblox.com/asset/?id=75882272',Transparency = 0},['Bed'] = {Top = 'http://www.roblox.com/asset/?id=71456694',Front = 'http://www.roblox.com/asset/?id=71456673',Left = 'http://www.roblox.com/asset/?id=71456649',Right = 'http://www.roblox.com/asset/?id=71456626',Back = 'http://www.roblox.com/asset/?id=71650095',Transparency = 1},['Grass Block'] = {Top = 'http://www.roblox.com/asset/?id=75880459',Front = 'http://www.roblox.com/asset/?id=75880542',Right = 'http://www.roblox.com/asset/?id=75880542',Back = 'http://www.roblox.com/asset/?id=75880542',Left = 'http://www.roblox.com/asset/?id=75880542',Bottom = 'http://www.roblox.com/asset/?id=75880810',Transparency = 0},['Bedrock'] = {Right = 'http://www.roblox.com/asset/?id=75881126',Top = 'http://www.roblox.com/asset/?id=75881126',Front = 'http://www.roblox.com/asset/?id=75881126',Back = 'http://www.roblox.com/asset/?id=75881126',Left = 'http://www.roblox.com/asset/?id=75881126',Bottom = 'http://www.roblox.com/asset/?id=75881126',Transparency = 0},['Diamond Ore'] = {Front = 'http://www.roblox.com/asset/?id=53578271',Back = 'http://www.roblox.com/asset/?id=53578271',Top = 'http://www.roblox.com/asset/?id=53578271',Bottom = 'http://www.roblox.com/asset/?id=53578271',Left = 'http://www.roblox.com/asset/?id=53578271',Right = 'http://www.roblox.com/asset/?id=53578271',Transparency = 0},['Dirt'] = {Right = 'http://www.roblox.com/asset/?id=75880810',Back = 'http://www.roblox.com/asset/?id=75880810',Top = 'http://www.roblox.com/asset/?id=75880810',Front = 'http://www.roblox.com/asset/?id=75880810',Bottom = 'http://www.roblox.com/asset/?id=75880810',Left = 'http://www.roblox.com/asset/?id=75880810',Transparency = 0},['Emerald Block'] = {Top = 'http://www.roblox.com/asset/?id=88340019',Right = 'http://www.roblox.com/asset/?id=88340019',Left = 'http://www.roblox.com/asset/?id=88340019',Front = 'http://www.roblox.com/asset/?id=88340019',Bottom = 'http://www.roblox.com/asset/?id=88340019',Back = 'http://www.roblox.com/asset/?id=88340019',Transparency = 0},['Gravel'] = {Front = 'http://www.roblox.com/asset/?id=96303213',Top = 'http://www.roblox.com/asset/?id=96303213',Bottom = 'http://www.roblox.com/asset/?id=96303213',Left = 'http://www.roblox.com/asset/?id=96303213',Right = 'http://www.roblox.com/asset/?id=96303213',Back = 'http://www.roblox.com/asset/?id=96303213',Transparency = 0},['Sandstone'] = {Bottom = 'http://www.roblox.com/asset/?id=77390965',Back = 'http://www.roblox.com/asset/?id=77390993',Left = 'http://www.roblox.com/asset/?id=77390993',Front = 'http://www.roblox.com/asset/?id=77390993',Right = 'http://www.roblox.com/asset/?id=77390993',Top = 'http://www.roblox.com/asset/?id=77390977',Transparency = 0},['Brick'] = {Front = 'http://www.roblox.com/asset/?id=71456426',Back = 'http://www.roblox.com/asset/?id=71456426',Top = 'http://www.roblox.com/asset/?id=71456426',Bottom = 'http://www.roblox.com/asset/?id=71456426',Left = 'http://www.roblox.com/asset/?id=71456426',Right = 'http://www.roblox.com/asset/?id=71456426',Transparency = 0},['Gold Ore'] = {Back = 'http://www.roblox.com/asset/?id=56749991',Right = 'http://www.roblox.com/asset/?id=56749991',Front = 'http://www.roblox.com/asset/?id=56749991',Bottom = 'http://www.roblox.com/asset/?id=56749991',Left = 'http://www.roblox.com/asset/?id=56749991',Top = 'http://www.roblox.com/asset/?id=56749991',Transparency = 0},['Wood'] = {Right = 'http://www.roblox.com/asset/?id=75881388',Front = 'http://www.roblox.com/asset/?id=75881388',Back = 'http://www.roblox.com/asset/?id=75881388',Left = 'http://www.roblox.com/asset/?id=75881388',Top = 'http://www.roblox.com/asset/?id=75881451',Bottom = 'http://www.roblox.com/asset/?id=75881451',Transparency = 0},['Iron Ore'] = {Right = 'http://www.roblox.com/asset/?id=121551280',Top = 'http://www.roblox.com/asset/?id=121551280',Back = 'http://www.roblox.com/asset/?id=121551280',Left = 'http://www.roblox.com/asset/?id=121551280',Front = 'http://www.roblox.com/asset/?id=121551280',Bottom = 'http://www.roblox.com/asset/?id=121551280',Transparency = 0},['Wooden Planks'] = {Top = 'http://www.roblox.com/asset/?id=75881905',Right = 'http://www.roblox.com/asset/?id=75881905',Back = 'http://www.roblox.com/asset/?id=75881905',Left = 'http://www.roblox.com/asset/?id=75881905',Front = 'http://www.roblox.com/asset/?id=75881905',Bottom = 'http://www.roblox.com/asset/?id=75881905',Transparency = 0},['Book Shelf'] = {Front = 'http://www.roblox.com/asset/?id=75882918',Left = 'http://www.roblox.com/asset/?id=75882918',Right = 'http://www.roblox.com/asset/?id=75882918',Back = 'http://www.roblox.com/asset/?id=75882918',Top = 'http://www.roblox.com/asset/?id=75881905',Bottom = 'http://www.roblox.com/asset/?id=75881905',Transparency = 0},['Quartz Block'] = {Front = 'http://www.roblox.com/asset/?id=107043832',Back = 'http://www.roblox.com/asset/?id=107043832',Bottom = 'http://www.roblox.com/asset/?id=107043832',Left = 'http://www.roblox.com/asset/?id=107043832',Right = 'http://www.roblox.com/asset/?id=107043832',Top = 'http://www.roblox.com/asset/?id=107043832',Transparency = 0},['Snow'] = {Front = 'http://www.roblox.com/asset/?id=63441200',Top = 'http://www.roblox.com/asset/?id=63441200',Bottom = 'http://www.roblox.com/asset/?id=63441200',Back = 'http://www.roblox.com/asset/?id=63441200',Right = 'http://www.roblox.com/asset/?id=63441200',Left = 'http://www.roblox.com/asset/?id=63441200',Transparency = 0},['Iron Block'] = {Front = 'http://www.roblox.com/asset/?id=59406020',Top = 'http://www.roblox.com/asset/?id=59406020',Bottom = 'http://www.roblox.com/asset/?id=59406020',Back = 'http://www.roblox.com/asset/?id=59406020',Right = 'http://www.roblox.com/asset/?id=59406020',Left = 'http://www.roblox.com/asset/?id=59406020',Transparency = 0},['Obsidian'] = {Right = 'http://www.roblox.com/asset/?id=75881274',Top = 'http://www.roblox.com/asset/?id=75881274',Front = 'http://www.roblox.com/asset/?id=75881274',Left = 'http://www.roblox.com/asset/?id=75881274',Bottom = 'http://www.roblox.com/asset/?id=75881274',Back = 'http://www.roblox.com/asset/?id=75881274',Transparency = 0},['Spawner'] = {Front = 'http://www.roblox.com/asset/?id=48004782',Back = 'http://www.roblox.com/asset/?id=48004782',Top = 'http://www.roblox.com/asset/?id=48004782',Bottom = 'http://www.roblox.com/asset/?id=48004782',Left = 'http://www.roblox.com/asset/?id=48004782',Right = 'http://www.roblox.com/asset/?id=48004782',Transparency = 1},['Coal Ore'] = {Front = 'http://www.roblox.com/asset/?id=15845619',Back = 'http://www.roblox.com/asset/?id=15845619',Top = 'http://www.roblox.com/asset/?id=15845619',Bottom = 'http://www.roblox.com/asset/?id=15845619',Left = 'http://www.roblox.com/asset/?id=15845619',Right = 'http://www.roblox.com/asset/?id=15845619',Top = 'http://www.roblox.com/asset/?id=152572101',Back = 'http://www.roblox.com/asset/?id=152572101',Left = 'http://www.roblox.com/asset/?id=152572101',Front = 'http://www.roblox.com/asset/?id=152572101',Right = 'http://www.roblox.com/asset/?id=152572101',Bottom = 'http://www.roblox.com/asset/?id=152572101',Transparency = 0},['Chiseled Quartz Block'] = {Front = 'http://www.roblox.com/asset/?id=105552118',Back = 'http://www.roblox.com/asset/?id=105552118',Left = 'http://www.roblox.com/asset/?id=105552118',Right = 'http://www.roblox.com/asset/?id=105552118',Top = 'http://www.roblox.com/asset/?id=105548970',Bottom = 'http://www.roblox.com/asset/?id=105548970',Transparency = 0},['Leaves'] = {Top = 'http://www.roblox.com/asset/?id=55320241',Back = 'http://www.roblox.com/asset/?id=55320241',Left = 'http://www.roblox.com/asset/?id=55320241',Front = 'http://www.roblox.com/asset/?id=55320241',Right = 'http://www.roblox.com/asset/?id=55320241',Bottom = 'http://www.roblox.com/asset/?id=55320241',Transparency = 1},['TNT'] = {Left = 'http://www.roblox.com/asset/?id=87191728',Right = 'http://www.roblox.com/asset/?id=87191728',Top = 'http://www.roblox.com/asset/?id=87191731',Bottom = 'http://www.roblox.com/asset/?id=87191716',Front = 'http://www.roblox.com/asset/?id=87191728',Back = 'http://www.roblox.com/asset/?id=87191728',Transparency = 0},}
  248.  
  249. local gui = Instance.new("ScreenGui",p.PlayerGui)
  250. local frame = Instance.new("Frame",gui)
  251. frame.Size = UDim2.new(0,400,0,400)
  252. frame.BackgroundTransparency = 1
  253. frame.Visible = false
  254. local ass = Instance.new("UIGridLayout",frame)
  255. ass.CellSize = UDim2.new(.1,0,.1,0)
  256.  
  257.  
  258. function listblocks()
  259. for i,v in next,frame:GetChildren() do
  260. if v:IsA("ImageButton") then
  261. v:Destroy()
  262. end
  263. end
  264.  
  265. for i,v in next,blockindex do
  266. local button = Instance.new("ImageButton",frame)
  267. button.Name = i
  268. button.Image = v.Front
  269. local text = Instance.new("TextLabel",button)
  270. text.BackgroundTransparency = 1
  271. text.TextScaled = true
  272. text.Text = i
  273. text.Size = UDim2.new(1,0,1,0)
  274.  
  275. button.MouseButton1Down:connect(function()
  276. remote_mc:FireServer("changeblock",button.Name)
  277. end)
  278. end
  279. end
  280. listblocks()
  281.  
  282. m.KeyDown:connect(function(k)
  283. if k == "0" then
  284. sprint = true
  285. end
  286. end)
  287. m.KeyUp:connect(function(k)
  288. if k == "0" then
  289. sprint = false
  290. end
  291. end)
  292.  
  293. m.Button2Down:connect(function()
  294. remote_mc:FireServer("placeblock",{cam.CFrame,m.Hit})
  295. end)
  296.  
  297. m.Button1Down:connect(function()
  298. remote_mc:FireServer("removeblock",{cam.CFrame,m.Hit})
  299. end)
  300. m.KeyDown:connect(function(k)
  301. if k == "q" then
  302. frame.Visible = true
  303. end
  304. end)
  305. m.KeyUp:connect(function(k)
  306. if k == "q" then
  307. frame.Visible = false
  308. end
  309. end)
  310.  
  311. game:GetService("RunService").RenderStepped:connect(function()
  312. if sprint then
  313. c.Humanoid.WalkSpeed = 30
  314. else
  315. c.Humanoid.WalkSpeed = 18
  316. end
  317. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement