Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local TextLabel = Instance.new("TextLabel")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local TextButton_4 = Instance.new("TextButton")
- local TextButton_5 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- TextLabel.Parent = ScreenGui
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 85, 127)
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.173372343, 0, 0.228209198, 0)
- TextLabel.Size = UDim2.new(0, 333, 0, 50)
- TextLabel.Font = Enum.Font.FredokaOne
- TextLabel.Text = "Animation Pack Script"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextSize = 33.000
- Frame.Parent = TextLabel
- Frame.BackgroundColor3 = Color3.fromRGB(255, 85, 127)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, 1, 0)
- Frame.Size = UDim2.new(0, 333, 0, 182)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(129, 43, 65)
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.0510510504, 0, 0.0714285746, 0)
- TextButton.Size = UDim2.new(0, 109, 0, 40)
- TextButton.Font = Enum.Font.FredokaOne
- TextButton.Text = "c: face"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 23.000
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.fromRGB(129, 43, 65)
- TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.537537515, 0, 0.0714285746, 0)
- TextButton_2.Size = UDim2.new(0, 109, 0, 40)
- TextButton_2.Font = Enum.Font.FredokaOne
- TextButton_2.Text = "Ninja"
- TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.TextSize = 23.000
- TextButton_3.Parent = Frame
- TextButton_3.BackgroundColor3 = Color3.fromRGB(129, 43, 65)
- TextButton_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_3.BorderSizePixel = 0
- TextButton_3.Position = UDim2.new(0.0510510504, 0, 0.626373649, 0)
- TextButton_3.Size = UDim2.new(0, 109, 0, 40)
- TextButton_3.Font = Enum.Font.FredokaOne
- TextButton_3.Text = "levi"
- TextButton_3.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_3.TextSize = 23.000
- TextButton_4.Parent = Frame
- TextButton_4.BackgroundColor3 = Color3.fromRGB(129, 43, 65)
- TextButton_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_4.BorderSizePixel = 0
- TextButton_4.Position = UDim2.new(0.537537515, 0, 0.626373649, 0)
- TextButton_4.Size = UDim2.new(0, 109, 0, 40)
- TextButton_4.Font = Enum.Font.FredokaOne
- TextButton_4.Text = "Vampire"
- TextButton_4.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_4.TextSize = 23.000
- TextButton_5.Parent = Frame
- TextButton_5.BackgroundColor3 = Color3.fromRGB(129, 43, 65)
- TextButton_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_5.BorderSizePixel = 0
- TextButton_5.Position = UDim2.new(0.0510510504, 0, 0.346153855, 0)
- TextButton_5.Size = UDim2.new(0, 109, 0, 40)
- TextButton_5.Font = Enum.Font.FredokaOne
- TextButton_5.Text = "levi"
- TextButton_5.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_5.TextSize = 23.000
- -- Scripts:
- local function KWELD_fake_script() -- TextLabel.LocalScript
- local script = Instance.new('LocalScript', TextLabel)
- frame = script.Parent
- frame.Draggable = true
- frame.Active = true
- frame.Selectable = true
- end
- coroutine.wrap(KWELD_fake_script)()
- local function UKVSI_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- local function Click()
- local face = game.Players.LocalPlayer.Character.Head.face
- face.Texture = "http://www.roblox.com/asset?id=76382977"
- end
- local button= script.Parent
- button.MouseButton1Click:Connect(Click)
- end
- coroutine.wrap(UKVSI_fake_script)()
- local function YSMX_fake_script() -- TextButton_2.LocalScript
- local script = Instance.new('LocalScript', TextButton_2)
- local function Click()
- local Run = game.Players.LocalPlayer.Character.Animate.run.RunAnim
- Run.AnimationId = "http://www.roblox.com/asset/?id=10921157929"
- local Walk = game.Players.LocalPlayer.Character.Animate.walk.WalkAnim
- Walk.AnimationId = "http://www.roblox.com/asset/?id=10921162768"
- local Jump = game.Players.LocalPlayer.Character.Animate.jump.JumpAnim
- Jump.AnimationId = "http://www.roblox.com/asset/?id=10921160088"
- local idle = game.Players.LocalPlayer.Character.Animate.idle.Animation1
- local Weight = game.Players.LocalPlayer.Character.Animate.idle.Animation1.Weight
- local idle2 = game.Players.LocalPlayer.Character.Animate.idle.Animation2
- idle.AnimationId = "http://www.roblox.com/asset/?id=10921155160"
- Weight.Value = 9
- idle2.AnimationId = "http://www.roblox.com/asset/?id=10921155867"
- local Fall = game.Players.LocalPlayer.Character.Animate.fall.FallAnim
- Fall.AnimationId = "http://www.roblox.com/asset/?id=10921159222"
- local Fall = game.Players.LocalPlayer.Character.Animate.fall.FallAnim
- Fall.AnimationId = "http://www.roblox.com/asset/?id=10921159222"
- end
- local button= script.Parent
- button.MouseButton1Click:Connect(Click)
- end
- coroutine.wrap(YSMX_fake_script)()
- local function YHXVUC_fake_script() -- TextButton_3.LocalScript
- local script = Instance.new('LocalScript', TextButton_3)
- local function Click()
- local Run = game.Players.LocalPlayer.Character.Animate.run.RunAnim
- Run.AnimationId = "http://www.roblox.com/asset/?id=10921135644"
- local Walk = game.Players.LocalPlayer.Character.Animate.walk.WalkAnim
- Walk.AnimationId = "http://www.roblox.com/asset/?id=10921140719"
- local Jump = game.Players.LocalPlayer.Character.Animate.jump.JumpAnim
- Jump.AnimationId = "http://www.roblox.com/asset/?id=10921137402"
- local idle = game.Players.LocalPlayer.Character.Animate.idle.Animation1
- local Weight = game.Players.LocalPlayer.Character.Animate.idle.Animation1.Weight
- local idle2 = game.Players.LocalPlayer.Character.Animate.idle.Animation2
- idle.AnimationId = "http://www.roblox.com/asset/?id=10921132962"
- Weight.Value = 9
- idle2.AnimationId = "http://www.roblox.com/asset/?id=10921133721"
- local Fall = game.Players.LocalPlayer.Character.Animate.fall.FallAnim
- Fall.AnimationId = "http://www.roblox.com/asset/?id=10921136539"
- end
- local button= script.Parent
- button.MouseButton1Click:Connect(Click)
- end
- coroutine.wrap(YHXVUC_fake_script)()
- local function IYWHCUA_fake_script() -- TextButton_4.LocalScript
- local script = Instance.new('LocalScript', TextButton_4)
- local function Click()
- local Run = game.Players.LocalPlayer.Character.Animate.run.RunAnim
- Run.AnimationId = "http://www.roblox.com/asset/?id=10921320299"
- local Walk = game.Players.LocalPlayer.Character.Animate.walk.WalkAnim
- Walk.AnimationId = "http://www.roblox.com/asset/?id=10921326949"
- local Jump = game.Players.LocalPlayer.Character.Animate.jump.JumpAnim
- Jump.AnimationId = "http://www.roblox.com/asset/?id=10921322186"
- local idle = game.Players.LocalPlayer.Character.Animate.idle.Animation1
- local Weight = game.Players.LocalPlayer.Character.Animate.idle.Animation1.Weight
- local idle2 = game.Players.LocalPlayer.Character.Animate.idle.Animation2
- idle.AnimationId = "http://www.roblox.com/asset/?id=10921315373"
- Weight.Value = 9
- idle2.AnimationId = "http://www.roblox.com/asset/?id=10921316709"
- local Fall = game.Players.LocalPlayer.Character.Animate.fall.FallAnim
- Fall.AnimationId = "http://www.roblox.com/asset/?id=10921321317"
- end
- local button= script.Parent
- button.MouseButton1Click:Connect(Click)
- end
- coroutine.wrap(IYWHCUA_fake_script)()
- local function CGME_fake_script() -- TextButton_5.LocalScript
- local script = Instance.new('LocalScript', TextButton_5)
- local function FindHandle(character)
- local handle = character:FindFirstChild("Handle")
- if handle and handle:IsA("MeshPart") then
- return handle
- end
- for _, descendant in pairs(character:GetDescendants()) do
- if descendant.Name == "Handle" and descendant:IsA("MeshPart") then
- return descendant
- end
- end
- return nil
- end
- local function Click()
- local player = game.Players.LocalPlayer
- local character = player.Character
- if character then
- local handle = FindHandle(character)
- if handle then
- local accessoryWeld = handle:FindFirstChild("AccessoryWeld")
- if accessoryWeld then
- -- Adjust the CFrame position by creating a new CFrame with the desired position
- accessoryWeld.C0 = CFrame.new(Vector3.new(0, 0.6, 0))
- -- Update the MeshId and TextureID
- handle.MeshId = "rbxassetid://21057410"
- handle.TextureID = "rbxassetid://21057378"
- else
- warn("Handle found, but it does not have an AccessoryWeld.")
- end
- else
- warn("Handle not found.")
- end
- else
- warn("LocalPlayer's character is nil.")
- end
- end
- local button = script.Parent
- button.MouseButton1Click:Connect(Click)
- end
- coroutine.wrap(CGME_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement