axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
Alright, so my morphed character is not visible to other players (and they not visible to me) when we're morphed on my special characters.
Someone said it could be an issue with "local", but IDK what to do. Here is the first bit and the first morph (FakeHead) on the script.
Help?
--------------------------------------------------------
local ply = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
ply = game.Players.LocalPlayer
if ply.Character:findFirstChild("Humanoid") ~= nil then
local d = ply.Character:GetChildren()
for i=1, #d do
if (d[i].className == "Hat") then
d[i]:remove()
end
end
----------------------------------------------------------
local a = script.Parent.FakeHead:clone()
local b = script.Parent.Neck:clone()
local c = script.Parent.Chest:clone()
local d = script.Parent.Core:clone()
local e = script.Parent.Pelvis:clone()
local f = script.Parent.LShoulder:clone()
local g = script.Parent.RShoulder:clone()
local hi = script.Parent.LElbow:clone()
local ic = script.Parent.RElbow:clone()
local j = script.Parent.LWrist:clone()
local k = script.Parent.RWrist:clone()
local l = script.Parent.LHip:clone()
local m = script.Parent.RHip:clone()
local n = script.Parent.LAnkle:clone()
local o = script.Parent.RAnkle:clone()
local p = script.Parent.LFoot:clone()
local q = script.Parent.RFoot:clone()
----------
local A = a:GetChildren()
local B = b:GetChildren()
local C = c:GetChildren()
local D = d:GetChildren()
local E = e:GetChildren()
local F = f:GetChildren()
local G = g:GetChildren()
local H = hi:GetChildren()
local I = ic:GetChildren()
local Jc = j:GetChildren()
local K = k:GetChildren()
local L = l:GetChildren()
local M = m:GetChildren()
local N = n:GetChildren()
local O = o:GetChildren()
local P = p:GetChildren()
local Q = q:GetChildren()
------------------------------
a.Parent = ply.Character
local A = a:GetChildren()
for i=1, #A do
if A[i].className == "Part" or "UnionOperation" then
local W = Instance.new("Weld")
W.Part0 = a.Middle
W.Part1 = A[i]
local CJ = CFrame.new(a.Middle.Position)
local C0 = a.Middle.CFrame:inverse()*CJ
local C1 = A[i].CFrame:inverse()*CJ
W.C0 = C0
W.C1 = C1
W.Parent = a.Middle
end
local Y = Instance.new("Weld")
Y.Part0 = ply.Character["FakeHead"]
Y.Part1 = a.Middle
Y.C0 = CFrame.new(0, 0, 0)
Y.Parent = Y.Part0
end
local h = a:GetChildren()
for i = 1, # h do
if h[i].className == "Part" or "UnionOperation" then
h[i].Anchored = false
h[i].CanCollide = false
end
end
----------------------------------------------------------------------------------- |
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
(I can see my character- but they can't see my character- and others have the same issue as I do) |
|
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
... Yes... Oh, that's why..... How do I get around that? |
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
(Also- how can I still make it non laggy?) |
|
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
Well, I have already had some exploiters in my pre pre pre alpha game- so.....
I'd rather not- how do I use the remote stuff? I haven't found a non confusing video that covers the topic...
|
|
|
|
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
Thanks man, I'll try it out tomorrow when I'm less busy. : )
I appreciate the help a lot. |
|
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
Gonna start up on it in a little bit- just got home from work and set everything up to work on.
Gonna go get some fewds- then typey typey typey away...e. C : |
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
Yeah, I tried it but I can't seem to figure out the issue.....
http://www.roblox.com/Morfffd-item?id=365642809
(How I have everything set up) |
|
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
No outputs at all... I forgot to make some print tests to see where it stops... |
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
See any errors in the script? (Longer due to more parts being put in.) |
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
Well, let me know if you're still working on it. : )
I'll try again on it later tonight- maybe. |
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
: / I've got nothing... Anyone see any errors? |
|
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
'Aight, thanks- Man- I appreciate it. : ) |
|