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 » Scripters
Home Search
 

Re: Backpack Tools

Previous Thread :: Next Thread 
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 08:44 AM
So, I have this game, and I want it to give all players a sword for an event. I have tried this, but it is not working, so could I please have some help?

m = Instance.new('Message', workspace)
h = Instance.new('Hint', workspace)
sword = game.Lighting.ClassicSword
num = math.random(1,1)
map = game.Lighting.SF:Clone()
players = game.Players:GetChildren()
while true do
wait(1)
for i = 5, 1, -1 do
h.Text = "Choosing map in: "..i
wait(1)
end
h:Remove()
if num == 1 then
h = Instance.new('Hint', workspace)
m.Text = "Map Number "..num.." Has Been Chosen!"
wait(3)
m.Text = "Sword Fight, Created by EternallySpeedy"
wait(3)
m.Text = "Be the last one alive!"
m:Remove()
wait(3)
h.Text = "Loading Map..."
wait(5)
h:Remove()
map.Parent = game.Workspace
map.Name = "Map"
map:MakeJoints()
target = Vector3.new(48.7, 0.5, 32.455) --Ok so put your co-ordinates for where you want your players to go..
for i, v in pairs(game.Players:GetChildren()) do
v.Character.Torso.CFrame = CFrame.new(target + Vector3.new(0, i * 5, 0)) --add an offset of 5 for each character
sword:clone().Parent = players.Backpack -- What I want it to do, but not working
m = Instance.new('Message', workspace)
h = Instance.new('Hint', workspace)
players.Walkspeed = 0
m.Text = "3"
wait(1)
m.Text = "2"
wait(1)
m.Text = "1"
wait(1)
m.Text = "Begin!"
wait(1)
m:Remove()
players.Walkspeed = 16
end
for i = 60, 1, -1 do
h.Text = "Round ends in: "..i
wait(1)
end
h.Text = "The round is over."
wait(1)


map:Remove()
wait(5)
end
for i = 15, 1, -1 do
h.Text = "Intermission: "..i
wait(1)
end
m:Remove()
h:Remove()
m = Instance.new('Message', workspace)
h = Instance.new('Hint', workspace)
end

~EternallySpeedy~
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 08:51 AM
Bump

~EternallySpeedy~
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:22 AM
Anyone?

~EternallySpeedy~
Report Abuse
ShrekWillGetYou is not online. ShrekWillGetYou
Joined: 31 Oct 2010
Total Posts: 550
20 Feb 2016 09:40 AM
Simple mistake, you simply did not capitilized clone.

sword:clone().Parent = players.Backpack -- here
sword:Clone().Parent = players.Backpack -- fixed


Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:42 AM
Thanks

~EternallySpeedy~
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:44 AM
It still doesnt work

~EternallySpeedy~
Report Abuse
adzz123 is not online. adzz123
Joined: 11 Jun 2011
Total Posts: 260
20 Feb 2016 09:45 AM
Just do nsword = sword:Clone()
nsword.Parent = game.StarterPack or something.


There are 10 types of people in this world. Those that understand binary and those that don't.
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:48 AM
It still doesn't work, I don't know why

~EternallySpeedy~
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
20 Feb 2016 09:50 AM
i think hes trolling


#code print("This signature was created using Roblox+, get yours now at the chrome web store!")
Report Abuse
adzz123 is not online. adzz123
Joined: 11 Jun 2011
Total Posts: 260
20 Feb 2016 09:51 AM
Is this hand-coded?

Be honest young one.


There are 10 types of people in this world. Those that understand binary and those that don't.
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:51 AM
Yes, this is hand coded.

~EternallySpeedy~
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:52 AM
I took some scripts from my other game, and labeled them with commas, as I am a beginner.

~EternallySpeedy~
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
20 Feb 2016 09:52 AM
then its not hand coded


#code print("This signature was created using Roblox+, get yours now at the chrome web store!")
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:53 AM
Comments*

~EternallySpeedy~
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:53 AM
It is hand coded, because I scripted them on my other game...

~EternallySpeedy~
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
20 Feb 2016 09:53 AM
ok whatever, anyway. read this. http://forum.roblox.com/Forum/ShowPost.aspx?PostID=80631954


#code print("This signature was created using Roblox+, get yours now at the chrome web store!")
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:54 AM
Tell me how this is spamming?

~EternallySpeedy~
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
20 Feb 2016 09:55 AM
http://forum.roblox.com/Forum/ShowPost.aspx?PostID=184005324
http://forum.roblox.com/Forum/ShowPost.aspx?PostID=184007755


#code print("This signature was created using Roblox+, get yours now at the chrome web store!")
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:55 AM
I came here to ask for advise, which I'm obviously not getting...

~EternallySpeedy~
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:56 AM
I made that because no one was answering, but when it was answered, I simply said "nvm", rendering that forum useless.

~EternallySpeedy~
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:58 AM
My god these forums are corrupt...

~EternallySpeedy~
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
20 Feb 2016 09:58 AM
[ Content Deleted ]
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 09:59 AM
I'm simply asking for help with my game, but it's idiots like you that come and troll the forums

~EternallySpeedy~
Report Abuse
EternallySpeedy is not online. EternallySpeedy
Joined: 05 Aug 2012
Total Posts: 214
20 Feb 2016 10:01 AM
See, now you've begun a useless flame war...

~EternallySpeedy~
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
20 Feb 2016 10:01 AM
lmao ok ur the only one talking


#code print("This signature was created using Roblox+, get yours now at the chrome web store!")
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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