Universal Script 📌
1.1k Views
424 Executions

Model inserter V2

Universal Script 📌
styear
styear100K executions
8 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Inserter model - Clientside - Feature - -Hide gui -Show gui -Destroy/delete model -Tp center | Teleports you to the center of a part in your model -Tp spawn | Teleports you to the spawn part if it is in your model - Modify the lua if you want to make it better

View Raw
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

player.CharacterAdded:Connect(function(c)
	character = c
end)

local currentModel = nil
local guiVisible = true

local function getSafePosition()
	local parts = {}
	for _,v in pairs(workspace:GetDescendants()) do
		if v:IsA("BasePart") then
			table.insert(parts,v)
		end
	end

	local spawnPart = nil
	for _,v in pairs(workspace:GetDescendants()) do
		if v:IsA("BasePart") and string.find(string.lower(v.Name),"spawn") then
			spawnPart = v
			break
		end
	end

	local spawnPos = spawnPart and spawnPart.Position or Vector3.zero
	local center = Vector3.zero
	if #parts > 0 then
		for _,p in pairs(parts) do
			center += p.Position
		end
		center = center / #parts
	end

	local mid = (spawnPos + center) / 2

	local safeOffset = Vector3.new(


Comments

2
Log in to join the conversation. Login
suchdoge's profile picture
suchdoge8 months ago

insanely good,only thing its we need a configiration to make the model to a specific location and make it so it also includes scripts (client sided scripts)

2
Mehh's profile picture
Mehh8 months ago

what about building tools game

1

Tags

More universal scripts

See all
Script hub
2.9M
1.1M
Bumped 2 hours ago
Key System

Script hub

#10 today

CanHub V2 200 GAMES KEYLESS

Script hub
5.5M
1.0M
Bumped 3 hours ago
Key System
Script hub
1.7M
2.2M
Bumped 3 hours ago
Key System

Script hub

#16 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
14.6k
83.0k
Bumped 3 hours ago
Key System

Script hub

Kronos New

Script hub
3.2M
753.8k
Bumped 6 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
493
1.2k
Bumped 8 hours ago
Key System
Universal Script 📌
7.2k
142.9k
Bumped 8 hours ago