tomis13lack Posted April 20, 2017 Share Posted April 20, 2017 I am trying to make a door that when used changes the map. Most of the things i have been referring to have referenced Apps.lua, but i know that apps.lua no longer exists. This is what i have so far: function Script:Start() self.parent= self.entity:GetParent() end function Script:Use(parent) World:Clear() Time:Pause() return Map:Load("Maps/start.map") collectgarbage() Time:Resume() changemapname = nil World:Update() end This doesn't work, giving errors with World (isnt set), collectgarbage, etc. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.