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
 

Re: ~Morph On Spawn~ wont work.

Previous Thread :: Next Thread 
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
28 Oct 2012 09:15 AM
the script is
Dalek = game.Lighting.Morph:Clone() --> Change "Moprh" to the name of your model

function onRespawned(player)
a = Dalek:Clone()
p = script.Parent.Parent.Parent.Parent.Parent
a.Parent = game.Workspace
a:MakeJoints()
a:MoveTo(p.Character.Torso.Position)
a.Name = p.Name
p.Character = a
ch = a:GetChildren()
for i = 1, #ch do
if ch[i]:IsA("BasePart") then
ch[i].Anchored = false
end
end
wait(.1)
if a:FindFirstChild("Shirt") then
a:FindFirstChild("Shirt"):Remove()
end
if a:FindFirstChild("Pants") then
a:FindFirstChild("Pants"):Remove()
end
end

help me fix it plz D:
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
28 Oct 2012 09:34 AM
No connection line. And it's a free model.
Report Abuse
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
28 Oct 2012 09:44 AM
connection line?
and I scrupted that mysekf bro.
Report Abuse
TehChikenHater is not online. TehChikenHater
Joined: 11 Jun 2012
Total Posts: 497
28 Oct 2012 09:59 AM
If you did script that, you would know what a connection line was. You also wouldn't have used Dalek, because that word was used mainly in the 2009-2010 generations. Clearly you did not make this.
Report Abuse
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
28 Oct 2012 03:40 PM
shut up newbie.
I use dalek cuz I like it.
and its the only morph skill I know. /_\
Report Abuse
gerit99 is not online. gerit99
Joined: 21 Jul 2010
Total Posts: 521
28 Oct 2012 04:40 PM
So you want us to believe you made it,tho you do not know what to do with a connect line?
Report Abuse
Joalmo is not online. Joalmo
Joined: 28 Jun 2009
Total Posts: 1160
28 Oct 2012 04:43 PM
Dalek = game.Lighting.Morph:Clone() --> Change "Moprh" to the name of your model

If this were your script, you would have already had "Morph" as the name of your model lol
Report Abuse
Xzerizon is not online. Xzerizon
Joined: 16 Aug 2011
Total Posts: 2174
28 Oct 2012 04:44 PM
If you scripted that... well, you wouldn't have a even a bit of trouble with connection lines.

I remember a game that was loaded with morphs. And you know what they were called? Daleks.

Ғľ○ωε⌐'ζ бâŋε ▬ Xζε⌐¡ζ○╖
Report Abuse
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
18 Nov 2012 10:19 PM
the Morphs name is Morph
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
18 Nov 2012 10:52 PM
"because that word was used mainly in the 2009-2010 generations"

Also '08. I remember trying to make my own morph. :)
Report Abuse
LUVMARIOLUIGI10000 is not online. LUVMARIOLUIGI10000
Joined: 16 May 2009
Total Posts: 1244
18 Nov 2012 11:49 PM
@dra, there is no connection, like everyone else has said.

connection line = script.Parent.SomeEventOccured:connect()
--I'll let you figure out what the event is and what to put in the connect(), since you said you made this is should be easy (:
Report Abuse
owenrules12 is not online. owenrules12
Joined: 26 Mar 2009
Total Posts: 402
19 Nov 2012 01:46 AM
You clearly went on free mods and copied it.

http://wiki.roblox.com/index.php/CharacterAdded

^^ Example of the connection lines you will need to use to run the function.
Anyways, I'll help you a bit.

Dalek = game.Lighting.Morph:Clone() --> Change "Moprh" to the name of your model
function onRespawned(player)
a = Dalek:Clone()
p = script.Parent.Parent.Parent.Parent.Parent
a.Parent = game.Workspace
a:MakeJoints()
a:MoveTo(p.Character.Torso.Position)
a.Name = p.Name
p.Character = a
ch = a:GetChildren()
for i = 1, #ch do
if ch[i]:IsA("BasePart") then
ch[i].Anchored = false
end
end
wait(.1)
if a:FindFirstChild("Shirt") then
a:FindFirstChild("Shirt"):Remove()
end
if a:FindFirstChild("Pants") then
a:FindFirstChild("Pants"):Remove()
end
end

-- Connection Lines Here.
Report Abuse
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
19 Nov 2012 08:34 AM
I'm using OnRespawn()
Report Abuse
ninjaknight101 is not online. ninjaknight101
Joined: 04 Apr 2011
Total Posts: 1281
19 Nov 2012 09:37 AM
OnRespawn is a static function. It's never called, and you never hook it up to any specific player. I _would_ script it for you, but it seems that editing a free model is not something I like to do.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Nov 2012 08:45 AM
There is no such thing as OnRespawn at all, actually.
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