|
| 05 Nov 2011 11:35 PM |
Error: Sun Nov 06 00:34:44 2011 - Workspace.Part.Script:17: attempt to concatenate local 'posi' (a userdata value)
db = false target = game.Workspace.End1 script.Parent.Touched:connect(function(hit) local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and not db then db = true local fold = game.Players:findFirstChild(hit.Parent.Name):findFirstChild("PlayerGui") local holder = fold:findFirstChild("Loader") local gui = holder.Frame for i = 1, 0, -0.1 do gui.BackgroundTransparency = i wait(.05) end local plyr = hit.Parent:findFirstChild("Torso") local posi = target.Position local num = tostring("1") local x1 = getfenv(1)[posi..num].x -- Line 17 local y1 = getfenv(1)[posi..num].y local z1 = getfenv(1)[posi..num].z xp = x1 + 2 zp = z1 + 2 yp = y1 + 2 local c = plyr.CFrame local x2 = 0 local y2 = yp local z2 = 0 c = CFrame.new(Vector3.new(xp,yp,zp), Vector3.new(x2,y2,z2)) wait(2.5) for v = 0, 1, 0.1 do gui.BackgroundTransparency = v wait(.2) end db = false end end)
When you touch the brick, it's supposed to make you 'teleport' pretty much.
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|