Raised This Month: $ Target: $400
 0% 

scripting help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
NorahDaniels
New Member
Join Date: May 2022
Old 10-20-2022 , 01:28   scripting help
Reply With Quote #1

i have been working a tool idle script(like a script that displays the idle animation of a tool), my problem is that when i use another item, while the other one is equipped while it is idle, the other respective weapon would have the idle animation as well, despise it not having a script/animation (the script, local Tool = nil local animScript = nil script.Parent.Equipped:connect(function() Tool = script.Parent animScript = Tool.Parent:WaitForChild("Animate") animScript:WaitForChild("toolnone"):WaitForCh ild("ToolAnim") animScript.tool.ToolNoneAnim.AnimationId = "rbxassetid://11225826802" end) script.Parent.Unequipped:connect(function() animScript:WaitForChild("toolnone"):WaitForCh ild("ToolAnim") animScript.tool.ToolAnim.AnimationId = "http :// www .roblox .com/asset/? id=000000(this is intentional)" end
NorahDaniels is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode