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
 

Giver aint working..

Previous Thread :: Next Thread 
coolredpanda10 is not online. coolredpanda10
Joined: 09 Apr 2010
Total Posts: 4086
03 Oct 2012 10:59 AM
Now I know what your thinking. "Didn't script it correctly." But that is NOT the problem. In output, it says the script is fine, but in-game, it doesn't work.
Report Abuse
MrChickens is not online. MrChickens
Joined: 21 Feb 2009
Total Posts: 1076
03 Oct 2012 11:13 AM
Check that the script is enabled, check that the functions are written our properly, stuff like that.

☜▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬☞
MrChickens, another bird which doesn't fly.
Report Abuse
coolredpanda10 is not online. coolredpanda10
Joined: 09 Apr 2010
Total Posts: 4086
03 Oct 2012 11:17 AM
Enabled: Check
Written Properly: Check
Report Abuse
MrChickens is not online. MrChickens
Joined: 21 Feb 2009
Total Posts: 1076
03 Oct 2012 11:18 AM
If the giver is from free models, I suggest using a different one, sometimes someone can upload things which don't work.

Try ajedi32's models, they are top of the range and user-friendly.

☜▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬☞
MrChickens, another bird which doesn't fly.
Report Abuse
coolredpanda10 is not online. coolredpanda10
Joined: 09 Apr 2010
Total Posts: 4086
03 Oct 2012 12:37 PM
WTF? THAT IS A COMPLETE INSULT TO ME. I DONT USE FREE MODELS. I MADE THE GIEVER MYSELF...
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
03 Oct 2012 12:46 PM
Here's something You could try;


POSTING THE SCRIPT SO WE CAN FIGURE OUT THE PROBLEM.
Report Abuse
kools is not online. kools
Joined: 11 Jan 2009
Total Posts: 1659
03 Oct 2012 01:57 PM
^
Report Abuse
pokemon771 is not online. pokemon771
Joined: 28 Oct 2008
Total Posts: 8671
03 Oct 2012 01:59 PM
"WTF? THAT IS A COMPLETE INSULT TO ME. I DONT USE FREE MODELS. I MADE THE GIEVER MYSELF..."


It's not in insult. :/


Also POST THE SCRIPT.
Report Abuse
coolredpanda10 is not online. coolredpanda10
Joined: 09 Apr 2010
Total Posts: 4086
03 Oct 2012 02:28 PM
Taken = script.Parent.Used

local debounce = false

function getPlayer(humanoid)
local players = game.Players:children()
for i = 1, #players do
if players[i].Character.Humanoid == humanoid then return players[i] end
end
return nil
end

function onTouch(part)

local human = part.Parent:findFirstChild("Humanoid")
if (human ~= nil) and debounce == false then

debounce = true

local player = getPlayer(human)

if (player == nil) then return end

game.Lighting.Sniper:clone().Parent = player.Backpack
wait()
Taken.Value = Taken.Value + 1
wait()
if Taken.Value == 4 then
script.Parent:remove()
wait()
debounce = false

end
end


script.Parent.Touched:connect(onTouch)
end
Report Abuse
TehChikenHater is not online. TehChikenHater
Joined: 11 Jun 2012
Total Posts: 497
03 Oct 2012 03:23 PM
local players = game.Players:children()

:children() is decapitated, no?
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
03 Oct 2012 03:24 PM
No, deprecated.

¤ ¤ † K M X D † ¤ ¤
Report Abuse
TehChikenHater is not online. TehChikenHater
Joined: 11 Jun 2012
Total Posts: 497
03 Oct 2012 03:24 PM
Uhm.

script.Parent.Touched:connect(onTouch)
end

You missing a ')' after that 'end'? I think yes.
And, that function is useless.
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
03 Oct 2012 03:24 PM
Some old code...

Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
03 Oct 2012 03:30 PM
There's really nothing wrong with using Free Models. That is a free model, don't deny that it isn't, and freak out others saying it is.

¤ ¤ † K M X D † ¤ ¤
Report Abuse
coolredpanda10 is not online. coolredpanda10
Joined: 09 Apr 2010
Total Posts: 4086
04 Oct 2012 01:10 PM
-.- It isn't a free model, its an old script I got two years ago, I recently modified it.
Report Abuse
coolredpanda10 is not online. coolredpanda10
Joined: 09 Apr 2010
Total Posts: 4086
04 Oct 2012 01:12 PM
If you look in my models you'd see that the same giver was made 2 years ago.
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