BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
|
| 25 Oct 2012 08:34 AM |
player.Character.Archivable = true player.Character.Parent = game:GetService("Lighting")
--> 15:30:51 - The Parent property of Player1 is locked 15:30:51 - Script "Players.Player1.PlayerGui.OBSGui.Frame.LocalScript", Line 955 - method Orb 15:30:51 - Script "Players.Player1.PlayerGui.OBSGui.Frame.LocalScript", Line 1665 15:30:51 - stack end
The character simply goes into nil. |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
|
| 25 Oct 2012 10:27 AM |
your logic: "method is called 'orb' MUST BE A FREE MODEL!!!"
May I present you my orb method? No free models at all.
Camera = { OrbModel, Orb = function(self) TorsoColor = player.Character:FindFirstChild("Torso") and player.Character.Torso.BrickColor or BrickColor.new("Medium stone grey") char:Destroy() player.Character.Archivable = true player.Character.Parent = game:GetService("Lighting") workspace.CurrentCamera.CameraSubject = nil for _,v in pairs(workspace:GetChildren()) do if (v.Name==player.Name) then v:Destroy() end end self.OrbModel = Create("Part"){ Parent = workspace, Name = player.Name, BrickColor = TorsoColor, CFrame = workspace.CurrentCamera.CoordinateFrame, FormFactor = Enum.FormFactor.Custom, Size = Vector3.new(1,1,1), Locked = true, Anchored = true, CanCollide = true, FrontSurface = Enum.SurfaceType.Motor, TopSurface = Enum.SurfaceType.Smooth, BottomSurface = Enum.SurfaceType.Smooth, Create("BillboardGui"){ Adornee = orb, Size = UDim2.new(1,0,1,0), StudsOffset = Vector3.new(0,2,0), Create("TextLabel"){ Text = player.Name, Position = UDim2.new(0.5,0,0.5,0), TextStrokeTransparency = 0, TextColor3 = Color3.new(1,1,1), FontSize = Enum.FontSize.Size14, Font = Enum.Font.ArialBold, } } } workspace.CurrentCamera.Changed:connect(function() self.OrbModel.CFrame = workspace.CurrentCamera.CoordinateFrame end) end, Focus = function(self, ol) if (ol) and (#Selection.Disk>0) then camera.Focus = CFrame.new(ol.Position) end end } |
|
|
| Report Abuse |
|
|
BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
| |
|
BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
| |
|
Monkey727
|
  |
| Joined: 12 Jan 2009 |
| Total Posts: 969 |
|
| |
|
BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
|
| 25 Oct 2012 11:09 AM |
| 'player.Character.Parent = game:GetService("Lighting")' |
|
|
| Report Abuse |
|
|
Monkey727
|
  |
| Joined: 12 Jan 2009 |
| Total Posts: 969 |
|
|
| 25 Oct 2012 11:10 AM |
| Oh, Well that's quite unusal.. |
|
|
| Report Abuse |
|
|
BAUER102
|
  |
| Joined: 03 Apr 2010 |
| Total Posts: 5936 |
|
|
| 25 Oct 2012 11:18 AM |
Even the command bar errors when I try to set the parent of my character.
What. |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2012 11:39 AM |
I could definatly see why. Just don't parent your character.
~thedestroyer115, check out my sets!~
|
|
|
| Report Abuse |
|
|