Character Respawning

View previous topic View next topic Go down

Character Respawning

Post by Fattycat17 on 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)
avatar
Fattycat17

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

View user profile

Back to top Go down

Re: Character Respawning

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

Would you like to go back to the menu?

No.

*Respawns*

Oh yes, I like that.

_________________
Project Profile | My Roblox profile | My twitter
avatar
jobro13

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

View user profile

Back to top Go down

Re: Character Respawning

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

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

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

View user profile

Back to top Go down

Re: Character Respawning

Post by coolieman2 on 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.)
avatar
coolieman2

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

View user profile

Back to top Go down

Re: Character Respawning

Post by Fattycat17 on 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.
avatar
Fattycat17

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

View user profile

Back to top Go down

Re: Character Respawning

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

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

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

View user profile

Back to top Go down

Re: Character Respawning

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

I like the new menu.
avatar
coolieman2

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

View user profile

Back to top Go down

Re: Character Respawning

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

Arial -> ArialBold. Nice!

_________________
Project Profile | My Roblox profile | My twitter
avatar
jobro13

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

View user profile

Back to top Go down

Re: Character Respawning

Post by Fattycat17 on 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 ^--^
avatar
Fattycat17

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

View user profile

Back to top Go down

Re: Character Respawning

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

I love the GUI :L

_________________
Xulp - Building Moderator
avatar
Xulp

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

View user profile

Back to top Go down

Re: Character Respawning

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

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

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

View user profile

Back to top Go down

Re: Character Respawning

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

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

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

View user profile

Back to top Go down

Re: Character Respawning

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


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