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: Okay My Script Is Malfunctioning Hehe...

Previous Thread :: Next Thread 
iMalfunction is not online. iMalfunction
Joined: 14 Aug 2011
Total Posts: 21256
05 Oct 2014 01:17 AM
points = Game:GetService("PointsService")

while true do
awardable = points:GetAwardablePoints()
if awardable == 0 then
wait()
script.Parent.Text = "This game is currently out of available player points"
else
wait()
script.Parent.Text = "Player Points Available: "..awardable..""
end
end

Thats part of a PP gui

For the available part it says ?

join my cafe to see what I mean
Report Abuse
iMalfunction is not online. iMalfunction
Joined: 14 Aug 2011
Total Posts: 21256
05 Oct 2014 01:18 AM
Also since it is like that my PP award script does not work...
Report Abuse
iMalfunction is not online. iMalfunction
Joined: 14 Aug 2011
Total Posts: 21256
05 Oct 2014 01:20 AM
If you just came

my anti-exploit kicked u
Report Abuse
KLGA is not online. KLGA
Joined: 19 Apr 2014
Total Posts: 2571
05 Oct 2014 01:20 AM
That's useless, PP is now unlimited. Every game can award as much PP as they choose.
Report Abuse
iMalfunction is not online. iMalfunction
Joined: 14 Aug 2011
Total Posts: 21256
05 Oct 2014 01:22 AM
Yes ik

but for my PP award script to work it has to have this
Report Abuse
iMalfunction is not online. iMalfunction
Joined: 14 Aug 2011
Total Posts: 21256
05 Oct 2014 01:30 AM
Or is there an error to my PP award script?


PointsService = game:GetService("PointsService")
game.Players.PlayerAdded:connect(function(p)
while true do
wait(60)
game:GetService("PointsService"):AwardPoints(p.userId,1)
print("Point awarded!")
end
end)
Report Abuse
iMalfunction is not online. iMalfunction
Joined: 14 Aug 2011
Total Posts: 21256
05 Oct 2014 01:33 AM
hm
Report Abuse
iMalfunction is not online. iMalfunction
Joined: 14 Aug 2011
Total Posts: 21256
05 Oct 2014 01:33 AM
Help!
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
05 Oct 2014 02:02 AM
Create a seperate script that has this: - and put it into replicated storage
while true do
wait(60)
game:GetService("PointsService"):AwardPoints(game.Players:GetPlayerFromCharacter(script.Parent).userId,1)
--print("Point awarded!")
end


script = game.ReplicatedStorage.Script --make sure dis is correct
PointsService = game:GetService("PointsService")
game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function(char)
script:Clone().Parent = char
end)
end)

~I'm an Angry Llama~
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