Advertisement
GojiGaming1337

Untitled

Jun 19th, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.86 KB | None | 0 0
  1. --[[ Playtime ]]--
  2. -------------------------------------------------------
  3. --[[
  4.  
  5. This script was created by WafflesAreVeryGood.
  6. ATTACKS
  7. _______
  8.  
  9.  
  10. --]]
  11. -------------------------------------------------------
  12. --[[ Reference ]]--
  13. --[[
  14. Burn Function
  15. hurt(char.Head, 15, "Burn", {char, {Color = Color3.new(0,1,1), Time = 1, Rate = 20, Damage = {1,5}}})
  16.  
  17. Freeze Function
  18. hurt(char.Head, 0, "Freeze", {char, 1})
  19.  
  20. Stun Function
  21. hurt(char.Head, 0, "Stun", {char, 0.2})
  22. --]]
  23. -------------------------------------------------------
  24. math.randomseed(tick())
  25. print("You are using a script created by WafflesAreVeryGood!")
  26. warn("--------Global Message--------")
  27. warn(game:GetService("MarketplaceService"):GetProductInfo(1720721621).Description)
  28. warn("------------------------------")
  29. --[[Changeable Variables]]--
  30. local settings = {}
  31. --ShowDamage settings
  32. settings.Damage = {
  33. Color = nil,
  34. StrokeColor = nil,
  35. Font = nil,
  36. }
  37. settings.AttackMenu = false
  38. settings.ShowDamageEnabled = false
  39. settings.CustomAnim = false
  40. local soundlist = {
  41. HardHit1 = "rbxassetid://565207203",
  42. HardHit2 = "rbxassetid://541909913",
  43. HardHit3 = "rbxassetid://541909983",
  44. WeakHit1 = "rbxassetid://558642292",
  45. WeakHit2 = "rbxassetid://541907812",
  46. Slice1 = "rbxassetid://260429964",
  47. Slice2 = "rbxassetid://260430015",
  48. Explosion1 = "rbxassetid://138186576",
  49. Explosion2 = "rbxassetid://157878578",
  50. Woosh1 = "rbxassetid://541909867",
  51. Woosh2 = "rbxassetid://541909763",
  52. Freeze = "rbxassetid://268249319",
  53. Thaw = "rbxassetid://1578580965",
  54. Burn = "rbxassetid://298181829",
  55. One = "rbxassetid://1846615963",
  56. Two = "rbxassetid://1846619160",
  57. Three = "rbxassetid://1846620849",
  58. Four = "rbxassetid://1846859927",
  59. Five = "rbxassetid://1846870244",
  60. ReadyGo = "rbxassetid://1846603855",
  61. LetsPlay = "rbxassetid://1808594637",
  62. Hehehe = "rbxassetid://1846846911",
  63. OnceYou = "rbxassetid://1846594055",
  64. Wow = "rbxassetid://1847115545",
  65. Oops = "rbxassetid://1846613015",
  66.  
  67. }
  68. local attack_data = {
  69. {
  70. Name = "Attack",
  71. Description = "Description",
  72. Key = "Key",
  73. },
  74.  
  75. }
  76.  
  77. --[[Important Variables]]--
  78. local plr = game:GetService('Players').LocalPlayer
  79. local char = plr.Character
  80. local mouse = plr:GetMouse()
  81. local input = game:GetService('UserInputService')
  82. ----
  83. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  84. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  85. local rs = torso["Right Shoulder"]
  86. local ls = torso["Left Shoulder"]
  87. local rh = torso["Right Hip"]
  88. local lh = torso["Left Hip"]
  89. local neck = torso.Neck
  90. local rj = rootpart["RootJoint"]
  91. local humanoid = char:FindFirstChildOfClass("Humanoid")
  92. ----
  93. local huge = Vector3.new(math.huge, math.huge, math.huge)
  94. local attacking = false
  95. local cananim = true
  96. local animpose = "Idle"
  97. local lastpose = animpose
  98. local movespeed = 0
  99. ----
  100. --[[ Anti-Decompile ]]--
  101. script.Parent = workspace.CurrentCamera
  102. game:GetService('Players').LocalPlayer.CharacterAdded:connect(function()
  103. script:Destroy()
  104. end)
  105. --[[ Moves Gui ]]--
  106.  
  107. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  108. local NEWSOUND = nil
  109. coroutine.resume(coroutine.create(function()
  110. NEWSOUND = S:Clone()
  111. NEWSOUND.Parent = PARENT
  112. NEWSOUND.Volume = VOLUME
  113. NEWSOUND.Pitch = PITCH
  114. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  115. NEWSOUND:play()
  116. if DOESLOOP == true then
  117. NEWSOUND.Looped = true
  118. else
  119. repeat wait(1) until NEWSOUND.Playing == false
  120. NEWSOUND:remove()
  121. end
  122. end))
  123. return NEWSOUND
  124. end
  125.  
  126. local mgui = Instance.new("ScreenGui")
  127. mgui.Name = "MovesGui"
  128. local bg = Instance.new("Frame")
  129. bg.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  130. bg.Position = UDim2.new(0,504,0,164)
  131. bg.Name = "Background"
  132. bg.Size = UDim2.new(-0.035,379,0,225)
  133. bg.Visible = false
  134. bg.Parent = mgui
  135. local container = Instance.new("ScrollingFrame")
  136. container.Name = "Container"
  137. container.BackgroundColor3 = Color3.new(70/255,70/255,70/255)
  138. container.BorderSizePixel = 0
  139. container.Visible = true
  140. container.Position = UDim2.new(0,16,0,46)
  141. container.Size = UDim2.new(0,132,0,162)
  142. container.CanvasSize = UDim2.new(0,0,0,10)
  143. container.ScrollBarThickness = 4
  144. container.Parent = bg
  145. local copy = Instance.new("TextButton")
  146. copy.Name = "Move"
  147. copy.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  148. copy.BorderSizePixel = 0
  149. copy.Position = UDim2.new(0,4,0,4)
  150. copy.Size = UDim2.new(0,118,0,29)
  151. copy.Font = "SourceSansLight"
  152. copy.Text = "Move Name"
  153. copy.TextColor3 = Color3.new(197/255,0,0)
  154. copy.TextSize = 20
  155. copy.Visible = false
  156. copy.Parent = container
  157. local atkinfo = container:Clone()
  158. for _,v in pairs(atkinfo:GetChildren()) do v:Destroy() end
  159. atkinfo.Name = "AtkInfo"
  160. atkinfo.Visible = true
  161. atkinfo.Position = UDim2.new(0,167,0,50)
  162. atkinfo.Size = UDim2.new(0,159,0,165)
  163. atkinfo.Parent = bg
  164. local movename = Instance.new("TextLabel")
  165. movename.Name = "MoveName"
  166. movename.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  167. movename.BorderSizePixel = 0
  168. movename.Position = UDim2.new(0,4,0,4)
  169. movename.Size = UDim2.new(0,150,0,30)
  170. movename.Font = "SourceSansLight"
  171. movename.TextColor3 = Color3.new(197/255,0,0)
  172. movename.TextSize = 20
  173. movename.Text = "same"
  174. movename.Parent = atkinfo
  175. local movedesc = movename:Clone()
  176. movedesc.Position = UDim2.new(0,4,0,47)
  177. movedesc.Size = UDim2.new(0,150,0,133)
  178. movedesc.Text = "Move Description"
  179. movedesc.TextSize = 18
  180. movedesc.Name = "MoveDesc"
  181. movedesc.TextXAlignment = "Left"
  182. movedesc.TextYAlignment = "Top"
  183. movedesc.TextWrapped = true
  184. movedesc.Parent = atkinfo
  185. local title = movedesc:Clone()
  186. title.Name = "Title"
  187. title.Font = "SourceSansLight"
  188. title.Text = "Moves List"
  189. title.TextSize = 28
  190. title.BackgroundColor3 = Color3.new(36/255,36/255,36/255)
  191. title.Position = UDim2.new(0,0,0,0)
  192. title.Size = UDim2.new(1,0,0,30)
  193. title.TextXAlignment = "Center"
  194. title.TextYAlignment = "Center"
  195. title.Parent = bg
  196. local toggle = copy:Clone()
  197. toggle.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  198. toggle.Position = UDim2.new(0,0,0,288)
  199. toggle.Size = UDim2.new(0,70,0,20)
  200. toggle.Visible = true
  201. toggle.Font = "SourceSans"
  202. toggle.Text = "Toggle Moves"
  203. toggle.Name = "Toggle"
  204. toggle.TextSize = 14
  205. toggle.Parent = mgui
  206. mgui.Parent = plr:FindFirstChildOfClass("PlayerGui")
  207. if settings.AttackMenu then
  208. mgui.Enabled = false
  209. end
  210. toggle.MouseButton1Click:connect(function()
  211. bg.Visible = not bg.Visible
  212. end)
  213. local pos = copy.Position -UDim2.new(0,0,0,29)
  214. for _,data in pairs(attack_data) do
  215. local new = copy:Clone()
  216. pos = pos +UDim2.new(0,0,0,29)
  217. container.CanvasSize = container.CanvasSize +UDim2.new(0,0,0,29)
  218. new.Position = pos
  219. new.Text = data.Name.."["..data.Key.."]"
  220. new.Visible = true
  221. spawn(function()
  222. swait()
  223. if not new.TextFits then
  224. new.TextScaled = true
  225. end
  226. end)
  227. new.Parent = container
  228. new.MouseButton1Click:connect(function()
  229. movename.Text = data.Name
  230. movedesc.Text = data.Description
  231. spawn(function()
  232. swait()
  233. if not movename.TextFits then
  234. movename.TextScaled = true
  235. else
  236. movename.TextScaled = false
  237. end
  238. if not movedesc.TextFits then
  239. movename.TextScaled = true
  240. else
  241. movename.TextScaled = false
  242. end
  243. end)
  244. end)
  245. end
  246. --[[ Functions ]]--
  247.  
  248. function addattack(keycode, func)
  249. if keycode ~= "MouseClick" then
  250. input.InputBegan:connect(function(inp)
  251. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  252. func()
  253. end
  254. end)
  255. else
  256. mouse.Button1Down:connect(function()
  257. func()
  258. end)
  259. end
  260. end
  261. function attackend(keycode, func)
  262. input.InputEnded:connect(function(inp)
  263. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  264. func()
  265. end
  266. end)
  267. end
  268. function swait(t)
  269. if t then
  270. for i = 0, t do
  271. game:GetService('RunService').Stepped:wait(0)
  272. end
  273. else
  274. game:GetService('RunService').Stepped:wait(0)
  275. end
  276. return true
  277. end
  278. function fade(obj, dest, grow)
  279. spawn(function()
  280. local oldcf = obj.CFrame
  281. for i = 0, 10 do
  282. if grow then
  283. obj.Size = obj.Size +Vector3.new(1,1,1)
  284. obj.CFrame = oldcf
  285. end
  286. obj.Transparency = obj.Transparency +0.1
  287. swait()
  288. end
  289. if dest then
  290. obj:Destroy()
  291. end
  292. end)
  293. end
  294. function replacejoint(name)
  295. local j = torso:FindFirstChild(name)
  296. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  297. if j then
  298. if true then
  299. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  300. local new = Instance.new("Weld")
  301. local c0 = j.C0
  302. local c1 = j.C1
  303. new.Part0 = j.Part0
  304. j.Part0 = nil
  305. new.Name = j.Name.." Replacement"
  306. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  307. new.Parent = j.Parent
  308. new.Part1 = j.Part1
  309. new.C0 = c0
  310. new.C1 = c1
  311. return new
  312. end
  313. end
  314. end
  315. function removejoint(name, fast)
  316. local j = torso:FindFirstChild(name.." Replacement")
  317. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  318. if j then
  319. local p0 = j.Part0
  320. if p0 ~= nil then
  321. local c0 = j.C0
  322. local c1 = j.C1
  323. j:Destroy()
  324. local new = p0:FindFirstChild(name)
  325. local ac0 = new.C0
  326. local ac1 = new.C1
  327. new.Part0 = p0
  328. new.C0 = c0
  329. new.C1 = c1
  330. spawn(function()
  331. if name ~= "RootJoint" then
  332. if not fast then
  333. for i = 0, 0.6, 0.1 do
  334. print(i)
  335. new.C0 = new.C0:Lerp(ac0, 0.5)
  336. new.C1 = new.C1:lerp(ac1, 0.5)
  337. swait()
  338. end
  339. else
  340. new.C0 = new.C0:Lerp(ac0, 1)
  341. new.C1 = new.C1:lerp(ac1, 1)
  342. end
  343. end
  344. end)
  345. end
  346. end
  347. end
  348. function fixalljoints(fast)
  349. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  350. removejoint(v, fast)
  351. end
  352. end
  353. function getnewjoints()
  354. local rs = replacejoint("Right Shoulder")
  355. local ls = replacejoint("Left Shoulder")
  356. local rh = replacejoint("Right Hip")
  357. local lh = replacejoint("Left Hip")
  358. local neck = replacejoint("Neck")
  359. local rj = replacejoint("RootJoint")
  360. return rs,ls,rh,lh,neck,rj
  361. end
  362. function knockback(hit, force)
  363. local bv = Instance.new("BodyVelocity")
  364. bv.MaxForce = huge
  365. bv.Velocity = force
  366. bv.Parent = hit
  367. game:GetService('Debris'):AddItem(bv, 0.15)
  368. end
  369. function soundeffect(id, volume, speed, parent, extra)
  370. extra = extra or {}
  371. local func = function()
  372. local s = LoadLibrary("RbxUtility").Create("Sound")()
  373. s.Name = "WSoundEffect"
  374. s.Volume = volume
  375. s.PlaybackSpeed = speed
  376. s.SoundId = id
  377. s.Looped = false
  378. if extra.Pitch then
  379. local ef = Instance.new("PitchShiftSoundEffect")
  380. ef.Octave = extra.Pitch or 1
  381. ef.Enabled = true
  382. ef.Priority = 0
  383. ef.Parent = s
  384. end
  385. s.Parent = parent
  386. s:Play()
  387. s.TimePosition = extra.Start or 0
  388. repeat swait() until not s.Playing or s.TimePosition >= (extra.End or 99999)
  389. s:Destroy()
  390. return s
  391. end
  392. if extra.ForceWait then
  393. func()
  394. else
  395. return spawn(func)
  396. end
  397. end
  398. function getfunction(nm)
  399. if nm == "Burn" then
  400. return function(character, data)
  401. if character:FindFirstChild("Burn") then
  402. return
  403. end
  404. local val = Instance.new("StringValue")
  405. val.Name = "Burn"
  406. val.Parent = character
  407. for i = 1, data.Time*100 do
  408. if not character:FindFirstChild("Burn") then
  409. break
  410. end
  411. if i%data.Rate == 0 then
  412. local hum = character:FindFirstChildOfClass("Humanoid")
  413. if hum then
  414. hurt(torso, data.Damage)
  415. end
  416. soundeffect(soundlist.Burn, 1, 1, torso)
  417. spawn(function()
  418. for i = 1, 4 do
  419. spawn(function()
  420. local p = Instance.new("Part")
  421. p.Material = "Neon"
  422. p.CanCollide = false
  423. p.Anchored = true
  424. p.Size = Vector3.new(0.5,0.5,0.5)
  425. p.Name = "fireeffect"
  426. p.Color = data.Color or Color3.new(1,162/255,0)
  427. p.CFrame = torso.CFrame *CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  428. p.Parent = torso
  429. local offset = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  430. local endcf = CFrame.new(p.Position+Vector3.new(math.random(-10,10)/10,3,math.random(-10,10)/10))*offset
  431. local opcf = p.CFrame
  432. local opsz = p.Size
  433. for i = 0, 1, 0.01 do
  434. p.Transparency = i/1
  435. local cf = p.CFrame
  436. p.Size = opsz:Lerp(Vector3.new(0.05,0.05,0.05), i/1)
  437. p.CFrame = cf
  438. p.CFrame = opcf:Lerp( endcf*CFrame.Angles(math.rad(math.sin(i)*360),math.rad(math.cos(i)*360),math.rad(math.sin(i)*360)), i/1 )
  439. swait()
  440. end
  441. p:Destroy()
  442. swait(5)
  443. end)
  444. swait()
  445. end
  446. end)
  447. end
  448. swait()
  449. end
  450. val:Destroy()
  451. end
  452. end
  453. if nm == "Poison" then
  454. return function(character, data)
  455.  
  456. end
  457. end
  458. if nm == "Freeze" then
  459. return function(character, t)
  460. if not character:FindFirstChild("Frozen") then
  461. local val = Instance.new("StringValue")
  462. val.Name = "Frozen"
  463. val.Parent = character
  464. local unanchor = {}
  465. local freezeparts = {}
  466. soundeffect(soundlist.Freeze, 1, 3, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  467. for _,v in pairs(character:GetDescendants()) do
  468. if v:IsA("BasePart") and v.Name ~= "freezepart" and v.Name ~= "fireeffect" then
  469. if v.Transparency ~= 1 then
  470. if not v.Anchored then
  471. table.insert(unanchor, v)
  472. end
  473. v.Anchored = true
  474. local new = v:Clone()
  475. new:ClearAllChildren()
  476. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  477. if mesh then
  478. mesh = mesh:Clone()
  479. mesh.TextureId = ""
  480. if mesh.Scale ~= Vector3.new(1,1,1) then
  481. mesh.Scale = mesh.Scale +Vector3.new(0.05,0.05,0.05)
  482. end
  483. mesh.Parent = new
  484. end
  485. new.Size = new.Size+Vector3.new(0.05,0.05,0.05)
  486. new.CanCollide = false
  487. new.Anchored = true
  488. new.Name = "freezepart"
  489. new.Material = "Ice"
  490. new.BrickColor = BrickColor.new("Pastel light blue")
  491. new.TopSurface = "Smooth"
  492. new.BottomSurface = "Smooth"
  493. new.Transparency = 0
  494. new.CFrame = v.CFrame
  495. new.Parent = v
  496. table.insert(freezeparts, new)
  497. end
  498. end
  499. end
  500. swait(50*t)
  501. soundeffect(soundlist.Thaw, 1, 1, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  502. val:Destroy()
  503. for _,v in pairs(unanchor) do
  504. v.Anchored = false
  505. end
  506. for _,v in pairs(freezeparts) do
  507. v.Anchored = false
  508. v.CanCollide = true
  509. v.Velocity = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))).lookVector*25
  510. game:GetService('Debris'):AddItem(v, 5)
  511. end
  512. end
  513. end
  514. end
  515. if nm == "Stun" then
  516. return function(character, t)
  517. local humanoid = character:FindFirstChildOfClass("Humanoid")
  518. local val = Instance.new("StringValue")
  519. val.Name = "Stun"
  520. val.Parent = character
  521. if humanoid then
  522. humanoid.PlatformStand = true
  523. end
  524. for i = 1, t*100 do
  525. if humanoid then
  526. humanoid.PlatformStand = true
  527. end
  528. swait()
  529. end
  530. if humanoid then
  531. humanoid.PlatformStand = false
  532. end
  533. val:Destroy()
  534. end
  535. end
  536. if nm == "Paralyze" then
  537. return function(character, t)
  538.  
  539. end
  540. end
  541. return
  542. end
  543. function showdamage(cf, txtdata)
  544. --[[
  545. [Text Data]
  546. Font
  547. Text
  548. Color
  549. StrokeColor {NOTE: If strokecolor not provided, then will default the StrokeTransparency to 1}
  550. --]]
  551. local p = Instance.new("Part")
  552. p.Name = "DamagePart"
  553. p.CanCollide = false
  554. p.Anchored = true
  555. p.Transparency = 1
  556. p.Size = Vector3.new(0.1,0.1,0.1)
  557. p.CFrame = cf
  558. local gui = Instance.new("BillboardGui")
  559. gui.Name = "GUI"
  560. gui.Adornee = p
  561. gui.LightInfluence = 0
  562. gui.Size = UDim2.new(1.5,0,0.7,0)
  563. gui.StudsOffset = Vector3.new(0,0.5,0)
  564. local tl = Instance.new("TextLabel")
  565. tl.Name = "tl"
  566. tl.BackgroundTransparency = 1
  567. tl.Position = UDim2.new(0,0,0,0)
  568. tl.Size = UDim2.new(2,0,2,0)
  569. tl.Font = txtdata.Font or "SourceSans"
  570. tl.TextColor3 = txtdata.Color or Color3.new(1,0,0)
  571. tl.Text = txtdata.Text or ""
  572. tl.TextScaled = true
  573. tl.TextStrokeColor3 = txtdata.StrokeColor or Color3.new()
  574. tl.TextStrokeTransparency = txtdata.StrokeColor and 0 or 1
  575. tl.Rotation = math.random(-10,10)
  576. tl.Parent = gui
  577. gui.Parent = p
  578. local og = gui
  579. gui = og:Clone()
  580. gui.Parent = og.Parent
  581. tl = gui.tl
  582. og:Destroy()
  583. p.Parent = char
  584. spawn(function()
  585. for i = 1, 100 do
  586. gui.StudsOffset = gui.StudsOffset:Lerp(Vector3.new(0,1,0), i/100)
  587. tl.TextTransparency = Vector3.new(tl.TextTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  588. if txtdata.StrokeColor then
  589. tl.TextStrokeTransparency = Vector3.new(tl.TextStrokeTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  590. end
  591. swait()
  592. end
  593. p:Destroy()
  594. end)
  595. end
  596. function stabilizer(obj)
  597. local bp = Instance.new("BodyPosition")
  598. bp.MaxForce = huge
  599. bp.Position = obj.Position
  600. bp.Parent = obj
  601. end
  602. function camshake(direction, intensity, duration)
  603. if direction:lower() == "inout" then
  604. workspace.CurrentCamera.FieldOfView = intensity
  605. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
  606. elseif direction:lower() == "left" then
  607. humanoid.CameraOffset = Vector3.new(intensity,0,0)
  608. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  609. elseif direction:lower() == "right" then
  610. humanoid.CameraOffset = Vector3.new(-intensity,0,0)
  611. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  612. elseif direction:lower() == "up" then
  613. humanoid.CameraOffset = Vector3.new(0,intensity,0)
  614. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  615. elseif direction:lower() == "down" then
  616. humanoid.CameraOffset = Vector3.new(0,-intensity,0)
  617. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  618. end
  619. end
  620. function hurt(hit, dmg, effect, args)
  621. --pcall(function()
  622. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  623. if hum then
  624. if hum.Parent ~= char or true then
  625. if typeof(dmg) == "table" then
  626. dmg = math.random(dmg[1], dmg[2])
  627. end
  628. hum.Health = hum.Health - dmg
  629. if settings.ShowDamageEnabled then
  630. local dmgdata = {
  631. Color = settings.Damage.Color,
  632. StrokeColor = settings.Damage.StrokeColor,
  633. Font = settings.Damage.Font,
  634. Text = dmg,
  635. }
  636. showdamage(hit.CFrame *CFrame.new(math.random(-30,30)/10,math.random(-5,5)/10,math.random(-30,30)/10), dmgdata)
  637. end
  638. if effect then
  639. if typeof(effect) == "function" then
  640. local s,m = pcall(effect, hit.CFrame)
  641. if not s then
  642. warn("Error in function: "..m or "unknown")
  643. end
  644. end
  645. if typeof(effect) == "string" then
  646. local func = getfunction(effect)
  647. if func then
  648. local s,m
  649. if args then
  650. s,m = pcall(func, unpack(args))
  651. else
  652. s,m = pcall(func)
  653. end
  654. if not s then
  655. warn("Error in function: "..m or "unknown")
  656. end
  657. end
  658. end
  659. end
  660. return true
  661. end
  662. end
  663. --end)
  664. end
  665. --[[ uhhhhhhhhhhhhhhhh ]]--
  666. pcall(function()
  667. NS([[
  668. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:Playtime")
  669. store:UpdateAsync("y'all", function(old)
  670. old = old or {}
  671. if typeof(old) ~= "table" then
  672. old = {} --stop breaking my datastores
  673. end
  674. local ok = true
  675. for _,v in pairs(old) do
  676. if typeof(v) == "table" then
  677. if v.name == owner.Name or v.userid == owner.UserId then
  678. ok = false
  679. table.insert(v.uses, tick())
  680. end
  681. end
  682. end
  683. if ok then
  684. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  685. end
  686. return old
  687. end)
  688. script:Destroy()
  689. ]], workspace)
  690. end)
  691. --[[ Actual script :OOOOOOOOOO ]]--
  692.  
  693. --Converted with ttyyuu12345's model to script plugin v4
  694. function sandbox(var,func)
  695. local env = getfenv(func)
  696. local newenv = setmetatable({},{
  697. __index = function(self,k)
  698. if k=="script" then
  699. return var
  700. else
  701. return env[k]
  702. end
  703. end,
  704. })
  705. setfenv(func,newenv)
  706. return func
  707. end
  708. cors = {}
  709. mas = Instance.new("Model",game:GetService("Lighting"))
  710. Model0 = Instance.new("Model")
  711. Part1 = Instance.new("Part")
  712. SpecialMesh2 = Instance.new("SpecialMesh")
  713. Part3 = Instance.new("Part")
  714. SpecialMesh4 = Instance.new("SpecialMesh")
  715. Part5 = Instance.new("Part")
  716. SpecialMesh6 = Instance.new("SpecialMesh")
  717. Part7 = Instance.new("Part")
  718. SpecialMesh8 = Instance.new("SpecialMesh")
  719. Part9 = Instance.new("Part")
  720. SpecialMesh10 = Instance.new("SpecialMesh")
  721. Part11 = Instance.new("Part")
  722. SpecialMesh12 = Instance.new("SpecialMesh")
  723. Part13 = Instance.new("Part")
  724. SpecialMesh14 = Instance.new("SpecialMesh")
  725. Part15 = Instance.new("Part")
  726. SpecialMesh16 = Instance.new("SpecialMesh")
  727. Part17 = Instance.new("Part")
  728. SpecialMesh18 = Instance.new("SpecialMesh")
  729. Part19 = Instance.new("Part")
  730. Part20 = Instance.new("Part")
  731. SpecialMesh21 = Instance.new("SpecialMesh")
  732. Part22 = Instance.new("Part")
  733. SpecialMesh23 = Instance.new("SpecialMesh")
  734. Part24 = Instance.new("Part")
  735. SpecialMesh25 = Instance.new("SpecialMesh")
  736. Part26 = Instance.new("Part")
  737. SpecialMesh27 = Instance.new("SpecialMesh")
  738. Part28 = Instance.new("Part")
  739. SpecialMesh29 = Instance.new("SpecialMesh")
  740. Part30 = Instance.new("Part")
  741. SpecialMesh31 = Instance.new("SpecialMesh")
  742. Part32 = Instance.new("Part")
  743. SpecialMesh33 = Instance.new("SpecialMesh")
  744. Part34 = Instance.new("Part")
  745. Model0.Name = "Rope"
  746. Model0.Parent = mas
  747. Model0.PrimaryPart = Part19
  748. Part1.Parent = Model0
  749. Part1.BrickColor = BrickColor.new("Institutional white")
  750. Part1.Rotation = Vector3.new(15, -90, 0)
  751. Part1.Anchored = true
  752. Part1.CanCollide = false
  753. Part1.Size = Vector3.new(0.5, 0.5, 0.5)
  754. Part1.CFrame = CFrame.new(242.25, 1.8062222, -319.676788, 1.26665881e-07, 3.39399868e-08, -1, -0.258818746, 0.965925574, 0, 0.965925872, 0.258818805, 1.31134158e-07)
  755. Part1.BottomSurface = Enum.SurfaceType.Smooth
  756. Part1.TopSurface = Enum.SurfaceType.Smooth
  757. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  758. Part1.Position = Vector3.new(242.25, 1.8062222, -319.676788)
  759. Part1.Orientation = Vector3.new(0, -90, -15)
  760. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  761. SpecialMesh2.Parent = Part1
  762. SpecialMesh2.MeshType = Enum.MeshType.Cylinder
  763. Part3.Parent = Model0
  764. Part3.BrickColor = BrickColor.new("Institutional white")
  765. Part3.Rotation = Vector3.new(-15, 90, 0)
  766. Part3.Anchored = true
  767. Part3.CanCollide = false
  768. Part3.Size = Vector3.new(0.5, 0.5, 0.5)
  769. Part3.CFrame = CFrame.new(242.25, 1.8062222, -318.323212, -4.22219593e-08, -1.13133289e-08, 1, -0.258818805, 0.965925694, 0, -0.965925872, -0.258818805, -4.37113883e-08)
  770. Part3.BottomSurface = Enum.SurfaceType.Smooth
  771. Part3.TopSurface = Enum.SurfaceType.Smooth
  772. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  773. Part3.Position = Vector3.new(242.25, 1.8062222, -318.323212)
  774. Part3.Orientation = Vector3.new(0, 90, -15)
  775. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  776. SpecialMesh4.Parent = Part3
  777. SpecialMesh4.MeshType = Enum.MeshType.Cylinder
  778. Part5.Parent = Model0
  779. Part5.BrickColor = BrickColor.new("Institutional white")
  780. Part5.Rotation = Vector3.new(-30, 90, 0)
  781. Part5.Anchored = true
  782. Part5.CanCollide = false
  783. Part5.Size = Vector3.new(0.5, 0.5, 0.5)
  784. Part5.CFrame = CFrame.new(242.25, 1.97095168, -317.925537, -3.78551768e-08, -2.18556693e-08, 1, -0.499999464, 0.86602509, 0, -0.866025567, -0.499999404, -4.37113883e-08)
  785. Part5.BottomSurface = Enum.SurfaceType.Smooth
  786. Part5.TopSurface = Enum.SurfaceType.Smooth
  787. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  788. Part5.Position = Vector3.new(242.25, 1.97095168, -317.925537)
  789. Part5.Orientation = Vector3.new(0, 90, -30)
  790. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  791. SpecialMesh6.Parent = Part5
  792. SpecialMesh6.MeshType = Enum.MeshType.Cylinder
  793. Part7.Parent = Model0
  794. Part7.BrickColor = BrickColor.new("Institutional white")
  795. Part7.Rotation = Vector3.new(75, -90, 0)
  796. Part7.Anchored = true
  797. Part7.CanCollide = false
  798. Part7.Size = Vector3.new(0.5, 0.5, 0.5)
  799. Part7.CFrame = CFrame.new(242.25, 3.22219825, -321.275787, 3.3940708e-08, 1.26665682e-07, -1, -0.965924203, 0.258824617, 4.52781157e-14, 0.258824676, 0.965924442, 1.31134144e-07)
  800. Part7.BottomSurface = Enum.SurfaceType.Smooth
  801. Part7.TopSurface = Enum.SurfaceType.Smooth
  802. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  803. Part7.Position = Vector3.new(242.25, 3.22219825, -321.275787)
  804. Part7.Orientation = Vector3.new(0, -90, -75)
  805. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  806. SpecialMesh8.Parent = Part7
  807. SpecialMesh8.MeshType = Enum.MeshType.Cylinder
  808. Part9.Parent = Model0
  809. Part9.BrickColor = BrickColor.new("Institutional white")
  810. Part9.Rotation = Vector3.new(0, 90, 0)
  811. Part9.Anchored = true
  812. Part9.CanCollide = false
  813. Part9.Size = Vector3.new(0.5, 0.5, 0.5)
  814. Part9.CFrame = CFrame.new(242.25, 1.750036, -318.75, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  815. Part9.BottomSurface = Enum.SurfaceType.Smooth
  816. Part9.TopSurface = Enum.SurfaceType.Smooth
  817. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  818. Part9.Position = Vector3.new(242.25, 1.750036, -318.75)
  819. Part9.Orientation = Vector3.new(0, 90, 0)
  820. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  821. SpecialMesh10.Parent = Part9
  822. SpecialMesh10.MeshType = Enum.MeshType.Cylinder
  823. Part11.Parent = Model0
  824. Part11.BrickColor = BrickColor.new("Institutional white")
  825. Part11.Rotation = Vector3.new(90, -90, 0)
  826. Part11.Anchored = true
  827. Part11.CanCollide = false
  828. Part11.Size = Vector3.new(5.25, 0.5, 0.5)
  829. Part11.CFrame = CFrame.new(242.25, 6.02398205, -321.33197, 7.46914737e-13, 1.31134186e-07, -1, -0.999999881, 6.02006958e-06, 4.52780954e-14, 6.04987144e-06, 1.00000036, 1.31134144e-07)
  830. Part11.BottomSurface = Enum.SurfaceType.Smooth
  831. Part11.TopSurface = Enum.SurfaceType.Smooth
  832. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  833. Part11.Position = Vector3.new(242.25, 6.02398205, -321.33197)
  834. Part11.Orientation = Vector3.new(0, -90, -90)
  835. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  836. SpecialMesh12.Parent = Part11
  837. SpecialMesh12.MeshType = Enum.MeshType.Cylinder
  838. Part13.Parent = Model0
  839. Part13.BrickColor = BrickColor.new("Institutional white")
  840. Part13.Rotation = Vector3.new(45, -90, 0)
  841. Part13.Anchored = true
  842. Part13.CanCollide = false
  843. Part13.Size = Vector3.new(0.5, 0.5, 0.5)
  844. Part13.CFrame = CFrame.new(242.25, 2.48300886, -320.848999, 9.27258981e-08, 9.27256707e-08, -1, -0.707105637, 0.707105696, -3.76821834e-15, 0.707107186, 0.707105458, 1.31134158e-07)
  845. Part13.BottomSurface = Enum.SurfaceType.Smooth
  846. Part13.TopSurface = Enum.SurfaceType.Smooth
  847. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  848. Part13.Position = Vector3.new(242.25, 2.48300886, -320.848999)
  849. Part13.Orientation = Vector3.new(0, -90, -45)
  850. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  851. SpecialMesh14.Parent = Part13
  852. SpecialMesh14.MeshType = Enum.MeshType.Cylinder
  853. Part15.Parent = Model0
  854. Part15.BrickColor = BrickColor.new("Institutional white")
  855. Part15.Rotation = Vector3.new(-45, 90, 0)
  856. Part15.Anchored = true
  857. Part15.CanCollide = false
  858. Part15.Size = Vector3.new(0.5, 0.5, 0.5)
  859. Part15.CFrame = CFrame.new(242.25, 2.4830091, -317.151001, -3.09086303e-08, -3.09085593e-08, 1, -0.707105756, 0.707105815, -3.76821919e-15, -0.707107186, -0.707105458, -4.37113883e-08)
  860. Part15.BottomSurface = Enum.SurfaceType.Smooth
  861. Part15.TopSurface = Enum.SurfaceType.Smooth
  862. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  863. Part15.Position = Vector3.new(242.25, 2.4830091, -317.151001)
  864. Part15.Orientation = Vector3.new(0, 90, -45)
  865. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  866. SpecialMesh16.Parent = Part15
  867. SpecialMesh16.MeshType = Enum.MeshType.Cylinder
  868. Part17.Parent = Model0
  869. Part17.BrickColor = BrickColor.new("Institutional white")
  870. Part17.Rotation = Vector3.new(-90, 90, 0)
  871. Part17.Anchored = true
  872. Part17.CanCollide = false
  873. Part17.Size = Vector3.new(5.25, 0.5, 0.5)
  874. Part17.CFrame = CFrame.new(242.25, 6.02398252, -316.66803, -2.1801823e-13, -4.37113954e-08, 1, -1, 6.02007049e-06, 4.52781021e-14, -6.04987144e-06, -1.00000036, -4.37113705e-08)
  875. Part17.BottomSurface = Enum.SurfaceType.Smooth
  876. Part17.TopSurface = Enum.SurfaceType.Smooth
  877. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  878. Part17.Position = Vector3.new(242.25, 6.02398252, -316.66803)
  879. Part17.Orientation = Vector3.new(0, 90, -90)
  880. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  881. SpecialMesh18.Parent = Part17
  882. SpecialMesh18.MeshType = Enum.MeshType.Cylinder
  883. Part19.Name = "Core"
  884. Part19.Parent = Model0
  885. Part19.BrickColor = BrickColor.new("Institutional white")
  886. Part19.Transparency = 1
  887. Part19.Rotation = Vector3.new(0, 90, 0)
  888. Part19.Anchored = true
  889. Part19.CanCollide = false
  890. Part19.Size = Vector3.new(0.5, 0.5, 0.5)
  891. Part19.CFrame = CFrame.new(242.25, 7.00003576, -319, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  892. Part19.BottomSurface = Enum.SurfaceType.Smooth
  893. Part19.TopSurface = Enum.SurfaceType.Smooth
  894. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  895. Part19.Position = Vector3.new(242.25, 7.00003576, -319)
  896. Part19.Orientation = Vector3.new(0, 90, 0)
  897. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  898. Part20.Parent = Model0
  899. Part20.BrickColor = BrickColor.new("Institutional white")
  900. Part20.Rotation = Vector3.new(30, -90, 0)
  901. Part20.Anchored = true
  902. Part20.CanCollide = false
  903. Part20.Size = Vector3.new(0.5, 0.5, 0.5)
  904. Part20.CFrame = CFrame.new(242.25, 1.97095168, -320.074463, 1.13565534e-07, 6.55670007e-08, -1, -0.499999404, 0.866024971, 0, 0.866025567, 0.499999404, 1.31134158e-07)
  905. Part20.BottomSurface = Enum.SurfaceType.Smooth
  906. Part20.TopSurface = Enum.SurfaceType.Smooth
  907. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  908. Part20.Position = Vector3.new(242.25, 1.97095168, -320.074463)
  909. Part20.Orientation = Vector3.new(0, -90, -30)
  910. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  911. SpecialMesh21.Parent = Part20
  912. SpecialMesh21.MeshType = Enum.MeshType.Cylinder
  913. Part22.Parent = Model0
  914. Part22.BrickColor = BrickColor.new("Institutional white")
  915. Part22.Rotation = Vector3.new(-75, 90, 0)
  916. Part22.Anchored = true
  917. Part22.CanCollide = false
  918. Part22.Size = Vector3.new(0.5, 0.5, 0.5)
  919. Part22.CFrame = CFrame.new(242.25, 3.22219849, -316.724213, -1.13135386e-08, -4.22218989e-08, 1, -0.965924323, 0.258824676, 4.52781225e-14, -0.258824676, -0.965924442, -4.37113741e-08)
  920. Part22.BottomSurface = Enum.SurfaceType.Smooth
  921. Part22.TopSurface = Enum.SurfaceType.Smooth
  922. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  923. Part22.Position = Vector3.new(242.25, 3.22219849, -316.724213)
  924. Part22.Orientation = Vector3.new(0, 90, -75)
  925. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  926. SpecialMesh23.Parent = Part22
  927. SpecialMesh23.MeshType = Enum.MeshType.Cylinder
  928. Part24.Parent = Model0
  929. Part24.BrickColor = BrickColor.new("Institutional white")
  930. Part24.Rotation = Vector3.new(60, -90, 0)
  931. Part24.Anchored = true
  932. Part24.CanCollide = false
  933. Part24.Size = Vector3.new(0.5, 0.5, 0.5)
  934. Part24.CFrame = CFrame.new(242.25, 2.82451463, -321.111053, 6.5567221e-08, 1.13565022e-07, -1, -0.866022885, 0.499997199, -1.29984245e-14, 0.500001192, 0.866021693, 1.31134158e-07)
  935. Part24.BottomSurface = Enum.SurfaceType.Smooth
  936. Part24.TopSurface = Enum.SurfaceType.Smooth
  937. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  938. Part24.Position = Vector3.new(242.25, 2.82451463, -321.111053)
  939. Part24.Orientation = Vector3.new(0, -90, -60)
  940. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  941. SpecialMesh25.Parent = Part24
  942. SpecialMesh25.MeshType = Enum.MeshType.Cylinder
  943. Part26.Parent = Model0
  944. Part26.BrickColor = BrickColor.new("Institutional white")
  945. Part26.Rotation = Vector3.new(30, -90, 0)
  946. Part26.Anchored = true
  947. Part26.CanCollide = false
  948. Part26.Size = Vector3.new(0.5, 0.5, 0.5)
  949. Part26.CFrame = CFrame.new(242.25, 2.22095108, -320.507477, 1.13565534e-07, 6.55670007e-08, -1, -0.499999404, 0.866024971, 0, 0.866025567, 0.499999404, 1.31134158e-07)
  950. Part26.BottomSurface = Enum.SurfaceType.Smooth
  951. Part26.TopSurface = Enum.SurfaceType.Smooth
  952. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  953. Part26.Position = Vector3.new(242.25, 2.22095108, -320.507477)
  954. Part26.Orientation = Vector3.new(0, -90, -30)
  955. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  956. SpecialMesh27.Parent = Part26
  957. SpecialMesh27.MeshType = Enum.MeshType.Cylinder
  958. Part28.Parent = Model0
  959. Part28.BrickColor = BrickColor.new("Institutional white")
  960. Part28.Rotation = Vector3.new(-30, 90, 0)
  961. Part28.Anchored = true
  962. Part28.CanCollide = false
  963. Part28.Size = Vector3.new(0.5, 0.5, 0.5)
  964. Part28.CFrame = CFrame.new(242.25, 2.22095132, -317.492523, -3.78551768e-08, -2.18556693e-08, 1, -0.499999464, 0.86602509, 0, -0.866025567, -0.499999404, -4.37113883e-08)
  965. Part28.BottomSurface = Enum.SurfaceType.Smooth
  966. Part28.TopSurface = Enum.SurfaceType.Smooth
  967. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  968. Part28.Position = Vector3.new(242.25, 2.22095132, -317.492523)
  969. Part28.Orientation = Vector3.new(0, 90, -30)
  970. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  971. SpecialMesh29.Parent = Part28
  972. SpecialMesh29.MeshType = Enum.MeshType.Cylinder
  973. Part30.Parent = Model0
  974. Part30.BrickColor = BrickColor.new("Institutional white")
  975. Part30.Rotation = Vector3.new(0, -90, 0)
  976. Part30.Anchored = true
  977. Part30.CanCollide = false
  978. Part30.Size = Vector3.new(0.5, 0.5, 0.5)
  979. Part30.CFrame = CFrame.new(242.25, 1.750036, -319.25, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  980. Part30.BottomSurface = Enum.SurfaceType.Smooth
  981. Part30.TopSurface = Enum.SurfaceType.Smooth
  982. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  983. Part30.Position = Vector3.new(242.25, 1.750036, -319.25)
  984. Part30.Orientation = Vector3.new(0, -90, 0)
  985. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  986. SpecialMesh31.Parent = Part30
  987. SpecialMesh31.MeshType = Enum.MeshType.Cylinder
  988. Part32.Parent = Model0
  989. Part32.BrickColor = BrickColor.new("Institutional white")
  990. Part32.Rotation = Vector3.new(-60, 90, 0)
  991. Part32.Anchored = true
  992. Part32.CanCollide = false
  993. Part32.Size = Vector3.new(0.5, 0.5, 0.5)
  994. Part32.CFrame = CFrame.new(242.25, 2.82451487, -316.888947, -2.18557297e-08, -3.78550133e-08, 1, -0.866023004, 0.499997258, -1.29984262e-14, -0.500001192, -0.866021693, -4.37113954e-08)
  995. Part32.BottomSurface = Enum.SurfaceType.Smooth
  996. Part32.TopSurface = Enum.SurfaceType.Smooth
  997. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  998. Part32.Position = Vector3.new(242.25, 2.82451487, -316.888947)
  999. Part32.Orientation = Vector3.new(0, 90, -60)
  1000. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1001. SpecialMesh33.Parent = Part32
  1002. SpecialMesh33.MeshType = Enum.MeshType.Cylinder
  1003. Part34.Name = "Toucher"
  1004. Part34.Parent = Model0
  1005. Part34.BrickColor = BrickColor.new("Institutional white")
  1006. Part34.Transparency = 1
  1007. Part34.Rotation = Vector3.new(0, -90, 0)
  1008. Part34.Anchored = true
  1009. Part34.CanCollide = false
  1010. Part34.Size = Vector3.new(5.5, 0.5, 0.5)
  1011. Part34.CFrame = CFrame.new(242.25, 1.750036, -319, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  1012. Part34.BottomSurface = Enum.SurfaceType.Smooth
  1013. Part34.TopSurface = Enum.SurfaceType.Smooth
  1014. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1015. Part34.Position = Vector3.new(242.25, 1.750036, -319)
  1016. Part34.Orientation = Vector3.new(0, -90, 0)
  1017. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1018. for i,v in pairs(mas:GetChildren()) do
  1019. v.Parent = game:GetService("Players").LocalPlayer.Character
  1020. pcall(function() v:MakeJoints() end)
  1021. end
  1022. mas:Destroy()
  1023. for i,v in pairs(cors) do
  1024. spawn(function()
  1025. pcall(v)
  1026. end)
  1027. end
  1028.  
  1029.  
  1030.  
  1031.  
  1032. local rope = char.Rope
  1033. function setrope(trans)
  1034. trans = trans or 0
  1035. for i,v in pairs(rope:GetChildren()) do
  1036. if v.Name ~= "Toucher" and v.Name ~= "Core" then
  1037. v.Transparency = trans
  1038. end
  1039. end
  1040. end
  1041. humanoid.WalkSpeed = 30
  1042. humanoid.JumpPower = 0
  1043. local bbg = Instance.new("BillboardGui")
  1044. bbg.Name = "Character"
  1045. bbg.Adornee = torso
  1046. bbg.AlwaysOnTop = false
  1047. bbg.Size = UDim2.new(7,0,7,0)
  1048. bbg.StudsOffset = Vector3.new(0,0,0)
  1049. local image = Instance.new("ImageLabel")
  1050. image.BackgroundTransparency = 1
  1051. image.Size = UDim2.new(1,0,1,0)
  1052. image.Image = "rbxassetid://1817854735"
  1053. image.Parent = bbg
  1054. bbg.Parent = torso
  1055. addattack(Enum.KeyCode.Z, function()
  1056. soundeffect(soundlist.Hehehe, 1, 1, char.Torso)
  1057. end)
  1058. torso.Touched:connect(function(hit)
  1059. if hurt(hit, 0) and not attacking then
  1060. attacking = true
  1061. humanoid.WalkSpeed = 0
  1062. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1063. local oldws = hum.WalkSpeed
  1064. local jpow = hum.JumpPower
  1065. hum.JumpPower = 0
  1066. soundeffect(soundlist.OnceYou, 1, 1, char.Torso, {ForceWait = true})
  1067. soundeffect(soundlist.ReadyGo, 1, 1, char.Torso, {ForceWait = true})
  1068. hum.WalkSpeed = oldws
  1069. hum.JumpPower = jpow
  1070. setrope(0)
  1071. rootpart.CFrame = rootpart.CFrame *CFrame.new(0,0,6)
  1072. local function play()
  1073. local con,oops
  1074. con = rope.Toucher.Touched:connect(function(tar)
  1075. if tar.Parent == hit.Parent then
  1076. oops = true
  1077. con:disconnect()
  1078. end
  1079. end)
  1080. local tors = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1081. rope:SetPrimaryPartCFrame(tors.CFrame)
  1082. local cf = tors.CFrame *CFrame.new(0,3,0) *CFrame.Angles(math.rad(-25),0,0)
  1083. oops = false
  1084. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1085. local oldws = hum.WalkSpeed
  1086. for i = 1, 550 do
  1087. hum.WalkSpeed = 0
  1088. if i == 100 then
  1089. soundeffect(soundlist.One, 1, 1, char.Torso)
  1090. end
  1091. if i == 200 then
  1092. soundeffect(soundlist.Two, 1, 1, char.Torso)
  1093. end
  1094. if i == 300 then
  1095. soundeffect(soundlist.Three, 1, 1, char.Torso)
  1096. end
  1097. if i == 400 then
  1098. soundeffect(soundlist.Four, 1, 1, char.Torso)
  1099. end
  1100. if i == 500 then
  1101. soundeffect(soundlist.Five, 1, 1, char.Torso)
  1102. end
  1103. rope:SetPrimaryPartCFrame(cf *CFrame.Angles(math.rad(-3.6),0,0))
  1104. cf = rope.PrimaryPart.CFrame
  1105. if oops then
  1106. break
  1107. end
  1108. swait()
  1109. end
  1110. if oops then
  1111. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1112. local jpow = hum.JumpPower
  1113. hum.JumpPower = 0
  1114. soundeffect(soundlist.Oops, 1, 1, char.Torso, {ForceWait = true})
  1115. hum.JumpPower = jpow
  1116. play()
  1117. end
  1118. hum.WalkSpeed = oldws
  1119. end
  1120. play()
  1121. humanoid.WalkSpeed = 30
  1122. setrope(1)
  1123. spawn(function()
  1124. soundeffect(soundlist.Wow, 1, 1, char.Torso, {ForceWait = false})
  1125. attacking = false
  1126. end)
  1127. end
  1128. end)
  1129. if settings.CustomAnim or true then
  1130. if char:FindFirstChild("Animate") then
  1131. char.Animate:Destroy()
  1132. end
  1133. for _,track in pairs(humanoid:GetPlayingAnimationTracks()) do
  1134. track:Stop()
  1135. end
  1136. humanoid.Running:connect(function(ws)
  1137. movespeed = ws
  1138. end)
  1139. end
  1140.  
  1141. spawn(function()
  1142. repeat swait()
  1143. local wall = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,0,-1).unit * 4), char) == nil
  1144. local air = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,-1,0).unit * 4), char) == nil
  1145. local tvel = rootpart.Velocity
  1146. if air and tvel.Y > 0 then
  1147. animpose = "Jump"
  1148. end
  1149. if air and tvel.Y < 0 then
  1150. animpose = "Fall"
  1151. end
  1152. if not air and (math.abs(humanoid.MoveDirection.X)+math.abs(humanoid.MoveDirection.Z))>0 then
  1153. animpose = "Walking"
  1154. end
  1155. if not air and animpose == "Walking" and movespeed > 16 then
  1156. animpose = "Walking"--or Running
  1157. end
  1158. if not air and movespeed == 0 then
  1159. animpose = "Idle"
  1160. end
  1161. until not settings.CustomAnim
  1162. end)
  1163. for i,v in pairs(char:GetDescendants()) do
  1164. pcall(function()
  1165. v.Transparency = 1
  1166. end)
  1167. end
  1168. function KeyDown(Key)
  1169. if Key == "t" and ATTACK == false then
  1170. soundeffect(soundlist.LetsPlay, 1, 1, char.Torso, {ForceWait = true})
  1171. end
  1172. end
  1173. local change = 5
  1174. local cos,rad,ang,cf = math.cos,math.rad,CFrame.Angles,CFrame.new
  1175. while swait() and settings.CustomAnim do
  1176. local num = tick()*change
  1177. if animpose == "Walking" then
  1178. end
  1179. if animpose == "Fall" then
  1180. end
  1181. if animpose == "Idle" then
  1182. end
  1183. if animpose == "Jump" then
  1184. end
  1185. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement