Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = owner
- local c = p.Character
- local tws = game:GetService("TweenService")
- local hum = c:WaitForChild("Humanoid")
- local deb = true
- local actv = false
- local actv2 = false
- if hum.RigType==Enum.HumanoidRigType.R15 then
- warn("u have to be r6 dummy !!")
- wait(1)
- script:Destroy()
- end
- function joint(p0,p1,x0,y0,z0,rx,ry,rz,name) -- part0, part1, x-axis, y-axis, z-axis, x rotation, y rotation, z rotation, name
- local weld = Instance.new("Weld",p0)
- weld.Part0 = p0
- weld.Part1 = p1
- weld.Name = name
- weld.C0 = CFrame.new(x0,y0,z0)
- weld.C0 = weld.C0*CFrame.Angles(rx,ry,rz)
- return weld
- end
- trails = {}
- function createTrail(part, trailAmt, color1, color2, lifetime, dly)
- for i = -trailAmt, trailAmt do
- leftcorner = Instance.new("Attachment", part)
- leftcorner.Position = Vector3.new(-part.Size.x/2*1.01, part.Size.y/2*1.01, part.Size.z/2*(i/trailAmt)*1.01)
- bleftcorner = Instance.new("Attachment", part)
- bleftcorner.Position = Vector3.new(-part.Size.x/2*1.01, -part.Size.y/2*1.01, part.Size.z/2*(i/trailAmt)*1.01)
- rightcorner = Instance.new("Attachment", part)
- rightcorner.Position = Vector3.new(part.Size.x/2*1.01, part.Size.y/2*1.01, part.Size.z/2*(i/trailAmt)*1.01)
- brightcorner = Instance.new("Attachment", part)
- brightcorner.Position = Vector3.new(part.Size.x/2*1.01, -part.Size.y/2*1.01, part.Size.z/2*(i/trailAmt)*1.01)
- trail = Instance.new("Trail", part)
- trail.Attachment0 = leftcorner
- trail.Attachment1 = bleftcorner
- trail.MaxLength = 50
- trail.LightEmission = .8
- trail.Transparency = NumberSequence.new(0.2)
- trail.Color = ColorSequence.new(color1,color2)
- trail.Lifetime = lifetime
- table.insert(trails, trail)
- trail2 = Instance.new("Trail", part)
- trail2.Attachment0 = bleftcorner
- trail2.Attachment1 = brightcorner
- trail2.MaxLength = 50
- trail2.Lifetime = lifetime
- trail2.Color = ColorSequence.new(color1,color2)
- trail2.LightEmission = .8
- trail2.Transparency = NumberSequence.new(0.2)
- table.insert(trails, trail2)
- trail3 = Instance.new("Trail", part)
- trail3.Attachment0 = brightcorner
- trail3.Attachment1 = rightcorner
- trail3.MaxLength = 50
- trail3.Lifetime = lifetime
- trail3.Color = ColorSequence.new(color1,color2)
- trail3.LightEmission = .8
- trail3.Transparency = NumberSequence.new(0.2)
- table.insert(trails, trail3)
- trail4 = Instance.new("Trail", part)
- trail4.Attachment0 = rightcorner
- trail4.Attachment1 = leftcorner
- trail4.MaxLength = 50
- trail4.Lifetime = lifetime
- trail4.Color = ColorSequence.new(color1,color2)
- trail4.LightEmission = .8
- trail4.Transparency = NumberSequence.new(0.2)
- table.insert(trails, trail4)
- game.Debris:AddItem(trail,dly)
- game.Debris:AddItem(trail2,dly)
- game.Debris:AddItem(trail3,dly)
- game.Debris:AddItem(trail4,dly)
- end
- end
- function tween(part,size,time)
- local goals = {}
- goals.Size = size
- local tinf = TweenInfo.new(time)
- local tween = tws:Create(part,tinf,goals)
- tween:Play()
- end
- local HANDO = Instance.new("Sound",c["Head"])
- HANDO.SoundId = "rbxassetid://1228181736"
- HANDO.Volume = 3
- local smack = Instance.new("Sound",c["Head"])
- smack.SoundId = "rbxassetid://367499850"
- smack.Volume = 3
- local touch = Instance.new("Part",c)
- touch.Size = Vector3.new(.5,1,.5)
- touch.Massless = true
- touch.CanCollide = false
- touch.Locked = true
- touch.Transparency = 1
- touch.Name = "Touched"
- local touch2 = Instance.new("Part",c)
- touch2.Size = Vector3.new(.5,1,.5)
- touch2.Massless = true
- touch2.CanCollide = false
- touch2.Locked = true
- touch2.Transparency = 1
- touch2.Name = "Touched"
- local tj = joint(c["Right Arm"],touch,0,-.75,0,0,0,0,"Hitbox")
- local tj2 = joint(c["Left Leg"],touch2,0,-.75,0,0,0,0,"Hitbox2")
- touch.Touched:Connect(function(hit)
- if not actv then return else
- if hit.Parent~=c and hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
- for i = 1,10 do
- hit.Transparency = hit.Transparency+.1
- wait()
- end
- hit:Destroy()
- end
- end
- end)
- touch2.Touched:Connect(function(hit)
- if not actv2 then return else
- if hit.Parent~=c and hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
- local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
- hum.PlatformStand = true
- hum:TakeDamage(2)
- smack:Play()
- wait(2)
- hum.PlatformStand = false
- end
- end
- end)
- function nopedotavi()
- if not deb then return else
- deb = false
- local rarm = joint(c.Torso,c["Right Arm"],1.5,0,0,0,0,0,"Right Shoulder")
- local torso = joint(c.HumanoidRootPart,c.Torso,0,0,0,0,0,0,"Root Joint")
- local trc0 = torso.C0
- local rsc0 = rarm.C0
- hum.WalkSpeed = 13
- createTrail(c["Right Arm"],3,Color3.fromRGB(50,255,255),Color3.fromRGB(50,255,0),.5,2)
- for i = 0,1,.03 do
- torso.C0 = torso.C0:lerp(trc0 * CFrame.Angles(0,math.rad(-45),0),i)
- rarm.C0 = rarm.C0:lerp(rsc0 * CFrame.new(0,1,-.5) * CFrame.Angles(math.rad(145),math.rad(20),math.rad(20)),i)
- wait()
- end
- HANDO:Play()
- actv = true
- for i = 0,1,.06 do
- torso.C0 = torso.C0:lerp(trc0 * CFrame.Angles(0,math.rad(40),0),i)
- rarm.C0 = rarm.C0:lerp(rsc0 * CFrame.new(-.2,.15,-.5) * CFrame.Angles(math.rad(45),math.rad(-10),math.rad(-20)),i)
- wait()
- end
- wait(.1)
- for i = 0,1,.06 do
- torso.C0 = torso.C0:lerp(trc0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0),i)
- rarm.C0 = rarm.C0:lerp(rsc0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0),i)
- wait()
- end
- hum.WalkSpeed = 16
- rarm:Destroy()
- torso:Destroy()
- actv = false
- wait(2)
- deb = true
- end
- end
- function stomp()
- if not deb then return else
- deb = false
- actv2 = true
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- local lleg = joint(c["Torso"],c["Left Leg"],-.5,-2,0,0,0,0,"Left Hip")
- local lhc0 = lleg.C0
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,.5,-.5),i)
- wait()
- end
- for i = 0,1,.5 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,-.5),i)
- wait()
- end
- for i = 0,1,.06 do
- lleg.C0 = lleg.C0:lerp(lhc0 * CFrame.new(0,0,0),i)
- wait()
- end
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- lleg:Destroy()
- actv2 = false
- wait(1)
- deb = true
- end
- end
- function zoom(mse)
- if not deb then return else
- deb = false
- local rarm = joint(c.Torso,c["Right Arm"],1.5,0,0,0,0,0,"Right Shoulder")
- local torso = joint(c.HumanoidRootPart,c.Torso,0,0,0,0,0,0,"Root Joint")
- local trc0 = torso.C0
- local rsc0 = rarm.C0
- createTrail(c["Right Arm"],3,Color3.fromRGB(50,255,255),Color3.fromRGB(50,255,0),.5,.75)
- for i = 0,1,.2 do
- torso.C0 = torso.C0:lerp(trc0 * CFrame.Angles(0,math.rad(-45),0),i)
- rarm.C0 = rarm.C0:lerp(rsc0 * CFrame.new(0,1,-.5) * CFrame.Angles(math.rad(145),math.rad(20),math.rad(20)),i)
- wait()
- end
- wait(.2)
- HANDO:Play()
- for i = 0,1,.2 do
- torso.C0 = torso.C0:lerp(trc0 * CFrame.Angles(0,math.rad(40),0),i)
- rarm.C0 = rarm.C0:lerp(rsc0 * CFrame.new(-.2,.15,-.5) * CFrame.Angles(math.rad(45),math.rad(-10),math.rad(-20)),i)
- wait()
- end
- createTrail(c["Head"],3,Color3.fromRGB(50,255,255),Color3.fromRGB(50,255,255),1,.5)
- createTrail(c["Torso"],3,Color3.fromRGB(50,255,255),Color3.fromRGB(50,255,255),1,.5)
- createTrail(c["Left Leg"],3,Color3.fromRGB(50,255,255),Color3.fromRGB(50,255,255),1,.5)
- createTrail(c["Right Leg"],3,Color3.fromRGB(50,255,255),Color3.fromRGB(50,255,255),1,.5)
- local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
- vel.Velocity = c.HumanoidRootPart.CFrame.lookVector*150
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- game.Debris:AddItem(vel,.5)
- wait(.1)
- for i = 0,1,.2 do
- torso.C0 = torso.C0:lerp(trc0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0),i)
- rarm.C0 = rarm.C0:lerp(rsc0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0),i)
- wait()
- end
- rarm:Destroy()
- torso:Destroy()
- wait(.5)
- deb = true
- end
- end
- local thing = Instance.new("RemoteEvent",c)
- thing.OnServerEvent:Connect(nopedotavi)
- thing.Name = "YEET"
- local thing2 = Instance.new("RemoteEvent",c)
- thing2.OnServerEvent:Connect(stomp)
- thing2.Name = "crush"
- local thing3 = Instance.new("RemoteEvent",c)
- thing3.OnServerEvent:Connect(zoom)
- thing3.Name = "bmmm"
- NLS([[
- local p = owner
- local c = p.Character
- local m = p:GetMouse()
- local nope = c:WaitForChild("YEET")
- local YOULITTLEOOF = c:WaitForChild("crush")
- local oijosuke = c:WaitForChild("bmmm")
- m.KeyDown:Connect(function(k)
- k=k:lower()
- if k=="e" then
- nope:FireServer()
- elseif k=="r" then
- YOULITTLEOOF:FireServer()
- elseif k=="f" then
- oijosuke:FireServer(m)
- end
- end)]],c)
- print([[okuyasu remake by CBTestBot
- trail by EthanHong0407
- E: za hando
- R: stomp
- F: zoom]])
Add Comment
Please, Sign In to add comment