Custom Animation (Help please) | Roblox Forum
Welcome to the Forums!
Join thousands of other Roblox members with a free account.
Create Forum Account

Custom Animation (Help please)

  • This website was created by Roblox members to replace the official forums because Roblox shut them down! Join our community if you like to talk about Roblox!

Koira

New Member
Reputation: 0 / 0 / 0
Sep 26, 2020
11
3
3
Roblox
Taacoo
Heya!

I've been trying to find out how to implement animation to a simple staff I created for a character in a game my group is working on. I made a simple animation where the crystal is spinning using Moon Animation. I've been trying to put it into the staff but it's not working. Googling has not helped me as I'm stupid and don't understand.. I'm really awful at this. My "expertise" lays more-so in 3D modeling, not animation and scripting lol.

stafff.PNG Closeup of the staff & the crystal I animated & rigged.

Any help on how to fix it so the animation plays for the staff once I click play is very appreciated. :)
 

Toxicheroking77

New Member
Reputation: 0 / 0 / 0
Oct 11, 2020
19
-2
1
Roblox
Toxicheroking77
local UserInputService = game:GetService("UserInputService")
local Tool = script.Parent

UserInputService.InputBegan:Connect(function(InputObject)
if InputObject.UserInputType == Enum.UserInputType.MouseButton1 then
-- play animation
end
end)

In the -- play animation line. Give the animation id or the script for the animation.
 

Koira

New Member
Reputation: 0 / 0 / 0
Sep 26, 2020
11
3
3
Roblox
Taacoo
local UserInputService = game:GetService("UserInputService")
local Tool = script.Parent

UserInputService.InputBegan:Connect(function(InputObject)
if InputObject.UserInputType == Enum.UserInputType.MouseButton1 then
-- play animation
end
end)

In the -- play animation line. Give the animation id or the script for the animation.
Oh thank you so much!
 
Private conversations
Rules Help Users
    You haven't joined any rooms.