generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
BAUER102 is not online. 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 is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
25 Oct 2012 08:52 AM
[ Content Deleted ]
Report Abuse
BAUER102 is not online. 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 is not online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
25 Oct 2012 10:39 AM
bump
Report Abuse
BAUER102 is not online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
25 Oct 2012 11:04 AM
and bump
Report Abuse
Monkey727 is not online. Monkey727
Joined: 12 Jan 2009
Total Posts: 969
25 Oct 2012 11:07 AM
Which line is 955?

<.>
Report Abuse
BAUER102 is not online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
25 Oct 2012 11:09 AM
'player.Character.Parent = game:GetService("Lighting")'
Report Abuse
Monkey727 is not online. Monkey727
Joined: 12 Jan 2009
Total Posts: 969
25 Oct 2012 11:10 AM
Oh, Well that's quite unusal..
Report Abuse
BAUER102 is not online. 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
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
25 Oct 2012 11:39 AM
I could definatly see why. Just don't parent your character.

~thedestroyer115, check out my sets!~
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image