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: Giver Script?

Previous Thread :: Next Thread 
Storm980 is not online. Storm980
Joined: 08 Aug 2010
Total Posts: 10857
22 Mar 2011 08:25 PM
IM making a training place for my friends group and i wanna make a sword giver but i dont know how to insert the script that gives you the sword D:
Report Abuse
joeyme is not online. joeyme
Joined: 11 Oct 2009
Total Posts: 530
22 Mar 2011 08:27 PM
use free models
Report Abuse
Storm980 is not online. Storm980
Joined: 08 Aug 2010
Total Posts: 10857
22 Mar 2011 08:33 PM
im no noob. i will NOT use free models.
Report Abuse
werewolf8890 is not online. werewolf8890
Joined: 24 Jun 2010
Total Posts: 1711
22 Mar 2011 08:34 PM
Can you script?
Report Abuse
Storm980 is not online. Storm980
Joined: 08 Aug 2010
Total Posts: 10857
22 Mar 2011 08:59 PM
ok.... i put in the script and it gives you the sword but when you equip it, it appears against the wall inside the giver and not on your person and you cant even move! whats worng with it? ima post the script here:

function onTouched(part)
p = game.Players:playerFromCharacter(part.Parent)
if p == nil then return end
gun = game.Lighting.LinkedSword:clone()
if p.Backpack:findFirstChild(gun.Name) ~= nil then return end
gun.Parent = p.Backpack
end

script.Parent.Touched:connect(onTouched
Report Abuse
coplox is not online. coplox
Joined: 07 Jun 2008
Total Posts: 3252
22 Mar 2011 09:03 PM
Oh mai gawd, a Deprecated Method!

RED ALERT!



Oh mai gawd, an if statement in one line!

RED ALERT!



Oh mai gawd, a function named by its wiki reference!

string.reverse("!TRELA DER")
Report Abuse
Storm980 is not online. Storm980
Joined: 08 Aug 2010
Total Posts: 10857
22 Mar 2011 09:05 PM
wadda fudge? how does this help me?
Report Abuse
Storm980 is not online. Storm980
Joined: 08 Aug 2010
Total Posts: 10857
22 Mar 2011 09:12 PM
I found the problem!!! LinkedSword is in my Workspace AND in Lighting.. how do i take it out of workspace?
Report Abuse
SpongebobAndMario is not online. SpongebobAndMario
Joined: 12 Mar 2009
Total Posts: 2564
22 Mar 2011 10:26 PM
Press the "Delete" button on your keyboard. :3
Report Abuse
palk47 is not online. palk47
Joined: 07 May 2009
Total Posts: 508
22 Mar 2011 10:28 PM
If you don't use free models, why is there a giver in your place? >.<
Report Abuse
SpongebobAndMario is not online. SpongebobAndMario
Joined: 12 Mar 2009
Total Posts: 2564
22 Mar 2011 10:34 PM
He might be trying to create one himself.
Report Abuse
Storm980 is not online. Storm980
Joined: 08 Aug 2010
Total Posts: 10857
22 Mar 2011 11:27 PM
fixed it and it works :D now when joo touch eet it gives joo a sword to kill pplz with
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