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 » Scripters
Home Search
 

Re: Server Help

Previous Thread :: Next Thread 
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 12:38 PM
My game is giving me some errors, and I don't understand what the problem is. Can someone join my game and help me out?
Report Abuse
pullman45 is not online. pullman45
Joined: 09 Jul 2012
Total Posts: 2891
25 Aug 2016 12:39 PM
I would if I was on a computer.

Paste the errors.
Report Abuse
WrightPhillips99 is not online. WrightPhillips99
Joined: 27 Jun 2015
Total Posts: 667
25 Aug 2016 12:39 PM
Put the errors on this thread and I can definitely analyze considering the fact that I can't play your game right now.
Report Abuse
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 12:42 PM
If you die twice, you don't respawn anymore.
Report Abuse
pullman45 is not online. pullman45
Joined: 09 Jul 2012
Total Posts: 2891
25 Aug 2016 12:43 PM
Give us the script(s) and the errors.
Report Abuse
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 12:43 PM
the errors when you join, is

OnServerInvoke can only be implemented on the server

and

OnServerEvent can only be used on the server
Report Abuse
WrightPhillips99 is not online. WrightPhillips99
Joined: 27 Jun 2015
Total Posts: 667
25 Aug 2016 12:45 PM
XD mate when you die twice you can't play anymore. You should do if you die once.
Report Abuse
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 12:46 PM
what do you mean
Report Abuse
WrightPhillips99 is not online. WrightPhillips99
Joined: 27 Jun 2015
Total Posts: 667
25 Aug 2016 12:51 PM
game.Players.PlayerAdded:connect(function(plr)
plr.Humanoid.Died:connect(function()
wait(2)
plr:LoadCharacter()
plr.Character.Torso.CFrame = spawn.CFrame
end)
end)
just an example tweek to your liking.
Report Abuse
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 12:53 PM
K lemme try it
Report Abuse
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 12:57 PM
It didnt work. This is the script I have been working with though.

local plr = game.Players.LocalPlayer
local char = plr.Character
local dead = plr:WaitForChild("sendDeath")
local respawnTime = 2

char.Humanoid.Died:connect(function()

wait(respawnTime)
dead:FireServer(true)

end)
Report Abuse
WrightPhillips99 is not online. WrightPhillips99
Joined: 27 Jun 2015
Total Posts: 667
25 Aug 2016 12:58 PM
what does send death do tho
Report Abuse
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 01:00 PM
####################################################################################################################################################################################################################################################################################
Report Abuse
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 01:00 PM
this is how the sendDeath works

local loadChar = require(game.ServerScriptService.Modules.LoadChar);

game.Players.PlayerAdded:connect(function(player)

local dead = player:WaitForChild("sendDeath")

local function respawn(plr,value)

if value == true then

loadChar(plr,game.ReplicatedStorage,"Character")

end

end

dead.OnServerEvent:connect(respawn)

end)
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
25 Aug 2016 01:01 PM
Okay so heres the thing:

--Don't put code between the char and plr

game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(char)
--code
end)
end)

--code between them

game.Players.PlayerAdded:connect(function(plr)
--code before, like a leaderboard
repeat wait() until plr.Character
--code
plr.CharacterAdded:connect(function(char)
--code, same code though
end)
end)
Report Abuse
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 01:03 PM
Is there any way to just fix the scripts I worked with?
Report Abuse
DJumble is online. DJumble
Joined: 28 Dec 2015
Total Posts: 440
25 Aug 2016 02:50 PM
After you die twice, this pops up:

14:48:57.984 - http Get http : //ecsv2.roblox.com/pe ?t= client&ctx=killed&evt=inGameDied&pi d=486099854&creatorid=103095712&pos=%28%2D27%2 C4%2C75%29 failed. Trying again. Error: HTTP 202 (HTTP/1.1 202 Accepted). Elapsed time: 0.0355051
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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