Hugo1234cool

Untitled

Jan 30th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.35 KB | None | 0 0
  1. --[[ Playtime ]]--
  2. -------------------------------------------------------
  3. --[[
  4.  
  5. This script was created by WafflesAreVeryGood.
  6. ATTACKS
  7. _______
  8.  
  9.  
  10. --]]--[[ Playtime ]]--
  11. -------------------------------------------------------
  12. --[[
  13.  
  14. This script was created by WafflesAreVeryGood.
  15. ATTACKS
  16. _______
  17.  
  18.  
  19. --]]
  20. -------------------------------------------------------
  21. --[[ Reference ]]--
  22. --[[
  23. Burn Function
  24. hurt(char.Head, 15, "Burn", {char, {Color = Color3.new(0,1,1), Time = 1, Rate = 20, Damage = {1,5}}})
  25.  
  26. Freeze Function
  27. hurt(char.Head, 0, "Freeze", {char, 1})
  28.  
  29. Stun Function
  30. hurt(char.Head, 0, "Stun", {char, 0.2})
  31. --]]
  32. -------------------------------------------------------
  33. math.randomseed(tick())
  34. print("You are using a script created by WafflesAreVeryGood!")
  35. warn("--------Global Message--------")
  36. warn(game:GetService("MarketplaceService"):GetProductInfo(1720721621).Description)
  37. warn("------------------------------")
  38. --[[Changeable Variables]]--
  39. local settings = {}
  40. --ShowDamage settings
  41. settings.Damage = {
  42. Color = nil,
  43. StrokeColor = nil,
  44. Font = nil,
  45. }
  46. settings.AttackMenu = false
  47. settings.ShowDamageEnabled = false
  48. settings.CustomAnim = false
  49. local soundlist = {
  50. HardHit1 = "rbxassetid://565207203",
  51. HardHit2 = "rbxassetid://541909913",
  52. HardHit3 = "rbxassetid://541909983",
  53. WeakHit1 = "rbxassetid://558642292",
  54. WeakHit2 = "rbxassetid://541907812",
  55. Slice1 = "rbxassetid://260429964",
  56. Slice2 = "rbxassetid://260430015",
  57. Explosion1 = "rbxassetid://138186576",
  58. Explosion2 = "rbxassetid://157878578",
  59. Woosh1 = "rbxassetid://541909867",
  60. Woosh2 = "rbxassetid://541909763",
  61. Freeze = "rbxassetid://268249319",
  62. Thaw = "rbxassetid://1578580965",
  63. Burn = "rbxassetid://298181829",
  64. One = "rbxassetid://1846615963",
  65. Two = "rbxassetid://1846619160",
  66. Three = "rbxassetid://1846620849",
  67. Four = "rbxassetid://1846859927",
  68. Five = "rbxassetid://1846870244",
  69. ReadyGo = "rbxassetid://1846603855",
  70. Hehehe = "rbxassetid://1846846911",
  71. OnceYou = "rbxassetid://1846594055",
  72. Wow = "rbxassetid://1847115545",
  73. Oops = "rbxassetid://1846613015",
  74.  
  75. }
  76. local attack_data = {
  77. {
  78. Name = "Attack",
  79. Description = "Description",
  80. Key = "Key",
  81. },
  82.  
  83. }
  84.  
  85. --[[Important Variables]]--
  86. local plr = game:GetService('Players').LocalPlayer
  87. local char = plr.Character
  88. local mouse = plr:GetMouse()
  89. local input = game:GetService('UserInputService')
  90. ----
  91. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  92. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  93. local rs = torso["Right Shoulder"]
  94. local ls = torso["Left Shoulder"]
  95. local rh = torso["Right Hip"]
  96. local lh = torso["Left Hip"]
  97. local neck = torso.Neck
  98. local rj = rootpart["RootJoint"]
  99. local humanoid = char:FindFirstChildOfClass("Humanoid")
  100. ----
  101. local huge = Vector3.new(math.huge, math.huge, math.huge)
  102. local attacking = false
  103. local cananim = true
  104. local animpose = "Idle"
  105. local lastpose = animpose
  106. local movespeed = 0
  107. ----
  108. --[[ Anti-Decompile ]]--
  109. script.Parent = workspace.CurrentCamera
  110. game:GetService('Players').LocalPlayer.CharacterAdded:connect(function()
  111. script:Destroy()
  112. end)
  113. --[[ Moves Gui ]]--
  114.  
  115. local mgui = Instance.new("ScreenGui")
  116. mgui.Name = "MovesGui"
  117. local bg = Instance.new("Frame")
  118. bg.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  119. bg.Position = UDim2.new(0,504,0,164)
  120. bg.Name = "Background"
  121. bg.Size = UDim2.new(-0.035,379,0,225)
  122. bg.Visible = false
  123. bg.Parent = mgui
  124. local container = Instance.new("ScrollingFrame")
  125. container.Name = "Container"
  126. container.BackgroundColor3 = Color3.new(70/255,70/255,70/255)
  127. container.BorderSizePixel = 0
  128. container.Visible = true
  129. container.Position = UDim2.new(0,16,0,46)
  130. container.Size = UDim2.new(0,132,0,162)
  131. container.CanvasSize = UDim2.new(0,0,0,10)
  132. container.ScrollBarThickness = 4
  133. container.Parent = bg
  134. local copy = Instance.new("TextButton")
  135. copy.Name = "Move"
  136. copy.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  137. copy.BorderSizePixel = 0
  138. copy.Position = UDim2.new(0,4,0,4)
  139. copy.Size = UDim2.new(0,118,0,29)
  140. copy.Font = "SourceSansLight"
  141. copy.Text = "Move Name"
  142. copy.TextColor3 = Color3.new(197/255,0,0)
  143. copy.TextSize = 20
  144. copy.Visible = false
  145. copy.Parent = container
  146. local atkinfo = container:Clone()
  147. for _,v in pairs(atkinfo:GetChildren()) do v:Destroy() end
  148. atkinfo.Name = "AtkInfo"
  149. atkinfo.Visible = true
  150. atkinfo.Position = UDim2.new(0,167,0,50)
  151. atkinfo.Size = UDim2.new(0,159,0,165)
  152. atkinfo.Parent = bg
  153. local movename = Instance.new("TextLabel")
  154. movename.Name = "MoveName"
  155. movename.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  156. movename.BorderSizePixel = 0
  157. movename.Position = UDim2.new(0,4,0,4)
  158. movename.Size = UDim2.new(0,150,0,30)
  159. movename.Font = "SourceSansLight"
  160. movename.TextColor3 = Color3.new(197/255,0,0)
  161. movename.TextSize = 20
  162. movename.Text = "same"
  163. movename.Parent = atkinfo
  164. local movedesc = movename:Clone()
  165. movedesc.Position = UDim2.new(0,4,0,47)
  166. movedesc.Size = UDim2.new(0,150,0,133)
  167. movedesc.Text = "Move Description"
  168. movedesc.TextSize = 18
  169. movedesc.Name = "MoveDesc"
  170. movedesc.TextXAlignment = "Left"
  171. movedesc.TextYAlignment = "Top"
  172. movedesc.TextWrapped = true
  173. movedesc.Parent = atkinfo
  174. local title = movedesc:Clone()
  175. title.Name = "Title"
  176. title.Font = "SourceSansLight"
  177. title.Text = "Moves List"
  178. title.TextSize = 28
  179. title.BackgroundColor3 = Color3.new(36/255,36/255,36/255)
  180. title.Position = UDim2.new(0,0,0,0)
  181. title.Size = UDim2.new(1,0,0,30)
  182. title.TextXAlignment = "Center"
  183. title.TextYAlignment = "Center"
  184. title.Parent = bg
  185. local toggle = copy:Clone()
  186. toggle.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  187. toggle.Position = UDim2.new(0,0,0,288)
  188. toggle.Size = UDim2.new(0,70,0,20)
  189. toggle.Visible = true
  190. toggle.Font = "SourceSans"
  191. toggle.Text = "Toggle Moves"
  192. toggle.Name = "Toggle"
  193. toggle.TextSize = 14
  194. toggle.Parent = mgui
  195. mgui.Parent = plr:FindFirstChildOfClass("PlayerGui")
  196. if settings.AttackMenu then
  197. mgui.Enabled = false
  198. end
  199. toggle.MouseButton1Click:connect(function()
  200. bg.Visible = not bg.Visible
  201. end)
  202. local pos = copy.Position -UDim2.new(0,0,0,29)
  203. for _,data in pairs(attack_data) do
  204. local new = copy:Clone()
  205. pos = pos +UDim2.new(0,0,0,29)
  206. container.CanvasSize = container.CanvasSize +UDim2.new(0,0,0,29)
  207. new.Position = pos
  208. new.Text = data.Name.."["..data.Key.."]"
  209. new.Visible = true
  210. spawn(function()
  211. swait()
  212. if not new.TextFits then
  213. new.TextScaled = true
  214. end
  215. end)
  216. new.Parent = container
  217. new.MouseButton1Click:connect(function()
  218. movename.Text = data.Name
  219. movedesc.Text = data.Description
  220. spawn(function()
  221. swait()
  222. if not movename.TextFits then
  223. movename.TextScaled = true
  224. else
  225. movename.TextScaled = false
  226. end
  227. if not movedesc.TextFits then
  228. movename.TextScaled = true
  229. else
  230. movename.TextScaled = false
  231. end
  232. end)
  233. end)
  234. end
  235. --[[ Functions ]]--
  236.  
  237. function addattack(keycode, func)
  238. if keycode ~= "MouseClick" then
  239. input.InputBegan:connect(function(inp)
  240. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  241. func()
  242. end
  243. end)
  244. else
  245. mouse.Button1Down:connect(function()
  246. func()
  247. end)
  248. end
  249. end
  250. function attackend(keycode, func)
  251. input.InputEnded:connect(function(inp)
  252. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  253. func()
  254. end
  255. end)
  256. end
  257. function swait(t)
  258. if t then
  259. for i = 0, t do
  260. game:GetService('RunService').Stepped:wait(0)
  261. end
  262. else
  263. game:GetService('RunService').Stepped:wait(0)
  264. end
  265. return true
  266. end
  267. function fade(obj, dest, grow)
  268. spawn(function()
  269. local oldcf = obj.CFrame
  270. for i = 0, 10 do
  271. if grow then
  272. obj.Size = obj.Size +Vector3.new(1,1,1)
  273. obj.CFrame = oldcf
  274. end
  275. obj.Transparency = obj.Transparency +0.1
  276. swait()
  277. end
  278. if dest then
  279. obj:Destroy()
  280. end
  281. end)
  282. end
  283. function replacejoint(name)
  284. local j = torso:FindFirstChild(name)
  285. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  286. if j then
  287. if true then
  288. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  289. local new = Instance.new("Weld")
  290. local c0 = j.C0
  291. local c1 = j.C1
  292. new.Part0 = j.Part0
  293. j.Part0 = nil
  294. new.Name = j.Name.." Replacement"
  295. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  296. new.Parent = j.Parent
  297. new.Part1 = j.Part1
  298. new.C0 = c0
  299. new.C1 = c1
  300. return new
  301. end
  302. end
  303. end
  304. function removejoint(name, fast)
  305. local j = torso:FindFirstChild(name.." Replacement")
  306. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  307. if j then
  308. local p0 = j.Part0
  309. if p0 ~= nil then
  310. local c0 = j.C0
  311. local c1 = j.C1
  312. j:Destroy()
  313. local new = p0:FindFirstChild(name)
  314. local ac0 = new.C0
  315. local ac1 = new.C1
  316. new.Part0 = p0
  317. new.C0 = c0
  318. new.C1 = c1
  319. spawn(function()
  320. if name ~= "RootJoint" then
  321. if not fast then
  322. for i = 0, 0.6, 0.1 do
  323. print(i)
  324. new.C0 = new.C0:Lerp(ac0, 0.5)
  325. new.C1 = new.C1:lerp(ac1, 0.5)
  326. swait()
  327. end
  328. else
  329. new.C0 = new.C0:Lerp(ac0, 1)
  330. new.C1 = new.C1:lerp(ac1, 1)
  331. end
  332. end
  333. end)
  334. end
  335. end
  336. end
  337. function fixalljoints(fast)
  338. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  339. removejoint(v, fast)
  340. end
  341. end
  342. function getnewjoints()
  343. local rs = replacejoint("Right Shoulder")
  344. local ls = replacejoint("Left Shoulder")
  345. local rh = replacejoint("Right Hip")
  346. local lh = replacejoint("Left Hip")
  347. local neck = replacejoint("Neck")
  348. local rj = replacejoint("RootJoint")
  349. return rs,ls,rh,lh,neck,rj
  350. end
  351. function knockback(hit, force)
  352. local bv = Instance.new("BodyVelocity")
  353. bv.MaxForce = huge
  354. bv.Velocity = force
  355. bv.Parent = hit
  356. game:GetService('Debris'):AddItem(bv, 0.15)
  357. end
  358. function soundeffect(id, volume, speed, parent, extra)
  359. extra = extra or {}
  360. local func = function()
  361. local s = LoadLibrary("RbxUtility").Create("Sound")()
  362. s.Name = "WSoundEffect"
  363. s.Volume = volume
  364. s.PlaybackSpeed = speed
  365. s.SoundId = id
  366. s.Looped = false
  367. if extra.Pitch then
  368. local ef = Instance.new("PitchShiftSoundEffect")
  369. ef.Octave = extra.Pitch or 1
  370. ef.Enabled = true
  371. ef.Priority = 0
  372. ef.Parent = s
  373. end
  374. s.Parent = parent
  375. s:Play()
  376. s.TimePosition = extra.Start or 0
  377. repeat swait() until not s.Playing or s.TimePosition >= (extra.End or 99999)
  378. s:Destroy()
  379. return s
  380. end
  381. if extra.ForceWait then
  382. func()
  383. else
  384. return spawn(func)
  385. end
  386. end
  387. function getfunction(nm)
  388. if nm == "Burn" then
  389. return function(character, data)
  390. if character:FindFirstChild("Burn") then
  391. return
  392. end
  393. local val = Instance.new("StringValue")
  394. val.Name = "Burn"
  395. val.Parent = character
  396. for i = 1, data.Time*100 do
  397. if not character:FindFirstChild("Burn") then
  398. break
  399. end
  400. if i%data.Rate == 0 then
  401. local hum = character:FindFirstChildOfClass("Humanoid")
  402. if hum then
  403. hurt(torso, data.Damage)
  404. end
  405. soundeffect(soundlist.Burn, 1, 1, torso)
  406. spawn(function()
  407. for i = 1, 4 do
  408. spawn(function()
  409. local p = Instance.new("Part")
  410. p.Material = "Neon"
  411. p.CanCollide = false
  412. p.Anchored = true
  413. p.Size = Vector3.new(0.5,0.5,0.5)
  414. p.Name = "fireeffect"
  415. p.Color = data.Color or Color3.new(1,162/255,0)
  416. p.CFrame = torso.CFrame *CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  417. p.Parent = torso
  418. local offset = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  419. local endcf = CFrame.new(p.Position+Vector3.new(math.random(-10,10)/10,3,math.random(-10,10)/10))*offset
  420. local opcf = p.CFrame
  421. local opsz = p.Size
  422. for i = 0, 1, 0.01 do
  423. p.Transparency = i/1
  424. local cf = p.CFrame
  425. p.Size = opsz:Lerp(Vector3.new(0.05,0.05,0.05), i/1)
  426. p.CFrame = cf
  427. 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 )
  428. swait()
  429. end
  430. p:Destroy()
  431. swait(5)
  432. end)
  433. swait()
  434. end
  435. end)
  436. end
  437. swait()
  438. end
  439. val:Destroy()
  440. end
  441. end
  442. if nm == "Poison" then
  443. return function(character, data)
  444.  
  445. end
  446. end
  447. if nm == "Freeze" then
  448. return function(character, t)
  449. if not character:FindFirstChild("Frozen") then
  450. local val = Instance.new("StringValue")
  451. val.Name = "Frozen"
  452. val.Parent = character
  453. local unanchor = {}
  454. local freezeparts = {}
  455. soundeffect(soundlist.Freeze, 1, 3, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  456. for _,v in pairs(character:GetDescendants()) do
  457. if v:IsA("BasePart") and v.Name ~= "freezepart" and v.Name ~= "fireeffect" then
  458. if v.Transparency ~= 1 then
  459. if not v.Anchored then
  460. table.insert(unanchor, v)
  461. end
  462. v.Anchored = true
  463. local new = v:Clone()
  464. new:ClearAllChildren()
  465. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  466. if mesh then
  467. mesh = mesh:Clone()
  468. mesh.TextureId = ""
  469. if mesh.Scale ~= Vector3.new(1,1,1) then
  470. mesh.Scale = mesh.Scale +Vector3.new(0.05,0.05,0.05)
  471. end
  472. mesh.Parent = new
  473. end
  474. new.Size = new.Size+Vector3.new(0.05,0.05,0.05)
  475. new.CanCollide = false
  476. new.Anchored = true
  477. new.Name = "freezepart"
  478. new.Material = "Ice"
  479. new.BrickColor = BrickColor.new("Pastel light blue")
  480. new.TopSurface = "Smooth"
  481. new.BottomSurface = "Smooth"
  482. new.Transparency = 0
  483. new.CFrame = v.CFrame
  484. new.Parent = v
  485. table.insert(freezeparts, new)
  486. end
  487. end
  488. end
  489. swait(50*t)
  490. soundeffect(soundlist.Thaw, 1, 1, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  491. val:Destroy()
  492. for _,v in pairs(unanchor) do
  493. v.Anchored = false
  494. end
  495. for _,v in pairs(freezeparts) do
  496. v.Anchored = false
  497. v.CanCollide = true
  498. v.Velocity = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))).lookVector*25
  499. game:GetService('Debris'):AddItem(v, 5)
  500. end
  501. end
  502. end
  503. end
  504. if nm == "Stun" then
  505. return function(character, t)
  506. local humanoid = character:FindFirstChildOfClass("Humanoid")
  507. local val = Instance.new("StringValue")
  508. val.Name = "Stun"
  509. val.Parent = character
  510. if humanoid then
  511. humanoid.PlatformStand = true
  512. end
  513. for i = 1, t*100 do
  514. if humanoid then
  515. humanoid.PlatformStand = true
  516. end
  517. swait()
  518. end
  519. if humanoid then
  520. humanoid.PlatformStand = false
  521. end
  522. val:Destroy()
  523. end
  524. end
  525. if nm == "Paralyze" then
  526. return function(character, t)
  527.  
  528. end
  529. end
  530. return
  531. end
  532. function showdamage(cf, txtdata)
  533. --[[
  534. [Text Data]
  535. Font
  536. Text
  537. Color
  538. StrokeColor {NOTE: If strokecolor not provided, then will default the StrokeTransparency to 1}
  539. --]]
  540. local p = Instance.new("Part")
  541. p.Name = "DamagePart"
  542. p.CanCollide = false
  543. p.Anchored = true
  544. p.Transparency = 1
  545. p.Size = Vector3.new(0.1,0.1,0.1)
  546. p.CFrame = cf
  547. local gui = Instance.new("BillboardGui")
  548. gui.Name = "GUI"
  549. gui.Adornee = p
  550. gui.LightInfluence = 0
  551. gui.Size = UDim2.new(1.5,0,0.7,0)
  552. gui.StudsOffset = Vector3.new(0,0.5,0)
  553. local tl = Instance.new("TextLabel")
  554. tl.Name = "tl"
  555. tl.BackgroundTransparency = 1
  556. tl.Position = UDim2.new(0,0,0,0)
  557. tl.Size = UDim2.new(2,0,2,0)
  558. tl.Font = txtdata.Font or "SourceSans"
  559. tl.TextColor3 = txtdata.Color or Color3.new(1,0,0)
  560. tl.Text = txtdata.Text or ""
  561. tl.TextScaled = true
  562. tl.TextStrokeColor3 = txtdata.StrokeColor or Color3.new()
  563. tl.TextStrokeTransparency = txtdata.StrokeColor and 0 or 1
  564. tl.Rotation = math.random(-10,10)
  565. tl.Parent = gui
  566. gui.Parent = p
  567. local og = gui
  568. gui = og:Clone()
  569. gui.Parent = og.Parent
  570. tl = gui.tl
  571. og:Destroy()
  572. p.Parent = char
  573. spawn(function()
  574. for i = 1, 100 do
  575. gui.StudsOffset = gui.StudsOffset:Lerp(Vector3.new(0,1,0), i/100)
  576. tl.TextTransparency = Vector3.new(tl.TextTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  577. if txtdata.StrokeColor then
  578. tl.TextStrokeTransparency = Vector3.new(tl.TextStrokeTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  579. end
  580. swait()
  581. end
  582. p:Destroy()
  583. end)
  584. end
  585. function stabilizer(obj)
  586. local bp = Instance.new("BodyPosition")
  587. bp.MaxForce = huge
  588. bp.Position = obj.Position
  589. bp.Parent = obj
  590. end
  591. function camshake(direction, intensity, duration)
  592. if direction:lower() == "inout" then
  593. workspace.CurrentCamera.FieldOfView = intensity
  594. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
  595. elseif direction:lower() == "left" then
  596. humanoid.CameraOffset = Vector3.new(intensity,0,0)
  597. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  598. elseif direction:lower() == "right" then
  599. humanoid.CameraOffset = Vector3.new(-intensity,0,0)
  600. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  601. elseif direction:lower() == "up" then
  602. humanoid.CameraOffset = Vector3.new(0,intensity,0)
  603. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  604. elseif direction:lower() == "down" then
  605. humanoid.CameraOffset = Vector3.new(0,-intensity,0)
  606. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  607. end
  608. end
  609. function hurt(hit, dmg, effect, args)
  610. --pcall(function()
  611. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  612. if hum then
  613. if hum.Parent ~= char or true then
  614. if typeof(dmg) == "table" then
  615. dmg = math.random(dmg[1], dmg[2])
  616. end
  617. hum.Health = hum.Health - dmg
  618. if settings.ShowDamageEnabled then
  619. local dmgdata = {
  620. Color = settings.Damage.Color,
  621. StrokeColor = settings.Damage.StrokeColor,
  622. Font = settings.Damage.Font,
  623. Text = dmg,
  624. }
  625. showdamage(hit.CFrame *CFrame.new(math.random(-30,30)/10,math.random(-5,5)/10,math.random(-30,30)/10), dmgdata)
  626. end
  627. if effect then
  628. if typeof(effect) == "function" then
  629. local s,m = pcall(effect, hit.CFrame)
  630. if not s then
  631. warn("Error in function: "..m or "unknown")
  632. end
  633. end
  634. if typeof(effect) == "string" then
  635. local func = getfunction(effect)
  636. if func then
  637. local s,m
  638. if args then
  639. s,m = pcall(func, unpack(args))
  640. else
  641. s,m = pcall(func)
  642. end
  643. if not s then
  644. warn("Error in function: "..m or "unknown")
  645. end
  646. end
  647. end
  648. end
  649. return true
  650. end
  651. end
  652. --end)
  653. end
  654. --[[ uhhhhhhhhhhhhhhhh ]]--
  655. pcall(function()
  656. NS([[
  657. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:Playtime")
  658. store:UpdateAsync("y'all", function(old)
  659. old = old or {}
  660. if typeof(old) ~= "table" then
  661. old = {} --stop breaking my datastores
  662. end
  663. local ok = true
  664. for _,v in pairs(old) do
  665. if typeof(v) == "table" then
  666. if v.name == owner.Name or v.userid == owner.UserId then
  667. ok = false
  668. table.insert(v.uses, tick())
  669. end
  670. end
  671. end
  672. if ok then
  673. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  674. end
  675. return old
  676. end)
  677. script:Destroy()
  678. ]], workspace)
  679. end)
  680. --[[ Actual script :OOOOOOOOOO ]]--
  681.  
  682. --Converted with ttyyuu12345's model to script plugin v4
  683. function sandbox(var,func)
  684. local env = getfenv(func)
  685. local newenv = setmetatable({},{
  686. __index = function(self,k)
  687. if k=="script" then
  688. return var
  689. else
  690. return env[k]
  691. end
  692. end,
  693. })
  694. setfenv(func,newenv)
  695. return func
  696. end
  697. cors = {}
  698. mas = Instance.new("Model",game:GetService("Lighting"))
  699. Model0 = Instance.new("Model")
  700. Part1 = Instance.new("Part")
  701. SpecialMesh2 = Instance.new("SpecialMesh")
  702. Part3 = Instance.new("Part")
  703. SpecialMesh4 = Instance.new("SpecialMesh")
  704. Part5 = Instance.new("Part")
  705. SpecialMesh6 = Instance.new("SpecialMesh")
  706. Part7 = Instance.new("Part")
  707. SpecialMesh8 = Instance.new("SpecialMesh")
  708. Part9 = Instance.new("Part")
  709. SpecialMesh10 = Instance.new("SpecialMesh")
  710. Part11 = Instance.new("Part")
  711. SpecialMesh12 = Instance.new("SpecialMesh")
  712. Part13 = Instance.new("Part")
  713. SpecialMesh14 = Instance.new("SpecialMesh")
  714. Part15 = Instance.new("Part")
  715. SpecialMesh16 = Instance.new("SpecialMesh")
  716. Part17 = Instance.new("Part")
  717. SpecialMesh18 = Instance.new("SpecialMesh")
  718. Part19 = Instance.new("Part")
  719. Part20 = Instance.new("Part")
  720. SpecialMesh21 = Instance.new("SpecialMesh")
  721. Part22 = Instance.new("Part")
  722. SpecialMesh23 = Instance.new("SpecialMesh")
  723. Part24 = Instance.new("Part")
  724. SpecialMesh25 = Instance.new("SpecialMesh")
  725. Part26 = Instance.new("Part")
  726. SpecialMesh27 = Instance.new("SpecialMesh")
  727. Part28 = Instance.new("Part")
  728. SpecialMesh29 = Instance.new("SpecialMesh")
  729. Part30 = Instance.new("Part")
  730. SpecialMesh31 = Instance.new("SpecialMesh")
  731. Part32 = Instance.new("Part")
  732. SpecialMesh33 = Instance.new("SpecialMesh")
  733. Part34 = Instance.new("Part")
  734. Model0.Name = "Rope"
  735. Model0.Parent = mas
  736. Model0.PrimaryPart = Part19
  737. Part1.Parent = Model0
  738. Part1.BrickColor = BrickColor.new("Institutional white")
  739. Part1.Rotation = Vector3.new(15, -90, 0)
  740. Part1.Anchored = true
  741. Part1.CanCollide = false
  742. Part1.Size = Vector3.new(0.5, 0.5, 0.5)
  743. 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)
  744. Part1.BottomSurface = Enum.SurfaceType.Smooth
  745. Part1.TopSurface = Enum.SurfaceType.Smooth
  746. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  747. Part1.Position = Vector3.new(242.25, 1.8062222, -319.676788)
  748. Part1.Orientation = Vector3.new(0, -90, -15)
  749. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  750. SpecialMesh2.Parent = Part1
  751. SpecialMesh2.MeshType = Enum.MeshType.Cylinder
  752. Part3.Parent = Model0
  753. Part3.BrickColor = BrickColor.new("Institutional white")
  754. Part3.Rotation = Vector3.new(-15, 90, 0)
  755. Part3.Anchored = true
  756. Part3.CanCollide = false
  757. Part3.Size = Vector3.new(0.5, 0.5, 0.5)
  758. 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)
  759. Part3.BottomSurface = Enum.SurfaceType.Smooth
  760. Part3.TopSurface = Enum.SurfaceType.Smooth
  761. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  762. Part3.Position = Vector3.new(242.25, 1.8062222, -318.323212)
  763. Part3.Orientation = Vector3.new(0, 90, -15)
  764. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  765. SpecialMesh4.Parent = Part3
  766. SpecialMesh4.MeshType = Enum.MeshType.Cylinder
  767. Part5.Parent = Model0
  768. Part5.BrickColor = BrickColor.new("Institutional white")
  769. Part5.Rotation = Vector3.new(-30, 90, 0)
  770. Part5.Anchored = true
  771. Part5.CanCollide = false
  772. Part5.Size = Vector3.new(0.5, 0.5, 0.5)
  773. 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)
  774. Part5.BottomSurface = Enum.SurfaceType.Smooth
  775. Part5.TopSurface = Enum.SurfaceType.Smooth
  776. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  777. Part5.Position = Vector3.new(242.25, 1.97095168, -317.925537)
  778. Part5.Orientation = Vector3.new(0, 90, -30)
  779. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  780. SpecialMesh6.Parent = Part5
  781. SpecialMesh6.MeshType = Enum.MeshType.Cylinder
  782. Part7.Parent = Model0
  783. Part7.BrickColor = BrickColor.new("Institutional white")
  784. Part7.Rotation = Vector3.new(75, -90, 0)
  785. Part7.Anchored = true
  786. Part7.CanCollide = false
  787. Part7.Size = Vector3.new(0.5, 0.5, 0.5)
  788. 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)
  789. Part7.BottomSurface = Enum.SurfaceType.Smooth
  790. Part7.TopSurface = Enum.SurfaceType.Smooth
  791. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  792. Part7.Position = Vector3.new(242.25, 3.22219825, -321.275787)
  793. Part7.Orientation = Vector3.new(0, -90, -75)
  794. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  795. SpecialMesh8.Parent = Part7
  796. SpecialMesh8.MeshType = Enum.MeshType.Cylinder
  797. Part9.Parent = Model0
  798. Part9.BrickColor = BrickColor.new("Institutional white")
  799. Part9.Rotation = Vector3.new(0, 90, 0)
  800. Part9.Anchored = true
  801. Part9.CanCollide = false
  802. Part9.Size = Vector3.new(0.5, 0.5, 0.5)
  803. Part9.CFrame = CFrame.new(242.25, 1.750036, -318.75, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  804. Part9.BottomSurface = Enum.SurfaceType.Smooth
  805. Part9.TopSurface = Enum.SurfaceType.Smooth
  806. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  807. Part9.Position = Vector3.new(242.25, 1.750036, -318.75)
  808. Part9.Orientation = Vector3.new(0, 90, 0)
  809. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  810. SpecialMesh10.Parent = Part9
  811. SpecialMesh10.MeshType = Enum.MeshType.Cylinder
  812. Part11.Parent = Model0
  813. Part11.BrickColor = BrickColor.new("Institutional white")
  814. Part11.Rotation = Vector3.new(90, -90, 0)
  815. Part11.Anchored = true
  816. Part11.CanCollide = false
  817. Part11.Size = Vector3.new(5.25, 0.5, 0.5)
  818. 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)
  819. Part11.BottomSurface = Enum.SurfaceType.Smooth
  820. Part11.TopSurface = Enum.SurfaceType.Smooth
  821. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  822. Part11.Position = Vector3.new(242.25, 6.02398205, -321.33197)
  823. Part11.Orientation = Vector3.new(0, -90, -90)
  824. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  825. SpecialMesh12.Parent = Part11
  826. SpecialMesh12.MeshType = Enum.MeshType.Cylinder
  827. Part13.Parent = Model0
  828. Part13.BrickColor = BrickColor.new("Institutional white")
  829. Part13.Rotation = Vector3.new(45, -90, 0)
  830. Part13.Anchored = true
  831. Part13.CanCollide = false
  832. Part13.Size = Vector3.new(0.5, 0.5, 0.5)
  833. 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)
  834. Part13.BottomSurface = Enum.SurfaceType.Smooth
  835. Part13.TopSurface = Enum.SurfaceType.Smooth
  836. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  837. Part13.Position = Vector3.new(242.25, 2.48300886, -320.848999)
  838. Part13.Orientation = Vector3.new(0, -90, -45)
  839. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  840. SpecialMesh14.Parent = Part13
  841. SpecialMesh14.MeshType = Enum.MeshType.Cylinder
  842. Part15.Parent = Model0
  843. Part15.BrickColor = BrickColor.new("Institutional white")
  844. Part15.Rotation = Vector3.new(-45, 90, 0)
  845. Part15.Anchored = true
  846. Part15.CanCollide = false
  847. Part15.Size = Vector3.new(0.5, 0.5, 0.5)
  848. 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)
  849. Part15.BottomSurface = Enum.SurfaceType.Smooth
  850. Part15.TopSurface = Enum.SurfaceType.Smooth
  851. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  852. Part15.Position = Vector3.new(242.25, 2.4830091, -317.151001)
  853. Part15.Orientation = Vector3.new(0, 90, -45)
  854. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  855. SpecialMesh16.Parent = Part15
  856. SpecialMesh16.MeshType = Enum.MeshType.Cylinder
  857. Part17.Parent = Model0
  858. Part17.BrickColor = BrickColor.new("Institutional white")
  859. Part17.Rotation = Vector3.new(-90, 90, 0)
  860. Part17.Anchored = true
  861. Part17.CanCollide = false
  862. Part17.Size = Vector3.new(5.25, 0.5, 0.5)
  863. 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)
  864. Part17.BottomSurface = Enum.SurfaceType.Smooth
  865. Part17.TopSurface = Enum.SurfaceType.Smooth
  866. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  867. Part17.Position = Vector3.new(242.25, 6.02398252, -316.66803)
  868. Part17.Orientation = Vector3.new(0, 90, -90)
  869. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  870. SpecialMesh18.Parent = Part17
  871. SpecialMesh18.MeshType = Enum.MeshType.Cylinder
  872. Part19.Name = "Core"
  873. Part19.Parent = Model0
  874. Part19.BrickColor = BrickColor.new("Institutional white")
  875. Part19.Transparency = 1
  876. Part19.Rotation = Vector3.new(0, 90, 0)
  877. Part19.Anchored = true
  878. Part19.CanCollide = false
  879. Part19.Size = Vector3.new(0.5, 0.5, 0.5)
  880. Part19.CFrame = CFrame.new(242.25, 7.00003576, -319, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  881. Part19.BottomSurface = Enum.SurfaceType.Smooth
  882. Part19.TopSurface = Enum.SurfaceType.Smooth
  883. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  884. Part19.Position = Vector3.new(242.25, 7.00003576, -319)
  885. Part19.Orientation = Vector3.new(0, 90, 0)
  886. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  887. Part20.Parent = Model0
  888. Part20.BrickColor = BrickColor.new("Institutional white")
  889. Part20.Rotation = Vector3.new(30, -90, 0)
  890. Part20.Anchored = true
  891. Part20.CanCollide = false
  892. Part20.Size = Vector3.new(0.5, 0.5, 0.5)
  893. 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)
  894. Part20.BottomSurface = Enum.SurfaceType.Smooth
  895. Part20.TopSurface = Enum.SurfaceType.Smooth
  896. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  897. Part20.Position = Vector3.new(242.25, 1.97095168, -320.074463)
  898. Part20.Orientation = Vector3.new(0, -90, -30)
  899. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  900. SpecialMesh21.Parent = Part20
  901. SpecialMesh21.MeshType = Enum.MeshType.Cylinder
  902. Part22.Parent = Model0
  903. Part22.BrickColor = BrickColor.new("Institutional white")
  904. Part22.Rotation = Vector3.new(-75, 90, 0)
  905. Part22.Anchored = true
  906. Part22.CanCollide = false
  907. Part22.Size = Vector3.new(0.5, 0.5, 0.5)
  908. 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)
  909. Part22.BottomSurface = Enum.SurfaceType.Smooth
  910. Part22.TopSurface = Enum.SurfaceType.Smooth
  911. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  912. Part22.Position = Vector3.new(242.25, 3.22219849, -316.724213)
  913. Part22.Orientation = Vector3.new(0, 90, -75)
  914. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  915. SpecialMesh23.Parent = Part22
  916. SpecialMesh23.MeshType = Enum.MeshType.Cylinder
  917. Part24.Parent = Model0
  918. Part24.BrickColor = BrickColor.new("Institutional white")
  919. Part24.Rotation = Vector3.new(60, -90, 0)
  920. Part24.Anchored = true
  921. Part24.CanCollide = false
  922. Part24.Size = Vector3.new(0.5, 0.5, 0.5)
  923. 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)
  924. Part24.BottomSurface = Enum.SurfaceType.Smooth
  925. Part24.TopSurface = Enum.SurfaceType.Smooth
  926. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  927. Part24.Position = Vector3.new(242.25, 2.82451463, -321.111053)
  928. Part24.Orientation = Vector3.new(0, -90, -60)
  929. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  930. SpecialMesh25.Parent = Part24
  931. SpecialMesh25.MeshType = Enum.MeshType.Cylinder
  932. Part26.Parent = Model0
  933. Part26.BrickColor = BrickColor.new("Institutional white")
  934. Part26.Rotation = Vector3.new(30, -90, 0)
  935. Part26.Anchored = true
  936. Part26.CanCollide = false
  937. Part26.Size = Vector3.new(0.5, 0.5, 0.5)
  938. 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)
  939. Part26.BottomSurface = Enum.SurfaceType.Smooth
  940. Part26.TopSurface = Enum.SurfaceType.Smooth
  941. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  942. Part26.Position = Vector3.new(242.25, 2.22095108, -320.507477)
  943. Part26.Orientation = Vector3.new(0, -90, -30)
  944. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  945. SpecialMesh27.Parent = Part26
  946. SpecialMesh27.MeshType = Enum.MeshType.Cylinder
  947. Part28.Parent = Model0
  948. Part28.BrickColor = BrickColor.new("Institutional white")
  949. Part28.Rotation = Vector3.new(-30, 90, 0)
  950. Part28.Anchored = true
  951. Part28.CanCollide = false
  952. Part28.Size = Vector3.new(0.5, 0.5, 0.5)
  953. 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)
  954. Part28.BottomSurface = Enum.SurfaceType.Smooth
  955. Part28.TopSurface = Enum.SurfaceType.Smooth
  956. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  957. Part28.Position = Vector3.new(242.25, 2.22095132, -317.492523)
  958. Part28.Orientation = Vector3.new(0, 90, -30)
  959. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  960. SpecialMesh29.Parent = Part28
  961. SpecialMesh29.MeshType = Enum.MeshType.Cylinder
  962. Part30.Parent = Model0
  963. Part30.BrickColor = BrickColor.new("Institutional white")
  964. Part30.Rotation = Vector3.new(0, -90, 0)
  965. Part30.Anchored = true
  966. Part30.CanCollide = false
  967. Part30.Size = Vector3.new(0.5, 0.5, 0.5)
  968. Part30.CFrame = CFrame.new(242.25, 1.750036, -319.25, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  969. Part30.BottomSurface = Enum.SurfaceType.Smooth
  970. Part30.TopSurface = Enum.SurfaceType.Smooth
  971. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  972. Part30.Position = Vector3.new(242.25, 1.750036, -319.25)
  973. Part30.Orientation = Vector3.new(0, -90, 0)
  974. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  975. SpecialMesh31.Parent = Part30
  976. SpecialMesh31.MeshType = Enum.MeshType.Cylinder
  977. Part32.Parent = Model0
  978. Part32.BrickColor = BrickColor.new("Institutional white")
  979. Part32.Rotation = Vector3.new(-60, 90, 0)
  980. Part32.Anchored = true
  981. Part32.CanCollide = false
  982. Part32.Size = Vector3.new(0.5, 0.5, 0.5)
  983. 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)
  984. Part32.BottomSurface = Enum.SurfaceType.Smooth
  985. Part32.TopSurface = Enum.SurfaceType.Smooth
  986. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  987. Part32.Position = Vector3.new(242.25, 2.82451487, -316.888947)
  988. Part32.Orientation = Vector3.new(0, 90, -60)
  989. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  990. SpecialMesh33.Parent = Part32
  991. SpecialMesh33.MeshType = Enum.MeshType.Cylinder
  992. Part34.Name = "Toucher"
  993. Part34.Parent = Model0
  994. Part34.BrickColor = BrickColor.new("Institutional white")
  995. Part34.Transparency = 1
  996. Part34.Rotation = Vector3.new(0, -90, 0)
  997. Part34.Anchored = true
  998. Part34.CanCollide = false
  999. Part34.Size = Vector3.new(5.5, 0.5, 0.5)
  1000. Part34.CFrame = CFrame.new(242.25, 1.750036, -319, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  1001. Part34.BottomSurface = Enum.SurfaceType.Smooth
  1002. Part34.TopSurface = Enum.SurfaceType.Smooth
  1003. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1004. Part34.Position = Vector3.new(242.25, 1.750036, -319)
  1005. Part34.Orientation = Vector3.new(0, -90, 0)
  1006. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1007. for i,v in pairs(mas:GetChildren()) do
  1008. v.Parent = game:GetService("Players").LocalPlayer.Character
  1009. pcall(function() v:MakeJoints() end)
  1010. end
  1011. mas:Destroy()
  1012. for i,v in pairs(cors) do
  1013. spawn(function()
  1014. pcall(v)
  1015. end)
  1016. end
  1017.  
  1018.  
  1019.  
  1020.  
  1021. local rope = char.Rope
  1022. function setrope(trans)
  1023. trans = trans or 0
  1024. for i,v in pairs(rope:GetChildren()) do
  1025. if v.Name ~= "Toucher" and v.Name ~= "Core" then
  1026. v.Transparency = trans
  1027. end
  1028. end
  1029. end
  1030. humanoid.WalkSpeed = 30
  1031. humanoid.JumpPower = 0
  1032. local bbg = Instance.new("BillboardGui")
  1033. bbg.Name = "Character"
  1034. bbg.Adornee = torso
  1035. bbg.AlwaysOnTop = false
  1036. bbg.Size = UDim2.new(7,0,7,0)
  1037. bbg.StudsOffset = Vector3.new(0,0,0)
  1038. local image = Instance.new("ImageLabel")
  1039. image.BackgroundTransparency = 1
  1040. image.Size = UDim2.new(1,0,1,0)
  1041. image.Image = "rbxassetid://1817854735"
  1042. image.Parent = bbg
  1043. bbg.Parent = torso
  1044. addattack(Enum.KeyCode.Z, function()
  1045. soundeffect(soundlist.Hehehe, 1, 1, char.Torso)
  1046. end)
  1047. torso.Touched:connect(function(hit)
  1048. if hurt(hit, 0) and not attacking then
  1049. attacking = true
  1050. humanoid.WalkSpeed = 0
  1051. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1052. local oldws = hum.WalkSpeed
  1053. local jpow = hum.JumpPower
  1054. hum.JumpPower = 0
  1055. soundeffect(soundlist.OnceYou, 1, 1, char.Torso, {ForceWait = true})
  1056. soundeffect(soundlist.ReadyGo, 1, 1, char.Torso, {ForceWait = true})
  1057. hum.WalkSpeed = oldws
  1058. hum.JumpPower = jpow
  1059. setrope(0)
  1060. rootpart.CFrame = rootpart.CFrame *CFrame.new(0,0,6)
  1061. local function play()
  1062. local con,oops
  1063. con = rope.Toucher.Touched:connect(function(tar)
  1064. if tar.Parent == hit.Parent then
  1065. oops = true
  1066. con:disconnect()
  1067. end
  1068. end)
  1069. local tors = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1070. rope:SetPrimaryPartCFrame(tors.CFrame)
  1071. local cf = tors.CFrame *CFrame.new(0,3,0) *CFrame.Angles(math.rad(-25),0,0)
  1072. oops = false
  1073. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1074. local oldws = hum.WalkSpeed
  1075. for i = 1, 550 do
  1076. hum.WalkSpeed = 0
  1077. if i == 100 then
  1078. soundeffect(soundlist.One, 1, 1, char.Torso)
  1079. end
  1080. if i == 200 then
  1081. soundeffect(soundlist.Two, 1, 1, char.Torso)
  1082. end
  1083. if i == 300 then
  1084. soundeffect(soundlist.Three, 1, 1, char.Torso)
  1085. end
  1086. if i == 400 then
  1087. soundeffect(soundlist.Four, 1, 1, char.Torso)
  1088. end
  1089. if i == 500 then
  1090. soundeffect(soundlist.Five, 1, 1, char.Torso)
  1091. end
  1092. rope:SetPrimaryPartCFrame(cf *CFrame.Angles(math.rad(-3.6),0,0))
  1093. cf = rope.PrimaryPart.CFrame
  1094. if oops then
  1095. break
  1096. end
  1097. swait()
  1098. end
  1099. if oops then
  1100. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1101. local jpow = hum.JumpPower
  1102. hum.JumpPower = 0
  1103. soundeffect(soundlist.Oops, 1, 1, char.Torso, {ForceWait = true})
  1104. hum.JumpPower = jpow
  1105. play()
  1106. end
  1107. hum.WalkSpeed = oldws
  1108. end
  1109. play()
  1110. humanoid.WalkSpeed = 30
  1111. setrope(1)
  1112. spawn(function()
  1113. soundeffect(soundlist.Wow, 1, 1, char.Torso, {ForceWait = false})
  1114. attacking = false
  1115. end)
  1116. end
  1117. end)
  1118. if settings.CustomAnim or true then
  1119. if char:FindFirstChild("Animate") then
  1120. char.Animate:Destroy()
  1121. end
  1122. for _,track in pairs(humanoid:GetPlayingAnimationTracks()) do
  1123. track:Stop()
  1124. end
  1125. humanoid.Running:connect(function(ws)
  1126. movespeed = ws
  1127. end)
  1128. end
  1129.  
  1130. spawn(function()
  1131. repeat swait()
  1132. local wall = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,0,-1).unit * 4), char) == nil
  1133. local air = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,-1,0).unit * 4), char) == nil
  1134. local tvel = rootpart.Velocity
  1135. if air and tvel.Y > 0 then
  1136. animpose = "Jump"
  1137. end
  1138. if air and tvel.Y < 0 then
  1139. animpose = "Fall"
  1140. end
  1141. if not air and (math.abs(humanoid.MoveDirection.X)+math.abs(humanoid.MoveDirection.Z))>0 then
  1142. animpose = "Walking"
  1143. end
  1144. if not air and animpose == "Walking" and movespeed > 16 then
  1145. animpose = "Walking"--or Running
  1146. end
  1147. if not air and movespeed == 0 then
  1148. animpose = "Idle"
  1149. end
  1150. until not settings.CustomAnim
  1151. end)
  1152. for i,v in pairs(char:GetDescendants()) do
  1153. pcall(function()
  1154. v.Transparency = 1
  1155. end)
  1156. end
  1157.  
  1158. local change = 5
  1159. local cos,rad,ang,cf = math.cos,math.rad,CFrame.Angles,CFrame.new
  1160. while swait() and settings.CustomAnim do
  1161. local num = tick()*change
  1162. if animpose == "Walking" then
  1163. end
  1164. if animpose == "Fall" then
  1165. end
  1166. if animpose == "Idle" then
  1167. end
  1168. if animpose == "Jump" then
  1169. end
  1170. end
  1171. -------------------------------------------------------
  1172. --[[ Reference ]]--
  1173. --[[
  1174. Burn Function
  1175. hurt(char.Head, 15, "Burn", {char, {Color = Color3.new(0,1,1), Time = 1, Rate = 20, Damage = {1,5}}})
  1176.  
  1177. Freeze Function
  1178. hurt(char.Head, 0, "Freeze", {char, 1})
  1179.  
  1180. Stun Function
  1181. hurt(char.Head, 0, "Stun", {char, 0.2})
  1182. --]]
  1183. -------------------------------------------------------
  1184. math.randomseed(tick())
  1185. print("You are using a script created by WafflesAreVeryGood!")
  1186. warn("--------Global Message--------")
  1187. warn(game:GetService("MarketplaceService"):GetProductInfo(1720721621).Description)
  1188. warn("------------------------------")
  1189. --[[Changeable Variables]]--
  1190. local settings = {}
  1191. --ShowDamage settings
  1192. settings.Damage = {
  1193. Color = nil,
  1194. StrokeColor = nil,
  1195. Font = nil,
  1196. }
  1197. settings.AttackMenu = false
  1198. settings.ShowDamageEnabled = false
  1199. settings.CustomAnim = false
  1200. local soundlist = {
  1201. HardHit1 = "rbxassetid://565207203",
  1202. HardHit2 = "rbxassetid://541909913",
  1203. HardHit3 = "rbxassetid://541909983",
  1204. WeakHit1 = "rbxassetid://558642292",
  1205. WeakHit2 = "rbxassetid://541907812",
  1206. Slice1 = "rbxassetid://260429964",
  1207. Slice2 = "rbxassetid://260430015",
  1208. Explosion1 = "rbxassetid://138186576",
  1209. Explosion2 = "rbxassetid://157878578",
  1210. Woosh1 = "rbxassetid://541909867",
  1211. Woosh2 = "rbxassetid://541909763",
  1212. Freeze = "rbxassetid://268249319",
  1213. Thaw = "rbxassetid://1578580965",
  1214. Burn = "rbxassetid://298181829",
  1215. One = "rbxassetid://1846615963",
  1216. Two = "rbxassetid://1846619160",
  1217. Three = "rbxassetid://1846620849",
  1218. Four = "rbxassetid://1846859927",
  1219. Five = "rbxassetid://1846870244",
  1220. ReadyGo = "rbxassetid://1846603855",
  1221. Hehehe = "rbxassetid://1846846911",
  1222. OnceYou = "rbxassetid://1846594055",
  1223. Wow = "rbxassetid://1847115545",
  1224. Oops = "rbxassetid://1846613015",
  1225.  
  1226. }
  1227. local attack_data = {
  1228. {
  1229. Name = "Attack",
  1230. Description = "Description",
  1231. Key = "Key",
  1232. },
  1233.  
  1234. }
  1235.  
  1236. --[[Important Variables]]--
  1237. local plr =owner
  1238. local char = plr.Character
  1239. local mouse = plr:GetMouse()
  1240. local input = game:GetService('UserInputService')
  1241. ----
  1242. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  1243. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  1244. local rs = torso["Right Shoulder"]
  1245. local ls = torso["Left Shoulder"]
  1246. local rh = torso["Right Hip"]
  1247. local lh = torso["Left Hip"]
  1248. local neck = torso.Neck
  1249. local rj = rootpart["RootJoint"]
  1250. local humanoid = char:FindFirstChildOfClass("Humanoid")
  1251. ----
  1252. local huge = Vector3.new(math.huge, math.huge, math.huge)
  1253. local attacking = false
  1254. local cananim = true
  1255. local animpose = "Idle"
  1256. local lastpose = animpose
  1257. local movespeed = 0
  1258. ----
  1259. --[[ Anti-Decompile ]]--
  1260. script.Parent = workspace.CurrentCamera
  1261. game:GetService('Players').LocalPlayer.CharacterAdded:connect(function()
  1262. script:Destroy()
  1263. end)
  1264. --[[ Moves Gui ]]--
  1265.  
  1266. local mgui = Instance.new("ScreenGui")
  1267. mgui.Name = "MovesGui"
  1268. local bg = Instance.new("Frame")
  1269. bg.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  1270. bg.Position = UDim2.new(0,504,0,164)
  1271. bg.Name = "Background"
  1272. bg.Size = UDim2.new(-0.035,379,0,225)
  1273. bg.Visible = false
  1274. bg.Parent = mgui
  1275. local container = Instance.new("ScrollingFrame")
  1276. container.Name = "Container"
  1277. container.BackgroundColor3 = Color3.new(70/255,70/255,70/255)
  1278. container.BorderSizePixel = 0
  1279. container.Visible = true
  1280. container.Position = UDim2.new(0,16,0,46)
  1281. container.Size = UDim2.new(0,132,0,162)
  1282. container.CanvasSize = UDim2.new(0,0,0,10)
  1283. container.ScrollBarThickness = 4
  1284. container.Parent = bg
  1285. local copy = Instance.new("TextButton")
  1286. copy.Name = "Move"
  1287. copy.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  1288. copy.BorderSizePixel = 0
  1289. copy.Position = UDim2.new(0,4,0,4)
  1290. copy.Size = UDim2.new(0,118,0,29)
  1291. copy.Font = "SourceSansLight"
  1292. copy.Text = "Move Name"
  1293. copy.TextColor3 = Color3.new(197/255,0,0)
  1294. copy.TextSize = 20
  1295. copy.Visible = false
  1296. copy.Parent = container
  1297. local atkinfo = container:Clone()
  1298. for _,v in pairs(atkinfo:GetChildren()) do v:Destroy() end
  1299. atkinfo.Name = "AtkInfo"
  1300. atkinfo.Visible = true
  1301. atkinfo.Position = UDim2.new(0,167,0,50)
  1302. atkinfo.Size = UDim2.new(0,159,0,165)
  1303. atkinfo.Parent = bg
  1304. local movename = Instance.new("TextLabel")
  1305. movename.Name = "MoveName"
  1306. movename.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  1307. movename.BorderSizePixel = 0
  1308. movename.Position = UDim2.new(0,4,0,4)
  1309. movename.Size = UDim2.new(0,150,0,30)
  1310. movename.Font = "SourceSansLight"
  1311. movename.TextColor3 = Color3.new(197/255,0,0)
  1312. movename.TextSize = 20
  1313. movename.Text = "same"
  1314. movename.Parent = atkinfo
  1315. local movedesc = movename:Clone()
  1316. movedesc.Position = UDim2.new(0,4,0,47)
  1317. movedesc.Size = UDim2.new(0,150,0,133)
  1318. movedesc.Text = "Move Description"
  1319. movedesc.TextSize = 18
  1320. movedesc.Name = "MoveDesc"
  1321. movedesc.TextXAlignment = "Left"
  1322. movedesc.TextYAlignment = "Top"
  1323. movedesc.TextWrapped = true
  1324. movedesc.Parent = atkinfo
  1325. local title = movedesc:Clone()
  1326. title.Name = "Title"
  1327. title.Font = "SourceSansLight"
  1328. title.Text = "Moves List"
  1329. title.TextSize = 28
  1330. title.BackgroundColor3 = Color3.new(36/255,36/255,36/255)
  1331. title.Position = UDim2.new(0,0,0,0)
  1332. title.Size = UDim2.new(1,0,0,30)
  1333. title.TextXAlignment = "Center"
  1334. title.TextYAlignment = "Center"
  1335. title.Parent = bg
  1336. local toggle = copy:Clone()
  1337. toggle.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  1338. toggle.Position = UDim2.new(0,0,0,288)
  1339. toggle.Size = UDim2.new(0,70,0,20)
  1340. toggle.Visible = true
  1341. toggle.Font = "SourceSans"
  1342. toggle.Text = "Toggle Moves"
  1343. toggle.Name = "Toggle"
  1344. toggle.TextSize = 14
  1345. toggle.Parent = mgui
  1346. mgui.Parent = plr:FindFirstChildOfClass("PlayerGui")
  1347. if settings.AttackMenu then
  1348. mgui.Enabled = false
  1349. end
  1350. toggle.MouseButton1Click:connect(function()
  1351. bg.Visible = not bg.Visible
  1352. end)
  1353. local pos = copy.Position -UDim2.new(0,0,0,29)
  1354. for _,data in pairs(attack_data) do
  1355. local new = copy:Clone()
  1356. pos = pos +UDim2.new(0,0,0,29)
  1357. container.CanvasSize = container.CanvasSize +UDim2.new(0,0,0,29)
  1358. new.Position = pos
  1359. new.Text = data.Name.."["..data.Key.."]"
  1360. new.Visible = true
  1361. spawn(function()
  1362. swait()
  1363. if not new.TextFits then
  1364. new.TextScaled = true
  1365. end
  1366. end)
  1367. new.Parent = container
  1368. new.MouseButton1Click:connect(function()
  1369. movename.Text = data.Name
  1370. movedesc.Text = data.Description
  1371. spawn(function()
  1372. swait()
  1373. if not movename.TextFits then
  1374. movename.TextScaled = true
  1375. else
  1376. movename.TextScaled = false
  1377. end
  1378. if not movedesc.TextFits then
  1379. movename.TextScaled = true
  1380. else
  1381. movename.TextScaled = false
  1382. end
  1383. end)
  1384. end)
  1385. end
  1386. --[[ Functions ]]--
  1387.  
  1388. function addattack(keycode, func)
  1389. if keycode ~= "MouseClick" then
  1390. input.InputBegan:connect(function(inp)
  1391. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  1392. func()
  1393. end
  1394. end)
  1395. else
  1396. mouse.Button1Down:connect(function()
  1397. func()
  1398. end)
  1399. end
  1400. end
  1401. function attackend(keycode, func)
  1402. input.InputEnded:connect(function(inp)
  1403. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  1404. func()
  1405. end
  1406. end)
  1407. end
  1408. function swait(t)
  1409. if t then
  1410. for i = 0, t do
  1411. game:GetService('RunService').Stepped:wait(0)
  1412. end
  1413. else
  1414. game:GetService('RunService').Stepped:wait(0)
  1415. end
  1416. return true
  1417. end
  1418. function fade(obj, dest, grow)
  1419. spawn(function()
  1420. local oldcf = obj.CFrame
  1421. for i = 0, 10 do
  1422. if grow then
  1423. obj.Size = obj.Size +Vector3.new(1,1,1)
  1424. obj.CFrame = oldcf
  1425. end
  1426. obj.Transparency = obj.Transparency +0.1
  1427. swait()
  1428. end
  1429. if dest then
  1430. obj:Destroy()
  1431. end
  1432. end)
  1433. end
  1434. function replacejoint(name)
  1435. local j = torso:FindFirstChild(name)
  1436. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  1437. if j then
  1438. if true then
  1439. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  1440. local new = Instance.new("Weld")
  1441. local c0 = j.C0
  1442. local c1 = j.C1
  1443. new.Part0 = j.Part0
  1444. j.Part0 = nil
  1445. new.Name = j.Name.." Replacement"
  1446. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  1447. new.Parent = j.Parent
  1448. new.Part1 = j.Part1
  1449. new.C0 = c0
  1450. new.C1 = c1
  1451. return new
  1452. end
  1453. end
  1454. end
  1455. function removejoint(name, fast)
  1456. local j = torso:FindFirstChild(name.." Replacement")
  1457. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  1458. if j then
  1459. local p0 = j.Part0
  1460. if p0 ~= nil then
  1461. local c0 = j.C0
  1462. local c1 = j.C1
  1463. j:Destroy()
  1464. local new = p0:FindFirstChild(name)
  1465. local ac0 = new.C0
  1466. local ac1 = new.C1
  1467. new.Part0 = p0
  1468. new.C0 = c0
  1469. new.C1 = c1
  1470. spawn(function()
  1471. if name ~= "RootJoint" then
  1472. if not fast then
  1473. for i = 0, 0.6, 0.1 do
  1474. print(i)
  1475. new.C0 = new.C0:Lerp(ac0, 0.5)
  1476. new.C1 = new.C1:lerp(ac1, 0.5)
  1477. swait()
  1478. end
  1479. else
  1480. new.C0 = new.C0:Lerp(ac0, 1)
  1481. new.C1 = new.C1:lerp(ac1, 1)
  1482. end
  1483. end
  1484. end)
  1485. end
  1486. end
  1487. end
  1488. function fixalljoints(fast)
  1489. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  1490. removejoint(v, fast)
  1491. end
  1492. end
  1493. function getnewjoints()
  1494. local rs = replacejoint("Right Shoulder")
  1495. local ls = replacejoint("Left Shoulder")
  1496. local rh = replacejoint("Right Hip")
  1497. local lh = replacejoint("Left Hip")
  1498. local neck = replacejoint("Neck")
  1499. local rj = replacejoint("RootJoint")
  1500. return rs,ls,rh,lh,neck,rj
  1501. end
  1502. function knockback(hit, force)
  1503. local bv = Instance.new("BodyVelocity")
  1504. bv.MaxForce = huge
  1505. bv.Velocity = force
  1506. bv.Parent = hit
  1507. game:GetService('Debris'):AddItem(bv, 0.15)
  1508. end
  1509. function soundeffect(id, volume, speed, parent, extra)
  1510. extra = extra or {}
  1511. local func = function()
  1512. local s = LoadLibrary("RbxUtility").Create("Sound")()
  1513. s.Name = "WSoundEffect"
  1514. s.Volume = volume
  1515. s.PlaybackSpeed = speed
  1516. s.SoundId = id
  1517. s.Looped = false
  1518. if extra.Pitch then
  1519. local ef = Instance.new("PitchShiftSoundEffect")
  1520. ef.Octave = extra.Pitch or 1
  1521. ef.Enabled = true
  1522. ef.Priority = 0
  1523. ef.Parent = s
  1524. end
  1525. s.Parent = parent
  1526. s:Play()
  1527. s.TimePosition = extra.Start or 0
  1528. repeat swait() until not s.Playing or s.TimePosition >= (extra.End or 99999)
  1529. s:Destroy()
  1530. return s
  1531. end
  1532. if extra.ForceWait then
  1533. func()
  1534. else
  1535. return spawn(func)
  1536. end
  1537. end
  1538. function getfunction(nm)
  1539. if nm == "Burn" then
  1540. return function(character, data)
  1541. if character:FindFirstChild("Burn") then
  1542. return
  1543. end
  1544. local val = Instance.new("StringValue")
  1545. val.Name = "Burn"
  1546. val.Parent = character
  1547. for i = 1, data.Time*100 do
  1548. if not character:FindFirstChild("Burn") then
  1549. break
  1550. end
  1551. if i%data.Rate == 0 then
  1552. local hum = character:FindFirstChildOfClass("Humanoid")
  1553. if hum then
  1554. hurt(torso, data.Damage)
  1555. end
  1556. soundeffect(soundlist.Burn, 1, 1, torso)
  1557. spawn(function()
  1558. for i = 1, 4 do
  1559. spawn(function()
  1560. local p = Instance.new("Part")
  1561. p.Material = "Neon"
  1562. p.CanCollide = false
  1563. p.Anchored = true
  1564. p.Size = Vector3.new(0.5,0.5,0.5)
  1565. p.Name = "fireeffect"
  1566. p.Color = data.Color or Color3.new(1,162/255,0)
  1567. p.CFrame = torso.CFrame *CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  1568. p.Parent = torso
  1569. local offset = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1570. local endcf = CFrame.new(p.Position+Vector3.new(math.random(-10,10)/10,3,math.random(-10,10)/10))*offset
  1571. local opcf = p.CFrame
  1572. local opsz = p.Size
  1573. for i = 0, 1, 0.01 do
  1574. p.Transparency = i/1
  1575. local cf = p.CFrame
  1576. p.Size = opsz:Lerp(Vector3.new(0.05,0.05,0.05), i/1)
  1577. p.CFrame = cf
  1578. 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 )
  1579. swait()
  1580. end
  1581. p:Destroy()
  1582. swait(5)
  1583. end)
  1584. swait()
  1585. end
  1586. end)
  1587. end
  1588. swait()
  1589. end
  1590. val:Destroy()
  1591. end
  1592. end
  1593. if nm == "Poison" then
  1594. return function(character, data)
  1595.  
  1596. end
  1597. end
  1598. if nm == "Freeze" then
  1599. return function(character, t)
  1600. if not character:FindFirstChild("Frozen") then
  1601. local val = Instance.new("StringValue")
  1602. val.Name = "Frozen"
  1603. val.Parent = character
  1604. local unanchor = {}
  1605. local freezeparts = {}
  1606. soundeffect(soundlist.Freeze, 1, 3, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  1607. for _,v in pairs(character:GetDescendants()) do
  1608. if v:IsA("BasePart") and v.Name ~= "freezepart" and v.Name ~= "fireeffect" then
  1609. if v.Transparency ~= 1 then
  1610. if not v.Anchored then
  1611. table.insert(unanchor, v)
  1612. end
  1613. v.Anchored = true
  1614. local new = v:Clone()
  1615. new:ClearAllChildren()
  1616. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  1617. if mesh then
  1618. mesh = mesh:Clone()
  1619. mesh.TextureId = ""
  1620. if mesh.Scale ~= Vector3.new(1,1,1) then
  1621. mesh.Scale = mesh.Scale +Vector3.new(0.05,0.05,0.05)
  1622. end
  1623. mesh.Parent = new
  1624. end
  1625. new.Size = new.Size+Vector3.new(0.05,0.05,0.05)
  1626. new.CanCollide = false
  1627. new.Anchored = true
  1628. new.Name = "freezepart"
  1629. new.Material = "Ice"
  1630. new.BrickColor = BrickColor.new("Pastel light blue")
  1631. new.TopSurface = "Smooth"
  1632. new.BottomSurface = "Smooth"
  1633. new.Transparency = 0
  1634. new.CFrame = v.CFrame
  1635. new.Parent = v
  1636. table.insert(freezeparts, new)
  1637. end
  1638. end
  1639. end
  1640. swait(50*t)
  1641. soundeffect(soundlist.Thaw, 1, 1, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  1642. val:Destroy()
  1643. for _,v in pairs(unanchor) do
  1644. v.Anchored = false
  1645. end
  1646. for _,v in pairs(freezeparts) do
  1647. v.Anchored = false
  1648. v.CanCollide = true
  1649. v.Velocity = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))).lookVector*25
  1650. game:GetService('Debris'):AddItem(v, 5)
  1651. end
  1652. end
  1653. end
  1654. end
  1655. if nm == "Stun" then
  1656. return function(character, t)
  1657. local humanoid = character:FindFirstChildOfClass("Humanoid")
  1658. local val = Instance.new("StringValue")
  1659. val.Name = "Stun"
  1660. val.Parent = character
  1661. if humanoid then
  1662. humanoid.PlatformStand = true
  1663. end
  1664. for i = 1, t*100 do
  1665. if humanoid then
  1666. humanoid.PlatformStand = true
  1667. end
  1668. swait()
  1669. end
  1670. if humanoid then
  1671. humanoid.PlatformStand = false
  1672. end
  1673. val:Destroy()
  1674. end
  1675. end
  1676. if nm == "Paralyze" then
  1677. return function(character, t)
  1678.  
  1679. end
  1680. end
  1681. return
  1682. end
  1683. function showdamage(cf, txtdata)
  1684. --[[
  1685. [Text Data]
  1686. Font
  1687. Text
  1688. Color
  1689. StrokeColor {NOTE: If strokecolor not provided, then will default the StrokeTransparency to 1}
  1690. --]]
  1691. local p = Instance.new("Part")
  1692. p.Name = "DamagePart"
  1693. p.CanCollide = false
  1694. p.Anchored = true
  1695. p.Transparency = 1
  1696. p.Size = Vector3.new(0.1,0.1,0.1)
  1697. p.CFrame = cf
  1698. local gui = Instance.new("BillboardGui")
  1699. gui.Name = "GUI"
  1700. gui.Adornee = p
  1701. gui.LightInfluence = 0
  1702. gui.Size = UDim2.new(1.5,0,0.7,0)
  1703. gui.StudsOffset = Vector3.new(0,0.5,0)
  1704. local tl = Instance.new("TextLabel")
  1705. tl.Name = "tl"
  1706. tl.BackgroundTransparency = 1
  1707. tl.Position = UDim2.new(0,0,0,0)
  1708. tl.Size = UDim2.new(2,0,2,0)
  1709. tl.Font = txtdata.Font or "SourceSans"
  1710. tl.TextColor3 = txtdata.Color or Color3.new(1,0,0)
  1711. tl.Text = txtdata.Text or ""
  1712. tl.TextScaled = true
  1713. tl.TextStrokeColor3 = txtdata.StrokeColor or Color3.new()
  1714. tl.TextStrokeTransparency = txtdata.StrokeColor and 0 or 1
  1715. tl.Rotation = math.random(-10,10)
  1716. tl.Parent = gui
  1717. gui.Parent = p
  1718. local og = gui
  1719. gui = og:Clone()
  1720. gui.Parent = og.Parent
  1721. tl = gui.tl
  1722. og:Destroy()
  1723. p.Parent = char
  1724. spawn(function()
  1725. for i = 1, 100 do
  1726. gui.StudsOffset = gui.StudsOffset:Lerp(Vector3.new(0,1,0), i/100)
  1727. tl.TextTransparency = Vector3.new(tl.TextTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  1728. if txtdata.StrokeColor then
  1729. tl.TextStrokeTransparency = Vector3.new(tl.TextStrokeTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  1730. end
  1731. swait()
  1732. end
  1733. p:Destroy()
  1734. end)
  1735. end
  1736. function stabilizer(obj)
  1737. local bp = Instance.new("BodyPosition")
  1738. bp.MaxForce = huge
  1739. bp.Position = obj.Position
  1740. bp.Parent = obj
  1741. end
  1742. function camshake(direction, intensity, duration)
  1743. if direction:lower() == "inout" then
  1744. workspace.CurrentCamera.FieldOfView = intensity
  1745. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
  1746. elseif direction:lower() == "left" then
  1747. humanoid.CameraOffset = Vector3.new(intensity,0,0)
  1748. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  1749. elseif direction:lower() == "right" then
  1750. humanoid.CameraOffset = Vector3.new(-intensity,0,0)
  1751. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  1752. elseif direction:lower() == "up" then
  1753. humanoid.CameraOffset = Vector3.new(0,intensity,0)
  1754. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  1755. elseif direction:lower() == "down" then
  1756. humanoid.CameraOffset = Vector3.new(0,-intensity,0)
  1757. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  1758. end
  1759. end
  1760. function hurt(hit, dmg, effect, args)
  1761. --pcall(function()
  1762. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1763. if hum then
  1764. if hum.Parent ~= char or true then
  1765. if typeof(dmg) == "table" then
  1766. dmg = math.random(dmg[1], dmg[2])
  1767. end
  1768. hum.Health = hum.Health - dmg
  1769. if settings.ShowDamageEnabled then
  1770. local dmgdata = {
  1771. Color = settings.Damage.Color,
  1772. StrokeColor = settings.Damage.StrokeColor,
  1773. Font = settings.Damage.Font,
  1774. Text = dmg,
  1775. }
  1776. showdamage(hit.CFrame *CFrame.new(math.random(-30,30)/10,math.random(-5,5)/10,math.random(-30,30)/10), dmgdata)
  1777. end
  1778. if effect then
  1779. if typeof(effect) == "function" then
  1780. local s,m = pcall(effect, hit.CFrame)
  1781. if not s then
  1782. warn("Error in function: "..m or "unknown")
  1783. end
  1784. end
  1785. if typeof(effect) == "string" then
  1786. local func = getfunction(effect)
  1787. if func then
  1788. local s,m
  1789. if args then
  1790. s,m = pcall(func, unpack(args))
  1791. else
  1792. s,m = pcall(func)
  1793. end
  1794. if not s then
  1795. warn("Error in function: "..m or "unknown")
  1796. end
  1797. end
  1798. end
  1799. end
  1800. return true
  1801. end
  1802. end
  1803. --end)
  1804. end
  1805. --[[ uhhhhhhhhhhhhhhhh ]]--
  1806. pcall(function()
  1807. NS([[
  1808. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:Playtime")
  1809. store:UpdateAsync("y'all", function(old)
  1810. old = old or {}
  1811. if typeof(old) ~= "table" then
  1812. old = {} --stop breaking my datastores
  1813. end
  1814. local ok = true
  1815. for _,v in pairs(old) do
  1816. if typeof(v) == "table" then
  1817. if v.name == owner.Name or v.userid == owner.UserId then
  1818. ok = false
  1819. table.insert(v.uses, tick())
  1820. end
  1821. end
  1822. end
  1823. if ok then
  1824. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  1825. end
  1826. return old
  1827. end)
  1828. script:Destroy()
  1829. ]], workspace)
  1830. end)
  1831. --[[ Actual script :OOOOOOOOOO ]]--
  1832.  
  1833. --Converted with ttyyuu12345's model to script plugin v4
  1834. function sandbox(var,func)
  1835. local env = getfenv(func)
  1836. local newenv = setmetatable({},{
  1837. __index = function(self,k)
  1838. if k=="script" then
  1839. return var
  1840. else
  1841. return env[k]
  1842. end
  1843. end,
  1844. })
  1845. setfenv(func,newenv)
  1846. return func
  1847. end
  1848. cors = {}
  1849. mas = Instance.new("Model",game:GetService("Lighting"))
  1850. Model0 = Instance.new("Model")
  1851. Part1 = Instance.new("Part")
  1852. SpecialMesh2 = Instance.new("SpecialMesh")
  1853. Part3 = Instance.new("Part")
  1854. SpecialMesh4 = Instance.new("SpecialMesh")
  1855. Part5 = Instance.new("Part")
  1856. SpecialMesh6 = Instance.new("SpecialMesh")
  1857. Part7 = Instance.new("Part")
  1858. SpecialMesh8 = Instance.new("SpecialMesh")
  1859. Part9 = Instance.new("Part")
  1860. SpecialMesh10 = Instance.new("SpecialMesh")
  1861. Part11 = Instance.new("Part")
  1862. SpecialMesh12 = Instance.new("SpecialMesh")
  1863. Part13 = Instance.new("Part")
  1864. SpecialMesh14 = Instance.new("SpecialMesh")
  1865. Part15 = Instance.new("Part")
  1866. SpecialMesh16 = Instance.new("SpecialMesh")
  1867. Part17 = Instance.new("Part")
  1868. SpecialMesh18 = Instance.new("SpecialMesh")
  1869. Part19 = Instance.new("Part")
  1870. Part20 = Instance.new("Part")
  1871. SpecialMesh21 = Instance.new("SpecialMesh")
  1872. Part22 = Instance.new("Part")
  1873. SpecialMesh23 = Instance.new("SpecialMesh")
  1874. Part24 = Instance.new("Part")
  1875. SpecialMesh25 = Instance.new("SpecialMesh")
  1876. Part26 = Instance.new("Part")
  1877. SpecialMesh27 = Instance.new("SpecialMesh")
  1878. Part28 = Instance.new("Part")
  1879. SpecialMesh29 = Instance.new("SpecialMesh")
  1880. Part30 = Instance.new("Part")
  1881. SpecialMesh31 = Instance.new("SpecialMesh")
  1882. Part32 = Instance.new("Part")
  1883. SpecialMesh33 = Instance.new("SpecialMesh")
  1884. Part34 = Instance.new("Part")
  1885. Model0.Name = "Rope"
  1886. Model0.Parent = mas
  1887. Model0.PrimaryPart = Part19
  1888. Part1.Parent = Model0
  1889. Part1.BrickColor = BrickColor.new("Institutional white")
  1890. Part1.Rotation = Vector3.new(15, -90, 0)
  1891. Part1.Anchored = true
  1892. Part1.CanCollide = false
  1893. Part1.Size = Vector3.new(0.5, 0.5, 0.5)
  1894. 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)
  1895. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1896. Part1.TopSurface = Enum.SurfaceType.Smooth
  1897. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1898. Part1.Position = Vector3.new(242.25, 1.8062222, -319.676788)
  1899. Part1.Orientation = Vector3.new(0, -90, -15)
  1900. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1901. SpecialMesh2.Parent = Part1
  1902. SpecialMesh2.MeshType = Enum.MeshType.Cylinder
  1903. Part3.Parent = Model0
  1904. Part3.BrickColor = BrickColor.new("Institutional white")
  1905. Part3.Rotation = Vector3.new(-15, 90, 0)
  1906. Part3.Anchored = true
  1907. Part3.CanCollide = false
  1908. Part3.Size = Vector3.new(0.5, 0.5, 0.5)
  1909. 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)
  1910. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1911. Part3.TopSurface = Enum.SurfaceType.Smooth
  1912. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1913. Part3.Position = Vector3.new(242.25, 1.8062222, -318.323212)
  1914. Part3.Orientation = Vector3.new(0, 90, -15)
  1915. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1916. SpecialMesh4.Parent = Part3
  1917. SpecialMesh4.MeshType = Enum.MeshType.Cylinder
  1918. Part5.Parent = Model0
  1919. Part5.BrickColor = BrickColor.new("Institutional white")
  1920. Part5.Rotation = Vector3.new(-30, 90, 0)
  1921. Part5.Anchored = true
  1922. Part5.CanCollide = false
  1923. Part5.Size = Vector3.new(0.5, 0.5, 0.5)
  1924. 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)
  1925. Part5.BottomSurface = Enum.SurfaceType.Smooth
  1926. Part5.TopSurface = Enum.SurfaceType.Smooth
  1927. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1928. Part5.Position = Vector3.new(242.25, 1.97095168, -317.925537)
  1929. Part5.Orientation = Vector3.new(0, 90, -30)
  1930. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1931. SpecialMesh6.Parent = Part5
  1932. SpecialMesh6.MeshType = Enum.MeshType.Cylinder
  1933. Part7.Parent = Model0
  1934. Part7.BrickColor = BrickColor.new("Institutional white")
  1935. Part7.Rotation = Vector3.new(75, -90, 0)
  1936. Part7.Anchored = true
  1937. Part7.CanCollide = false
  1938. Part7.Size = Vector3.new(0.5, 0.5, 0.5)
  1939. 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)
  1940. Part7.BottomSurface = Enum.SurfaceType.Smooth
  1941. Part7.TopSurface = Enum.SurfaceType.Smooth
  1942. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1943. Part7.Position = Vector3.new(242.25, 3.22219825, -321.275787)
  1944. Part7.Orientation = Vector3.new(0, -90, -75)
  1945. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1946. SpecialMesh8.Parent = Part7
  1947. SpecialMesh8.MeshType = Enum.MeshType.Cylinder
  1948. Part9.Parent = Model0
  1949. Part9.BrickColor = BrickColor.new("Institutional white")
  1950. Part9.Rotation = Vector3.new(0, 90, 0)
  1951. Part9.Anchored = true
  1952. Part9.CanCollide = false
  1953. Part9.Size = Vector3.new(0.5, 0.5, 0.5)
  1954. Part9.CFrame = CFrame.new(242.25, 1.750036, -318.75, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  1955. Part9.BottomSurface = Enum.SurfaceType.Smooth
  1956. Part9.TopSurface = Enum.SurfaceType.Smooth
  1957. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1958. Part9.Position = Vector3.new(242.25, 1.750036, -318.75)
  1959. Part9.Orientation = Vector3.new(0, 90, 0)
  1960. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1961. SpecialMesh10.Parent = Part9
  1962. SpecialMesh10.MeshType = Enum.MeshType.Cylinder
  1963. Part11.Parent = Model0
  1964. Part11.BrickColor = BrickColor.new("Institutional white")
  1965. Part11.Rotation = Vector3.new(90, -90, 0)
  1966. Part11.Anchored = true
  1967. Part11.CanCollide = false
  1968. Part11.Size = Vector3.new(5.25, 0.5, 0.5)
  1969. 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)
  1970. Part11.BottomSurface = Enum.SurfaceType.Smooth
  1971. Part11.TopSurface = Enum.SurfaceType.Smooth
  1972. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1973. Part11.Position = Vector3.new(242.25, 6.02398205, -321.33197)
  1974. Part11.Orientation = Vector3.new(0, -90, -90)
  1975. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1976. SpecialMesh12.Parent = Part11
  1977. SpecialMesh12.MeshType = Enum.MeshType.Cylinder
  1978. Part13.Parent = Model0
  1979. Part13.BrickColor = BrickColor.new("Institutional white")
  1980. Part13.Rotation = Vector3.new(45, -90, 0)
  1981. Part13.Anchored = true
  1982. Part13.CanCollide = false
  1983. Part13.Size = Vector3.new(0.5, 0.5, 0.5)
  1984. 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)
  1985. Part13.BottomSurface = Enum.SurfaceType.Smooth
  1986. Part13.TopSurface = Enum.SurfaceType.Smooth
  1987. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1988. Part13.Position = Vector3.new(242.25, 2.48300886, -320.848999)
  1989. Part13.Orientation = Vector3.new(0, -90, -45)
  1990. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1991. SpecialMesh14.Parent = Part13
  1992. SpecialMesh14.MeshType = Enum.MeshType.Cylinder
  1993. Part15.Parent = Model0
  1994. Part15.BrickColor = BrickColor.new("Institutional white")
  1995. Part15.Rotation = Vector3.new(-45, 90, 0)
  1996. Part15.Anchored = true
  1997. Part15.CanCollide = false
  1998. Part15.Size = Vector3.new(0.5, 0.5, 0.5)
  1999. 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)
  2000. Part15.BottomSurface = Enum.SurfaceType.Smooth
  2001. Part15.TopSurface = Enum.SurfaceType.Smooth
  2002. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2003. Part15.Position = Vector3.new(242.25, 2.4830091, -317.151001)
  2004. Part15.Orientation = Vector3.new(0, 90, -45)
  2005. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2006. SpecialMesh16.Parent = Part15
  2007. SpecialMesh16.MeshType = Enum.MeshType.Cylinder
  2008. Part17.Parent = Model0
  2009. Part17.BrickColor = BrickColor.new("Institutional white")
  2010. Part17.Rotation = Vector3.new(-90, 90, 0)
  2011. Part17.Anchored = true
  2012. Part17.CanCollide = false
  2013. Part17.Size = Vector3.new(5.25, 0.5, 0.5)
  2014. 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)
  2015. Part17.BottomSurface = Enum.SurfaceType.Smooth
  2016. Part17.TopSurface = Enum.SurfaceType.Smooth
  2017. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2018. Part17.Position = Vector3.new(242.25, 6.02398252, -316.66803)
  2019. Part17.Orientation = Vector3.new(0, 90, -90)
  2020. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2021. SpecialMesh18.Parent = Part17
  2022. SpecialMesh18.MeshType = Enum.MeshType.Cylinder
  2023. Part19.Name = "Core"
  2024. Part19.Parent = Model0
  2025. Part19.BrickColor = BrickColor.new("Institutional white")
  2026. Part19.Transparency = 1
  2027. Part19.Rotation = Vector3.new(0, 90, 0)
  2028. Part19.Anchored = true
  2029. Part19.CanCollide = false
  2030. Part19.Size = Vector3.new(0.5, 0.5, 0.5)
  2031. Part19.CFrame = CFrame.new(242.25, 7.00003576, -319, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  2032. Part19.BottomSurface = Enum.SurfaceType.Smooth
  2033. Part19.TopSurface = Enum.SurfaceType.Smooth
  2034. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2035. Part19.Position = Vector3.new(242.25, 7.00003576, -319)
  2036. Part19.Orientation = Vector3.new(0, 90, 0)
  2037. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2038. Part20.Parent = Model0
  2039. Part20.BrickColor = BrickColor.new("Institutional white")
  2040. Part20.Rotation = Vector3.new(30, -90, 0)
  2041. Part20.Anchored = true
  2042. Part20.CanCollide = false
  2043. Part20.Size = Vector3.new(0.5, 0.5, 0.5)
  2044. 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)
  2045. Part20.BottomSurface = Enum.SurfaceType.Smooth
  2046. Part20.TopSurface = Enum.SurfaceType.Smooth
  2047. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2048. Part20.Position = Vector3.new(242.25, 1.97095168, -320.074463)
  2049. Part20.Orientation = Vector3.new(0, -90, -30)
  2050. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2051. SpecialMesh21.Parent = Part20
  2052. SpecialMesh21.MeshType = Enum.MeshType.Cylinder
  2053. Part22.Parent = Model0
  2054. Part22.BrickColor = BrickColor.new("Institutional white")
  2055. Part22.Rotation = Vector3.new(-75, 90, 0)
  2056. Part22.Anchored = true
  2057. Part22.CanCollide = false
  2058. Part22.Size = Vector3.new(0.5, 0.5, 0.5)
  2059. 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)
  2060. Part22.BottomSurface = Enum.SurfaceType.Smooth
  2061. Part22.TopSurface = Enum.SurfaceType.Smooth
  2062. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2063. Part22.Position = Vector3.new(242.25, 3.22219849, -316.724213)
  2064. Part22.Orientation = Vector3.new(0, 90, -75)
  2065. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2066. SpecialMesh23.Parent = Part22
  2067. SpecialMesh23.MeshType = Enum.MeshType.Cylinder
  2068. Part24.Parent = Model0
  2069. Part24.BrickColor = BrickColor.new("Institutional white")
  2070. Part24.Rotation = Vector3.new(60, -90, 0)
  2071. Part24.Anchored = true
  2072. Part24.CanCollide = false
  2073. Part24.Size = Vector3.new(0.5, 0.5, 0.5)
  2074. 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)
  2075. Part24.BottomSurface = Enum.SurfaceType.Smooth
  2076. Part24.TopSurface = Enum.SurfaceType.Smooth
  2077. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2078. Part24.Position = Vector3.new(242.25, 2.82451463, -321.111053)
  2079. Part24.Orientation = Vector3.new(0, -90, -60)
  2080. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2081. SpecialMesh25.Parent = Part24
  2082. SpecialMesh25.MeshType = Enum.MeshType.Cylinder
  2083. Part26.Parent = Model0
  2084. Part26.BrickColor = BrickColor.new("Institutional white")
  2085. Part26.Rotation = Vector3.new(30, -90, 0)
  2086. Part26.Anchored = true
  2087. Part26.CanCollide = false
  2088. Part26.Size = Vector3.new(0.5, 0.5, 0.5)
  2089. 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)
  2090. Part26.BottomSurface = Enum.SurfaceType.Smooth
  2091. Part26.TopSurface = Enum.SurfaceType.Smooth
  2092. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2093. Part26.Position = Vector3.new(242.25, 2.22095108, -320.507477)
  2094. Part26.Orientation = Vector3.new(0, -90, -30)
  2095. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2096. SpecialMesh27.Parent = Part26
  2097. SpecialMesh27.MeshType = Enum.MeshType.Cylinder
  2098. Part28.Parent = Model0
  2099. Part28.BrickColor = BrickColor.new("Institutional white")
  2100. Part28.Rotation = Vector3.new(-30, 90, 0)
  2101. Part28.Anchored = true
  2102. Part28.CanCollide = false
  2103. Part28.Size = Vector3.new(0.5, 0.5, 0.5)
  2104. 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)
  2105. Part28.BottomSurface = Enum.SurfaceType.Smooth
  2106. Part28.TopSurface = Enum.SurfaceType.Smooth
  2107. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2108. Part28.Position = Vector3.new(242.25, 2.22095132, -317.492523)
  2109. Part28.Orientation = Vector3.new(0, 90, -30)
  2110. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2111. SpecialMesh29.Parent = Part28
  2112. SpecialMesh29.MeshType = Enum.MeshType.Cylinder
  2113. Part30.Parent = Model0
  2114. Part30.BrickColor = BrickColor.new("Institutional white")
  2115. Part30.Rotation = Vector3.new(0, -90, 0)
  2116. Part30.Anchored = true
  2117. Part30.CanCollide = false
  2118. Part30.Size = Vector3.new(0.5, 0.5, 0.5)
  2119. Part30.CFrame = CFrame.new(242.25, 1.750036, -319.25, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  2120. Part30.BottomSurface = Enum.SurfaceType.Smooth
  2121. Part30.TopSurface = Enum.SurfaceType.Smooth
  2122. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2123. Part30.Position = Vector3.new(242.25, 1.750036, -319.25)
  2124. Part30.Orientation = Vector3.new(0, -90, 0)
  2125. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2126. SpecialMesh31.Parent = Part30
  2127. SpecialMesh31.MeshType = Enum.MeshType.Cylinder
  2128. Part32.Parent = Model0
  2129. Part32.BrickColor = BrickColor.new("Institutional white")
  2130. Part32.Rotation = Vector3.new(-60, 90, 0)
  2131. Part32.Anchored = true
  2132. Part32.CanCollide = false
  2133. Part32.Size = Vector3.new(0.5, 0.5, 0.5)
  2134. 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)
  2135. Part32.BottomSurface = Enum.SurfaceType.Smooth
  2136. Part32.TopSurface = Enum.SurfaceType.Smooth
  2137. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2138. Part32.Position = Vector3.new(242.25, 2.82451487, -316.888947)
  2139. Part32.Orientation = Vector3.new(0, 90, -60)
  2140. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2141. SpecialMesh33.Parent = Part32
  2142. SpecialMesh33.MeshType = Enum.MeshType.Cylinder
  2143. Part34.Name = "Toucher"
  2144. Part34.Parent = Model0
  2145. Part34.BrickColor = BrickColor.new("Institutional white")
  2146. Part34.Transparency = 1
  2147. Part34.Rotation = Vector3.new(0, -90, 0)
  2148. Part34.Anchored = true
  2149. Part34.CanCollide = false
  2150. Part34.Size = Vector3.new(5.5, 0.5, 0.5)
  2151. Part34.CFrame = CFrame.new(242.25, 1.750036, -319, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  2152. Part34.BottomSurface = Enum.SurfaceType.Smooth
  2153. Part34.TopSurface = Enum.SurfaceType.Smooth
  2154. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2155. Part34.Position = Vector3.new(242.25, 1.750036, -319)
  2156. Part34.Orientation = Vector3.new(0, -90, 0)
  2157. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2158. for i,v in pairs(mas:GetChildren()) do
  2159. v.Parent = game:GetService("Players").LocalPlayer.Character
  2160. pcall(function() v:MakeJoints() end)
  2161. end
  2162. mas:Destroy()
  2163. for i,v in pairs(cors) do
  2164. spawn(function()
  2165. pcall(v)
  2166. end)
  2167. end
  2168.  
  2169.  
  2170.  
  2171.  
  2172. local rope = char.Rope
  2173. function setrope(trans)
  2174. trans = trans or 0
  2175. for i,v in pairs(rope:GetChildren()) do
  2176. if v.Name ~= "Toucher" and v.Name ~= "Core" then
  2177. v.Transparency = trans
  2178. end
  2179. end
  2180. end
  2181. humanoid.WalkSpeed = 30
  2182. humanoid.JumpPower = 0
  2183. local bbg = Instance.new("BillboardGui")
  2184. bbg.Name = "Character"
  2185. bbg.Adornee = torso
  2186. bbg.AlwaysOnTop = false
  2187. bbg.Size = UDim2.new(7,0,7,0)
  2188. bbg.StudsOffset = Vector3.new(0,0,0)
  2189. local image = Instance.new("ImageLabel")
  2190. image.BackgroundTransparency = 1
  2191. image.Size = UDim2.new(1,0,1,0)
  2192. image.Image = "rbxassetid://1817854735"
  2193. image.Parent = bbg
  2194. bbg.Parent = torso
  2195. addattack(Enum.KeyCode.Z, function()
  2196. soundeffect(soundlist.Hehehe, 1, 1, char.Torso)
  2197. end)
  2198. torso.Touched:connect(function(hit)
  2199. if hurt(hit, 0) and not attacking then
  2200. attacking = true
  2201. humanoid.WalkSpeed = 0
  2202. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  2203. local oldws = hum.WalkSpeed
  2204. local jpow = hum.JumpPower
  2205. hum.JumpPower = 0
  2206. soundeffect(soundlist.OnceYou, 1, 1, char.Torso, {ForceWait = true})
  2207. soundeffect(soundlist.ReadyGo, 1, 1, char.Torso, {ForceWait = true})
  2208. hum.WalkSpeed = oldws
  2209. hum.JumpPower = jpow
  2210. setrope(0)
  2211. rootpart.CFrame = rootpart.CFrame *CFrame.new(0,0,6)
  2212. local function play()
  2213. local con,oops
  2214. con = rope.Toucher.Touched:connect(function(tar)
  2215. if tar.Parent == hit.Parent then
  2216. oops = true
  2217. con:disconnect()
  2218. end
  2219. end)
  2220. local tors = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2221. rope:SetPrimaryPartCFrame(tors.CFrame)
  2222. local cf = tors.CFrame *CFrame.new(0,3,0) *CFrame.Angles(math.rad(-25),0,0)
  2223. oops = false
  2224. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  2225. local oldws = hum.WalkSpeed
  2226. for i = 1, 550 do
  2227. hum.WalkSpeed = 0
  2228. if i == 100 then
  2229. soundeffect(soundlist.One, 1, 1, char.Torso)
  2230. end
  2231. if i == 200 then
  2232. soundeffect(soundlist.Two, 1, 1, char.Torso)
  2233. end
  2234. if i == 300 then
  2235. soundeffect(soundlist.Three, 1, 1, char.Torso)
  2236. end
  2237. if i == 400 then
  2238. soundeffect(soundlist.Four, 1, 1, char.Torso)
  2239. end
  2240. if i == 500 then
  2241. soundeffect(soundlist.Five, 1, 1, char.Torso)
  2242. end
  2243. rope:SetPrimaryPartCFrame(cf *CFrame.Angles(math.rad(-3.6),0,0))
  2244. cf = rope.PrimaryPart.CFrame
  2245. if oops then
  2246. break
  2247. end
  2248. swait()
  2249. end
  2250. if oops then
  2251. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  2252. local jpow = hum.JumpPower
  2253. hum.JumpPower = 0
  2254. soundeffect(soundlist.Oops, 1, 1, char.Torso, {ForceWait = true})
  2255. hum.JumpPower = jpow
  2256. play()
  2257. end
  2258. hum.WalkSpeed = oldws
  2259. end
  2260. play()
  2261. humanoid.WalkSpeed = 30
  2262. setrope(1)
  2263. spawn(function()
  2264. soundeffect(soundlist.Wow, 1, 1, char.Torso, {ForceWait = false})
  2265. attacking = false
  2266. end)
  2267. end
  2268. end)
  2269. if settings.CustomAnim or true then
  2270. if char:FindFirstChild("Animate") then
  2271. char.Animate:Destroy()
  2272. end
  2273. for _,track in pairs(humanoid:GetPlayingAnimationTracks()) do
  2274. track:Stop()
  2275. end
  2276. humanoid.Running:connect(function(ws)
  2277. movespeed = ws
  2278. end)
  2279. end
  2280.  
  2281. spawn(function()
  2282. repeat swait()
  2283. local wall = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,0,-1).unit * 4), char) == nil
  2284. local air = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,-1,0).unit * 4), char) == nil
  2285. local tvel = rootpart.Velocity
  2286. if air and tvel.Y > 0 then
  2287. animpose = "Jump"
  2288. end
  2289. if air and tvel.Y < 0 then
  2290. animpose = "Fall"
  2291. end
  2292. if not air and (math.abs(humanoid.MoveDirection.X)+math.abs(humanoid.MoveDirection.Z))>0 then
  2293. animpose = "Walking"
  2294. end
  2295. if not air and animpose == "Walking" and movespeed > 16 then
  2296. animpose = "Walking"--or Running
  2297. end
  2298. if not air and movespeed == 0 then
  2299. animpose = "Idle"
  2300. end
  2301. until not settings.CustomAnim
  2302. end)
  2303. for i,v in pairs(char:GetDescendants()) do
  2304. pcall(function()
  2305. v.Transparency = 1
  2306. end)
  2307. end
  2308.  
  2309. local change = 5
  2310. local cos,rad,ang,cf = math.cos,math.rad,CFrame.Angles,CFrame.new
  2311. while swait() and settings.CustomAnim do
  2312. local num = tick()*change
  2313. if animpose == "Walking" then
  2314. end
  2315. if animpose == "Fall" then
  2316. end
  2317. if animpose == "Idle" then
  2318. end
  2319. if animpose == "Jump" then
  2320. end
  2321. end
Advertisement
Add Comment
Please, Sign In to add comment