|
| 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 |
|
|
| |
|
| |
|
|
| 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 |
|
|
| |
|
|
| 20 Feb 2016 09:44 AM |
It still doesnt work
~EternallySpeedy~ |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 20 Feb 2016 09:48 AM |
It still doesn't work, I don't know why
~EternallySpeedy~ |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 20 Feb 2016 09:51 AM |
Yes, this is hand coded.
~EternallySpeedy~ |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 20 Feb 2016 09:53 AM |
Comments*
~EternallySpeedy~ |
|
|
| Report Abuse |
|
|
|
| 20 Feb 2016 09:53 AM |
It is hand coded, because I scripted them on my other game...
~EternallySpeedy~ |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 20 Feb 2016 09:54 AM |
Tell me how this is spamming?
~EternallySpeedy~ |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 20 Feb 2016 09:55 AM |
I came here to ask for advise, which I'm obviously not getting...
~EternallySpeedy~ |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 20 Feb 2016 09:58 AM |
My god these forums are corrupt...
~EternallySpeedy~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
|
| 20 Feb 2016 10:01 AM |
See, now you've begun a useless flame war...
~EternallySpeedy~ |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|