Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Trying to make a Clap animation give +1 points each clap? [closed]

Asked by
iivSnooxy 216 Moderation Voter
18 days ago

Hello, can anyone help me or like show me how to make a +1 points each time the character claps? I have already made an animation/well my friend did, but I don’t even know how to code it ,can anyone help I’m not a good scripter yet..

0
What do you mean by giving +1 points. Are you using leaderstats? Are you using an IntValue? Please be specific. Dovydas1118 795 — 18d
0
I am using IntValue, Yes I am using leaderstats, I’m trying to do that there is a clap animation as a tool and when the tool is Activated and when they click the animation fires and then that makes them clap, when the player claps it adds 1 point which is called “Claps”, on the leaderboard could you help me with that? iivSnooxy 216 — 18d

Closed as Not Constructive by 14zanderbilt, Dovydas1118, zamd157, and Jessesong

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 18 days ago
Edited 18 days ago

Put this script into a tool,

script.Parent.Activated:Connect(function()
CurrentPlayer = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
CurrentPlayer.leaderstats.Claps.Value = CurrentPlayer.leaderstats.Claps.Value + 1
end)
0
Does it have a Clap animation in that script? iivSnooxy 216 — 18d
0
Bro, we don't know your damn animation, do it yourself 14zanderbilt 457 — 18d
1
Messed up my script a bit, I fixed it Gooncreeper 98 — 18d
1
So if you create a new script in your tool, when you click your leaderstat value of claps should go up. Tell me if any errors. Gooncreeper 98 — 18d
0
Thank you Gooncreeper, I really wish I could get a clap animation with plus one, but I love your hard work so I will upvote yours. iivSnooxy 216 — 18d
Ad