|
| 10 Jan 2012 09:03 PM |
i thought C0 in welds stood for part1 and C1 stood for part1 if this is incorrect could someone please fix it?
output: stack end 18:57:27 - Disconnected event because of exception 18:58:49 - Workspace................Script:63: '=' expected near '+'
mouse.Button1Down:connect(function() eye1 = Instance.new("Part") eye2 = Instance.new("Part") eye3 = Instance.new("Part") eye4 = Instance.new("Part") eye5 = Instance.new("Part") eye6 = Instance.new("Part")
g = game.Workspace:GetChildren() eye1.Parent = game.Workspace eye1helper = Instance.new("SpecialMesh") eye1helper.MeshId = "eye mesh" eye1helper.TextureId = "" eye1helper.Parent = eye1
eye2.Parent = game.Workspace eye2helper = Instance.new("SpecialMesh") eye2helper.MeshId = "eye mesh" eye2helper.TextureId = "" eye2helper.Parent = eye2
eye3.Parent = game.Workspace eye3helper = Instance.new("SpecialMesh") eye3helper.MeshId = "eye mesh" eye3helper.TextureId = "" eye3helper.Parent = eye3
eye4.Parent = game.Workspace eye4helper = Instance.new("SpecialMesh") eye4helper.MeshId = "eye mesh" eye4helper.TextureId = "" eye4helper.Parent = eye4
eye5.Parent = game.Workspace eye5helper = Instance.new("SpecialMesh") eye5helper.MeshId = "eye mesh" eye5helper.TextureId = "" eye5helper.Parent = eye5
eye6.Parent = game.Workspace eye6helper = Instance.new("SpecialMesh") eye6helper.MeshId = "eye mesh" eye6helper.TextureId = "" eye6helper.Parent = eye6
eye1.Anchored = true eye2.Anchored = true eye3.Anchored = true eye4.Anchored = true eye5.Anchored = true eye6.Anchored = true
weld1 = Instance.new("Weld") weld2 = Instance.new("Weld") weld3 = Instance.new("Weld") weld4 = Instance.new("Weld") weld5 = Instance.new("Weld") weld6 = Instance.new("Weld")
weld1.Parent = eye1 weld1.Part0 = eye1 weld1.Part1 = script.Parent.Parent:findFirstChild("Right Arm") weld1.C0 = CFrame.new Part1.Position + CFrame.new(3,0,0) weld1.C1 = CFrame.new(0,0,0)
weld2.Parent = eye2 weld2.Part0 = eye2 weld2.Part1 = script.Parent.Parent:findFirstChild("Left Arm") weld2.C0 = CFrame.new Part1.Position + CFrame.new(3,0,0) weld2.C1 = CFrame.new(0,0,0)
weld3.Parent = eye3 weld3.Part0 = eye3 weld3.Part1 = script.Parent.Parent:findFirstChild("Head") weld3.C0 = CFrame.new Part1.Position + CFrame.new(3,0,0) weld3.C1 = CFrame.new(0,0,0)
weld4.Parent = eye4 weld4.Part0 = eye4 weld4.Part1 = script.Parent.Parent:findFirstChild("Torso") weld4.C0 = CFrame.new Part1.Position + CFrame.new(3,0,0) weld4.C1 = CFrame.new(0,0,0)
weld5.Parent = eye5 weld5.Part0 = eye5 weld5.Part1 = script.Parent.Parent:findFirstChild("Right Leg") weld5.C0 = CFrame.new Part1.Position + CFrame.new(3,0,0) weld5.C1 = CFrame.new(0,0,0)
weld6.Parent = eye6 weld6.Part0 = eye6 weld6.Part1 = script.Parent.Parent:findFirstChild("Left Leg") weld6.C0 = CFrame.new Part1.Position + CFrame.new(3,0,0) weld6.C1 = CFrame.new(0,0,0)
eye1.Anchored = false eye2.Anchored = false eye3.Anchored = false eye4.Anchored = false eye5.Anchored = false eye6.Anchored = false
eye1.Parent = script.Parent.Parent eye1.Name = "eye1"
eye2.Parent = script.Parent.Parent eye2.Name = "eye2"
eye3.Parent = script.Parent.Parent eye3.Name = "eye3"
eye4.Parent = script.Parent.Parent eye4.Name = "eye4"
eye5.Parent = script.Parent.Parent eye5.Name = "eye5"
eye6.Parent = script.Parent.Parent eye6.Name = "eye6"
e = game.Workspace.eye1effects:clone()
y = game.Workspace.eye2effects:clone()
b = game.Workspace.eye3effects:clone()
ee = game.Workspace.eye4effects:clone()
yy = game.Workspace.eye5effects:clone()
eee = game.Workspace.eye6effects:clone()
e.Parent = eye1 e.Disabled = false
y.Parent = eye2 y.Disabled = false
b.Parent = eye3 b.Disabled = false
ee.Parent = eye4 ee.Disab;ed = false
yy.Parent = eye5 yy.Disabled = false
eee.Parent = eye6 eee.Disabled = false
end) |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:03 PM |
| i mean i thought C0 stood for part0 |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:14 PM |
| this is important so i will bump it for the rest of my life so bump bump bump |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 10 Jan 2012 09:14 PM |
| Yeah, please say the line... |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:15 PM |
| line 63 when the welds first start. |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:16 PM |
| well its actually the C0 part. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
|
| 10 Jan 2012 09:17 PM |
| weld1.C0 = CFrame.new Part1.Position + CFrame.new(3,0,0) -- line 63 |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 10 Jan 2012 09:20 PM |
CFrame needs ()
i = 3 weld1.C0 = CFrame.new(part1.Position) + CFrame.new(i,0,0)
Eh, little tired but yeah know... |
|
|
| Report Abuse |
|
|
mat852
|
  |
| Joined: 12 Aug 2008 |
| Total Posts: 1411 |
|
|
| 10 Jan 2012 09:20 PM |
| weld1.C0 = CFrame.new(Part1.Position) + CFrame.new(3,0,0) -- line 63 |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 10 Jan 2012 09:24 PM |
@mat
That's what I pretty much said -_- |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:27 PM |
| Oh my eyes…I think..I think you burned my eyes.. |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:28 PM |
ok now i get this output...
Workspace................Script:1: attempt to index global 'mouse' (a nil value) 19:27:57 - Script "Workspace................Script", Line 1 19:27:57 - stack end |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 10 Jan 2012 09:29 PM |
@kingkong
The event is nil. Meaning, that's not the correct event.
And I know dark XD |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:40 PM |
| i knew someones eyes would bleed from this i told you this was extremely inefficient lol also now the c0 thingy is messing up again do i have to put a c0 and c1 for welds to work correctly? |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 10 Jan 2012 09:42 PM |
"Messing up again"
Is there a new output or anything? Did you change the event? |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:44 PM |
here it iz ill mark line 64
script.Parent.Selected:connect(function(mouse) mouse.Button1Down:connect(function() eye1 = Instance.new("Part") eye2 = Instance.new("Part") eye3 = Instance.new("Part") eye4 = Instance.new("Part") eye5 = Instance.new("Part") eye6 = Instance.new("Part")
g = game.Workspace:GetChildren() eye1.Parent = game.Workspace eye1helper = Instance.new("SpecialMesh") eye1helper.MeshId = "http://www.roblox.com/asset/?id=1185246" eye1helper.TextureId = "http://www.roblox.com/asset/?id=1193831" eye1helper.Parent = eye1
eye2.Parent = game.Workspace eye2helper = Instance.new("SpecialMesh") eye2helper.MeshId = "http://www.roblox.com/asset/?id=1185246" eye2helper.TextureId = "http://www.roblox.com/asset/?id=1193831" eye2helper.Parent = eye2
eye3.Parent = game.Workspace eye3helper = Instance.new("SpecialMesh") eye3helper.MeshId = "http://www.roblox.com/asset/?id=1185246" eye3helper.TextureId = "http://www.roblox.com/asset/?id=1193831" eye3helper.Parent = eye3
eye4.Parent = game.Workspace eye4helper = Instance.new("SpecialMesh") eye4helper.MeshId = "http://www.roblox.com/asset/?id=1185246" eye4helper.TextureId = "http://www.roblox.com/asset/?id=1193831" eye4helper.Parent = eye4
eye5.Parent = game.Workspace eye5helper = Instance.new("SpecialMesh") eye5helper.MeshId = "http://www.roblox.com/asset/?id=1185246" eye5helper.TextureId = "http://www.roblox.com/asset/?id=1193831" eye5helper.Parent = eye5
eye6.Parent = game.Workspace eye6helper = Instance.new("SpecialMesh") eye6helper.MeshId = "http://www.roblox.com/asset/?id=1185246" eye6helper.TextureId = "http://www.roblox.com/asset/?id=1193831" eye6helper.Parent = eye6
eye1.Anchored = true eye2.Anchored = true eye3.Anchored = true eye4.Anchored = true eye5.Anchored = true eye6.Anchored = true
weld1 = Instance.new("Weld") weld2 = Instance.new("Weld") weld3 = Instance.new("Weld") weld4 = Instance.new("Weld") weld5 = Instance.new("Weld") weld6 = Instance.new("Weld")
weld1.Parent = eye1 weld1.Part0 = eye1 weld1.Part1 = script.Parent.Parent:findFirstChild("Right Arm") weld1.C0 = CFrame.new(Part1.Position) + CFrame.new(3,0,0) -- line 64 weld1.C1 = CFrame.new(0,0,0)
weld2.Parent = eye2 weld2.Part0 = eye2 weld2.Part1 = script.Parent.Parent:findFirstChild("Left Arm") weld2.C0 = CFrame.new(Part1.Position) + CFrame.new(3,0,0) weld2.C1 = CFrame.new(0,0,0)
weld3.Parent = eye3 weld3.Part0 = eye3 weld3.Part1 = script.Parent.Parent:findFirstChild("Head") weld3.C0 = CFrame.new(Part1.Position) + CFrame.new(3,0,0) weld3.C1 = CFrame.new(0,0,0)
weld4.Parent = eye4 weld4.Part0 = eye4 weld4.Part1 = script.Parent.Parent:findFirstChild("Torso") weld4.C0 = CFrame.new(Part1.Position) + CFrame.new(3,0,0) weld4.C1 = CFrame.new(0,0,0)
weld5.Parent = eye5 weld5.Part0 = eye5 weld5.Part1 = script.Parent.Parent:findFirstChild("Right Leg") weld5.C0 = CFrame.new(Part1.Position) + CFrame.new(3,0,0) weld5.C1 = CFrame.new(0,0,0)
weld6.Parent = eye6 weld6.Part0 = eye6 weld6.Part1 = script.Parent.Parent:findFirstChild("Left Leg") weld6.C0 = CFrame.new(Part1.Position) + CFrame.new(3,0,0) weld6.C1 = CFrame.new(0,0,0)
eye1.Anchored = false eye2.Anchored = false eye3.Anchored = false eye4.Anchored = false eye5.Anchored = false eye6.Anchored = false
eye1.Parent = script.Parent.Parent eye1.Name = "eye1"
eye2.Parent = script.Parent.Parent eye2.Name = "eye2"
eye3.Parent = script.Parent.Parent eye3.Name = "eye3"
eye4.Parent = script.Parent.Parent eye4.Name = "eye4"
eye5.Parent = script.Parent.Parent eye5.Name = "eye5"
eye6.Parent = script.Parent.Parent eye6.Name = "eye6"
e = game.Workspace.eye1effects:clone()
y = game.Workspace.eye2effects:clone()
b = game.Workspace.eye3effects:clone()
ee = game.Workspace.eye4effects:clone()
yy = game.Workspace.eye5effects:clone()
eee = game.Workspace.eye6effects:clone()
e.Parent = eye1 e.Disabled = false
y.Parent = eye2 y.Disabled = false
b.Parent = eye3 b.Disabled = false
ee.Parent = eye4 ee.Disabled = false
yy.Parent = eye5 yy.Disabled = false
eee.Parent = eye6 eee.Disabled = false
end) end)
output
Players.DarkHeartVIP.Backpack................Script:64: attempt to index global 'Part1' (a nil value) 19:37:17 - Script "Players.DarkHeartVIP.Backpack................Script", Line 64 19:37:17 - stack end 19:37:17 - Disconnected event because of exception |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 10 Jan 2012 09:45 PM |
LOLOL
Dude, I'm not gonna go through that WHOLE SCRIPT :P
Tell me the line! |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:46 PM |
i marked it :p but here annywase
weld1.C0 = CFrame.new(Part1.Position) + CFrame.new(3,0,0) -- line 64 |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2012 09:51 PM |
| miz do i have to put A C0 and a C1 or will the brick stay at it's position because of the weld without C0 and C1 |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 10 Jan 2012 09:53 PM |
Wait...
Why don't you just say it's CFrame? :P
Just add Part1 Position Plus 3,0,0 :P |
|
|
| Report Abuse |
|
|