Advertisement
lafur

Untitled

Mar 28th, 2020
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. StandOwner=workspace:FindFirstChild("lafur2")
  2.  
  3. NLS([[
  4. StandOwner=workspace:FindFirstChild("lafur2")
  5. local plr = game:GetService("Players").lafur2
  6. workspace.Camera.CameraSubject=owner.Character.Torso
  7. local remote = plr.Character:WaitForChild("Stando")
  8. local mouse = plr:GetMouse()
  9. local MouseTarg=mouse.Target
  10.  
  11. cooldown=0
  12. mouse.KeyDown:connect(function(key)
  13. key = key:lower()
  14. if key == "q" then
  15. remote:FireServer("Apear")
  16. elseif key == "z" then
  17.  
  18. remote:FireServer("Boom",MouseTarg)
  19.  
  20. elseif key == "x" then
  21. --plr.Character.Torso.Touched:connect(function(hit)
  22.  
  23. wait(1)
  24. remote:FireServer("pboob",MouseTarg,MouseTargOld,hit)
  25. -- hit:Destroy()
  26. -- end)
  27. end
  28.  
  29. end)
  30.  
  31. plr.Character["Torso"].Touched:connect(function(hit)
  32. if hit then
  33.  
  34. if hit.Parent.Name~=StandOwner.Name then
  35.  
  36. remote:FireServer("Rush",hit)
  37.  
  38. end
  39. end
  40.  
  41. end)
  42.  
  43. while true do
  44. game:service("RunService").Stepped:wait()
  45. MouseTarg=mouse.Target
  46. remote:FireServer("HeartBeat",MouseTarg)
  47.  
  48. end
  49.  
  50. ]],owner.Character)
  51. for i,v in pairs(owner.Character:children()) do
  52. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Hair") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then
  53. v:Destroy()
  54. end
  55. end
  56. for i,v in pairs(owner.Character:children()) do
  57. if v:IsA("Part") then
  58. v.CanCollide=false
  59. end
  60. end
  61.  
  62. sine=0
  63. local ApearSound = Instance.new("Sound")
  64. ApearSound.Parent=owner.Character.Torso
  65. ApearSound.Volume=7
  66. ApearSound.SoundId = "rbxassetid://2556945475"
  67. local slap1 = Instance.new("Sound")
  68. slap1.Parent=owner.Character.Torso
  69. slap1.Volume=1
  70. slap1.SoundId = "rbxassetid://2782588575"
  71.  
  72. local DeApearSound = Instance.new("Sound")
  73. DeApearSound.Parent=owner.Character.Torso
  74. DeApearSound.Volume=7
  75. DeApearSound.SoundId = "rbxassetid://2561641111"
  76.  
  77. local boom = Instance.new("Sound", owner.Character.Torso)
  78. boom.SoundId = "rbxassetid://2898512514"
  79. owner.Character.Humanoid.Animator.Parent=nil
  80. owner.Character.Humanoid:Destroy()
  81.  
  82. LS=owner.Character.Torso["Left Shoulder"]
  83. RS=owner.Character.Torso["Right Shoulder"]
  84. OrigRS=RS.C0
  85. OrigLS=LS.C0
  86. Attacking=false
  87. local clic = Instance.new("Sound", owner.Character["Torso"])
  88. clic.SoundId = "rbxassetid://3587046205"
  89. clic.Volume=5
  90.  
  91. attack=0
  92. cooldown=false
  93. owner.Character.Torso.Transparency=1
  94. owner.Character["Right Arm"].Transparency=1
  95. owner.Character["Right Leg"].Transparency=1
  96. owner.Character["Left Arm"].Transparency=1
  97. owner.Character["Left Leg"].Transparency=1
  98. owner.Character.Head.Transparency=1
  99. Apeared=false
  100. --[[
  101. WeldToPlayer=Instance.new("Weld",owner.Character)
  102. WeldToPlayer.Part0=StandOwner:FindFirstChild("Torso")
  103. WeldToPlayer.Part1=owner.Character.Torso
  104. --]]
  105. GyroToPlayer=Instance.new("BodyPosition",owner.Character.Torso)
  106. GyroToPlayer.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  107. GyroORToPlayer=Instance.new("BodyGyro",owner.Character.Torso)
  108. GyroORToPlayer.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  109. MouseTargOld=nil
  110. local remote = Instance.new("RemoteEvent", owner.Character)
  111. remote.Name = "Stando"
  112. remote.OnServerEvent:connect(function(owner, whatt, MouseTarg, MouseTargOld,HitTarg)
  113.  
  114.  
  115.  
  116. if whatt=="Apear" and Attacking==false then
  117.  
  118. -- print("clicked")
  119. if Apeared==false then
  120. Apeared=true
  121. ApearSound:Play()
  122. for i=1,20 do
  123. game:service("RunService").Stepped:wait()
  124. -- WeldToPlayer.C0=WeldToPlayer.C0:lerp(CFrame.new(1.25,1.25,1.25),0.1)
  125.  
  126. owner.Character.Head:FindFirstChild("face").Transparency=1-i/10
  127. owner.Character.Torso.Transparency=1-i/10
  128. owner.Character["Right Arm"].Transparency=1-i/10
  129. owner.Character["Right Leg"].Transparency=1-i/10
  130. owner.Character["Left Arm"].Transparency=1-i/10
  131. owner.Character["Left Leg"].Transparency=1-i/10
  132. owner.Character.Head.Transparency=1-i/10
  133. -- print(i)
  134. end
  135.  
  136.  
  137. elseif Apeared==true and Attacking==false then
  138. Apeared=false
  139.  
  140. DeApearSound:Play()
  141. for i=1,20 do
  142. game:service("RunService").Stepped:wait()
  143. -- WeldToPlayer.C0=WeldToPlayer.C0:lerp(CFrame.new(0,0,0),0.1)
  144.  
  145. owner.Character.Head:FindFirstChild("face").Transparency=i/10
  146. owner.Character.Torso.Transparency=i/10
  147. owner.Character["Right Arm"].Transparency=i/10
  148. owner.Character["Right Leg"].Transparency=i/10
  149. owner.Character["Left Arm"].Transparency=i/10
  150. owner.Character["Left Leg"].Transparency=i/10
  151. owner.Character.Head.Transparency=i/10
  152. end
  153.  
  154.  
  155. end
  156. elseif whatt=="pboob" and Apeared==true and Attacking==false then
  157.  
  158. Attacking=true
  159. attack=1
  160. --StandOwner:FindFirstChild("HumanoidRootPart").Anchored=true
  161. slap1:Play()
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168. for i=1,300 do
  169. if MouseTarg then
  170. if MouseTarg.Parent:FindFirstChild("Humanoid") then
  171. MouseTarg.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
  172. end
  173. end
  174. game:service("RunService").Stepped:wait()
  175.  
  176. -- WeldToPlayer.C0=WeldToPlayer.C0:lerp(CFrame.new(1.25,1.25,1.25),0.1)
  177.  
  178. RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(math.abs(sine)/10,-math.abs(sine)/10,-math.abs(sine)/10),10)
  179. LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(-math.abs(sine)/10,-math.abs(sine)/10,-math.abs(sine)/10),10)
  180.  
  181.  
  182. end
  183. wait(0.5)
  184. slap1:Stop()
  185.  
  186. attack=0
  187. for i=1,50 do
  188. game:service("RunService").Stepped:wait()
  189.  
  190. RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(0,1.55,0),0.1)
  191. LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(0,-1.55,0),0.1)
  192. end
  193. Attacking=false
  194.  
  195. MouseTarg.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  196. elseif whatt=="Boom" and Apeared==true and MouseTarg.Name~="Base" and MouseTarg.Parent.Name~=StandOwner.Name and cooldown==false and Attacking==false then
  197. attack=2
  198. cooldown=true
  199. for i=1,100 do
  200. game:service("RunService").Stepped:wait()
  201.  
  202. RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(1.55,1.55,0),0.1)
  203. LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(0,-1.55,0),0.1)
  204. end
  205. MouseTargOld=MouseTarg
  206. wait(1)
  207. clic:Play()
  208.  
  209. local ex = Instance.new("Explosion", workspace)
  210. ex.Position = MouseTargOld.Position
  211.  
  212. boom:Play()
  213.  
  214.  
  215.  
  216. for i=1,50 do
  217. game:service("RunService").Stepped:wait()
  218.  
  219. RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(0,1.55,0),0.1)
  220. LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(0,-1.55,0),0.1)
  221. end
  222. attack=0
  223. cooldown=false
  224. end
  225.  
  226. sine=sine+1
  227. if Apeared==true and attack==0 then
  228. BDG=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.new(1.25,1.25,1.25)
  229. GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame
  230. -- GyroToPlayer.Position=StandOwner:FindFirstChild("Torso").Position+Vector3.new(1.25,1.25,1.25)
  231. SOCF=StandOwner:FindFirstChild("HumanoidRootPart").Position
  232. --SOCFO=StandOwner:FindFirstChild("Torso").CFrame*Vectoe(1.25,1.25,1.25).C0
  233. GyroToPlayer.Position=BDG.Position
  234. elseif Apeared==false and attack==0 then
  235. -- GyroToPlayer.Position=StandOwner:FindFirstChild("Torso").Position
  236. -- :toObjectSpace()
  237. GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame
  238. GyroToPlayer.Position=StandOwner:FindFirstChild("HumanoidRootPart").CFrame.Position
  239. elseif Apeared==true and attack==1 then
  240. BDG=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.new(0,0,-10)
  241. GyroToPlayer.Position=BDG.Position
  242. GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.Angles(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  243. elseif Apeared==true and attack==2 then
  244. BDG=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.new(1.25,1.25,1.25)
  245. GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame
  246. end
  247.  
  248. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement