Advertisement
EARTHWORM_SALLY

Caramelldansen (lol fe now owo)

Jul 13th, 2019
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.69 KB | None | 0 0
  1. -- actually FE converter by ipxter --
  2. ------------------------FE CONVERTER BY IPXTER, INTRO MADE BY RAMIN999232.--------------------------
  3. print'ACTUALLY, THIS IS FE CONVERTER BY IPXTER, THANKS TO TUSK (VOIDSB OWNER) FOR MAKING THE ROBLOX USERNAME MOD AT VOIDSB!'
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88. print([[
  89.  
  90. __________________________________________________
  91.  
  92.  
  93. no actually its FE now
  94.  
  95. FE CONVERTER BY IPXTER
  96.  
  97.  
  98. MADE BY CKBACKUP
  99.  
  100.  
  101. MADE FE BY RAMIN999232
  102.  
  103.  
  104. _________________________________________________________
  105.  
  106.  
  107. its fucking not my rare script plz leak
  108. april foolls
  109.  
  110. its fucking my rare script dont leak plz!!
  111.  
  112. discord: fucking m8 no
  113.  
  114. ________________________________________________________
  115.  
  116.  
  117.  
  118. why i am showing my pc stats
  119.  
  120. Machine info: -------------------------------------------------------
  121. Windows 7 64bit, 8076 MB RAM
  122. Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
  123. Intel(R) HD Graphics, Intel(R) HD Graphics Family, 1696 MB
  124. -------------------------------------------------------
  125.  
  126. ]])
  127.  
  128.  
  129. wait(1/60)
  130. Effects = { }
  131. local Player = owner
  132. local chara = Player.Character
  133. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  134. local LeftArm = chara["Left Arm"]
  135. local RightArm = chara["Right Arm"]
  136. local LeftLeg = chara["Left Leg"]
  137. local RightLeg = chara["Right Leg"]
  138. local Head = chara.Head
  139. local Torso = chara.Torso
  140. local Camera = game.Workspace.CurrentCamera
  141. local RootPart = chara.HumanoidRootPart
  142. local RootJoint = RootPart.RootJoint
  143. local attack = false
  144. local Anim = 'Idle'
  145. local attacktype = 1
  146. local delays = false
  147. local play = true
  148. local targetted = nil
  149. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  150. local velocity = RootPart.Velocity.y
  151. local sine = 0
  152. local change = 1
  153. local doe = 0
  154. local Create = LoadLibrary("RbxUtility").Create
  155. Humanoid.WalkSpeed = 2
  156.  
  157. Humanoid.Animator.Parent = nil
  158. chara.Animate.Parent = nil
  159.  
  160. local newMotor = function(part0, part1, c0, c1)
  161. local w = Create('Motor'){
  162. Parent = part0,
  163. Part0 = part0,
  164. Part1 = part1,
  165. C0 = c0,
  166. C1 = c1,
  167. }
  168. return w
  169. end
  170.  
  171. function clerp(a, b, t)
  172. return a:lerp(b, t)
  173. end
  174.  
  175. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  176. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  177.  
  178. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  179. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  180. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  181. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  182. RootJoint.C1 = CFrame.new(0, 0, 0)
  183. RootJoint.C0 = CFrame.new(0, 0, 0)
  184. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  185. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  186.  
  187. local rarmc1 = RW.C1
  188. local larmc1 = LW.C1
  189. local rlegc1 = RH.C1
  190. local llegc1 = LH.C1
  191.  
  192. local resetc1 = false
  193.  
  194. function PlayAnimationFromTable(table, speed, bool)
  195. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  196. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  197. RW.C0 = clerp(RW.C0, table[3], speed)
  198. LW.C0 = clerp(LW.C0, table[4], speed)
  199. RH.C0 = clerp(RH.C0, table[5], speed)
  200. LH.C0 = clerp(LH.C0, table[6], speed)
  201. if bool == true then
  202. if resetc1 == false then
  203. resetc1 = true
  204. RootJoint.C1 = RootJoint.C1
  205. Torso.Neck.C1 = Torso.Neck.C1
  206. RW.C1 = rarmc1
  207. LW.C1 = larmc1
  208. RH.C1 = rlegc1
  209. LH.C1 = llegc1
  210. end
  211. end
  212. end
  213.  
  214. ArtificialHB = Instance.new("BindableEvent", script)
  215. ArtificialHB.Name = "Heartbeat"
  216. script:WaitForChild("Heartbeat")
  217. frame = 0.03333333333333
  218. tf = 0
  219. allowframeloss = false
  220. tossremainder = false
  221. lastframe = tick()
  222. script.Heartbeat:Fire()
  223. game:GetService("RunService").Heartbeat:connect(function(s, p)
  224. tf = tf + s
  225. if tf >= frame then
  226. if allowframeloss then
  227. script.Heartbeat:Fire()
  228. lastframe = tick()
  229. else
  230. for i = 1, math.floor(tf / frame) do
  231. script.Heartbeat:Fire()
  232. end
  233. lastframe = tick()
  234. end
  235. if tossremainder then
  236. tf = 0
  237. else
  238. tf = tf - frame * math.floor(tf / frame)
  239. end
  240. end
  241. end)
  242. function swait(num)
  243. if num == 0 or num == nil then
  244. ArtificialHB.Event:wait()
  245. else
  246. for i = 0, num do
  247. ArtificialHB.Event:wait()
  248. end
  249. end
  250. end
  251.  
  252. function RemoveOutlines(part)
  253. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  254. end
  255.  
  256. sndid = "rbxassetid://176322684"
  257. sndpi = .7
  258. saun = Instance.new("Sound",Head)
  259. saun.Volume = 1
  260. saun.Pitch = sndpi
  261. saun.SoundId = sndid
  262. saun.Name = "a"
  263. saun.Looped = true
  264. saun:Play()
  265.  
  266. dant = 0
  267.  
  268. Mouse.KeyDown:connect(function(key)
  269. key=key:lower()
  270. if key=="e" then
  271. if dant == 0 then
  272. dant = 1
  273. sndid = "rbxassetid://448668887"
  274. sndpi = 1
  275. elseif dant == 1 then
  276. dant = 0
  277. sndid = "rbxassetid://176322684"
  278. sndpi = .7
  279. end
  280. saun.Pitch = sndpi
  281. saun.SoundId = sndid
  282. saun:Play()
  283. end
  284. end)
  285.  
  286. while true do
  287. if Head:FindFirstChild("a")==nil then
  288. saun = Instance.new("Sound",Head)
  289. saun.Volume = 1
  290. saun.Pitch = sndpi
  291. saun.SoundId = sndid
  292. saun.Name = "a"
  293. saun.Looped = true
  294. saun:Play()
  295. end
  296. if dant == 0 then
  297. for i = 0, 1, 0.25 do
  298. swait()
  299. PlayAnimationFromTable({
  300. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  301. CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  302. CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758),
  303. CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728),
  304. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  305. CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  306. }, .5, false)
  307. end
  308. for i = 0, 1, 0.25 do
  309. swait()
  310. PlayAnimationFromTable({
  311. CFrame.new(-0.268402338, -0.187939167, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  312. CFrame.new(-0.409892142, 1.36144388, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1),
  313. CFrame.new(0.535924554, 1.16478181, 3.87430191e-07, -0.431316972, 0.32139343, 0.843013644, 0.185034022, -0.883022308, 0.431316644, 0.883022249, 0.342020333, 0.321393758),
  314. CFrame.new(-1.03069234, 0.594579875, -2.38418579e-07, -0.211470842, 0.321393758, -0.923030972, -0.418988168, -0.883022726, -0.211470872, -0.883022726, 0.342019141, 0.321393728),
  315. CFrame.new(0.951213062, -1.54518354, 0, 0.866025686, -0.499999642, 0, 0.499999642, 0.866025686, 0, 0, 0, 1),
  316. CFrame.new(0.214191973, -1.8503952, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1),
  317. }, .5, false)
  318. end
  319. for i = 0, 1, 0.25 do
  320. swait()
  321. PlayAnimationFromTable({
  322. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  323. CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  324. CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758),
  325. CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728),
  326. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  327. CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  328. }, .5, false)
  329. end
  330. for i = 0, 1, 0.25 do
  331. swait()
  332. PlayAnimationFromTable({
  333. CFrame.new(0.268400908, -0.187940732, 0, 0.939692855, -0.342019945, 0, 0.342019975, 0.939692795, 0, 0, 0, 1),
  334. CFrame.new(0.409947664, 1.36144304, 0, 0.766039729, 0.642798781, 0, -0.642787337, 0.766043961, 0, 0, 0, 1),
  335. CFrame.new(1.03070939, 0.594575524, -2.2649765e-06, -0.21146287, -0.321413547, 0.923025966, 0.418989599, -0.883016884, -0.21149224, 0.883023918, 0.342015505, 0.321394145),
  336. CFrame.new(-0.535904408, 1.16477537, -3.27825546e-07, -0.431322306, -0.321409196, -0.843005002, -0.185032129, -0.883013964, 0.431334615, -0.883019984, 0.342027217, 0.321392536),
  337. CFrame.new(-0.214235365, -1.8503921, 0, 0.766041398, 0.64279145, 0, -0.64279151, 0.766041279, 0, 0, 0, 1),
  338. CFrame.new(-0.965987146, -1.57677674, 0, 0.866024733, 0.500001609, 0, -0.500001609, 0.866024613, 0, 0, 0, 1),
  339. }, .5, false)
  340. end
  341. elseif dant == 1 then
  342. for i = 0, 1, 0.1 do
  343. swait()
  344. PlayAnimationFromTable({
  345. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  346. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  347. CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0),
  348. CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0),
  349. CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  350. CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  351. }, .2, false)
  352. end
  353. for i = 0, 1, 0.1 do
  354. swait()
  355. PlayAnimationFromTable({
  356. CFrame.new(-0.0436433926, 0, -0.113613628, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
  357. CFrame.new(0, 1.49999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  358. CFrame.new(1.09998989, 1, -0.599998474, 0, 0, 1, 1, 0, 0, 0, 1, 0),
  359. CFrame.new(-1.10000229, 1, -0.599998474, 0, 0, -1, -1, 0, 0, 0, 1, 0),
  360. CFrame.new(0.499988556, -1.99999797, -3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  361. CFrame.new(-0.500012398, -1.78038144, -0.819608092, 1, 0, 1.49011612e-08, 0, 0.499999046, -0.866025984, 0, 0.866026044, 0.499999046),
  362. }, .2, false)
  363. end
  364. for i = 0, 1, 0.1 do
  365. swait()
  366. PlayAnimationFromTable({
  367. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  368. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  369. CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0),
  370. CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0),
  371. CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  372. CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  373. }, .2, false)
  374. end
  375. for i = 0, 1, 0.1 do
  376. swait()
  377. PlayAnimationFromTable({
  378. CFrame.new(0.261404335, 0, -0.167939946, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414),
  379. CFrame.new(0, 1.49999285, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  380. CFrame.new(1.10000622, 0.999999046, -0.599996626, 0, 0, 1.00000012, 1, 0, 0, 0, 1.00000012, 0),
  381. CFrame.new(-1.09999859, 0.999999046, -0.59999758, 0, 0, -1.00000012, -1, 0, 0, 0, 1.00000012, 0),
  382. CFrame.new(0.500000179, -1.78038287, -0.81961149, 1.00000012, -2.98023224e-08, 2.98023224e-08, 0, 0.499999046, -0.866025925, 0, 0.866025984, 0.499999106),
  383. CFrame.new(-0.500003874, -1.99999893, 3.81469772e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
  384. }, .2, false)
  385. end
  386. end
  387. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement