Advertisement
meldrednyx

Furniii

Jun 2nd, 2021
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local MelGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local ImageLabel = Instance.new("ImageLabel")
  9. local MOD = Instance.new("TextButton")
  10.  
  11. --Properties:
  12.  
  13. MelGui.Name = "MelGui"
  14. MelGui.Parent = game.CoreGui
  15. MelGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Frame.Parent = MelGui
  18. Frame.BackgroundColor3 = Color3.fromRGB(6, 6, 6)
  19. Frame.BackgroundTransparency = 0.900
  20. Frame.Position = UDim2.new(0.012061093, 0, 0.627854425, 0)
  21. Frame.Size = UDim2.new(0, 254, 0, 199)
  22. Frame.Visible = true
  23.  
  24. ImageLabel.Parent = Frame
  25. ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  26. ImageLabel.Size = UDim2.new(0, 254, 0, 199)
  27. ImageLabel.Image = "http://www.roblox.com/asset/?id=5411796731"
  28.  
  29. MOD.Name = "MOD"
  30. MOD.Parent = Frame
  31. MOD.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  32. MOD.BackgroundTransparency = 0.500
  33. MOD.BorderColor3 = Color3.fromRGB(170, 0, 0)
  34. MOD.BorderSizePixel = 3
  35. MOD.Position = UDim2.new(0.255905509, 0, 0.810546577, 0)
  36. MOD.Size = UDim2.new(0, 124, 0, 31)
  37. MOD.Font = Enum.Font.SourceSansBold
  38. MOD.Text = "Furn mod"
  39. MOD.TextColor3 = Color3.fromRGB(0, 0, 0)
  40. MOD.TextScaled = true
  41. MOD.TextSize = 14.000
  42. MOD.TextWrapped = true
  43. MOD.MouseButton1Down:connect(function()
  44. plr = game.Players.LocalPlayer
  45. mouse = plr:GetMouse()
  46. mouse.KeyDown:connect(function(key)
  47. if key == "f" then
  48. local Item = game.Players.LocalPlayer:GetMouse().Target.Parent
  49. local Size = Item.PrimaryPart.Size.Y
  50. Item.PrimaryPart.Size = Vector3.new(0,0,0)
  51. local Rotate
  52. local Tilt
  53. Rotate = 0
  54. Tilt = 0
  55. plr = game.Players.LocalPlayer
  56. mouse = plr:GetMouse()
  57. mouse.KeyDown:connect(function(key)
  58. if key == "r" then
  59. Rotate = Rotate + 22.5
  60. end
  61. end)
  62. plr = game.Players.LocalPlayer
  63. mouse = plr:GetMouse()
  64. mouse.KeyDown:connect(function(key)
  65. if key == "t" then
  66. Tilt = Tilt + 22.5
  67. end
  68. end)
  69. spawn(function()
  70. while game:GetService("RunService").RenderStepped:Wait() do
  71. game.Players.LocalPlayer:GetMouse().TargetFilter = Item
  72. Item:SetPrimaryPartCFrame(CFrame.new(math.floor(game.Players.LocalPlayer:GetMouse().Hit.X)+.03,math.ceil(game.Players.LocalPlayer:GetMouse().Hit.Y+(Size/2)-1),math.floor(game.Players.LocalPlayer:GetMouse().Hit.Z)-.03) * CFrame.Angles(math.rad(0),math.rad(Rotate),math.rad(Tilt)))
  73. end
  74. end)
  75. end
  76. end)
  77. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement