Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

A script that gives X Value on leaderboard on sword kill?

Hey hey.

I've been looking (and tried to script one ofcourse) for a script that gives you X Value when you kill an person with your sword.

As you might have guessed, i'm making an amateur Sword Fighting game for fun.

I have everything working except the sword part...

It would be nice if someone could help me and explain how stuff works.

(If you have a free models that's ok too lol. It's just for fun :-)

Thank you guys!

2 comments

0

You know this isn't a request site, right?

0

look at the domain of the site 'scripting HELPERS' not givers

1 answer

Create an OnTouch function in the sword script. Give the function an Humanoid argument. Insert a folder into each player using Instance.new. Insert a IntValue into that folder. Change the IntValue every time a player is killed by touching the sword. Im not giving out code so people will have a challenge cuz some people just go here for code. Mark as answered if this helped. If the script still does not work, reply and I might give the code out. Note: The above steps were taken from code I made. Hope your sword game gets you on the front page.

1 comment

0

Do you even know how Touched works?

This discussion is preserved as it was. New answers, comments, and votes are closed.