|
| 29 Aug 2011 07:21 PM |
I need help with a script that takes off my clothes and hats and put on the clothes and hats from lightning and puts it on me. I also need help with a script that gives you a point everytime you kill someone. Thanks :D
Im broke atm so I cant pay but when I have enough I will pay. |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 07:24 PM |
game:GetService("Players").PlayerAdded:connect(function(newPlayer) Instance.new("IntValue", newPlayer).Name = "leaderstats" Instance.new("IntValue", newPlayer.leaderstats).Name = "Points" newPlayer:WaitForDataReady() pcall(function() newPlayer.leaderstats.Points.Value = newPlayer:LoadNumber("Points") end) end)
game:GetService("Players").PlayerRemoving:connect(function(oldPlayer) oldPlayer:SaveNumber("Points", oldPlayer.leaderstats.Points.Value) end)
And put this in your AI model.
local PointsPerKill = 50
for _, v in pairs(script.Parent:GetChildren()) do if v:IsA("Humanoid") then v.Died:connect(function() local creator = v:FindFirstChild("creator") if creator then Killer = game:GetService("Players"):FindFirstChild(creator.Value) if Killer then Killer.leaderstats.Points.Value = Killer.leaderstats.Points.Value + PointsPerKill end end end) end end
---It also has data persistance..--- |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 07:26 PM |
| Thanks :D. I have one with with DP but it has deaths too =/ |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Aug 2011 07:28 PM |
| How do I remove DB? Because I dont want people coming ingame and beating people with the best swords. |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 07:38 PM |
lrn2script.
NO REQUESTS. GET OUT. |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 07:43 PM |
lrn2troll No NOOBS! Get out! |
|
|
| Report Abuse |
|
|
xvgigakid
|
  |
| Joined: 22 Jun 2008 |
| Total Posts: 4407 |
|
|
| 29 Aug 2011 07:46 PM |
@Sarah
You should know better than to try to get a Certefied Troll to listen. Kids these days... |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
| |
|
| |
|
|
| 29 Aug 2011 08:03 PM |
...
You guys crack me up -.- |
|
|
| Report Abuse |
|
|
zeke505
|
  |
| Joined: 26 May 2008 |
| Total Posts: 15765 |
|
|
| 29 Aug 2011 08:10 PM |
| snc u hav soooo mch mny y dunt u us dat mny 2 gt techer 2 lern u lua u nob do it urslf!111!! |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 08:18 PM |
| snc you are a nob i understan hiw u dun usw grama |
|
|
| Report Abuse |
|
|
zeke505
|
  |
| Joined: 26 May 2008 |
| Total Posts: 15765 |
|
|
| 29 Aug 2011 08:20 PM |
| nu u r nob haha nobby nob nub so wit ur mny dd u gt a techer so u cld mk it urslf or r u 2 dm haha |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 08:44 PM |
| Lol. Gratz! You waste your life on the forums trying to troll :D |
|
|
| Report Abuse |
|
|
zeke505
|
  |
| Joined: 26 May 2008 |
| Total Posts: 15765 |
|
|
| 29 Aug 2011 08:45 PM |
I wasn't trying to troll. :P |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 08:47 PM |
There's something called rules. Get out, learn to script, no requests.
I be callin' in the pro-troll police? |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 08:54 PM |
| Kool! I be callin your mom. :D I cont have time for your bull. Also IDGAF about your excuse; My mom is dead or my mom is ugly. |
|
|
| Report Abuse |
|
|
zeke505
|
  |
| Joined: 26 May 2008 |
| Total Posts: 15765 |
|
|
| 29 Aug 2011 08:55 PM |
| I doubt you are, seeing as we have no power and my mom doesn't have a cell phone. |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 08:57 PM |
| Actually, my mom is dead. Retard. |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
|
| 29 Aug 2011 09:01 PM |
Here goes another lousy thread. xD Last time in DJDylan's thread, he was a noob asking an admin commands script. But then, it started a FLAME WAR. One guy named Nexun gave hima script with instructions, but still DJDylan still didn't get...He's a noob.
NO REQUEST ALLOWED! EVEN THOUGH YOU FIGHT WE REPORT YOU |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 09:05 PM |
Admin commands
--[[ give game:owner().admins = true end --]]
while wait() do Instance.new("ManualSurfaceJointInstance", workspace) end |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 09:20 PM |
@Zeke Umadbro?
@Dark Lol Kewl. My hamster is dead too :D. Plus who said I cant do her in her grave? |
|
|
| Report Abuse |
|
|
zeke505
|
  |
| Joined: 26 May 2008 |
| Total Posts: 15765 |
|
| |
|
|
| 29 Aug 2011 09:24 PM |
| Oops sorry I meant ubrokebro? |
|
|
| Report Abuse |
|
|