I've tried many times but I never manage to fix it. Here's a bit of info about it: it's a hopperbin w/ two scripts inside; one named Bin Script and one named Starter. [NOTE: Starter script is more of a fixing script that anything else, but I've tried editing both scripts but I haven't managed to fix the tool yet.] [NOTE: Both scripts are scripts, not local scripts.]

Here's the contents of the Bin Script:

Bin = script.Parent
Backpack = Bin.Parent
Me = Backpack.Parent
PlayerGui = Me.PlayerGui
Ki = PlayerGui.Bars.Ki
Character = Me.Character
Data = Me.Data
Humanoid = Character.Humanoid
Torso = Character.Torso
Head = Character.Head
LeftArm = Character["Left Arm"]
RightArm = Character["Right Arm"]
LeftLeg = Character["Left Leg"]
RightLeg = Character["Right Leg"]
Neck = Torso["Neck"]
RightShoulder = Torso["Right Shoulder"]
LeftShoulder = Torso["Left Shoulder"]
RightHip = Torso["Right Hip"]
LeftHip = Torso["Left Hip"]

NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)

function RefreshWelds()
Neck.C0 = NeckC0
Neck.C1 = NeckC1
RightShoulder.C0 = RightShoulderC0
RightShoulder.C1 = RightShoulderC1
LeftShoulder.C0 = LeftShoulderC0
LeftShoulder.C1 = LeftShoulderC1
RightHip.C0 = RightHipC0
RightHip.C1 = RightHipC1
LeftHip.C0 = LeftHipC0
LeftHip.C1 = LeftHipC1
end

function ChakraWelds()
 TiltX = 0
 TiltY = 0
 TiltZ = 1.57
 RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
 LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
 TiltX = 0.6
 TiltY = 0
 TiltZ = 0
 MoveX = 0
 MoveY = 0
 MoveZ = -0.3
 RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
 LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
 TiltX = -0.05
 TiltY = 0
 TiltZ = 0
 MoveX = 0
 MoveY = 0.1
 MoveZ = 0
 RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
 LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
end

Activated = false
Thing = Character.Occupied

function Attack(mouse)

if not Activated and Humanoid.PlatformStand == false and Thing.Value == false then
mouse.Icon = "http://www.roblox.com/asset/?id=41672909"
if Ki.Value >= 60 then
Activated = true

for i = 1 , 6 do
RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.15*i)
LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*i)
RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 0.31*i)
LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 0.035*i)
wait()
end
for i, v in pairs(workspace:GetChildren()) do
eTorso = v:findFirstChild("Torso")
eHumanoid = v:findFirstChild("Humanoid")
if eTorso ~= nil and eHumanoid ~= nil and v.Name ~= Me.Name then
if (Torso.Position-eTorso.Position).magnitude <= 5 then

v.Occupied.Value = true
game.Lighting.EnableScript:clone().Parent = v.Occupied
Ki.Value = Ki.Value - 60
Gyro = Instance.new("BodyGyro")
Gyro.Parent = Torso
Gyro.D = 50
Gyro.maxTorque = Vector3.new(0,0,0)
Gyro.cframe = Torso.CFrame
Velocity = Instance.new("BodyVelocity")
Velocity.Parent = Torso
Velocity.maxForce = Vector3.new(0, 0, 0)
Position = Instance.new("BodyPosition")
Position.Parent = Torso
Position.maxForce = Vector3.new(0, 0, 0)
RefreshWelds()
eHumanoid.PlatformStand = true
if eTorso:findFirstChild("FloatV") ~= nil then
eTorso:findFirstChild("FloatV"):Remove()
end
eHumanoid:TakeDamage(5)
Humanoid.WalkSpeed = 0
Thrust = Instance.new("BodyVelocity")
Thrust.Parent = eTorso
Thrust.maxForce = Vector3.new(0, math.huge, 0)
Thrust.velocity = Vector3.new(0, 100, 0)
wait(1)
Thrust:Remove()
wait()
ePosition = Instance.new("BodyPosition")
ePosition.Parent = eTorso
ePosition.position = eTorso.Position
ePosition.maxForce = Vector3.new(math.huge, math.huge, math.huge)
eGyro = Instance.new("BodyGyro")
eGyro.Parent = eTorso
eGyro.D = 50
eGyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
eGyro.cframe = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
Gyro.cframe = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
eGyro.cframe = CFrame.new(Torso.Position, eTorso.Position)
wait(0.1)
Torso.CFrame = eTorso.CFrame * CFrame.new(0, 1, 1.6)
wait()
Position.position = Torso.Position
Position.maxForce = Vector3.new(math.huge, math.huge, math.huge)
ChakraWelds()

RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(-0.75, 0.3, 2.7)
LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(-0.75, 0.3, -2.7)
Neck.C0 = NeckC0 * CFrame.Angles(-0.25, 0, 0) 

wait(0.5)

Position.position = Torso.Position + Vector3.new(0, -0.5, 0)
Neck.C0 = NeckC0 * CFrame.Angles(0.2, 0, 0) 
ChakraWelds()
eHumanoid:TakeDamage(10)
Chance = math.random(1, 3)
if Chance == 1 then
 --[[ex = game.Lighting.Boom:clone()
 ex.Parent = workspace
 ex.CFrame = Torso.CFrame*CFrame.new(0, 0, -2)]]
 Data.Physical.PhXP.Value = Data.Physical.PhXP.Value+80
 Data.KiControl.KiXP.Value = Data.KiControl.KiXP.Value+60
 Data.Agility.AXP.Value = Data.Agility.AXP.Value+80
 else
 --[[ex = game.Lighting.Smack:clone()
 ex.Parent = workspace
 ex.CFrame = Torso.CFrame*CFrame.new(0, 0, -2)]]
 Data.Physical.PhXP.Value = Data.Physical.PhXP.Value+70
 Data.KiControl.KiXP.Value = Data.KiControl.KiXP.Value+50
 Data.Agility.AXP.Value = Data.Agility.AXP.Value+50
end
eTorso.Velocity = Torso.CFrame.lookVector * 25 + Vector3.new(0, -200, 0)
ePosition:Remove()
Thrust:Remove()
eGyro:Remove()
eHumanoid.Sit = true
pie = game.Lighting["DPScript2"]:clone()
pie.Parent = v
pie.Disabled = false
eGyro.cframe = CFrame.new(Torso.Position, eTorso.Position)
for i = 1 , 4 do
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0.2, -0.2) * CFrame.Angles(0.44, 0, 0.2)
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.4)
wait(0.03)
end
for i = 1 , 2 do
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(-0.4, 0, 0) * CFrame.Angles(0, 0.6, 0) 
wait(0.02)
end
RefreshWelds()
Humanoid.WalkSpeed = 16
v.Occupied.Value = false
if v.Occupied:findFirstChild("EnableScript") ~= nil then
v.Occupied:findFirstChild("EnableScript"):Remove()
end
wait(1)
Gyro:Remove()
Position:Remove()
Velocity:Remove()
end
end
end
wait(0.05)  
RefreshWelds()
Chance = math.random(1, 3)
if Chance == 1 then
 Data.Physical.PhXP.Value = Data.Physical.PhXP.Value+70
end
wait(4)
Activated = false
end
--end
wait(1)
mouse.Icon = "http://www.roblox.com/asset/?id=11624732"

end

end 

function onSelected(mouse)
mouse.Icon = "http://www.roblox.com/asset/?id=11624732"
mouse.Button1Down:connect(function() Attack(mouse) end)
end

script.Parent.Selected:connect(onSelected)

Contents of the Starter script:

--[[Due to problems with this tool, this script will be used to get the weapon working]]--
S = script.Parent["Bin Script"]
SS = S:clone()
S:remove()
SS.Parent = script.Parent

4 comments

0

Mastrj made these scripts by the way, I've tried learning off of them and fixing them but I fail every time. Please post an answer as I'd like to learn from what I did wrong.

0

If you need/want all of his script/tools for his now broken DBOA, feel free to contact me and I'll provide you with the link.

0

What do you mean by "fix"? What are they supposed to do? What are they doing instead? What have you tried?

0

Unlock the move "Bone Crush" and then test it on someone: http://www.roblox.com/Dragon-Ball-Ultimate-Fighting-New-Explosion-place?id=163169927. It should be doing the same thing as the bone crush on that DBZ game, but the one I have does nothing at all. It just acts like a normal hopperbin with nothing inside.