Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local scripts = game:GetObjects("rbxassetid://6415591915")[1]
- local aple = scripts.APLE
- aple.Parent = nil
- local newapl = aple:Clone()
- local dvd = scripts.bruh
- dvd.Parent = nil
- local newdvd = dvd:Clone()
- scripts.DVD.Parent = game.Players.LocalPlayer.Backpack
- wait(1)
- local Player = game:GetService("Players"):GetPlayerFromCharacter(script.Parent)
- local Mouse,mouse,UserInputService,ContextActionService
- do
- script.Parent = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Head.face.Texture = ""
- local CAS = {Actions={}}
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.Parent = game.Players.LocalPlayer.Character
- local fakeEvent = function()
- local t = {_fakeEvent=true}
- t.Connect = function(self,f)self.Function=f end
- t.connect = t.Connect
- return t
- end
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Downs=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- function CAS:BindAction(name,fun,touch,...)
- CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
- end
- function CAS:UnbindAction(name)
- CAS.Actions[name] = nil
- end
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnClientEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("Button1Down")
- else
- m:TrigEvent("Button1Up")
- end
- else
- for n,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputBegan",io,false)
- else
- m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputEnded",io,false)
- end
- end
- end)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- wait(4/60)
- Player = game.Players:GetPlayerFromCharacter(script.Parent)
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- cloaked=false
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=EULER(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- local sine = 0
- local change = 1
- local breathcounter = 12
- TorsoColor=Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- ch=Character
- local gunposition = Instance.new("Folder",workspace.CurrentCamera)
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- -- remove hats and stuff --
- for _,v in pairs(script:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = Player.Backpack
- end
- end
- for _,v in pairs(Character:GetDescendants()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for _,v in pairs(Character:GetDescendants()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for _,v in pairs(Character:GetDescendants()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- for _,v in pairs(Character:GetDescendants()) do
- if v:IsA("ShirtGraphic") then
- v:Destroy()
- end
- end
- for _,v in pairs(Character:GetDescendants()) do
- if v:IsA("CharacterMesh") then
- v:Destroy()
- end
- end
- --
- -- apply dvd t shirt and old face
- local de = Torso:FindFirstChildOfClass("Decal")
- de:Destroy()
- local newde = Instance.new('Decal',Torso)
- newde.Name = 'ボイド'
- newde.Texture = 'http://www.roblox.com/asset/?id=5289190443' -- dvd texture :flushed:
- local fa = Head:FindFirstChildOfClass("Decal")
- fa:Destroy()
- local newface = Instance.new('Decal',Head)
- newface.Name = 'old'
- newface.Texture = 'http://www.roblox.com/asset/?id=844520840'
- newface.Color3 = Color3.fromRGB(0,0,0)
- local spawneddvd = false
- local spawnedaple = false
- -- assign things to keys --
- mouse.KeyDown:Connect(function(key)
- if key == 'q' then
- if spawnedaple == true then
- if workspace:FindFirstChild("APLE") ~= nil then
- workspace:FindFirstChild("APLE"):Destroy()
- end
- spawnedaple = false
- return
- end
- spawnedaple = true
- local main = newapl:Clone()
- main.Parent = workspace
- main.AP.Position = mouse.Hit.p
- elseif key == 'e' then
- if spawneddvd == true then
- if workspace:FindFirstChild("ディスク") ~= nil then
- workspace:FindFirstChild("ディスク"):Destroy()
- end
- spawneddvd = false
- return
- end
- spawneddvd = true
- local maindvd = newdvd:Clone()
- maindvd.Parent = workspace
- maindvd.DISK.Position = mouse.Hit.p + Vector3.new(0,5,0)
- maindvd.DISK.Detail.Position = mouse.Hit.p + Vector3.new(0,5,0)
- maindvd.DISK.Other.Position = mouse.Hit.p + Vector3.new(0,5,0)
- maindvd.DISK.Glass.Position = mouse.Hit.p + Vector3.new(0,5,0)
- end
- end)
- --
- -- heart beat
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function applydvdcolors()
- LeftLeg.Color = Color3.fromRGB(0, 16, 176)
- RightLeg.Color = Color3.fromRGB(0, 16, 176)
- Torso.Color = Color3.fromRGB(52, 49, 51)
- Head.Color = Color3.fromRGB(248, 248, 248)
- RightArm.Color = Color3.fromRGB(248, 248, 248)
- LeftArm.Color = Color3.fromRGB(248, 248, 248)
- end
- -- call the functionnnnnn --
- spawn(function()
- applydvdcolors()
- end)
- --
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = ACOS(cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((1 - t) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = ACOS(-cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((t - 1) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function Clerp(a, b, t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- --xd functions
- Animation_Speed = 3
- local FORCERESET = false
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 16
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local DAMAGEMULTIPLIER = 1
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local Rooted = false
- local SINE = 0
- local KEYHOLD = false
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local VALUE1 = false
- local VALUE2 = false
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "BanishV3Gui"
- local Weapon = IT("Model")
- Weapon.Name = "Adds"
- local Effects = IT("Folder", Weapon)
- Effects.Name = "Effects"
- local ANIMATE = Character:FindFirstChild("Animate")
- local ANIMATOR = Humanoid:FindFirstChild("Animator")
- ANIMATOR:Destroy()
- ANIMATE:Destroy()
- local UNANCHOR = true
- local TOBANISH = {}
- local armignore = Instance.new("Folder",workspace.CurrentCamera)
- armignore.Name = "very nice"
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- -----------------------------------------------------------------------------------------------------
- HD = nil
- local Mode = "Normal"
- local toolholding = false
- -- anim yaese yease
- while true do
- Swait()
- SINE = SINE + CHANGE
- Humanoid.HipHeight = 0
- Humanoid.Health = 'inf'
- Humanoid.MaxHealth = 'inf'
- Humanoid.Sit = false
- local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- local TORSOVERTICALVELOCITY = RootPart.Velocity.y
- local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
- local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
- if Character:FindFirstChildOfClass("Tool") then
- toolholding = true
- else
- toolholding = false
- end
- if RootPart:FindFirstChildOfClass("BodyPosition") then
- RootPart:FindFirstChildOfClass("BodyPosition"):Destroy()
- if RootPart:FindFirstChildOfClass("BillBoardGui") then
- RootPart:FindFirstChildOfClass("BillboardGui"):Destroy()
- end
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- if ATTACK == false then
- -- Jump
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.12) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.8 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.8 / Animation_Speed)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- if ATTACK == false then
- -- Fall
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.12) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.8 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.8 / Animation_Speed)
- end
- elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
- if ATTACK == false then
- -- Idle
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
- if toolholding == false then
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0-5* SIN(SINE / 45)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- else
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- end
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0+5* SIN(SINE / 45)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0 + 5 * SIN(SINE / 45))), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0 + 5 * SIN(SINE / 45))), 0.2 / Animation_Speed)
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- if ATTACK == false then
- -- Walk
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
- if toolholding == false then
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0-50* SIN(SINE / 5)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
- else
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- end
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0+50* SIN(SINE / 5)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0 + 50 * SIN(SINE / 5))), 0.8 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0 + 50 * SIN(SINE / 5))), 0.8 / Animation_Speed)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement