me = game.Players.ththth00 if script.Parent.className ~= "HopperBin" then h = Instance.new("HopperBin") h.Parent = me.Backpack h.Name = "Earthbending tool" script.Parent = h end local p = Instance.new("Part") p.Name = "Bending Rock" local bp = Instance.new("BodyPosition") local v = Instance.new("BodyVelocity") mesh = "http://www.roblox.com/asset/?id=1290033" tex = "http://www.roblox.com/asset/?id=1290030" function key(key) if key == "r" then script.Parent.Name = "Rock spawn" wait(5) script.Parent.Name = "Earthbending Tool" end end function OB1D(mouse) local a = p:clone() a.Parent = Workspace a.Size = Vector3.new(1,1,1) a.Position = mouse.Hit.p m = Instance.new("SpecialMesh") m.Parent = a m.TextureId = tex m.MeshType = "FileMesh" m.MeshId = mesh m.Scale = Vector3.new(3,3,3) end function S(mouse) mouse.Button1Down:connect(function() OB1D(mouse) end) mouse.KeyDown:connect(key) end script.Parent.Selected:connect(S) local p = Instance.new("Part") local bp = Instance.new("BodyPosition") local v = Instance.new("BodyVelocity") mesh = "http://www.roblox.com/asset/?id=1290033" tex = "http://www.roblox.com/asset/?id=1290030" function key(key) if key == "z" then g = Workspace:children() for i = 1, #g do if g[i].Name == "Bending Rock" then g[i]:Remove() end end end end function S(mouse) mouse.KeyDown:connect(key) end function key(key) if key == "b" then script.Parent.Name = "Earth Bending" wait(5) script.Parent.Name = "Earthbending Tool" function B1D(mouse) bp.Parent = p bp.maxForce = Vector3.new(20000,20000,20000) bp.position = script.Parent.Parent.Parent.Character.Torso.Position + Vector3.new(4,4.5,0) wait(2) v.Parent = p v.maxForce = Vector3.new(math.huge,math.huge,math.huge) v.velocity = Vector3.new(10000,0,0) end end end function S(mouse) mouse.Button1Down:connect(function() B1D(mouse) end) mouse.KeyDown:connect(key) script.Parent.Selected:connect(S)