TheUnknownDiscord

slap

Oct 23rd, 2021 (edited)
184
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Tool0 = Instance.new("Tool")
  2. Part1 = Instance.new("Part")
  3. Tool0.Name = "Slap"
  4. Tool0.Parent = owner.Character
  5. Tool0.ToolTip = "Yeet"
  6. Part1.Name = "Handle"
  7. Part1.Parent = Tool0
  8. Part1.Size = Vector3.new(3.19375, 0.535, 3.86125)
  9. Part1.Color = Color3.fromRGB(250,250,250)
  10. Tool0.Grip = CFrame.Angles(0,0,math.rad(-90))
  11. Tool0.GripPos = Vector3.new(-0.5,0,1.930625)
  12. Part1.Massless = true
  13. Mesh = Instance.new("SpecialMesh")
  14. Mesh.Parent = Part1
  15. Mesh.MeshId = "http://www.roblox.com/asset/?id=6300547928"
  16. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  17. local rightarm = Instance.new("Weld", owner.Character.Torso)
  18. rightarm.Part0 = owner.Character.Torso
  19. rightarm.Part1 = owner.Character["Right Arm"]
  20. rightarm.C0 = CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0,0)
  21. rightarm.Name = "RightArmWeld"
  22. local DOOM = Instance.new("Sound", owner.Character.Head)
  23. DOOM.SoundId = "rbxassetid://4989473906"
  24. DOOM.Volume = 1.5
  25. DOOM.Looped = true
  26. local Thefrench = Instance.new("Sound", owner.Character.Head)
  27. Thefrench.SoundId = "rbxassetid://4673742530"
  28. Thefrench.Volume = 1.5
  29. Thefrench.Looped = true
  30. Thefrench.PlaybackSpeed = 1.175
  31. local tweenService = game:GetService("TweenService")
  32. local timeToFade = 0.125
  33. local object = rightarm
  34. local tweenInfo = TweenInfo.new(timeToFade)
  35. local goal = {}
  36. goal.C0 = CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(125), 0,math.rad(45))
  37. active = false
  38. local tween = tweenService:Create(object, tweenInfo, goal)
  39. local timeToFade2 = 0.25
  40. local object2 = rightarm
  41. local tweenInfo2 = TweenInfo.new(timeToFade2)
  42. local goal2 = {}
  43. goal2.C0 = CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0,math.rad(-45))
  44. local tween2 = tweenService:Create(object2, tweenInfo2, goal2)
  45. local timeToFade3 = 0.35
  46. local object3 = rightarm
  47. local tweenInfo3 = TweenInfo.new(timeToFade3)
  48. local goal3 = {}
  49. goal3.C0 = CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0,math.rad(0.1))
  50. local tween3 = tweenService:Create(object3, tweenInfo3, goal3)
  51. local db = false
  52. Tool0.Activated:connect(function()
  53. tween:Play()
  54. wait(0.125)
  55. tween2:Play()
  56. active = true
  57. wait(0.25)
  58. tween3:Play()
  59. wait(0.125)
  60. active = false
  61. end)
  62. local speed = 40
  63. currentspeed = 40
  64. local supermode = false
  65. local french = false
  66. function ohno(plr, action, hit)
  67. if action == "DoomMode" then
  68. Part1.Color = Color3.fromRGB(250,0,0)
  69. currentspeed = 250
  70. speed = 250
  71. supermode = true
  72. telemode = false
  73. french = false
  74. DOOM:Play()
  75. Thefrench:Stop()
  76. Mesh.TextureId = ""
  77. Tool0.Name = "Run"
  78. Part1.Size = Vector3.new(3.19375, 0.535, 3.86125)
  79. Tool0.GripPos = Vector3.new(-0.5,0,1.930625)
  80. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  81. Part1.Massless = true
  82. elseif action == "SlapMode" then
  83. Part1.Color = Color3.fromRGB(250,250,250)
  84. supermode = false
  85. telemode = false
  86. currentspeed = 40
  87. speed = 40
  88. french = false
  89. DOOM:Stop()
  90. Thefrench:Stop()
  91. Mesh.TextureId = ""
  92. Tool0.Name = "Slap"
  93. Part1.Size = Vector3.new(3.19375, 0.535, 3.86125)
  94. Tool0.GripPos = Vector3.new(-0.5,0,1.930625)
  95. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  96. Part1.Massless = true
  97. elseif action == "TeleportMode" then
  98. Part1.Color = Color3.fromRGB(0,0,250)
  99. supermode = false
  100. telemode = true
  101. currentspeed = 40
  102. speed = 40
  103. DOOM:Stop()
  104. Thefrench:Stop()
  105. Mesh.TextureId = ""
  106. french = false
  107. Part1.Size = Vector3.new(3.19375, 0.535, 3.86125)
  108. Tool0.GripPos = Vector3.new(-0.5,0,1.930625)
  109. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  110. Part1.Massless = true
  111. Tool0.Name = "Teleportation"
  112. if hit ~= nil then
  113. owner.Character.HumanoidRootPart.CFrame = hit * CFrame.new(0,2,0)
  114. else
  115. end
  116. elseif action == "FrenchMode" then
  117. Part1.Color = Color3.fromRGB(250,250,250)
  118. currentspeed = 500
  119. speed = 500
  120. french = true
  121. supermode = false
  122. telemode = false
  123. DOOM:Stop()
  124. Thefrench:Play()
  125. Mesh.TextureId = "http://www.roblox.com/asset/?id=2803509851"
  126. Part1.Size = Vector3.new(3.9921875, 0.66875, 2.41328125)
  127. Tool0.GripPos = Vector3.new(-0.5,0,1.930625)
  128. Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  129. Tool0.Name = "Bread glove"
  130. Part1.Massless = true
  131. elseif action == "LongMode" then
  132. Part1.Size = Vector3.new(3.19375, 0.535, 46.335)
  133. Tool0.GripPos = Vector3.new(-0.5,0,23.1675)
  134. Mesh.Scale = Vector3.new(1.25, 1.25, 16)
  135. Part1.Massless = true
  136. Tool0.Name = "L o n g S l a p"
  137. end
  138. end
  139. Tool0.Unequipped:connect(function()
  140. rightarm.Enabled = false
  141. end)
  142.  
  143. Tool0.Equipped:connect(function()
  144. rightarm.Enabled = true
  145. end)
  146. local oldcf
  147. local oldcf2
  148. local debris = game:GetService("Debris")
  149. function speedcount(PC)
  150. local velocity = Instance.new("BodyVelocity", PC.Character.HumanoidRootPart)
  151. velocity.Velocity = owner.Character.Head.CFrame.upVector * speed * 0.85 + owner.Character.Head.CFrame.lookVector * speed * 1.25
  152. oldcf = owner.Character.Head.CFrame.upVector
  153. oldcf2 = owner.Character.Head.CFrame.lookVector
  154. velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  155. debris:AddItem(velocity, 0.75)
  156. coroutine.wrap(function()
  157. for i = 1, 100 do
  158. wait(0.0075)
  159. speed = speed - 0.75
  160. velocity.Velocity = oldcf * speed * 0.85 + oldcf2 * speed
  161. if i == 100 then
  162. task.wait()
  163. speed = currentspeed
  164. else
  165. end
  166. end
  167. end)
  168. end
  169. function Death(PC)
  170. coroutine.wrap(function()
  171. task.wait()
  172. PC.Character.Humanoid.Health = 0
  173. end)()
  174. end
  175. function isplatformstand(PC)
  176. coroutine.wrap(function()
  177. PC.Character.Humanoid.PlatformStand = true
  178. wait(5)
  179. db = false
  180. for i,v in pairs(PC.Character:GetDescendants()) do
  181. if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
  182. v.Enabled = true
  183. end
  184. PC.Character.Humanoid.PlatformStand = false
  185. end
  186. end)()
  187. end
  188. function killfunction(part)
  189. if active then
  190. if not db then
  191. db = true
  192. local Model = part:FindFirstAncestorOfClass("Model") or part.Parent:FindFirstAncestorOfClass("Model")
  193. if Model then
  194. local PC = game:GetService("Players"):GetPlayerFromCharacter(Model)
  195. if PC then
  196. if PC ~= owner then
  197. if PC.Character.Humanoid then
  198. PC.Character.Humanoid.BreakJointsOnDeath = false
  199. if supermode then
  200. local Slapped = Instance.new("Sound", PC.Character.HumanoidRootPart)
  201. Slapped.SoundId = "rbxassetid://3587046205"
  202. Slapped.Volume = 3
  203. Slapped:Play()
  204. Death(PC)
  205. elseif frenchmode then
  206. local Slapped = Instance.new("Sound", PC.Character.HumanoidRootPart)
  207. Slapped.SoundId = "rbxassetid://565424468"
  208. Slapped.Volume = 3
  209. Slapped:Play()
  210. Death(PC)
  211. elseif not frenchmode then
  212. if not supermode then
  213. local Slapped = Instance.new("Sound", PC.Character.HumanoidRootPart)
  214. Slapped.SoundId = "rbxassetid://3587046205"
  215. Slapped.Volume = 1.5
  216. Slapped:Play()
  217. end
  218. end
  219. local limbcollider = Instance.new("Part", PC.Character:findFirstChild("Right Arm"))
  220. limbcollider.Size = Vector3.new(1.4,1,1)
  221. limbcollider.Shape = "Cylinder"
  222. limbcollider.Transparency = 1
  223. limbcollider.Name = "LimbCollider"
  224. local limbcolliderweld = Instance.new("Weld", limbcollider)
  225. limbcolliderweld.Part0 = PC.Character:findFirstChild("Right Arm")
  226. limbcolliderweld.Part1 = limbcollider
  227. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  228. local limbcollider2 = Instance.new("Part", PC.Character:findFirstChild("Left Arm"))
  229. limbcollider2.Size = Vector3.new(1.4,1,1)
  230. limbcollider2.Shape = "Cylinder"
  231. limbcollider2.Transparency = 1
  232. limbcollider2.Name = "LimbCollider"
  233. local limbcolliderweld2 = Instance.new("Weld", limbcollider)
  234. limbcolliderweld2.Part0 = PC.Character:findFirstChild("Left Arm")
  235. limbcolliderweld2.Part1 = limbcollider2
  236. limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  237. local limbcollider3 = Instance.new("Part", PC.Character:findFirstChild("Right Leg"))
  238. limbcollider3.Size = Vector3.new(1.3,1,1)
  239. limbcollider3.Shape = "Cylinder"
  240. limbcollider3.Transparency = 1
  241. limbcollider3.Name = "LimbCollider"
  242. local limbcolliderweld3 = Instance.new("Weld", limbcollider)
  243. limbcolliderweld3.Part0 = PC.Character:findFirstChild("Right Leg")
  244. limbcolliderweld3.Part1 = limbcollider3
  245. limbcolliderweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  246. local limbcollider4 = Instance.new("Part", PC.Character:findFirstChild("Left Leg"))
  247. limbcollider4.Size = Vector3.new(1.3,1,1)
  248. limbcollider4.Shape = "Cylinder"
  249. limbcollider4.Transparency = 1
  250. limbcollider4.Name = "LimbCollider"
  251. local limbcolliderweld4 = Instance.new("Weld", limbcollider)
  252. limbcolliderweld4.Part0 = PC.Character:findFirstChild("Left Leg")
  253. limbcolliderweld4.Part1 = limbcollider4
  254. limbcolliderweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  255. debris:AddItem(limbcollider, 5)
  256. debris:AddItem(limbcollider2, 5)
  257. debris:AddItem(limbcollider3, 5)
  258. debris:AddItem(limbcollider4, 5)
  259. isplatformstand(PC)
  260. speedcount(PC)
  261. for i,v in pairs(PC.Character:GetDescendants()) do
  262. if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
  263. local Socket = Instance.new("BallSocketConstraint")
  264. local a1 = Instance.new("Attachment")
  265. local a2 = Instance.new("Attachment")
  266. a1.Parent = v.Part0
  267. a2.Parent = v.Part1
  268. Socket.Parent = v.Parent
  269. Socket.Attachment0 = a1
  270. Socket.Attachment1 = a2
  271. a1.CFrame = v.C0
  272. a2.CFrame = v.C1
  273. Socket.LimitsEnabled = true
  274. Socket.TwistLimitsEnabled = true
  275. v.Enabled = false
  276. debris:AddItem(a1, 5)
  277. debris:AddItem(a2, 5)
  278. debris:AddItem(Socket, 5)
  279. end
  280. end
  281. else
  282. end
  283. end
  284. end
  285. end
  286. end
  287. end
  288. end
  289. Part1.Touched:Connect(killfunction)
  290. local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
  291. local Mouse = owner:GetMouse()
  292. local count = 0
  293. local count2 = 0
  294. local count3 = 0
  295. local count4 = 0
  296. local teleporton = false
  297. function ButtonDown(key)
  298. key = key:lower()
  299. if key == "e" then
  300. count = count + 1
  301. if count == 1 then
  302. E:FireServer("DoomMode")
  303. teleporton = false
  304. elseif count == 2 then
  305. E:FireServer("SlapMode")
  306. teleporton = false
  307. task.wait()
  308. count = 0
  309. end
  310. end
  311. end
  312. Mouse.KeyDown:Connect(ButtonDown)
  313. function ButtonDown2(key)
  314. key = key:lower()
  315. if key == "q" then
  316. count2 = count2 + 1
  317. if count2 == 1 then
  318. E:FireServer("TeleportMode")
  319. teleporton = true
  320. elseif count2 == 2 then
  321. E:FireServer("SlapMode")
  322. teleporton = false
  323. task.wait()
  324. count2 = 0
  325. end
  326. end
  327. end
  328. Mouse.KeyDown:Connect(ButtonDown2)
  329. function ButtonDown3(key)
  330. if Mouse.Hit ~= nil then
  331. if teleporton then
  332. key = key:lower()
  333. if key == "t" then
  334. E:FireServer("TeleportMode",Mouse.Hit)
  335. else
  336. end
  337. end
  338. end
  339. end
  340. Mouse.KeyDown:Connect(ButtonDown3)
  341. function ButtonDown4(key)
  342. key = key:lower()
  343. if key == "z" then
  344. count3 = count3 + 1
  345. if count3 == 1 then
  346. E:FireServer("FrenchMode")
  347. elseif count3 == 2 then
  348. E:FireServer("SlapMode")
  349. task.wait()
  350. count3 = 0
  351. end
  352. end
  353. end
  354. Mouse.KeyDown:Connect(ButtonDown4)
  355. function ButtonDown5(key)
  356. key = key:lower()
  357. if key == "x" then
  358. count4 = count4 + 1
  359. if count4 == 1 then
  360. E:FireServer("LongMode")
  361. elseif count4 == 2 then
  362. E:FireServer("SlapMode")
  363. task.wait()
  364. count4 = 0
  365. end
  366. end
  367. end
  368. Mouse.KeyDown:Connect(ButtonDown5)
  369. ]],owner.PlayerGui))
  370. E.OnServerEvent:Connect(ohno)
  371. warn("I am going to slap you")
  372. warn("made by Haker Man")
  373. print("Press mode button twice to go back to normal")
  374. print("E is doom mode")
  375. print("Q is Teleport mode")
  376. print("press T to teleport to where your mouse is pointing when active")
  377. print("X is Extend")
  378. print("Z is french. send people to paris with it")
  379. local screengui2 = Instance.new("ScreenGui", owner:findFirstChildOfClass("PlayerGui"))
  380. screengui2.ResetOnSpawn = true
  381. screengui2.Name = "youfailed2"
  382. local tl3 = Instance.new("TextLabel", screengui2)
  383. tl3.Size = UDim2.new(1,0,1,0)
  384. tl3.AnchorPoint = Vector2.new(0.5, 0.5)
  385. tl3.Position = UDim2.new(0.5, 0, 0.5, 0)
  386. tl3.Text = "Check output for controls"
  387. tl3.BackgroundTransparency = 1
  388. tl3.TextTransparency = 0
  389. tl3.TextColor3 = Color3.new(1, 1, 1)
  390. tl3.TextSize = 50
  391. wait(1.5)
  392. local timeToFade5 = 1
  393. local object5 = tl3
  394. local tweenInfo5 = TweenInfo.new(timeToFade5)
  395. local goal5 = {}
  396. goal5.TextTransparency = 1
  397.  
  398. local tween5 = tweenService:Create(object5, tweenInfo5, goal5)
  399. tween5:Play()
  400. wait(1)
  401. tween5:Destroy()
  402. screengui2:Destroy()
RAW Paste Data