You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
To make the character’s right arm and left arm to the default position -
What is the issue? Include screenshots / videos if possible!
The tool animation when we remove the tool from the character gets stuck and not reset to the default animation/position of the left and right arm. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
So far I’ve been finding it all over the website and trying to search it but it never fixes my problem. I’ve been reading Developer Hub but still, I’m confused with it, I can’t figure out how to fix the problem.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
This script location: game.workspace.Trophy.ProximityPrompt2
What should I add to the script to reset this animation
--
local Storage = game.ServerStorage
local Part = script.Parent.Parent
local ProximityPrompt = script.Parent
local Player = game:GetService("Players").LocalPlayer
ProximityPrompt.Triggered:connect(function(Player)
for _, Child in pairs(workspace:GetChildren()) do
if Child.Name == Player.Name and Child:IsA("Model") and Child:FindFirstChild("Humanoid") then
local chr = Player.Character
if chr:FindFirstChild("Trophy") then
chr:FindFirstChild("Trophy"):Destroy()
script.Parent.Parent.Transparency = 0
script.Parent.Parent.CanCollide = true
script.Parent.Enabled = false
script.Parent.Parent.ProximityPrompt.Enabled = true
end
end
end
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.