UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
|
| 31 Aug 2013 11:00 AM |
It should look like imgur/nRU7AjI but it looks like imgur/aPRQ3Yj
Code:
--Set player model game.Players.LocalPlayer.CharacterAppearance = "" local model = game.Lighting.Cirrus.Resources.Ryze:Clone() model.Parent = Workspace game.Players.LocalPlayer.Character = model game.Workspace.Camera.CameraType = "Attach" game.Workspace.Camera.CameraSubject = game.Players.LocalPlayer.Character.Head |
|
|
| Report Abuse |
|
|
Xtreme101
|
  |
| Joined: 03 Jan 2009 |
| Total Posts: 4385 |
|
|
| 31 Aug 2013 11:05 AM |
| You can actually give a player a new Character? I thought that property was locked. Also, what's with the first four lines of your post? |
|
|
| Report Abuse |
|
|
UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
|
| 31 Aug 2013 11:07 AM |
I gave out what the character appears to be vs. what it should be they're imgur links |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 31 Aug 2013 11:19 AM |
here add for i,v in pairs(game.Players.LocalPlayer.Character:children()) do v.Transparency = 1 end
|
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 31 Aug 2013 11:19 AM |
for i,v in pairs(game.Players.LocalPlayer.Character:children()) do pcall(function() v.Transparency = 1 end) --srry, to lazy to do :IsA end |
|
|
| Report Abuse |
|
|
UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
|
| 31 Aug 2013 11:20 AM |
I fixed it.
wait(1) game.Players.LocalPlayer.CanLoadCharacterAppearance = false wait(1) game.Players.LocalPlayer:ClearCharacterAppearance() wait(1) local model = game.Lighting.Cirrus.Resources.Ryze:Clone() model.Parent = Workspace game.Players.LocalPlayer.Character = model game.Workspace.Camera.CameraType = "Attach" game.Workspace.Camera.CameraSubject = game.Players.LocalPlayer.Character.Head
And soquick, I am not sure if Character:children() would work. Also, that's not what I am trying to do. If I wanted all the character parts invisible I would just do so. And if I didn't want characters, I would set characterautoload to false. |
|
|
| Report Abuse |
|
|
nise45
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 7002 |
|
| |
|
UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
|
| 31 Aug 2013 11:26 AM |
| Yeah, doing a LoL remake. It's going to be out by next summer. |
|
|
| Report Abuse |
|
|
nise45
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 7002 |
|
|
| 31 Aug 2013 11:27 AM |
| Is it going to take /that/ long?? D: |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
|
| 31 Aug 2013 12:33 PM |
@nise
It will, It is going to be very polished and I can only work on it for about 15 hours a week. Plus, I am not the best scripter in the world, so this will give me a lot of experience.
@soquick :children() is deprecated
It's deprecated because it returns a read-only table of the objects. GetChildren returns a table of userdata so you can edit the properties. |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 31 Aug 2013 12:37 PM |
| I use children all the time, it works to edit |
|
|
| Report Abuse |
|
|
UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
|
| 31 Aug 2013 12:39 PM |
I would consider moving on to :GetChildren() the fact that it's deprecated means it will get removed and all your scripts with it will break. |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 31 Aug 2013 12:42 PM |
| nope, I use it ALL the time never 1 error. |
|
|
| Report Abuse |
|
|
UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
|
| 31 Aug 2013 12:50 PM |
| What I am saying is that one day it WILL error. Plus using deprecated items gives you bad rep. |
|
|
| Report Abuse |
|
|
Xtreme101
|
  |
| Joined: 03 Jan 2009 |
| Total Posts: 4385 |
|
|
| 31 Aug 2013 01:01 PM |
"Plus using deprecated items gives you bad rep."
I always use the standard Motor6D welds in characters when working with animating.
replacing them with welds and motors r 4 nobs, dont u no? |
|
|
| Report Abuse |
|
|
UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
|
| 31 Aug 2013 03:18 PM |
I made a simple script that would convert the Motor6D to normal Motors.
like really simple
for i,v in pairs(script.Parent:GetChildren()) do if v:IsA("Motor6D") then local m = Instance.new("Motor", script.Parent) m.Name = v.Name m.Part0 = v.Part0 m.Part1 = v.Part1 m.C0 = v.C0 m.C1 = v.C1 v:Destroy() end end |
|
|
| Report Abuse |
|
|