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
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: If someone wants to help, PM me.

Previous Thread :: Next Thread 
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
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
TigerBloodd is not online. TigerBloodd
Joined: 24 Oct 2010
Total Posts: 2430
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
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
29 Aug 2011 07:26 PM
Thanks :D. I have one with with DP but it has deaths too =/
Report Abuse
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
29 Aug 2011 07:26 PM
AI Model? O_e
Report Abuse
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
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
SarahAngel is not online. SarahAngel
Joined: 12 Dec 2009
Total Posts: 2166
29 Aug 2011 07:38 PM
lrn2script.

NO REQUESTS. GET OUT.
Report Abuse
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
29 Aug 2011 07:43 PM
lrn2troll
No NOOBS! Get out!
Report Abuse
xvgigakid is not online. 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 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
29 Aug 2011 07:47 PM
^ He's right mah boy!
Report Abuse
SarahAngel is not online. SarahAngel
Joined: 12 Dec 2009
Total Posts: 2166
29 Aug 2011 07:48 PM
I'm sowwy. :(
Report Abuse
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
29 Aug 2011 08:03 PM
...


You guys crack me up -.-
Report Abuse
zeke505 is not online. 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
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
29 Aug 2011 08:18 PM
snc you are a nob i understan hiw u dun usw grama
Report Abuse
zeke505 is not online. 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
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
29 Aug 2011 08:44 PM
Lol. Gratz! You waste your life on the forums trying to troll :D
Report Abuse
zeke505 is not online. zeke505
Joined: 26 May 2008
Total Posts: 15765
29 Aug 2011 08:45 PM
I wasn't trying to troll.
:P
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
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
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
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 is not online. 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
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
29 Aug 2011 08:57 PM
Actually, my mom is dead. Retard.
Report Abuse
Miro034 is not online. 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
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
29 Aug 2011 09:05 PM
Admin commands

--[[ give game:owner().admins = true
end
--]]

while wait() do
Instance.new("ManualSurfaceJointInstance", workspace)
end
Report Abuse
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
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 is not online. zeke505
Joined: 26 May 2008
Total Posts: 15765
29 Aug 2011 09:21 PM
Uhm....no?
Report Abuse
Presentable is not online. Presentable
Joined: 10 Jul 2011
Total Posts: 735
29 Aug 2011 09:24 PM
Oops sorry I meant ubrokebro?
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