|
| 06 Oct 2015 09:09 PM |
Are you able to fix this script? Script is inside of a tool along with a model, clicking with the tool in hand is supposed to spawn the model. ________________________
--Info: To Use This Just Inset A Model Inside This Tool And Change The Name Where It Says Below
bin = script.Parent
function onButton1Down(mouse)
local model = bin.Figure:clone() --Change "Plane" to What Ever Model Name You Have
model.Parent = game.Workspace model:MakeJoints() model:MoveTo(mouse.hit.p) bin:ClearAllChildren()
end
function onSelected(mouse) mouse.Icon = "rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end
bin.Selected:connect(onSelected) |
|
|
| Report Abuse |
|
DrSquidsy
|
  |
| Joined: 16 Oct 2010 |
| Total Posts: 401 |
|
|
| 06 Oct 2015 09:10 PM |
wrong_thread.exe needs to be running
"you guys don't seem to get that just wearing a trenchcoat or fedora doesn't make you a fedora, right?" -SeaChameleon |
|
|
| Report Abuse |
|