Diviseon
|
  |
| Joined: 04 Mar 2013 |
| Total Posts: 2 |
|
|
| 06 Mar 2013 04:27 PM |
Ok, so I made a script that creates baseplates for players when they step on a block, then it supposedly makes it so they can't use it again, even when dead. but when its stepped on for a second time, it deletes the baseplate made then makes another one. I never put any remove codes in it at all. here's the script.
--------------------------------------------------------------------------------- --Random list things --------------------------------------------------------------------------------- Materials = {"Concrete", "Plastic", "Grass", "Wood", "Slate", "DiamondPlate", "Foil", "Ice", "CorrodedMetal"} Words = {"Hi", "Bye", "No", "lol", "shg", "ajglhf", "gshiuh", "aglnr", "jghsiuh", "afljhg", "gjlanre", "afkjrbg", "ljganrkaen", "jangtjn", "jlknakn", "karlg", "lnjkgra"}
--------------------------------------------------------------------------------- local r = game.Workspace local p = Instance.new("Part") local v = Instance.new("Vector3Value") local m = Instance.new("Model") local pos = Instance.new("Vector3Value") ---------------------------------------------------------------------------------
--------------------------------------------------------------------------------- function onTouched(hit) local guy = game.Players:findFirstChild(hit.Parent.Name) --------------------------------------------------------------------------------- --[[local nam = "" ..player.Name.. "" local mo = "" ..r.Mainer.name.Value.. "" -------------------------------------------------------------------------------- m.Parent = game.Workspace m.Name = "" ..Words[math.random(1, #Words)].. "" --------------------------------------------------------------------------------- v.Parent = r.Mainer v.Value = m.Name v.Name = player.Name--]] -------------------------------------------------------------------------------- p.Parent = script.Parent p.Anchored = true p.Position = Vector3.new(math.random(-10000,10000),math.random(-10000,10000),math.random(-10000,10000)) p.Color = Color3.new(math.random(),math.random(),math.random()) p.FormFactor = "Plate" p.Size = game.Workspace.Baseplate.Size p.Material = Materials[math.random(1,#Materials)] p.Locked = true p.Name = "" ..math.random().. "" --------------------------------------------------------------------------------- pos.Name = "Pos" pos.Value = Vector3.new(p.Position.X,p.Position.Y + 9,p.Position.Z) --------------------------------------------------------------------------------- v.Value = p.Position v.Parent = game.Workspace.Pos v.Name = "Val" --------------------------------------------------------------------------------- --player.Character.Torso.CFrame = CFrame.new(Vector3.new(p.Position.x, p.Position.y + 9, p.Position.z)) --------------------------------------------------------------------------------- wait(5) pos.Parent = guy.PlayerGui.Tele --------------------------------------------------------------------------------- end
script.Parent.Touched:connect(onTouched)
please help! |
|
|
| Report Abuse |
|
|
| 06 Mar 2013 04:30 PM |
This is not your script. Don't steal a script and say it's urs. k? If you made this script you would know the error. |
|
|
| Report Abuse |
|
Diviseon
|
  |
| Joined: 04 Mar 2013 |
| Total Posts: 2 |
|
|
| 06 Mar 2013 04:41 PM |
| I very much made this script, thank you very much. I worked very hard on it. And the error only happens when theres more than one character on it. |
|
|
| Report Abuse |
|
|
| 06 Mar 2013 04:50 PM |
we were video chatting and i watched him make this script .-.
~𝕿𝖍𝖊 𝕰𝖕𝖎𝖈 𝕮𝖕𝖊𝖝𝖙𝖗𝖆𝟑𝟔𝟎 - 𝕿𝖗𝖔𝖑𝖑 𝕿𝖍𝖊 𝕷𝖔𝖑 𝕬𝖓𝖉 𝕷𝖔𝖑 𝕿𝖍𝖊 𝕿𝖗𝖔𝖑𝖑~ 𝕸𝖞 𝕸𝖎𝖓𝖉 𝕴𝖘 𝕬 𝕿𝖎𝖒𝖊 𝕭𝖔𝖒𝖇 𝕵𝖚𝖘𝖙 𝖂𝖆𝖎𝖙𝖎𝖓𝖌 𝕿𝖔 𝕲𝖔 𝕺𝖋𝖋 |
|
|
| Report Abuse |
|