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
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: welding prob?!

Previous Thread :: Next Thread 
swimmaster07 is not online. swimmaster07
Joined: 08 Jun 2013
Total Posts: 1459
25 Jan 2016 08:18 PM
local tool = script.Parent


tool.Equipped:connect(function()
local weld = Instance.new("Weld")
weld.Parent = tool
weld.Part0 = tool:FindFirstChild("Handle")
weld.C0 = CFrame.new(0,0,0)
weld.Part1 = tool:FindFirstChild("PartZ")
weld.C1 = CFrame.new(0,-2,0)
end)


Do you guys see anything wrong with this script because when I equip the tool an animation is supposed to play, which it does, but when I unequip the tool, the animation is supposed to stop playing, but it doesn't. My character stays in the same position. I think the problem has something to do with this script. Help!?
Report Abuse
swimmaster07 is not online. swimmaster07
Joined: 08 Jun 2013
Total Posts: 1459
25 Jan 2016 08:30 PM
b
Report Abuse
Metology is not online. Metology
Joined: 06 Oct 2014
Total Posts: 3255
25 Jan 2016 08:39 PM
>.>


ish de squid weal
Report Abuse
iPenguinSuperTime is not online. iPenguinSuperTime
Joined: 25 Apr 2012
Total Posts: 3757
25 Jan 2016 09:02 PM
if tool.Equipped = false then
(Stop playing animation)
Report Abuse
Metology is not online. Metology
Joined: 06 Oct 2014
Total Posts: 3255
26 Jan 2016 06:58 PM
@above When you compare, you use ==


#code print ("ish de squid weal")
Report Abuse
HuskiesPancake is not online. HuskiesPancake
Joined: 12 Apr 2013
Total Posts: 2623
26 Jan 2016 06:59 PM
=


#code cntkill me < cool
Report Abuse
swimmaster07 is not online. swimmaster07
Joined: 08 Jun 2013
Total Posts: 1459
26 Jan 2016 08:02 PM
@metalogy the squid is indeed real ;-)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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