Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local MelGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local ImageLabel = Instance.new("ImageLabel")
- local MOD = Instance.new("TextButton")
- --Properties:
- MelGui.Name = "MelGui"
- MelGui.Parent = game.CoreGui
- MelGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = MelGui
- Frame.BackgroundColor3 = Color3.fromRGB(6, 6, 6)
- Frame.BackgroundTransparency = 0.900
- Frame.Position = UDim2.new(0.012061093, 0, 0.627854425, 0)
- Frame.Size = UDim2.new(0, 254, 0, 199)
- Frame.Visible = true
- ImageLabel.Parent = Frame
- ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel.Size = UDim2.new(0, 254, 0, 199)
- ImageLabel.Image = "http://www.roblox.com/asset/?id=5411796731"
- MOD.Name = "MOD"
- MOD.Parent = Frame
- MOD.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- MOD.BackgroundTransparency = 0.500
- MOD.BorderColor3 = Color3.fromRGB(170, 0, 0)
- MOD.BorderSizePixel = 3
- MOD.Position = UDim2.new(0.255905509, 0, 0.810546577, 0)
- MOD.Size = UDim2.new(0, 124, 0, 31)
- MOD.Font = Enum.Font.SourceSansBold
- MOD.Text = "Furn mod"
- MOD.TextColor3 = Color3.fromRGB(0, 0, 0)
- MOD.TextScaled = true
- MOD.TextSize = 14.000
- MOD.TextWrapped = true
- MOD.MouseButton1Down:connect(function()
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "f" then
- local Item = game.Players.LocalPlayer:GetMouse().Target.Parent
- local Size = Item.PrimaryPart.Size.Y
- Item.PrimaryPart.Size = Vector3.new(0,0,0)
- local Rotate
- local Tilt
- Rotate = 0
- Tilt = 0
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- Rotate = Rotate + 22.5
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "t" then
- Tilt = Tilt + 22.5
- end
- end)
- spawn(function()
- while game:GetService("RunService").RenderStepped:Wait() do
- game.Players.LocalPlayer:GetMouse().TargetFilter = Item
- 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)))
- end
- end)
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement