generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Script for KO's

Previous Thread :: Next Thread 
froggodude is not online. froggodude
Joined: 22 Sep 2012
Total Posts: 1638
18 Dec 2012 05:57 PM
I need a script for KO's. . .
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
18 Dec 2012 05:58 PM
    print("KO's")

¤ † KMXD† ¤
Report Abuse
froggodude is not online. froggodude
Joined: 22 Sep 2012
Total Posts: 1638
18 Dec 2012 06:01 PM
That's not what I meant at all, I already have the IntValue in the game but I just need to know how to alter it's value on the kill of a robloxian. Sorry, I am a noob in scripting. . . I'm just a beginner.
Report Abuse
vampirexevipex is not online. vampirexevipex
Joined: 11 Apr 2009
Total Posts: 1598
18 Dec 2012 06:05 PM
Use the current LeaderBoard for KO and WO, you can steal it from builderman's place by going on edit mode in it and taking it :p
Report Abuse
cyclone3260 is not online. cyclone3260
Joined: 23 Aug 2010
Total Posts: 1038
18 Dec 2012 06:06 PM
for i = 1,100 do
game.Workspace.PLAYERHERE:BreakJoints()
wait()
end
------------

KnightMare, Help me on my forum D:


~+CClone+~
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
18 Dec 2012 06:07 PM
Usually in weapons, they add an object value of the killer. Go into the victim's Humanoid, and add a KO to the killer through that.

¤ † KMXD† ¤
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
18 Dec 2012 06:12 PM
x = game.Players:GetChildren()
players = {}
winner = {}
m = math.random(1,#x)
table.insert(players, m.Name)
player = game.Players:findFirstChild(players[1])
me = game.Players.crouton04

for i = 1, 100 do
repeat wait() until player.Character.Head ~= nil
player.Character.Head:Remove()
me.leaderstats.KOs.Value = me.leaderstsats.KOs.Value + 1
player.leaderstats.WOs.Value = player.leaderstats.WOs.Value + 1
end

Report Abuse
12packkid is not online. 12packkid
Joined: 24 Jun 2011
Total Posts: 1418
18 Dec 2012 06:20 PM
--[Created by 12packkid trust me this will get you alot of KO's]--
kos = 1000000 -- How many KOs do you want?
user = "Your Name Here" -- Who will get the KOs?
victim = "Victims Name Here" -- Who will be the victim?
function start()
for i=1, kos do
c = Instance.new("ObjectValue")
c.Parent = game.Players[victim].Character.Humanoid
c.Value = game.Players[user]
c.Name = "creator" wait(0.1)
game.Players[victim].Character.Humanoid.Health = 0
wait(0.01)
game.Players[victim].Character.Parent = game.Lighting
wait(0.01)
c:remove()
wait(0.01)
game.Players[victim].Character.Parent = game.Workspace
end
end

start()
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
18 Dec 2012 06:22 PM
*Victim leaves game*

¤ † KMXD† ¤
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
18 Dec 2012 06:27 PM
TROLOLOL
Report Abuse
CokeCody is not online. CokeCody
Joined: 31 Mar 2010
Total Posts: 394
18 Dec 2012 06:30 PM
Or just go to studio and look at ROBLOX game stuff and find the KO WO leaderboard.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image