| 1.37 KB, JSON | 34 min ago 19 min ago | 1.43 KB, We use cookies for various purposes including analytics. local Run = game:GetService("RunService"); local CoreGui = game:GetService("CoreGui"); local StartGui = game:GetService("StarterGui"); local UserInput = game:GetService("UserInputService"); local Light = game:GetService("Lighting"); local Workspace = game:GetService("Workspace"); local Players = game:GetService("Players"); --local secret953 = secret953 or debug.getupvalues; --local secret500 = secret500 or debug.setupvalue; --local getreg = getreg or debug.getregistry; ["Info"] = "Murder Mystery GUI, remastered, version 3.4, Made by ThisW0ntGetBanned, Discord: https://discord.gg/MyjGtee", for i, v in pairs(game.Players:GetChildren()) do, game.Players.LocalPlayer.Character.Humanoid:Remove(), Instance.new('Humanoid', game.Players.LocalPlayer.Character), if Gravity.Text == "Gravity Hax: OFF" then, game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 75, game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16, game.Players.LocalPlayer.Character.Humanoid.JumpPower = 120, game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50, for i, v in pairs(game.Workspace:GetDescendants()) do, v.CFrame = game.Players.LocalPlayer.Character.Head.CFrame, hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z), Important = {Players = game:GetService("Players"), Workspace = game:GetService("Workspace"), CoreGui = game:GetService("CoreGui")}, repeat wait() until GetChar:FindFirstChild("Head"), local bb = Instance.new("BillboardGui", Important.CoreGui), local displayframe = Instance.new("Frame", bb), local name = Instance.new("TextLabel", displayframe), name.TextColor3 = Color3.new(255, 0, 255), for i,v in pairs(Important.Players:GetChildren()) do, if game.GameId == 1320186298 then return end, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0), game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0), --[[Quick Put Together Autofarm, don't fucking touch Headless]]--, TextLabel.TextColor3 = Color3.new(170,0,0), warn("Nigga Stopped Farming Coins, what a loser"), local MurderLx = Instance.new("ScreenGui"), local LocalTitle = Instance.new("TextLabel"), local Gravity = Instance.new("TextButton"), local GodMode = Instance.new("TextButton"), local ClickTP = Instance.new("TextButton"), local TeleportFrame = Instance.new("Frame"), local TPTItle = Instance.new("TextLabel"), local UpdateFrame = Instance.new("Frame"), local UpdateTitle = Instance.new("TextLabel"), local Update1 = Instance.new("TextLabel"), local Update2 = Instance.new("TextLabel"), local VisualFrame = Instance.new("Frame"), local VisualTitle = Instance.new("TextLabel"), local Credits = Instance.new("TextLabel"), local WaterMark = Instance.new("TextLabel"), local FarmTitle = Instance.new("TextLabel"), local AutoFarmXd = Instance.new("TextButton"), local TextLabel = Instance.new("TextLabel"), local Toggle = Instance.new("TextButton"), MainFrame.BackgroundColor3 = Color3.new(1, 1, 1), MainFrame.Position = UDim2.new(0.412844032, 0, 0.415244609, 0), MainFrame.Size = UDim2.new(0, 100, 0, 100), LocalFrame.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471), LocalFrame.BackgroundTransparency = 0.20000000298023, LocalFrame.Position = UDim2.new(-3.48978591, 0, -3.01718998, 0), LocalFrame.Size = UDim2.new(0, 241, 0, 362), LocalTitle.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), LocalTitle.Size = UDim2.new(0, 241, 0, 50), LocalTitle.Font = Enum.Font.SourceSansSemibold, LocalTitle.TextColor3 = Color3.new(1, 1, 1), Speed.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), Speed.Position = UDim2.new(0, 0, 0.136924356, 0), Gravity.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), Gravity.Position = UDim2.new(0, 0, 0.270816833, 0), Coins.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), Coins.Position = UDim2.new(0, 0, 0.406766862, 0), Jump.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), Jump.Position = UDim2.new(0, 0, 0.542075634, 0), GodMode.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), GodMode.Position = UDim2.new(0, 0, 0.677073002, 0), ClickTP.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), ClickTP.Position = UDim2.new(0, 0, 0.831193626, 0), TeleportFrame.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471), TeleportFrame.BackgroundTransparency = 0.20000000298023, TeleportFrame.Position = UDim2.new(1.71923506, 0, -3.01718998, 0), TeleportFrame.Size = UDim2.new(0, 241, 0, 138), TPTItle.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), TPTItle.Font = Enum.Font.SourceSansSemibold, GTP.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), GTP.Position = UDim2.new(0, 0, 0.64612627, 0), TPL.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), TPL.Position = UDim2.new(0, 0, 0.349024832, 0), UpdateFrame.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471), UpdateFrame.BackgroundTransparency = 0.20000000298023, UpdateFrame.Position = UDim2.new(4.36315012, 0, -3.01718998, 0), UpdateFrame.Size = UDim2.new(0, 241, 0, 301), UpdateTitle.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), UpdateTitle.Size = UDim2.new(0, 241, 0, 50), UpdateTitle.Font = Enum.Font.SourceSansSemibold, UpdateTitle.TextColor3 = Color3.new(1, 1, 1), Update1.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), Update1.Position = UDim2.new(0, 0, 0.187280804, 0), Update2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), Update2.Position = UDim2.new(0.00414937781, 0, 0.297104955, 0), Update2.Text = "-Auto Farm Added\n\n-Teleport Coins Fixed\n\n-HeadlessDev Skidded my joints\n\n-Updated 6/2/19", VisualFrame.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471), VisualFrame.BackgroundTransparency = 0.20000000298023, VisualFrame.Position = UDim2.new(-6.19391441, 0, -3.01718998, 0), VisualFrame.Size = UDim2.new(0, 241, 0, 173), VisualTitle.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), VisualTitle.Size = UDim2.new(0, 241, 0, 50), VisualTitle.Font = Enum.Font.SourceSansSemibold, VisualTitle.TextColor3 = Color3.new(1, 1, 1), MSESP.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), MSESP.Position = UDim2.new(-0.00414937781, 0, 0.285714358, 0), NESP.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), NESP.Position = UDim2.new(0, 0, 0.617465258, 0), Credits.BackgroundColor3 = Color3.new(1, 1, 1), Credits.Position = UDim2.new(-2.36211014, 0, -3.2644937, 0), WaterMark.BackgroundColor3 = Color3.new(1, 1, 1), WaterMark.Position = UDim2.new(-6.1945262, 0, -3.52407289, 0), WaterMark.Size = UDim2.new(0, 434, 0, 50), WaterMark.Text = "Murder Mystery Haxx v5.4 Remastered", WaterMark.TextColor3 = Color3.new(0.333333, 1, 0), AutoMurder.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471), AutoMurder.BackgroundTransparency = 0.20000000298023, AutoMurder.Position = UDim2.new(-0.830765009, 0, -3.01718998, 0), AutoMurder.Size = UDim2.new(0, 241, 0, 138), FarmTitle.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), FarmTitle.Size = UDim2.new(0, 241, 0, 50), FarmTitle.Font = Enum.Font.SourceSansSemibold, FarmTitle.TextColor3 = Color3.new(1, 1, 1), AutoFarmXd.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), AutoFarmXd.Position = UDim2.new(0, 0, 0.349024832, 0), AutoFarmXd.Size = UDim2.new(0, 241, 0, 40), AutoFarmXd.TextColor3 = Color3.new(1, 1, 1), TextLabel.BackgroundColor3 = Color3.new(1, 1, 1), TextLabel.Position = UDim2.new(0, 0, 0.649033487, 0), TextLabel.Size = UDim2.new(0, 241, 0, 43), TextLabel.TextColor3 = Color3.new(1, 0, 0), Toggle.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078), Toggle.Position = UDim2.new(0.859327197, 0, 0.772468686, 0), Toggle.MouseButton1Click:connect(function(), ClickTP.MouseButton1Click:connect(function(), Coins.MouseButton1Click:connect(function(), GodMode.MouseButton1Click:connect(function(), Gravity.MouseButton1Click:connect(function(), Jump.MouseButton1Click:connect(function(), Speed.MouseButton1Click:connect(function(), AutoFarmXd.MouseButton1Click:connect(function(), TextLabel.TextColor3 = Color3.new(0,185,0), MSESP.MouseButton1Click:connect(function(), local faces = {"Back","Bottom","Front","Left","Right","Top"}, for _, v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then, local bgui = Instance.new("BillboardGui",v.Character.Head), local nam = Instance.new("TextLabel",bgui), if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then, for _, p in pairs(v.Character:GetChildren()) do, if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name == ("Left Arm") or p.Name == ("Left Leg") then, mf.BackgroundColor3 = Color3.new(0,0,255), elseif v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then, mf.BackgroundColor3 = Color3.new(255,0,0), mf.BackgroundColor3 = Color3.new(0,255,0), local q = ("traeglaelnltlejsjs.rkakpythocr"), for _, v in pairs(game.Workspace:GetDescendants()) do, NESP.MouseButton1Click:connect(function(), for i, v in pairs(game.CoreGui:GetChildren()) do, --[[The End Bruh Dont Forget to Subscribe]]--, JSON | 17 min ago Dev Z Scripts 41 subscribers Subscribe 5.2K views 2 years ago Dont mind my Low fps I Need To Change Some Settings Script:. | 2.87 KB, C | --Credits: giantgamingchannel, Bartus2009_Bro, function onKeyPress(inputObject, gameProcessedEvent), if inputObject.KeyCode == Enum.KeyCode.B then, -- Location: Players.Cronizete.Character.BODYGUARDSV2, -- Purchase Here: https://brack4712.xyz/synapse/purchase, --// M = Change Types of bodyguards (Snipers, riflers) Sniper is the default. | 8.09 KB, C++ | | 8.09 KB, C++ | Advertisement. | 1.51 KB, JSON | cam_offset = CFrame.new(0.2, -0.37, 0.91) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), local weapon_model = Instance.new("Part"), weapon_model.Size = Vector3.new(0.2, 0.2, 0.2), weapon_model.BrickColor = weapon_properties.brick_color, weapon_model.Transparency = weapon_properties.transparency, weapon_model.Reflectance = weapon_properties.reflectance, local mesh = Instance.new("SpecialMesh", weapon_model), mesh.TextureId = weapon_properties.texture_id, motors = {torso:findFirstChild("Left Shoulder"), torso:findFirstChild("Right Shoulder"), torso:findFirstChild("Neck")}, weapon_parts = {weapon_model:clone(), weapon_model:clone()}, motors[1].Part1 = character:findFirstChild("Left Arm"), motors[2].Part1 = character:findFirstChild("Right Arm"), motors[3].Part1 = character:findFirstChild("Head"), cam_larm.BrickColor = BrickColor.new("Really black"), cam_larm.Size = Vector3.new(0.2, 0.2, 0.2), local hmesh = Instance.new("BlockMesh", cam_larm), local check = {torso:findFirstChild("LeftWeld"), torso:findFirstChild("RightWeld"), torso:findFirstChild("HeadWeld")}, local check2 = {character:findFirstChild("WeaponObject"), camera:findFirstChild("WeaponAnimation")}, if check2[1] then check2[1].Parent = nil end, if check2[2] then check2[2].Parent = nil end, welds = {Instance.new(conn_type), Instance.new(conn_type), Instance.new(conn_type)}, welds[1].Part1 = character:findFirstChild("Left Arm"), welds[2].Part1 = character:findFirstChild("Right Arm"), welds[3].Part1 = character:findFirstChild("Head"), wep_weld.Part0 = character:findFirstChild("Right Arm"), local cam_welds = {Instance.new(conn_type), Instance.new(conn_type), Instance.new(conn_type)}, if (cur_p - last_p).magnitude >= 0.1 then, move_amm = math.min(1, move_amm + delta * move_anim_speed), move_amm = math.max(0, move_amm - delta * move_anim_speed), local r_serv = game:GetService("RunService"), local a_horse = (character:findFirstChild("HorseHead") ~= nil), local horse_cf = CFrame.Angles(0.0001, 0.0001, 0), local rndwait = (math.random(100, 1000) / 1000) * 4, local oldd = {horse_displace[1], horse_displace[2]}, local disp2 = {math.random(-60, 60), math.random(0, 25)}, ld = math.min(1, ld + ((tick() - st) * 4)), local x = oldd[1] - ((oldd[1] - disp2[1]) * eff), local y = oldd[2] - ((oldd[2] - disp2[2]) * eff), horse_cf = CFrame.Angles(math.rad(y), math.rad(x) , 0), r_serv.RenderStepped:wait() ------------------------------------------------, local breathe = math.sin(math.rad(tick() * 90 * breathe_freq)) * breathe_amp. {{0.15, 2}, 0, CFrame.new(0.4, -0.101, 0.1) * CFrame.Angles(-1.571, 0, -0.35), CFrame.new(-0.301, -0.301, 0.1) * CFrame.Angles(-1.048, -0.175, -0.524), CFrame.new(0, -1.201, -0.801) * CFrame.Angles(-2.095, 0, 0)}, {{0.6, 2}, 0, CFrame.new(0.4, -0.201, 0.2) * CFrame.Angles(-0.873, 0, 0.698), CFrame.new(-0.201, 0, 0) * CFrame.Angles(-0.175, 0.349, -0.262), CFrame.new(0, -0.95, -0.801) * CFrame.Angles(-1.571, 0, 0)}. 2) Then allow notifications. 14 min ago | 1.43 KB, We use cookies for various purposes including analytics. | 1.50 KB, JSON | function CFrameTrans(GetCFrame1, GetCFrame2, GetNumber), local Diff2 = GetCFrame2.p - GetCFrame1.p, local Diff = GetCFrame1_s:inverse() * GetCFrame2, local x1, y1, z1 = Diff:toEulerAnglesXYZ(), return (GetCFrame1 + (Diff2 * GetNumber)) * CFrame.Angles(x1 * GetNumber, y1 * GetNumber, z1 * GetNumber), return 1 - math.sin(math.rad((1 - x) * 90)), function PlayAnimation(anim_name, tm) --return {left, right, wep, trans}, return {animd[1][3], animd[1][4], animd[1][5], animd[1][2]}, local trans_amm = TransEff((animd[trans_to][1][1] + tm_left) / animd[trans_to][1][1], animd[trans_to][1][2]). 34 min ago | 1.50 KB, JSON | Murder Mystery 2 OP Script VERY OP - Pastebin.com Pastebin.com is the number one paste tool since 2002. texture_id = "http://www.roblox.com/asset/?id=121944805". | 1.51 KB, JSON | -- To remove the orginial script just go into . . | 1.50 KB, JSON | | 1.50 KB, JSON | | 1.43 KB, We use cookies for various purposes including analytics. SHARE. | 1.31 KB, JSON | local TextButton = Instance.new("TextButton"); TextButton.Parent = game.CoreGui.nikopez[tab]; TextButton.BackgroundColor3 = Color3.new(1, 1, 1), TextButton.Position = UDim2.new(0.0352941193, 0, 1, (25*count)-25), TextButton.Size = UDim2.new(0.964705884, 0, 0, 25), TextButton.TextColor3 = Color3.new(255,255,255), TextButton.TextStrokeTransparency = 0.40000000596046, TextButton.TextXAlignment = Enum.TextXAlignment.Left, TextButton.MouseButton1Click:connect(function(), TextButton.TextColor3 = Color3.new(0,255,0), for i,v in pairs(game.CoreGui.nikopez:GetChildren()) do, if (game.CoreGui.nikopez:FindFirstChild(tab)) then, if (game.CoreGui.nikopez[tab]:FindFirstChild(item)) then. Pastebin APItoolsfaq paste LoginSign up Advertisement SHARE TWEET MM2 GUI a guest Jun 15th, 2019 179,027 By continuing to use Pastebin, you agree to our use of cookies as described in the. The Murder Mystery 2 Script is very useful Roblox Murder Mystery 2 is a popular horror game created by Nikilis that is based on a Garry's Mod game mode called Murder. Ahtoh13131423144235. pez:addTab("espsettings","Esp settings"); pez:addButton("espsettings","Show murderer",toggleespmurderer), pez:addButton("espsettings","Show sheriff",toggleespsheriff), pez:addButton("espsettings","Show innocents",toggleespinnocent). VDOMDHTMLtml> MM2 OP SCRIPT - Pastebin.com Pastebin.com is the number one paste tool since 2002. {{}, 0, CFrame.new(0, 0, 0) * CFrame.Angles(-1.571, 0, 0), CFrame.new(0, 0, 0) * CFrame.Angles(-1.571, 0, 0), CFrame.new(0, -1.3, -0.5) * CFrame.Angles(-2.618, 0, 0)}. | 1.43 KB, We use cookies for various purposes including analytics. CFrameTrans(animd[trans_from][5], animd[trans_to][5], trans_amm), num_trans(animd[trans_from][2], animd[trans_to][2], trans_amm). https://discord.gg/rcnujV4", JoinDiscordSever.TextColor3 = Color3.new(0, 0, 0), TpCoins.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235), TpCoins.Position = UDim2.new(0.0148975793, 0, 0.182713121, 0), TpCoins.MouseButton1Down:connect(function(), for i,v in pairs(game.Workspace:GetChildren()) do, local s = v:FindFirstChild("CoinContainer"), local e = game.Players.LocalPlayer.Character:FindFirstChild("LowerTorso"), c.CFrame = game.Players.LocalPlayer.Character.LowerTorso.CFrame, game:GetService("RunService").RenderStepped:Wait(0.7), SpamSheriffGun.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235), SpamSheriffGun.Position = UDim2.new(0.260707647, 0, 0.182713121, 0), SpamSheriffGun.Size = UDim2.new(0, 125, 0, 50), SpamSheriffGun.Font = Enum.Font.GothamBold, SpamSheriffGun.Text = "Spam Shoot Sheriff's Gun (Sheriff Must Have Gun Equipped)", SpamSheriffGun.TextColor3 = Color3.new(1, 1, 1), SpamSheriffGun.MouseButton1Down:connect(function(), Test.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui"), Frame.BackgroundColor3 = Color3.new(1, 1, 1), Frame.Position = UDim2.new(0.5, 0, 0.930000007, 0), Frame.Size = UDim2.new(0.150000006, 0, 0.115000002, 0), Use.BackgroundColor3 = Color3.new(1, 1, 1), Use.Position = UDim2.new(0.5, 0, 0.930000007, 0), Use.Size = UDim2.new(1, 0, 0.550000012, 0), Use.Style = Enum.ButtonStyle.RobloxRoundButton, Msg.BackgroundColor3 = Color3.new(1, 1, 1), Msg.Size = UDim2.new(1, 0, 0.400000006, 0), for _,v in pairs(game.Players:GetChildren()) do, return v.Backpack:FindFirstChild("Gun"), v, elseif v.Backpack:FindFirstChild("Revolver") then, return v.Backpack:FindFirstChild("Revolver"), v, elseif v.Character:FindFirstChild("Gun") then, return v.Character:FindFirstChild("Gun"), v, elseif v.Character:FindFirstChild("Revolver") then, return v.Character:FindFirstChild("Revolver"), v, local c = (plr.Character.HumanoidRootPart.CFrame * CFrame.new(0.7,1,-4)), tool.KnifeServer.SlashStart:FireServer(0,c.p), BringGun.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235), BringGun.Position = UDim2.new(0.260707647, 0, 0.358111739, 0), BringGun.TextColor3 = Color3.new(1, 1, 1), BringGun.MouseButton1Down:connect(function(), game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0), UnlockWorkspace.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235), UnlockWorkspace.Position = UDim2.new(0.506517708, 0, 0.358111739, 0), UnlockWorkspace.Size = UDim2.new(0, 125, 0, 50), UnlockWorkspace.Font = Enum.Font.GothamBold, UnlockWorkspace.Text = "Unlock Workspace", UnlockWorkspace.TextColor3 = Color3.new(1, 1, 1), UnlockWorkspace.MouseButton1Down:connect(function(), GodMode.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235), GodMode.Position = UDim2.new(0.754189968, 0, 0.358111739, 0), GodMode.MouseButton1Down:connect(function(), game.Players.LocalPlayer.Character.Humanoid:Remove(), Instance.new('Humanoid', game.Players.LocalPlayer.Character), Btools.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235), Btools.Position = UDim2.new(0.506517708, 0, 0.182713062, 0), Btools.MouseButton1Down:connect(function(), H = Instance.new("HopperBin", Player.Backpack), Esp.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235), Esp.Position = UDim2.new(0.754189968, 0, 0.180435181, 0), Esp.Text = "Enable Esp Sheriff = Blue Murderer = Red", --Made by !! Didn't even need an animation editor :), {{}, 0, CFrame.new(0.4, -0.201, 0.2) * CFrame.Angles(-0.873, 0, 0.698), CFrame.new(-0.201, 0, 0) * CFrame.Angles(-0.175, 0.349, -0.262), CFrame.new(0, -0.95, -0.801) * CFrame.Angles(-1.571, 0, 0)}. | 1.43 KB, We use cookies for various purposes including analytics. math.sin(math.rad(tick() * 90 * shake_freq)) * move_amm * shake_amp[1], math.abs(math.sin(math.rad(tick() * 90 * shake_freq)) * move_amm * shake_amp[2])), local p_distance = (head.Position - mouse.Hit.p).magnitude, if p_distance == 0 then p_distance = 0.0001 end, local p_height = mouse.Hit.p.y - head.Position.y, view_angle = math.deg(math.asin(math.abs(p_height) / p_distance)) * (math.abs(p_height) / p_height), local looking_at = cam_cf * CFrame.new(0, 0, -100), local view_angle2 = math.deg(math.atan2(cam_cf.p.x - looking_at.p.x, cam_cf.p.z - looking_at.p.z)) + 180, v_delta1 = math.abs(view_angle - last_va), local va_check = {math.abs(view_angle2 - last_va2), 360 - math.abs(view_angle2 - last_va2)}, dir2 = (view_angle2 - last_va2) / va_check[1], view_velocity[1] = view_velocity[1] / (1 + (delta * anim_p.aim_retract)), view_velocity[2] = view_velocity[2] / (1 + (delta * anim_p.aim_retract)), local calc1 = v_delta1 * dir1 * anim_p.aim_amp, view_velocity[1] = view_velocity[1] + (math.min(anim_p.aim_max_change, math.abs(calc1)) * (calc1 / math.abs(calc1))), local calc2 = v_delta2 * dir2 * anim_p.aim_amp, view_velocity[2] = view_velocity[2] + (math.min(anim_p.aim_max_change, math.abs(calc2)) * (calc2 / math.abs(calc2))), view_velocity[1] = math.min(anim_p.aim_max_deg, math.abs(view_velocity[1])) * (math.abs(view_velocity[1]) / view_velocity[1]), view_velocity[2] = math.min(anim_p.aim_max_deg, math.abs(view_velocity[2])) * (math.abs(view_velocity[2]) / view_velocity[2]), local curr_anim = PlayAnimation(anmtp, anmst) --left, right, weapon, wep trans, --curr_anim = {Animations.Default[1][3], Animations.Default[1][4], Animations.Default[1][5], 0}, local chestCF = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(math.max(-rot_amplitude_chest, math.min(rot_amplitude_chest, view_angle)) + 90 + breathe), 0, 0), weld1.C1 = (chestCF * curr_anim[1] * CFrame.new(0, -0.5, 0)):inverse(), weld2.C1 = (chestCF * curr_anim[2] * CFrame.new(0, -0.5, 0)):inverse(), weapon_parts[1].Transparency = curr_anim[4], weld3.C1 = (CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.max(-rot_amplitude_head, math.min(rot_amplitude_head, view_angle))), 0, 0) * horse_cf):inverse(), weld3.C1 = (CFrame.new(0, 0, 0)):inverse(), if (head.Position - camera.CoordinateFrame.p).magnitude < 3 then, local cam_cf = camera.CoordinateFrame * CFrame.Angles(math.rad(90 + (breathe / 2) - view_velocity[1]), 0, math.rad(view_velocity[2])) * arm_shake * anim_p.cam_offset, cam_welds[1].C1 = (torso.CFrame:inverse() * cam_cf * CFrame.new(-1.5, 0, 0) * curr_anim[1] * CFrame.new(0, -0.5, 0)):inverse(), cam_welds[2].C1 = (torso.CFrame:inverse() * cam_cf * CFrame.new(1.5, 0, 0) * curr_anim[2] * CFrame.new(0, -0.5, 0)):inverse(), cam_welds[3].C1 = (curr_anim[3]):inverse(), weapon_parts[2].Transparency = curr_anim[4], if inputObject.KeyCode == Enum.KeyCode.N then, repeat wait() until player.Character.Humanoid, local humanoid = player.Character.Humanoid, --game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498'.