xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 14 Jun 2015 02:11 PM |
bin = script.Parent player = bin.Parent.Parent
function onButton1Down(mouse) if game.Workspace:findFirstChild("Karts") then player.Roullete.Value = false print("Placing Banana") peel = Instance.new("Part", game.Workspace) peel.Name = "Banana" peel.Size = Vector3.new(1, 2.4, 1) peel.Anchored = true peel.CanCollide = false peel.CFrame = game.Workspace.Karts[player.Name].EnginePart.CFrame + Vector3.new(0, -0.3, 0) shape = Instance.new("SpecialMesh", peel) shape.MeshId = "http://www.roblox.com/asset/?id=28937301" shape.TextureId = "http://www.roblox.com/asset/?id=28937670" shape.Scale = Vector3.new(1.5, 2, 1.5) whoops = bin.Slip:Clone() whoops.Parent = peel whoops.Disabled = false bin:Remove() end end
function onSelected(mouse) mouse.Button1Down:connect(function() onButton1Down(mouse) end) end
bin.Selected:connect(onSelected)
welp, Im trying to convert
I need additional help plox |
|
|
| Report Abuse |
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
| |
Egzekiel
|
  |
| Joined: 10 Jan 2011 |
| Total Posts: 1079 |
|
|
| 14 Jun 2015 02:49 PM |
HopperBin -> Tool .Selected -> .Equipped .MouseButton1Down -> .Activated .MouseButton1Up -> .Deactivated .Deselected -> .Unequipped |
|
|
| Report Abuse |
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
| |