Survival Project
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Character Respawning

5 posters

Go down

Character Respawning Empty Character Respawning

Post by Fattycat17 Mon Jun 24, 2013 6:10 pm

I posted a thread before on something similar to this

I made a set of scripts in 15-20 minutes to demonstrate my idea

http://www.roblox.com/Stranded-Respawning-Test-Server-place?id=120273551

Take a look tell me what you think


(I know at the moment it seems obvious that I used loadcharacter and died event, but once this is implemented on jobro's character API it should look a lot better)
Fattycat17
Fattycat17

Male Posts : 116
Join date : 2013-06-02

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by jobro13 Tue Jun 25, 2013 8:09 am

Would you like to go back to the menu?

No.

*Respawns*

Oh yes, I like that.
jobro13
jobro13

Male Posts : 250
Join date : 2013-06-02

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by Fattycat17 Tue Jun 25, 2013 12:50 pm

(For everyone that is confused on what it does reset after pressing play )
Fattycat17
Fattycat17

Male Posts : 116
Join date : 2013-06-02

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by coolieman2 Tue Jun 25, 2013 3:39 pm

It's fairly simple. I tried to keep it organised using functions.

Game.Players.PlayerAdded:connect(function(np)
np.CharacterAutoLoads = false
GUI = Instance.new("ScreenGui", np.PlayerGui)
TEX = Instance.new("TextLabel", GUI)
TEX.Position = UDim2(0, 20, 0, 10)
TEX.Size = UDim2(1, 0, 30, 0)
TEX.BorderPixelSize = 0
TEX.Text = Stranded
etc.
This would give you an understanding. It doesn't really make a very configured textbox and it's only the title. It sure is alot of work. I would use "function joingame()
Game.Workspace.PlayerGui.ScreenGui:remove"
and it would teleport to the spawn point OR you could make it spawn in the spawnpoint.
When the player clicks the Play textlabel it would trigger joingame ex:"np.PlayerGui.ScreenGui.TextBox.Click1Button(Or something like that):connect(joingame)" and i think that would be enough of showing the script. Not that i hacked. I just improvised.


Last edited by coolieman2 on Wed Jun 26, 2013 4:49 am; edited 1 time in total (Reason for editing : Updated script.)
coolieman2
coolieman2

Male Posts : 78
Join date : 2013-06-21
Location : Europe meaning i'm in a good timezone :)

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by Fattycat17 Tue Jun 25, 2013 4:07 pm

Umm no it is actually using PlayerAdded and LoadCharacter it's all hooked from a Script under workspace.
Fattycat17
Fattycat17

Male Posts : 116
Join date : 2013-06-02

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by Fattycat17 Tue Jun 25, 2013 7:06 pm

I made a new menu take a look at it Wink
Fattycat17
Fattycat17

Male Posts : 116
Join date : 2013-06-02

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by coolieman2 Wed Jun 26, 2013 4:50 am

I like the new menu.
coolieman2
coolieman2

Male Posts : 78
Join date : 2013-06-21
Location : Europe meaning i'm in a good timezone :)

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by jobro13 Wed Jun 26, 2013 7:06 am

Arial -> ArialBold. Nice!
jobro13
jobro13

Male Posts : 250
Join date : 2013-06-02

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by Fattycat17 Tue Jul 30, 2013 4:32 pm

http://www.roblox.com/Stranded-Respawning-Test-Server-place?id=120273551

Take a look at starting GUI

Tell me what you think

No need for it? Needs a better color scheme? Be constructive ^--^
Fattycat17
Fattycat17

Male Posts : 116
Join date : 2013-06-02

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by Xulp Mon Aug 05, 2013 8:46 am

I love the GUI :L
Xulp
Xulp

Male Posts : 60
Join date : 2013-06-02
Location : 'Murica

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by Fattycat17 Mon Aug 05, 2013 1:49 pm

Thanks, it was fairly fast with my Gui+ library ;-)
Fattycat17
Fattycat17

Male Posts : 116
Join date : 2013-06-02

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by Zokorio Mon Aug 05, 2013 2:08 pm

I like it too, fancy and it functions too Razz
Zokorio
Zokorio

Male Posts : 46
Join date : 2013-06-01
Location : The box at the end of the street. :c

Back to top Go down

Character Respawning Empty Re: Character Respawning

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum