generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: OK so on my starbucks

Previous Thread :: Next Thread 
king157 is not online. king157
Joined: 06 Jan 2009
Total Posts: 19196
29 Jun 2014 02:30 AM
it wont let me drop the cups

local Tool = script.Parent

function Weld(X, Y)
local W = Instance.new("Weld")
W.Part0 = X
W.Part1 = Y
local C = CFrame.new(X.Position)
local C0 = X.CFrame:inverse() * C
local C1 = Y.CFrame:inverse() * C
W.C0 = C0
W.C1 = C1
W.Parent = X
end

function WeldAll(A)
if A:IsA("Part") then
Weld(Tool.Handle, A)
A.Anchored = false
A.CanCollide = false
else
for _, X in pairs(A:GetChildren()) do
WeldAll(X)
end
end
end

Tool.Equipped:connect(function()
WeldAll(Tool)
end)

Tool.Unequipped:connect(function()
WeldAll(Tool)
end)

WeldAll(Tool)
Report Abuse
king157 is not online. king157
Joined: 06 Jan 2009
Total Posts: 19196
29 Jun 2014 02:39 AM
Tool.Unequipped:connect(function()
WeldAll(Tool)

is it that bit?

do i jsut delete it?
Report Abuse
Protune is not online. Protune
Joined: 17 Sep 2010
Total Posts: 147
29 Jun 2014 05:15 AM
You go to the tool - properties window - Look at the dropable function...
Report Abuse
IAmYourDominus is not online. IAmYourDominus
Joined: 13 Aug 2012
Total Posts: 1197
29 Jun 2014 05:24 AM
Click on the tool, go to properties then click droppable. All they have to do then is press backspace.
Report Abuse
king157 is not online. king157
Joined: 06 Jan 2009
Total Posts: 19196
29 Jun 2014 02:40 PM
Thanks :)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image