Universal Script ๐Ÿ“Œ
16 Views
1 Executions

Tool grip script

Universal Script ๐Ÿ“Œ
Smiffy
SmiffyFirst script
1 day ago ยท Updated

Reviewed by MatttsPaid revieweron How review works

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

An open-,source Tool Grip script I made with AI :D

Notes

1
Smiffy's profile picture
SmiffyCreator1 day ago

Made with AI

1
View Raw
-- Grip Editor โ€” client-side
-- Executor: cole e execute.
-- Studio: LocalScript em StarterPlayerScripts, aperte Play.

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local old = playerGui:FindFirstChild("GripEditor")
if old then old:Destroy() end

local DEFAULTS = {
	GripPos     = Vector3.new(0, 0, 0),
	GripForward = Vector3.new(0, 0, -1),
	GripRight   = Vector3.new(1, 0, 0),
	GripUp      = Vector3.new(0, 1, 0),
}

local values = {
	GripPos     = DEFAULTS.GripPos,
	GripForward = DEFAULTS.GripForward,
	GripRight   = DEFAULTS.GripRight,
	GripUp      = DEFAULTS.GripUp,
}

local GROUPS = {
	{ prop = "GripPos",     label = "Posiรงรฃo", min = -3, max = 3, step = 0.05 },
	{ prop = "GripForward", label = "Forward", min = -1, max = 1, step = 0.01 },
	{ prop = "GripRight",   label = "Right",   min = -1, max = 1, step = 0.01 },
	{ prop = "GripUp",      label = "Up",      min = -1, max = 1, step = 0.01 },
}

local AXES = { "X", "Y", "Z" }
local currentTool = nil
local refreshers = {}

local function mk(class, props)
	local inst = Instance.new(class)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!