Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Raxe88

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Raxe88

  • Rank
    Newbie

Recent Profile Visitors

712 profile views
  1. Thanks a lot for the answer! This is something I didn't know and is important.
  2. This is my code: DeathTrigger.lua (attached to a box) Script.respawnPoint = "" --Entity "respawn point" function Script:Collision(entity, position, normal, speed) if(entity:GetKeyValue("name") == "Player") then spawnPos = self.respawnPoint:GetPosition() --entity:SetPosition(spawnPos) entity:Respawn(spawnPos) end end and FPSPlayer.lua (attached to the player) function Script:Respawn(spawnPos) self.entity:SetPosition(spawnPos) end When they collision I get this error: I have a Pivot indicating the respawn point: Line 65 is this from DeathTrigger.lua:
Facebook Twitter Youtube Github Steam
×
×
  • Create New...