Advertisement
Guest User

Untitled

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