Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- loadstring(game:HttpGet("https://pastebin.com/raw/yG7CaHgB"))()
- --[[
- -- SETTINGS --
- local settings = _G
- settings["Use default animations"] = true
- settings["Fake character transparency level"] = 1 -- 0 to disable
- settings["Disable character scripts"] = true
- settings["Fake character should collide"] = true
- settings["Parent real character to fake character"] = true
- settings["Respawn character"] = false
- settings["Instant respawn"] = true
- settings["Hide HumanoidRootPart"] = true
- settings["Names to exclude from transparency"] = {
- ["HumanoidRootPart"] = true
- }
- (function() if getgenv then return getgenv() else return _G end end)().fling = nil
- local finished = false
- task.spawn(function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/somethingsimade/CurrentAngleV2/refs/heads/main/v2"))()
- end)
- repeat task.wait() until finished
- --]]
- task.wait(1.5)
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local player = Players.LocalPlayer
- local backpack = player:WaitForChild("Backpack")
- local function restoreanim(char)
- local humanoid = char:FindFirstChild("Humanoid")
- if char:FindFirstChild("Animate") then
- char.Animate.Disabled = false
- end
- if humanoid and not humanoid:FindFirstChildOfClass("Animator") then
- Instance.new("Animator", humanoid)
- end
- end
- local function playanim(char, animationId)
- if char:FindFirstChild("Animate") then
- char.Animate.Disabled = true
- end
- local humanoid = char:FindFirstChild("Humanoid")
- if humanoid and humanoid:FindFirstChildOfClass("Animator") then
- humanoid:FindFirstChildOfClass("Animator"):Destroy()
- end
- local asset = "rbxassetid://" .. animationId
- local data = game:GetObjects(asset)[1]
- local joints = {
- ["Torso"] = char.HumanoidRootPart.RootJoint,
- ["Right Arm"] = char.Torso["Right Shoulder"],
- ["Left Arm"] = char.Torso["Left Shoulder"],
- ["Head"] = char.Torso.Neck,
- ["Left Leg"] = char.Torso["Left Hip"],
- ["Right Leg"] = char.Torso["Right Hip"],
- }
- local keyframes = data:GetKeyframes()
- for i, frame in ipairs(keyframes) do
- local dt = keyframes[i+1]
- and (keyframes[i+1].Time - frame.Time)
- or (1/60)
- if i > 1 then
- task.wait(frame.Time - keyframes[i-1].Time)
- end
- for _, part in ipairs(frame:GetDescendants()) do
- local joint = joints[part.Name]
- if joint then
- TweenService:Create(
- joint,
- TweenInfo.new(dt),
- { Transform = part.CFrame }
- ):Play()
- end
- end
- end
- task.wait(0.5)
- for _, motor in pairs(joints) do
- motor.Transform = CFrame.new()
- end
- restoreanim(char)
- end
- local function makeTool(name, animationId)
- local tool = Instance.new("Tool")
- tool.Name = name
- tool.RequiresHandle = true
- tool.CanBeDropped = false
- tool.Parent = backpack
- local handle = Instance.new("Part")
- handle.Name = "Handle"
- handle.Size = Vector3.new(1,1,1)
- handle.Transparency = 1
- handle.CanCollide = false
- handle.Parent = tool
- tool.Activated:Connect(function()
- local char = player.Character or player.CharacterAdded:Wait()
- playanim(char, animationId)
- end)
- end
- makeTool("JK", "98820644687659")
- makeTool("Unlimited Flex Works", "77727115892579")
- makeTool("Stoic Bomb", "17141153099")
- makeTool("Ultimate 2", "18445236460")
- makeTool("Ultimate", "17140902079")
- makeTool("Collateral Ruin", "17325254223")
- makeTool("Swift Sweep 2", "16944345619")
- makeTool("Swift Sweep", "16944265635")
- makeTool("Ravage", "16945550029")
- makeTool("NMG", "74072911396601")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement