Advertisement
Filipono120

[ROBLOX] R15 Resize

Oct 29th, 2020
3,711
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.55 KB | None | 0 0
  1. --=======================================================================================
  2. local player = game:GetService("Players").LocalPlayer
  3. local character = player.Character or player.CharacterAdded:Wait()
  4. local UIS, CAS, mouse = game:GetService("UserInputService"), game:GetService("ContextActionService"), player:GetMouse()
  5. local humanoid = character.Humanoid
  6.  
  7. local NetworkAccess = coroutine.create(function()
  8.     settings().Physics.AllowSleep = false
  9.     wait(math.random(1.5, 3))
  10.     while true do
  11.         game:GetService('RunService').RenderStepped:Wait()
  12.         for _, players in pairs(game.Players:GetChildren()) do
  13.             if players ~= game.Players.LocalPlayer then
  14.                 players.MaximumSimulationRadius = 0.1
  15.                 players.SimulationRadius = 0
  16.             end
  17.         end
  18.         player.MaximumSimulationRadius = math.pow(math.huge, math.huge)
  19.         player.SimulationRadius = math.huge * math.huge
  20.     end
  21. end)
  22. coroutine.resume(NetworkAccess)
  23. --=======================================================================================
  24.  
  25. --// R15 Resize
  26. --// Made by Filipono120 Studios! (the solo dev)
  27.  
  28. local Width = 0.2
  29. local Height = 0.2
  30. local Depth = 0.2
  31. local HeadScale = 0.2
  32.  
  33. if humanoid then
  34.     if humanoid:FindFirstChild("BodyWidthScale") then
  35.         humanoid.BodyWidthScale.Value = Width
  36.     end
  37.     if humanoid:FindFirstChild("BodyHeightScale") then
  38.         humanoid.BodyHeightScale.Value = Height
  39.     end
  40.     if humanoid:FindFirstChild("BodyDepthScale") then
  41.         humanoid.BodyDepthScale.Value = Depth
  42.     end
  43.     if humanoid:FindFirstChild("HeadScale") then
  44.         humanoid.HeadScale.Value = HeadScale
  45.     end
  46. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement