Enable Disable Particle

character model, thanks for helping guys :smiley:

didnt work sadly, i tried alot of things

Take a screenshot of how you have your character set up (with the backpack and tool children showing) as well as showing the location of the Tool, and the contents of the ReplicatedStorage folder.

alright ill send it, uh here it is


nvm got it fixed, :DDDDDDDDDDDDDDD

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local backpack = player:WaitForChild("Backpack")
local tool = script.Parent

local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://8165344945"
local dance = humanoid:LoadAnimation(anim)

local handle = tool:WaitForChild("Handle")
local smallerStar = handle.SmallerStar
local largerStaer = handle.LargerStar
smallerStar.Enabled = false
largerStaer.Enabled = false

local plrs = game:GetService("Players")
local rs = game:GetService("ReplicatedStorage")
local test = rs:WaitForChild("TestTool")
local testClone = test:Clone()
testClone.Parent = backpack

tool.Equipped:Connect(function()
	dance:Play()
	smallerStar.Enabled = true
	largerStaer.Enabled = true
	task.wait(1)
	smallerStar.Enabled = false
	largerStaer.Enabled = false
end)

tool.Unequipped:Connect(function()
	dance:Stop()
end)

Thanks This Worked Aswell! Tysm!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.