Untitled

Anonymous
Lua
10/20/2022 6:02 PM
318 B
26
Indexable
Never
-- wczytuje postac gracza

character = game.Players.LocalPlayer.Character

-- funkcja pokazujaca sklep po wejsicu gracza na pole 
function Pokaz(hit)
	if hit.Parent == character then 
		script.Parent.Frame.Visible = true
		character.Humanoid:UnequipTools()
	end
end

game.Workspace.Sklep.Podest.Touched:Connect(Pokaz)
Editor is loading...