Walkable Wall Trigger

local trigger = script.parent

function OnBeginOverlap(trigger,other)
    -- must do local player check in client context (errors on multiple players)
    if other:IsA("Player") and other.name == Game.GetLocalPlayer().name then
        _G["gbon"] = true
        Events.BroadcastToServer("GBCheck",trigger.name)
    end
end


function OnEndOverlap(trigger,other) -- using Jump (SPACE) to detach now..
    if(other:IsA("Player"))then
        _G["gbon"] = false
        --Events.BroadcastToServer("GBStop",trigger.name) -- stops touching the wall
    end
end

trigger.beginOverlapEvent:Connect(OnBeginOverlap)
trigger.endOverlapEvent:Connect(OnEndOverlap)

Latest Posts

Emulation ProcessEmulation Process

  Record Locs for Emulation in Core Grab data. Here, I am recording x,yz, and name data to emulate. Next Convert to usable array for Core template data. Snippet>> Pattern  Core template replacement pattern: Path:[C:\Users\soandso\Documents\My Games\CORE\Saved\Maps\mycoregame\Data\Tree\Emulator_