Advertisement
Guest User

SCRIPT STUDIO LITE

a guest
May 20th, 2025
1,192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.00 KB | None | 0 0
  1. SCRIPT SHIFTLOCK:
  2.  
  3.  
  4.  
  5. -- Instances:
  6.  
  7. local ShiftlockStarterGui = Instance.new("ScreenGui")
  8. local ImageButton = Instance.new("ImageButton")
  9.  
  10. --Properties:
  11.  
  12. ShiftlockStarterGui.Name = "Shiftlock (StarterGui)"
  13. ShiftlockStarterGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  14. ShiftlockStarterGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15.  
  16. ImageButton.Parent = ShiftlockStarterGui
  17. ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  18. ImageButton.BackgroundTransparency = 1.000
  19. ImageButton.Position = UDim2.new(0.921914339, 0, 0.552375436, 0)
  20. ImageButton.Size = UDim2.new(0.0636147112, 0, 0.0661305636, 0)
  21. ImageButton.SizeConstraint = Enum.SizeConstraint.RelativeXX
  22. ImageButton.Image = "http://www.roblox.com/asset/?id=182223762"
  23.  
  24. -- Scripts:
  25.  
  26. local function TLQOYN_fake_script() -- ImageButton.ShiftGUI
  27. local script = Instance.new('LocalScript', ImageButton)
  28.  
  29. local MobileCameraFramework = {}
  30. local players = game:GetService("Players")
  31. local runservice = game:GetService("RunService")
  32. local CAS = game:GetService("ContextActionService")
  33. local player = players.LocalPlayer
  34. local character = player.Character or player.CharacterAdded:Wait()
  35. local root = character:WaitForChild("HumanoidRootPart")
  36. local humanoid = character.Humanoid
  37. local camera = workspace.CurrentCamera
  38. local button = script.Parent
  39.  
  40. --Visiblity
  41. uis = game:GetService("UserInputService")
  42. ismobile = uis.TouchEnabled
  43. button.Visible = ismobile
  44.  
  45. local states = {
  46. OFF = "rbxasset://textures/ui/[email protected]",
  47. ON = "rbxasset://textures/ui/[email protected]"
  48. }
  49. local MAX_LENGTH = 900000
  50. local active = false
  51. local ENABLED_OFFSET = CFrame.new(1.7, 0, 0)
  52. local DISABLED_OFFSET = CFrame.new(-1.7, 0, 0)
  53. local function UpdateImage(STATE)
  54. button.Image = states[STATE]
  55. end
  56. local function UpdateAutoRotate(BOOL)
  57. humanoid.AutoRotate = BOOL
  58. end
  59. local function GetUpdatedCameraCFrame(ROOT, CAMERA)
  60. return CFrame.new(root.Position, Vector3.new(CAMERA.CFrame.LookVector.X * MAX_LENGTH, root.Position.Y, CAMERA.CFrame.LookVector.Z * MAX_LENGTH))
  61. end
  62. local function EnableShiftlock()
  63. UpdateAutoRotate(false)
  64. UpdateImage("ON")
  65. root.CFrame = GetUpdatedCameraCFrame(root, camera)
  66. camera.CFrame = camera.CFrame * ENABLED_OFFSET
  67. end
  68. local function DisableShiftlock()
  69. UpdateAutoRotate(true)
  70. UpdateImage("OFF")
  71. camera.CFrame = camera.CFrame * DISABLED_OFFSET
  72. pcall(function()
  73. active:Disconnect()
  74. active = nil
  75. end)
  76. end
  77. UpdateImage("OFF")
  78. active = false
  79. function ShiftLock()
  80. if not active then
  81. active = runservice.RenderStepped:Connect(function()
  82. EnableShiftlock()
  83. end)
  84. else
  85. DisableShiftlock()
  86. end
  87. end
  88. local ShiftLockButton = CAS:BindAction("ShiftLOCK", ShiftLock, false, "On")
  89. CAS:SetPosition("ShiftLOCK", UDim2.new(0.8, 0, 0.8, 0))
  90. button.MouseButton1Click:Connect(function()
  91. if not active then
  92. active = runservice.RenderStepped:Connect(function()
  93. EnableShiftlock()
  94. end)
  95. else
  96. DisableShiftlock()
  97. end
  98. end)
  99. return MobileCameraFramework
  100.  
  101. end
  102. coroutine.wrap(TLQOYN_fake_script)()
  103. local function OMQRQRC_fake_script() -- ShiftlockStarterGui.LocalScript
  104. local script = Instance.new('LocalScript', ShiftlockStarterGui)
  105.  
  106. local Players = game:GetService("Players")
  107. local UserInputService = game:GetService("UserInputService")
  108. local Settings = UserSettings()
  109. local GameSettings = Settings.GameSettings
  110. local ShiftLockController = {}
  111. while not Players.LocalPlayer do
  112. wait()
  113. end
  114. local LocalPlayer = Players.LocalPlayer
  115. local Mouse = LocalPlayer:GetMouse()
  116. local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
  117. local ScreenGui, ShiftLockIcon, InputCn
  118. local IsShiftLockMode = true
  119. local IsShiftLocked = true
  120. local IsActionBound = false
  121. local IsInFirstPerson = false
  122. ShiftLockController.OnShiftLockToggled = Instance.new("BindableEvent")
  123. local function isShiftLockMode()
  124. return LocalPlayer.DevEnableMouseLock and GameSettings.ControlMode == Enum.ControlMode.MouseLockSwitch and LocalPlayer.DevComputerMovementMode ~= Enum.DevComputerMovementMode.ClickToMove and GameSettings.ComputerMovementMode ~= Enum.ComputerMovementMode.ClickToMove and LocalPlayer.DevComputerMovementMode ~= Enum.DevComputerMovementMode.Scriptable
  125. end
  126. if not UserInputService.TouchEnabled then
  127. IsShiftLockMode = isShiftLockMode()
  128. end
  129. local function onShiftLockToggled()
  130. IsShiftLocked = not IsShiftLocked
  131. ShiftLockController.OnShiftLockToggled:Fire()
  132. end
  133. local initialize = function()
  134. print("enabled")
  135. end
  136. function ShiftLockController:IsShiftLocked()
  137. return IsShiftLockMode and IsShiftLocked
  138. end
  139. function ShiftLockController:SetIsInFirstPerson(isInFirstPerson)
  140. IsInFirstPerson = isInFirstPerson
  141. end
  142. local function mouseLockSwitchFunc(actionName, inputState, inputObject)
  143. if IsShiftLockMode then
  144. onShiftLockToggled()
  145. end
  146. end
  147. local function disableShiftLock()
  148. if ScreenGui then
  149. ScreenGui.Parent = nil
  150. end
  151. IsShiftLockMode = false
  152. Mouse.Icon = ""
  153. if InputCn then
  154. InputCn:disconnect()
  155. InputCn = nil
  156. end
  157. IsActionBound = false
  158. ShiftLockController.OnShiftLockToggled:Fire()
  159. end
  160. local onShiftInputBegan = function(inputObject, isProcessed)
  161. if isProcessed then
  162. return
  163. end
  164. if inputObject.UserInputType ~= Enum.UserInputType.Keyboard or inputObject.KeyCode == Enum.KeyCode.LeftShift or inputObject.KeyCode == Enum.KeyCode.RightShift then
  165. end
  166. end
  167. local function enableShiftLock()
  168. IsShiftLockMode = isShiftLockMode()
  169. if IsShiftLockMode then
  170. if ScreenGui then
  171. ScreenGui.Parent = PlayerGui
  172. end
  173. if IsShiftLocked then
  174. ShiftLockController.OnShiftLockToggled:Fire()
  175. end
  176. if not IsActionBound then
  177. InputCn = UserInputService.InputBegan:connect(onShiftInputBegan)
  178. IsActionBound = true
  179. end
  180. end
  181. end
  182. GameSettings.Changed:connect(function(property)
  183. if property == "ControlMode" then
  184. if GameSettings.ControlMode == Enum.ControlMode.MouseLockSwitch then
  185. enableShiftLock()
  186. else
  187. disableShiftLock()
  188. end
  189. elseif property == "ComputerMovementMode" then
  190. if GameSettings.ComputerMovementMode == Enum.ComputerMovementMode.ClickToMove then
  191. disableShiftLock()
  192. else
  193. enableShiftLock()
  194. end
  195. end
  196. end)
  197. LocalPlayer.Changed:connect(function(property)
  198. if property == "DevEnableMouseLock" then
  199. if LocalPlayer.DevEnableMouseLock then
  200. enableShiftLock()
  201. else
  202. disableShiftLock()
  203. end
  204. elseif property == "DevComputerMovementMode" then
  205. if LocalPlayer.DevComputerMovementMode == Enum.DevComputerMovementMode.ClickToMove or LocalPlayer.DevComputerMovementMode == Enum.DevComputerMovementMode.Scriptable then
  206. disableShiftLock()
  207. else
  208. enableShiftLock()
  209. end
  210. end
  211. end)
  212. LocalPlayer.CharacterAdded:connect(function(character)
  213. if not UserInputService.TouchEnabled then
  214. initialize()
  215. end
  216. end)
  217. if not UserInputService.TouchEnabled then
  218. initialize()
  219. if isShiftLockMode() then
  220. InputCn = UserInputService.InputBegan:connect(onShiftInputBegan)
  221. IsActionBound = true
  222. end
  223. end
  224. enableShiftLock()
  225. return ShiftLockController
  226.  
  227. end
  228. coroutine.wrap(OMQRQRC_fake_script)()
  229.  
  230.  
  231. ____________________________________________
  232. SCRIPT LEADERBOARD:
  233.  
  234.  
  235.  
  236. local assetId = 137198544387400 -- Your model's asset ID
  237. local model = game:GetService("InsertService"):LoadAsset(assetId)
  238. local leaderboardPart = workspace:FindFirstChild("LeaderboardPart")
  239.  
  240. if leaderboardPart then
  241. model.Parent = workspace
  242. model:PivotTo(leaderboardPart.CFrame)
  243. else
  244. warn("LeaderboardPart not found in the workspace")
  245. end
  246.  
  247.  
  248. ____________________________________________
  249. SCRIPT TAG OWNER:
  250.  
  251.  
  252.  
  253. ----------------------------------------------------------------------------------------
  254. --PlayerCharAddedScript - This script runs when a player joins or character spawns. --
  255. -- --
  256. ----------------------------------------------------------------------------------------
  257.  
  258. --This example shows a billboard when the creator's character joins the game.
  259. local bb = Instance.new("BillboardGui")
  260. bb.StudsOffset = Vector3.new(0,5,0) --Place the Gui a little above the character's head.
  261. bb.Size = UDim2.new(0,100,0,30)
  262. local textLabel = Instance.new("TextLabel")
  263. textLabel.Size = UDim2.new(1,0,1,0) --same size as it's parent bb.
  264. textLabel.TextScaled = true
  265. textLabel.Text = "OwnerπŸ‘‘"
  266. textLabel.Parent = bb
  267.  
  268. game.Players.PlayerAdded:Connect(function(player)
  269. player.CharacterAdded:Connect(function(char)
  270. if player.Name == "YourRbxUsername" then --You will want to change this to your Roblox user name.
  271. wait(1) --give a little time in case it's a respawn.
  272. local bbCopy = bb:Clone()
  273. bbCopy.Parent = char:WaitForChild("Head")
  274. end
  275. end)
  276. end)
  277.  
  278.  
  279. ____________________________________________
  280. SCRIPT HD ADMIN:
  281.  
  282.  
  283.  
  284. game.InsertService:LoadAsset(857927023).Parent = workspace
  285.  
  286.  
  287. ____________________________________________
  288. SCRIPT KOMEN CHAR:
  289.  
  290.  
  291.  
  292. local Admins = { "tulis usn kalian di sini ", "OtherAdminUsername" } -- Add your Roblox usernames here
  293.  
  294. local Players = game:GetService("Players")
  295.  
  296. -- Function to check if a player is an admin
  297. local function IsAdmin(player)
  298. for _, adminName in ipairs(Admins) do
  299. if player.Name == adminName then
  300. return true
  301. end
  302. end
  303. return false
  304. end
  305.  
  306. -- Function to change character
  307. local function ChangeCharacter(player, username)
  308. local success, userId = pcall(function()
  309. return Players:GetUserIdFromNameAsync(username)
  310. end)
  311.  
  312. if success and userId then
  313. local newAppearance = Players:GetHumanoidDescriptionFromUserId(userId)
  314. local character = player.Character or player.CharacterAdded:Wait()
  315. local humanoid = character:FindFirstChildOfClass("Humanoid")
  316.  
  317. if humanoid then
  318. humanoid:ApplyDescription(newAppearance)
  319. end
  320. else
  321. player:SendNotification("Error", "Username not found or invalid!", 5) -- Optional for UI feedback
  322. end
  323. end
  324.  
  325. -- Listen for player chat commands
  326. game.Players.PlayerAdded:Connect(function(player)
  327. player.Chatted:Connect(function(msg)
  328. if IsAdmin(player) and string.sub(msg, 1, 5) == "/char" then
  329. local username = string.sub(msg, 7)
  330. if username and username ~= "" then
  331. ChangeCharacter(player, username)
  332. else
  333. player:SendNotification("Error", "You must provide a username.", 5) -- Optional
  334. end
  335. elseif string.sub(msg, 1, 5) == "/char" then
  336. player:SendNotification("Error", "You are not an admin.", 5) -- Optional
  337. end
  338. end)
  339. end)
  340.  
  341.  
  342. ____________________________________________
  343. SCRIPT BADGE WELCOME:
  344.  
  345.  
  346.  
  347. local PlayedBadge = -- Ganti dengan BadgeID Anda
  348. local BadgeService = game:GetService("BadgeService")
  349.  
  350. game.Players.PlayerAdded:Connect(function(player)
  351. if not BadgeService:UserHasBadgeAsync(player.UserId,PlayedBadge) then
  352. BadgeService:AwardBadge(player.UserId,PlayedBadge)
  353. end
  354. end)
  355.  
  356.  
  357. ____________________________________________
  358. SCRIPT KORBLOX:
  359.  
  360.  
  361.  
  362. -- korblox
  363. game.Players.PlayerAdded:Connect(function(player)
  364. player.CharacterAdded:Connect(function(char)
  365. player.Chatted:Connect(function(msg)
  366. local loweredv = string.lower(msg)
  367. if loweredv == "/korblox" then
  368. local Humanoid = char:WaitForChild("Humanoid",1)
  369. local descriptionClone = Humanoid:GetAppliedDescription()
  370. descriptionClone.RightLeg = 139607718
  371. Humanoid:ApplyDescription(descriptionClone)
  372. end
  373. end)
  374. end)
  375. end)
  376. -- headless
  377. local function onPlayerChatted(player, message)
  378. if message == '/headless' and player.Character and player.Character:FindFirstChild("Head") then
  379. player.Character.Head.Transparency = 1
  380. player.Character.Head.face.Transparency = 1
  381. end
  382. end
  383. local function onPlayerAdded(player)
  384. player.Chatted:Connect(function (message) onPlayerChatted(player, message) end)
  385. end
  386. game.Players.PlayerAdded:Connect(onPlayerAdded)
  387.  
  388.  
  389. ____________________________________________
  390. SCRIPT FINISH BADGE:
  391.  
  392.  
  393.  
  394. local BadgeService = game:GetService("BadgeService")
  395. local BadgeID = -- Ganti dengan FinishBadge ID
  396.  
  397. script.Parent.Touched:Connect(function(part)
  398. if part.Parent:FindFirstChild("Humanoid") then
  399. local player = game.Players:GetPlayerFromCharacter(part.Parent)
  400. if not BadgeService:UserHasBadgeAsync(player.UserId, BadgeID) then
  401. BadgeService:AwardBadge(player.UserId, BadgeID)
  402. end
  403. end
  404. end)
  405.  
  406.  
  407. ____________________________________________
  408. SCRIPT BLOCK MUTAR:
  409.  
  410.  
  411.  
  412. local part = script.Parent -- Ambil objek yang akan diputar
  413. local rotationSpeed = 2 -- Kecepatan rotasi, ubah angkanya sesuai kecepatan yang lo mau
  414. while true do
  415. part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(rotationSpeed), 0)
  416. wait(0.03) -- Delay rotasi
  417. end
  418.  
  419.  
  420. ____________________________________________
  421. SCRIPT AIR:
  422.  
  423.  
  424. game.Workspace.Terrain:FillBlock(script.Parent.CFrame, script.Parent.Size, Enum.Material.Water)
  425. wait(0.5)
  426. script.Parent:remove()
  427.  
  428.  
  429. ____________________________________________
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement