SHARE
TWEET

test

a guest Aug 20th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5.     script.Parent = owner.Character
  6.     local Event = Instance.new("RemoteEvent")
  7.     Event.Name = "UserInput"
  8.     local function NewFakeEvent()
  9.         local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10.         return Fake
  11.     end
  12.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17.     local function TriggerEvent(self,Event,...)
  18.         local Trigger = Mouse[Event]
  19.         if Trigger and Trigger.fakeEvent and Trigger.Function then
  20.             Trigger.Function(...)
  21.         end
  22.     end
  23.     Mouse.TrigEvent = TriggerEvent
  24.     UserInputService.TrigEvent = TriggerEvent
  25.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  26.         if FiredBy.Name ~= owner.Name then end
  27.         if Input.MouseEvent then
  28.             Mouse.Target = Input.Target
  29.             Mouse.Hit = Input.Hit
  30.         else
  31.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33.                 return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34.             end
  35.             for _,Action in pairs(ContextActionService.Actions) do
  36.                 for _,Key in pairs(Action.Keys) do
  37.                     if Key==Input.KeyCode then
  38.                         Action.Function(Action.Name,Input.UserInputState,Input)
  39.                     end
  40.                 end
  41.             end
  42.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44.         end
  45.     end)
  46.     InternalData["Mouse"] = Mouse
  47.     InternalData["ContextActionService"] = ContextActionService
  48.     InternalData["UserInputService"] = UserInputService
  49.     Event.Parent = NLS([[
  50.         local Player = owner
  51.         local Event = script:WaitForChild("UserInput")
  52.         local UserInputService = game:GetService("UserInputService")
  53.         local Mouse = Player:GetMouse()
  54.         local Input = function(Input,gameProcessedEvent)
  55.             if gameProcessedEvent then return end
  56.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57.         end
  58.         UserInputService.InputBegan:Connect(Input)
  59.         UserInputService.InputEnded:Connect(Input)
  60.         local Hit,Target
  61.         while wait(1/30) do
  62.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63.                 Hit,Target = Mouse.Hit,Mouse.Target
  64.                 Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65.             end
  66.         end
  67.     ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70.     __index = function (self,Index)
  71.         local Sandbox = function (Thing)
  72.             if Thing:IsA("Player") then
  73.                 local RealPlayer = Thing
  74.                 return setmetatable({},{
  75.                     __index = function (self,Index)
  76.                         local Type = type(RealPlayer[Index])
  77.                         if Type == "function" then
  78.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79.                                 return function (self)
  80.                                     return InternalData["Mouse"]
  81.                                 end
  82.                             end
  83.                             return function (self,...)
  84.                                 return RealPlayer[Index](RealPlayer,...)
  85.                             end
  86.                         else
  87.                             if Index == "PlrObj" then
  88.                                 return RealPlayer
  89.                             end
  90.                             return RealPlayer[Index]
  91.                         end
  92.                     end;
  93.                     __tostring = function(self)
  94.                         return RealPlayer.Name
  95.                     end
  96.                 })
  97.             end
  98.         end
  99.         if RealGame[Index] then
  100.             local Type = type(RealGame[Index])
  101.             if Type == "function" then
  102.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  103.                     return function (self,Service)
  104.                         if Service:lower() == "players" then
  105.                             return setmetatable({},{
  106.                                 __index = function (self2,Index2)
  107.                                     local RealService = RealGame:GetService(Service)
  108.                                     local Type2 = type(Index2)
  109.                                     if Type2 == "function" then
  110.                                         return function (self,...)
  111.                                             return RealService[Index2](RealService,...)
  112.                                         end
  113.                                     else
  114.                                         if Index2:lower() == "localplayer" then
  115.                                             return Sandbox(owner)
  116.                                         end
  117.                                         return RealService[Index2]
  118.                                     end
  119.                                 end;
  120.                                 __tostring = function(self)
  121.                                     return RealGame:GetService(Service).Name
  122.                                 end
  123.                             })
  124.                         elseif Service:lower() == "contextactionservice" then
  125.                             return InternalData["ContextActionService"]
  126.                         elseif Service:lower() == "contextactionservice" then
  127.                             return InternalData["UserInputService"]
  128.                         elseif Service:lower() == "runservice" then
  129.                             return setmetatable({},{
  130.                                 __index = function(self2,Index2)
  131.                                     local RealService = RealGame:GetService(Service)
  132.                                     local Type2 = type(Index2)
  133.                                     if Type2 == "function" then
  134.                                         return function (self,...)
  135.                                             return RealService[Index2](RealService,...)
  136.                                         end
  137.                                     else
  138.                                         if Index2:lower() == "bindtorenderstep" then
  139.                                             return function (self,Name,Priority,Function)
  140.                                                 return RealGame:GetService("RunService").Stepped:Connect(Function)
  141.                                             end
  142.                                         end
  143.                                         if Index2:lower() == "renderstepped" then
  144.                                             return RealService["Stepped"]
  145.                                         end
  146.                                         return RealService[Index2]
  147.                                     end
  148.                                 end
  149.                             })
  150.                         else
  151.                             return RealGame:GetService(Service)
  152.                         end
  153.                     end
  154.                 end
  155.                 return function (self,...)
  156.                     return RealGame[Index](RealGame,...)
  157.                 end
  158.             else
  159.                 if game:GetService(Index) then
  160.                     return game:GetService(Index)
  161.                 end
  162.                 return RealGame[Index]
  163.             end
  164.         else
  165.             return nil
  166.         end
  167.     end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  169. print("Complete! Running...")
  170.  
  171. print("controls:")
  172. print("z - make it morning")
  173. print("x - make it night")
  174. print("c - clean workspace")
  175. print("v - heal the player your mouse is pointing at")
  176. print("f - make the player your mouse is pointing at fat")
  177. print("n - make everyone fat")
  178. print("e - annihilate the player your mouse is pointing at")
  179. print("p - suicide")
  180. print("k - kill other players")
  181. print("b - control the player your mouse it pointing at")
  182. print("r - tp evryone to you")
  183. print("t - send the player your mouse is pointing at to 'heaven'")
  184. print("q - spawn pet")
  185. print("g - spawn a blackhole")
  186. oil = game.Players.LocalPlayer
  187. sauce = oil.Character
  188. tor = sauce:FindFirstChild("Torso") or sauce:FindFirstChild("UpperTorso")
  189. head = sauce:FindFirstChild("Head")
  190. larm = sauce:FindFirstChild("Left Arm") or sauce:FindFirstChild("LeftUpperArm")
  191. rarm = sauce:FindFirstChild("Right Arm") or sauce:FindFirstChild("RightUpperArm")
  192. rleg = sauce:FindFirstChild("Right Leg") or sauce:FindFirstChild("RightUpperLeg")
  193. lleg = sauce:FindFirstChild("Left Leg") or sauce:FindFirstChild("LeftUpperLeg")
  194. hum = sauce:FindFirstChildOfClass("Humanoid")
  195. humroot = sauce:FindFirstChild("HumanoidRootPart")
  196. mou = oil:GetMouse()
  197. remoteequipped = true
  198. controlling = false
  199. light = game:GetService("Lighting")
  200. tool = Instance.new("Tool", oil.Backpack)
  201. tool.Name = "Remote"
  202. hand = Instance.new("Part", tool)
  203. hand.Name = "Handle"
  204. hand.Size = Vector3.new(1, 1, 1)
  205. hand.Transparency = 1
  206. p1 = Instance.new("Part", hand)
  207. p1.Size = Vector3.new(0.6, 0.1, 1.2)
  208. p1.Material = "Metal"
  209. p1.Name = "p1"
  210. p2 = Instance.new("Part", hand)
  211. p2.Size = Vector3.new(0.4, 0.1, 0.1)
  212. p2.Material = "Metal"
  213. p2.Name = "p2"
  214. p2.Shape = "Cylinder"
  215. p3 = Instance.new("Part", hand)
  216. p3.Shape = "Ball"
  217. p3.Material = "Neon"
  218. p3.Size = Vector3.new(0.15, 0.15, 0.15)
  219. p3.BrickColor = BrickColor.new("Crimson")
  220. p3.Name = "p3"
  221. p4 = Instance.new("Part", hand)
  222. p4.Size = Vector3.new(0.2, 0.4, 0.4)
  223. p4.Material = "Neon"
  224. p4.Name = "p4"
  225. p4.BrickColor = BrickColor.new("Maroon")
  226. p4.Shape = "Cylinder"
  227. w1 = Instance.new("Weld", p1)
  228. w1.Part0 = hand
  229. w1.Part1 = p1
  230. w1.C1 = CFrame.new(0, 0, 0.6)
  231. w1.Name = "w1"
  232. w2 = Instance.new("Weld", p2)
  233. w2.Part0 = hand
  234. w2.Part1 = p2
  235. w2.C1 = CFrame.new(1.3, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  236. w3 = Instance.new("Weld", p3)
  237. w3.Part0 = hand
  238. w3.Part1 = p3
  239. w3.C1 = CFrame.new(0, 0, 1.5)
  240. w4 = Instance.new("Weld", p4)
  241. w4.Part0 = hand
  242. w4.Part1 = p4
  243. w4.C1 = CFrame.new(0.1, 0, 0.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
  244.  
  245.  
  246. tool.Equipped:connect(function()
  247. remoteequipped = true
  248. function pressed(key)
  249. if remoteequipped == true then
  250. if key == "x" then
  251. light.TimeOfDay = 21
  252. elseif key == "z" then
  253. light.TimeOfDay = 7
  254. elseif key == "c" then
  255. for i,v in pairs(workspace:GetChildren()) do
  256. if v:IsA("Part") and v.Name ~= "Base" then
  257. v.Locked = false
  258. v:remove()
  259. end
  260. if v:IsA("Model") and not v:FindFirstChildOfClass("Humanoid") then
  261. v:remove()
  262. end
  263. end
  264. elseif key == "p" then
  265. hum.Health = 0
  266. elseif key == "k" then
  267. for i,v in pairs(workspace:GetChildren()) do
  268. if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
  269. khum = v:FindFirstChildOfClass("Humanoid")
  270. khum.Health = 0
  271. end
  272. end
  273. elseif key == "r" then
  274. for i,v in pairs(workspace:GetChildren()) do
  275. if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
  276. vtor = v:FindFirstChild("Torso" )or v:FindFirstChild("UpperTorso")
  277. vtor.CFrame = tor.CFrame * CFrame.new(0, 0, -5)
  278. end
  279. end
  280. elseif key == "v" then
  281. if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
  282. mouhum = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
  283. mouhum.Health = mouhum.MaxHealth
  284. mouhead = mou.Target.Parent:FindFirstChild("Head")
  285. bill = Instance.new("BillboardGui", mouhead)
  286. bill.AlwaysOnTop = true
  287. bill.StudsOffset = Vector3.new(0, 2, 0)
  288. bill.Adornee = mouhead
  289. bill.Size = UDim2.new(5, 35, 5, 35)
  290. btext = Instance.new("TextLabel", bill)
  291. btext.Text = mou.Target.Parent.Name.." has been Healed!"
  292. btext.Font = "Bodoni"
  293. btext.TextSize = 30
  294. btext.TextScaled = true
  295. btext.BorderSizePixel = 0
  296. btext.BackgroundTransparency = 1
  297. btext.Size = UDim2.new(1.5, 0, 0.5, 0)
  298. btext.TextColor = BrickColor.new("Bright green")
  299. game:GetService("Debris"):AddItem(bill, 2)
  300. end
  301. elseif key == "e" then
  302. if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
  303. local nomoretor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
  304. local nomorehum = mou.Target.parent:FindFirstChildOfClass("Humanoid")
  305. local explo = Instance.new("Explosion", workspace)
  306. explo.Position = nomoretor.Position
  307. nomorehum.Health = 0
  308. end
  309. elseif key == "f" then
  310. if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
  311. local fatman = mou.Target.Parent
  312. local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
  313. fatmanhum.WalkSpeed = 8
  314. local fattor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
  315. local hinum = Instance.new("Sound", fattor)
  316. hinum.SoundId = "rbxassetid://1278031541"
  317. hinum.Volume = 10
  318. local realfat = Instance.new("Part", fattor)
  319. realfat.BrickColor = fattor.BrickColor
  320. realfat.Material = "SmoothPlastic"
  321. local supaweld = Instance.new("Weld", realfat)
  322. supaweld.Part0 = fattor
  323. supaweld.Part1 = realfat
  324. local fat = Instance.new("SpecialMesh", realfat)
  325. fat.MeshType = "Sphere"
  326. fat.Scale = Vector3.new(0.6, 1.6, 0.9)
  327. fat.Offset = Vector3.new(0, -0.4, -0.7)
  328. hinum:Play()
  329. if fatman:FindFirstChildOfClass("Shirt") then
  330. fatman:FindFirstChildOfClass("Shirt"):remove()
  331. end
  332. end
  333. elseif key == "b" then
  334. if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") and controlling == false then
  335. controlling = true
  336. cman = mou.Target.Parent
  337. mtor = cman:FindFirstChild("Torso") or cman:FindFirstChild("UpperTorso")
  338. mlarm = cman:FindFirstChild("Left Arm") or cman:FindFirstChild("LeftUpperArm")
  339. mrarm = cman:FindFirstChild("Right Arm") or cman:FindFirstChild("RightUpperArm")
  340. mlleg = cman:FindFirstChild("Left Leg") or cman:FindFirstChild("LeftUpperLeg")
  341. mrleg = cman:FindFirstChild("Right Leg") or cman:FindFirstChild("RightUpperLeg")
  342. mhead = cman:FindFirstChild("Head")
  343. mhum = cman:FindFirstChildOfClass("Humanoid")
  344. mhum.PlatformStand = true
  345. hum.NameOcclusion = "NoOcclusion"
  346. mface = head:FindFirstChild("face")
  347. mface.Transparency = 1
  348. humroot.Transparency = 1
  349. for i,v in pairs(sauce:GetChildren()) do
  350. if v:IsA("Part") then
  351. v.Transparency = 1
  352. end
  353. if v:IsA("Accessory") then
  354. v.Handle.Transparency = 1
  355. end
  356. end
  357. ow1 = Instance.new("Weld", tor)
  358. ow1.Part0 = tor
  359. ow1.Part1 = mtor
  360. ow2 = Instance.new("Weld", larm)
  361. ow2.Part0 = larm
  362. ow2.Part1 = mlarm
  363. ow3 = Instance.new("Weld", rarm)
  364. ow3.Part0 = rarm
  365. ow3.Part1 = mrarm
  366. ow4 = Instance.new("Weld", lleg)
  367. ow4.Part0 = lleg
  368. ow4.Part1 = mlleg
  369. ow5 = Instance.new("Weld", rleg)
  370. ow5.Part0 = rleg
  371. ow5.Part1 = mrleg
  372. ow6 = Instance.new("Weld", head)
  373. ow6.Part0 = head
  374. ow6.Part1 = mhead
  375. elseif controlling == true then
  376. controlling = false
  377. ow1:Destroy()
  378. ow2:Destroy()
  379. ow3:Destroy()
  380. ow4:Destroy()
  381. ow5:Destroy()
  382. ow6:Destroy()
  383. mhum.PlatformStand = false
  384. hum.NameOcclusion = "OccludeAll"
  385. humrootTransparency = 1
  386. mface.Transparency = 0
  387. for i,v in pairs(sauce:GetChildren()) do
  388. if v:IsA("Part") and v ~= humroot then
  389. v.Transparency = 0
  390. end
  391. if v:IsA("Accessory") then
  392. v.Handle.Transparency = 0
  393. end
  394. end
  395. end
  396. elseif key == "n" then
  397. for i,v in pairs(workspace:GetChildren()) do
  398. if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
  399. local fatman = v
  400. local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
  401. fatmanhum.WalkSpeed = 8
  402. local fattor = fatman:FindFirstChild("Torso") or fatman:FindFirstChild("UpperTorso")
  403. local hinum2 = Instance.new("Sound", fattor)
  404. hinum2.SoundId = "rbxassetid://1278031541"
  405. hinum2.Volume = 10
  406. local realfat = Instance.new("Part", fattor)
  407. realfat.BrickColor = fattor.BrickColor
  408. realfat.Material = "SmoothPlastic"
  409. local supaweld = Instance.new("Weld", realfat)
  410. supaweld.Part0 = fattor
  411. supaweld.Part1 = realfat
  412. local fat = Instance.new("SpecialMesh", realfat)
  413. fat.MeshType = "Sphere"
  414. fat.Scale = Vector3.new(0.6, 1.6, 0.9)
  415. fat.Offset = Vector3.new(0, -0.4, -0.7)
  416. hinum2:Play()
  417. if fatman:FindFirstChildOfClass("Shirt") then
  418. fatman:FindFirstChildOfClass("Shirt"):remove()
  419. end
  420. end
  421. end
  422. elseif key == "t" then
  423. if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
  424. local goneman = mou.Target.Parent
  425. local gonehead = goneman:FindFirstChild("Head")
  426. local gonetor = goneman:FindFirstChild("Torso") or goneman:FindFirstChild("UpperTorso")
  427. local lightb = Instance.new("Part", goneman)
  428. lightb.Shape = "Cylinder"
  429. lightb.CanCollide = false
  430. lightb.Anchored = true
  431. lightb.Size = Vector3.new(300, 10, 10)
  432. lightb.Material = "Neon"
  433. lightb.Transparency = 0.5
  434. lightb.BrickColor = BrickColor.new("New Yeller")
  435. lightb.CFrame = gonetor.CFrame * CFrame.new(0, 140, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
  436. local start = gonetor.CFrame
  437. local finish = lightb.CFrame * CFrame.new(140, 0, 0)
  438. for i = 0,1,.01 do
  439. gonetor.CFrame = start:lerp(finish, i)
  440. wait()
  441. end
  442. gonehead.Size = Vector3.new(50, 50, 50)
  443. lightb:Destroy()
  444. end
  445. elseif key == "q" then
  446. if mou.Target ~= nil then
  447. local dont = Instance.new("Part", sauce)
  448. dont.CFrame = mou.Hit
  449. dont.Material = "Sand"
  450. dont.BrickColor = BrickColor.new("Pastel yellow")
  451. dont.Size = Vector3.new(3, 3, 3)
  452. dont.Shape = "Ball"
  453. dont.Anchored = true
  454. local obj = Instance.new("Sound", dont)
  455. local feats = {463838589, 691897627, 179270320, 425407550, 1074595721, 1065045593, 142688397, 1308566029, 1402510823}
  456. obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)]
  457. obj.Volume = 10
  458. obj.Looped = true
  459. obj:Play()
  460. oil.Chatted:connect(function(msg)
  461. if msg:lower():sub(1, 7) == "plastic" then
  462. dont.Material = "Plastic"
  463. elseif msg:lower():sub(1, 5) == "slate" then
  464. dont.Material = "Slate"
  465. elseif msg:lower():sub(1, 3) == "ice" then
  466. dont.Material = "Ice"
  467. elseif msg:lower():sub(1, 5) == "metal" then
  468. dont.Material = "Metal"
  469. elseif msg:lower():sub(1, 4) == "neon" then
  470. dont.Material = "Neon"
  471. elseif msg:lower():sub(1, 5) == "grass" then
  472. dont.Material = "Grass"
  473. elseif msg:lower():sub(1, 4) == "sand" then
  474. dont.Material = "Sand"
  475. elseif msg:lower():sub(1, 9) == "woodplank" then
  476. dont.Material = "WoodPlanks"
  477. elseif msg:lower():sub(1, 4) == "wood" then
  478. dont.Material = "Wood"
  479. elseif msg:lower():sub(1, 6) == "marble" then
  480. dont.Material = "Marble"
  481. elseif msg:lower():sub(1, 8) == "concrete" then
  482. dont.Material = "Concrete"
  483. elseif msg:lower():sub(1, 5) == "brick" then
  484. dont.Material = "Brick"
  485. elseif msg:lower():sub(1, 7) == "granite" then
  486. dont.Material = "Granite"
  487. elseif msg:lower():sub(1, 6) == "pebble" then
  488. dont.Material = "Pebble"
  489. elseif msg:lower():sub(1, 11) == "cobblestone" then
  490. dont.Material = "Cobblestone"
  491. elseif msg:lower():sub(1, 13) == "corrodedmetal" then
  492. dont.Material = "CorrodedMetal"
  493. elseif msg:lower():sub(1, 12) == "diamondplate" then
  494. dont.Material = "DiamondPlate"
  495. elseif msg:lower():sub(1, 4) == "foil" then
  496. dont.Material = "Foil"
  497. elseif msg:lower():sub(1, 6) == "fabric" then
  498. dont.Material = "Fabric"
  499. elseif msg:lower():sub(1, 6) == "yellow" then
  500. dont.BrickColor = BrickColor.new("New Yeller")
  501. elseif msg:lower():sub(1, 6) == "purple" then
  502. dont.BrickColor = BrickColor.new("Bright violet")
  503. elseif msg:lower():sub(1, 3) == "red" then
  504. dont.BrickColor = BrickColor.new("Crimson")
  505. elseif msg:lower():sub(1, 5) == "black" then
  506. dont.BrickColor = BrickColor.new("Really black")
  507. elseif msg:lower():sub(1, 5) == "white" then
  508. dont.BrickColor = BrickColor.new("Institutional white")
  509. elseif msg:lower():sub(1, 4) == "pink" then
  510. dont.BrickColor = BrickColor.new("Hot pink")
  511. elseif msg:lower():sub(1, 5) == "green" then
  512. dont.BrickColor = BrickColor.new("Bright green")
  513. elseif msg:lower():sub(1, 4) == "grey" then
  514. dont.BrickColor = BrickColor.new("Medium stone grey")
  515. elseif msg:lower():sub(1, 5) == "brown" then
  516. dont.BrickColor = BrickColor.new("Burnt Sienna")
  517. elseif msg:lower():sub(1, 6) == "orange" then
  518. dont.BrickColor = BrickColor.new("Deep orange")
  519. elseif msg:lower():sub(1, 4) == "blue" then
  520. dont.BrickColor = BrickColor.new("Really blue")
  521. elseif msg:lower():sub(1, 4) == "cyan" then
  522. dont.BrickColor = BrickColor.new("Cyan")
  523. elseif msg:lower():sub(1, 6) == "pastel" then
  524. dont.BrickColor = BrickColor.new("Pastel yellow")
  525. elseif msg:lower():sub(1, 5) == "ghost" then
  526. dont.Transparency = 0.7
  527. elseif msg:lower():sub(1, 5) == "alive" then
  528. dont.Transparency = 0
  529. elseif msg:lower():sub(1, 5) == "block" then
  530. dont.Shape = "Block"
  531. elseif msg:lower():sub(1, 4) == "ball" then
  532. dont.Shape = "Ball"
  533. elseif msg:lower():sub(1, 3) == "bye" then
  534. dont:Destroy()
  535. elseif msg:lower():sub(1, 17) == "pick another song" then
  536. obj:Stop()
  537. obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)]
  538. obj.Volume = 10
  539. obj.Looped = true
  540. obj:Play()
  541. elseif msg:lower():sub(1, 4) == "play" then
  542. obj:Play()
  543. elseif msg:lower():sub(1, 4) == "stop" then
  544. obj:Stop()
  545. elseif msg:lower():sub(1, 3) == "add" then
  546. obj:Stop()
  547. local arg = msg:sub(5, 999)
  548. obj.SoundId = "rbxassetid://"..arg
  549. obj:Play()
  550. end
  551. end)
  552. while true do
  553. for i = 0,1,.001 do
  554. dont.CFrame = dont.CFrame:lerp(tor.CFrame * CFrame.new(0, 5, 3), i)
  555. dont.Size = Vector3.new(obj.PlaybackLoudness/80, obj.PlaybackLoudness/80, obj.PlaybackLoudness/80)
  556. wait()
  557. end
  558. wait()
  559. end
  560. end
  561. elseif key == "g" then
  562. if mou.Target ~= nil then
  563. local MAN = mou.Target.Parent
  564. local MANT = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
  565. local hole = Instance.new("Part", workspace)
  566. hole.Shape = "Ball"
  567. hole.Size = Vector3.new(0.7, 0.7, 0.7)
  568. hole.BrickColor = BrickColor.new("Eggplant")
  569. hole.Anchored = true
  570. hole.Material = "Neon"
  571. hole.CFrame = mou.Hit
  572. for i,v in pairs(workspace:GetChildren()) do
  573. if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
  574. local owtor = v
  575. blacktor = owtor:FindFirstChild("Torso") or owtor:FindFirstChild("UpperTorso")
  576. bodpos = Instance.new("BodyPosition", blacktor)
  577. bodpos.Position = hole.Position
  578. bodpos.P = 5000000000
  579. bodpos.MaxForce = Vector3.new(500000000, 500000000, 500000000)
  580. end
  581. end
  582. end
  583.  
  584. end
  585. end
  586. end
  587. mou.KeyDown:connect(pressed)
  588. end)
  589. tool.Unequipped:connect(function()
  590. remoteequipped = false
  591. end)
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. --https://github.com/Mokiros/roblox-FE-compatibility
  599. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  600. local Player,game,owner = owner,game
  601. local RealPlayer = Player
  602. do
  603.     print("FE Compatibility code by Mokiros")
  604.     local rp = RealPlayer
  605.     script.Parent = rp.Character
  606.    
  607.     --RemoteEvent for communicating
  608.     local Event = Instance.new("RemoteEvent")
  609.     Event.Name = "UserInput_Event"
  610.  
  611.     --Fake event to make stuff like Mouse.KeyDown work
  612.     local function fakeEvent()
  613.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  614.         t.connect = t.Connect
  615.         return t
  616.     end
  617.  
  618.     --Creating fake input objects with fake variables
  619.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  620.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  621.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  622.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  623.     end}
  624.     --Merged 2 functions into one by checking amount of arguments
  625.     CAS.UnbindAction = CAS.BindAction
  626.  
  627.     --This function will trigger the events that have been :Connect()'ed
  628.     local function te(self,ev,...)
  629.         local t = m[ev]
  630.         if t and t._fakeEvent then
  631.             for _,f in pairs(t.Functions) do
  632.                 f(...)
  633.             end
  634.         end
  635.     end
  636.     m.TrigEvent = te
  637.     UIS.TrigEvent = te
  638.  
  639.     Event.OnServerEvent:Connect(function(plr,io)
  640.         if plr~=rp then return end
  641.         m.Target = io.Target
  642.         m.Hit = io.Hit
  643.         if not io.isMouse then
  644.             local b = io.UserInputState == Enum.UserInputState.Begin
  645.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  646.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  647.             end
  648.             if io.UserInputType == Enum.UserInputType.MouseButton2 then
  649.                 return m:TrigEvent(b and "Button2Down" or "Button2Up")
  650.             end
  651.             for _,t in pairs(CAS.Actions) do
  652.                 for _,k in pairs(t.Keys) do
  653.                     if k==io.KeyCode then
  654.                         t.Function(t.Name,io.UserInputState,io)
  655.                     end
  656.                 end
  657.             end
  658.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  659.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  660.         end
  661.     end)
  662.     Event.Parent = NLS([==[
  663.     local Player = game:GetService("Players").LocalPlayer
  664.     local Event = script:WaitForChild("UserInput_Event")
  665.     local Mouse = Player:GetMouse()
  666.     local UIS = game:GetService("UserInputService")
  667.     local input = function(io,a)
  668.         if a then return end
  669.         --Since InputObject is a client-side instance, we create and pass table instead
  670.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  671.     end
  672.     UIS.InputBegan:Connect(input)
  673.     UIS.InputEnded:Connect(input)
  674.     local h,t
  675.     --Give the server mouse data 30 times every second, but only if the values changed
  676.     --If player is not moving their mouse, client won't fire events
  677.     while wait(1/30) do
  678.         if h~=Mouse.Hit or t~=Mouse.Target then
  679.             h,t=Mouse.Hit,Mouse.Target
  680.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  681.         end
  682.     end]==],Player.Character)
  683.  
  684.     ----Sandboxed game object that allows the usage of client-side methods and services
  685.     --Real game object
  686.     local _rg = game
  687.  
  688.     --Metatable for fake service
  689.     local fsmt = {
  690.         __index = function(self,k)
  691.             local s = rawget(self,"_RealService")
  692.             if s then
  693.                 return typeof(s[k])=="function"
  694.                 and function(_,...)return s[k](s,...)end or s[k]
  695.             end
  696.         end,
  697.         __newindex = function(self,k,v)
  698.             local s = rawget(self,"_RealService")
  699.             if s then s[k]=v end
  700.         end
  701.     }
  702.     local function FakeService(t,RealService)
  703.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  704.         return setmetatable(t,fsmt)
  705.     end
  706.  
  707.     --Fake game object
  708.     local g = {
  709.         GetService = function(self,s)
  710.             return rawget(self,s) or _rg:GetService(s)
  711.         end,
  712.         Players = FakeService({
  713.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  714.         },"Players"),
  715.         UserInputService = FakeService(UIS,"UserInputService"),
  716.         ContextActionService = FakeService(CAS,"ContextActionService"),
  717.         RunService = FakeService({
  718.             _btrs = {},
  719.             RenderStepped = _rg:GetService("RunService").Heartbeat,
  720.             BindToRenderStep = function(self,name,_,fun)
  721.                 self._btrs[name] = self.Heartbeat:Connect(fun)
  722.             end,
  723.             UnbindFromRenderStep = function(self,name)
  724.                 self._btrs[name]:Disconnect()
  725.             end,
  726.         },"RunService")
  727.     }
  728.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  729.     g.service = g.GetService
  730.     FakeService(g,game)
  731.     --Changing owner to fake player object to support owner:GetMouse()
  732.     game,owner = g,g.Players.LocalPlayer
  733. end
  734. local plr = game:service'Players'.LocalPlayer
  735. local char = plr.Character
  736. local mouse = plr:GetMouse()
  737. local torso = char:findFirstChild("Torso")
  738. local head = char.Head
  739. local ra = char:findFirstChild("Right Arm")
  740. local la = char:findFirstChild("Left Arm")
  741. local rl = char:findFirstChild("Right Leg")
  742. local ll = char:findFirstChild("Left Leg")
  743. local rs = torso:findFirstChild("Right Shoulder")
  744. local ls = torso:findFirstChild("Left Shoulder")
  745. local equipped = false
  746. local debounce = false
  747. local slashing = false
  748. local blocking = false
  749. local blocking2 = false
  750. local stoopidstuff = Instance.new("BoolValue", char)
  751. stoopidstuff.Name = "stoopidstuff"
  752. stoopidstuff.Value = true
  753. local healing = false
  754. local storedhealth
  755. local storewalkspeed = char:findFirstChild("Humanoid").WalkSpeed
  756. local damage = 9999991e+9999
  757. local colors = {"Bright red"}
  758. function part(parent, size, formfactor,  color, collide, transparency)
  759.         local p=Instance.new("Part", parent)
  760.         p.FormFactor=formfactor
  761.         p.CanCollide=false
  762.         p.Size=size
  763.         p.Locked=true
  764.                 p.Transparency=transparency
  765.         p.Position=torso.Position
  766.         p.BrickColor=color
  767.         p.FrontSurface="SmoothNoOutlines"
  768.         p.BackSurface="SmoothNoOutlines"        
  769.         p.LeftSurface="SmoothNoOutlines"
  770.         p.BottomSurface="SmoothNoOutlines"
  771.         p.TopSurface="SmoothNoOutlines"  
  772.         p.RightSurface="SmoothNoOutlines"
  773.         return p
  774. end
  775. function wedge(parent, size, formfactor, color, collide)
  776.                 local p=Instance.new("Wedge", parent)
  777.         p.FormFactor=formfactor
  778.         p.CanCollide=false
  779.         p.Size=size
  780.         p.Locked=true
  781.         p.Position = torso.Position
  782.         p.BrickColor=color
  783.         p.FrontSurface="SmoothNoOutlines"
  784.         p.BackSurface="SmoothNoOutlines"        
  785.         p.LeftSurface="SmoothNoOutlines"
  786.         p.BottomSurface="SmoothNoOutlines"
  787.         p.TopSurface="SmoothNoOutlines"  
  788.         p.RightSurface="SmoothNoOutlines"
  789. return p
  790. end
  791. function weld(c0, c1, part1, part0)
  792.         local wel=Instance.new("Weld", char)
  793.         wel.Part0 = part0
  794.         wel.Part1 = part1
  795.         wel.C0 = c0
  796.         wel.C1 = c1
  797.         return wel
  798. end
  799. function specialmesh(parent, meshType, scale, meshId)
  800.         local mesh = Instance.new("SpecialMesh", parent)
  801.         mesh.Scale = scale
  802.         mesh.MeshType = meshType
  803.         mesh.MeshId = meshId
  804.         return mesh
  805. end
  806. function equip()
  807. ar = Instance.new("Part", char)
  808. ar.FormFactor = "Custom"
  809. ar.Size = Vector3.new(1, 1, 1)
  810. ar.Transparency = 1
  811. ar.CanCollide = false
  812. ar.Locked = true
  813. ar:BreakJoints()
  814. fakel = Instance.new("Weld", char)
  815. fakel.Part0 = char.Torso
  816.        fakel.Part1 = ar
  817. coroutine.wrap(function()
  818. for angle = 0, 45, 5 do
  819.         if fakel == nil then return end
  820. fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(0), math.rad(0))
  821. wait()
  822. end
  823.         end)()
  824. welditbro = Instance.new("Weld", char)
  825. welditbro.C0 = CFrame.new(0, 0.5, 0)
  826. welditbro.Part0 = ra
  827. welditbro.Part1 = ar
  828. end
  829. function block()
  830.         if not equipped then return end
  831.                 stoopidstuff.Value = true
  832.         damage = 200000000
  833.         char:findFirstChild("Humanoid").WalkSpeed = 6
  834. storedhealth = char:findFirstChild("Humanoid").Health
  835.         for angle = 0, 70, 10 do
  836.                 fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45), math.rad(angle), 0)
  837.                 wait()
  838.         end
  839. coroutine.wrap(function()
  840. while blocking do
  841.         if not blocking then return end
  842.                         char:findFirstChild("Humanoid").Health = storedhealth
  843. game:service'RunService'.Stepped:wait()
  844. end
  845. end)()
  846. end
  847. function unblock()
  848.                         stoopidstuff.Value = false
  849.         if not equipped then return end
  850.         damage = 3000000
  851.         char:findFirstChild("Humanoid").WalkSpeed = storewalkspeed
  852.                 for angle = 70, 0, -10 do
  853.                 fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45), math.rad(angle), 0)
  854.                 wait()
  855.                 end
  856. blocking = false
  857. end
  858. function block2()
  859.         if not equipped then return end
  860.                 stoopidstuff.Value = true
  861.         damage = 20000000
  862.         char:findFirstChild("Humanoid").WalkSpeed = 6
  863. storedhealth = char:findFirstChild("Humanoid").Health
  864.         for angle = 0, 50, 10 do
  865.                 fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45 + angle/6), 0, -math.rad(angle))
  866.                 wait()
  867.         end
  868. coroutine.wrap(function()
  869. while blocking2 do
  870.         if not blocking2 then return end
  871.                         char:findFirstChild("Humanoid").Health = storedhealth
  872. game:service'RunService'.Stepped:wait()
  873. end
  874. end)()
  875. end
  876. function unblock2()
  877.                         stoopidstuff.Value = false
  878.         if not equipped then return end
  879.         damage = 30000
  880.         char:findFirstChild("Humanoid").WalkSpeed = storewalkspeed
  881.                 for angle = 50, 0, -10 do
  882.                 fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45 + angle/6), math.rad(0), -math.rad(angle))
  883.                 wait()
  884.                 end
  885.                                 blocking2 = false
  886.                 end
  887. function heal()
  888.         ar2 = Instance.new("Part", char)
  889. ar2.FormFactor = "Custom"
  890. ar2.Size = Vector3.new(1, 1, 1)
  891. ar2.Transparency = 1
  892. ar2.CanCollide = false
  893. ar2.Locked = true
  894. ar2:BreakJoints()
  895. fakel2 = Instance.new("Weld", char)
  896. fakel2.Part0 = torso
  897.        fakel2.Part1 = ar2
  898. welditbro2 = Instance.new("Weld", char)
  899. welditbro2.C0 = CFrame.new(0, 0.5, 0)
  900. welditbro2.Part0 = la
  901. welditbro2.Part1 = ar2
  902. for angle = 0, 170, 5 do
  903. fakel2.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(0), math.rad(0))
  904. wait()
  905. end
  906. local ball = Instance.new("Part", char)
  907. ball.FormFactor = "Custom"
  908. ball.BrickColor = BrickColor.new("Lime green")
  909. ball.Anchored = true
  910. ball.CanCollide = false
  911. ball.TopSurface = 0
  912. ball.BottomSurface = 0
  913. ball.Transparency = 0.4
  914. ball.Locked = true
  915. ball.Shape = "Ball"
  916. ball.CFrame = torso.CFrame
  917. local mesh = Instance.new("SpecialMesh", ball)
  918. mesh.MeshType = "Sphere"
  919. coroutine.wrap(function()
  920. for i = 0.2, 8, 0.1 do
  921. mesh.Scale = Vector3.new(i, i, i)
  922. ball.Transparency = ball.Transparency + 0.005
  923. wait()
  924. end
  925.         ball:Destroy()
  926. end)()
  927. local splash = Instance.new("Part", char)
  928.         splash.FormFactor = "Custom"
  929.         splash.BrickColor = BrickColor.new("Lime green")
  930.         splash.Transparency = 0
  931.         splash.Anchored = true
  932.         splash.CanCollide = false
  933.         splash.BottomSurface = 0
  934.         splash.TopSurface = 0
  935.         splash.Locked = true
  936.         local mesh = Instance.new("SpecialMesh", splash)
  937.         mesh.MeshType = "FileMesh"
  938.         mesh.Scale = Vector3.new(1, 1, 1)
  939.         mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  940.         splash:BreakJoints()
  941.         splash.CFrame = ball.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  942.                 coroutine.resume(coroutine.create(function()
  943.                 for i = 0, 50, 0.5 do
  944.                         mesh.Scale = Vector3.new(i, i, 1)
  945.                         splash.Transparency = splash.Transparency + 0.01
  946.                         wait()
  947.                 end
  948.                 splash:Destroy()
  949.                 end))
  950.                
  951.                 char:findFirstChild("Humanoid").Health = char:findFirstChild("Humanoid").Health + 1000
  952.                 wait(0.5)
  953.                 welditbro2:Destroy()
  954.                 fakel2:Destroy()
  955.                 ar2:Destroy()
  956.                 ls.Parent = torso
  957.                 wait(1)
  958.                 healing = false
  959.                 end
  960.        
  961. function slash()
  962.         if blocking then return end
  963. if blocking2 then return end
  964.         if not equipped then return end
  965.         damage = 200000000
  966.                 for angle = 45, 95, 10 do
  967.         fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(angle/2), 0)
  968.         wait()
  969.                 end
  970.                 for angle = 95, 5, -20 do
  971.         fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(angle/2), 0)
  972.         wait()
  973.                 end
  974.                                 for angle = 5, 45, 10 do
  975.         fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(angle/angle - 5), 0)
  976.         wait()
  977.                                 end
  978.                                                                 slashing = false
  979.                                 fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, 0)
  980.                                 damage = 200000000
  981.                                 wait(0.2)
  982. end    
  983. function deequip()
  984.         pcall(function()
  985. ar:Destroy()
  986. fakel:Destroy()
  987. welditbro:Destroy()
  988.         end)
  989.         end
  990.        
  991. local part1 = part(char, Vector3.new(0.2, 1.4, 0.2), "Custom", BrickColor.new("Black"), 0)
  992. Instance.new("CylinderMesh", part1)
  993. local weld1 = weld(CFrame.new(0, 0, 1) * CFrame.Angles(math.pi/2, 0, 0), CFrame.new(), ra, part1)
  994. local part2 = part(char, Vector3.new(0.4, 0.4, 0.4), "Custom", BrickColor.new("Black"), 0)
  995. Instance.new("CylinderMesh", part2)
  996. local weld3 = weld(CFrame.new(0, 0.65, 0), CFrame.new(), part2, part1)
  997. local part3 = part(char, Vector3.new(0.3, 4.4, 0.3), "Custom", BrickColor.White(), 0)
  998. local mesh1 = specialmesh(part3, "Head", Vector3.new(0.8, 1, 0.8), "")
  999. local weld4 = weld(CFrame.new(0, 2.9, 0), CFrame.new(), part3, part1)
  1000. local part4 = part(char, Vector3.new(0.4, 4.4, 0.4), "Custom", BrickColor.new(colors[math.random(1, #colors)]), 0)
  1001. local mesh2 = specialmesh(part4, "Head", Vector3.new(1, 1.01, 1), "")
  1002. local weld5 = weld(CFrame.new(0, 2.9, 0), CFrame.new(), part4, part1)
  1003. local pl = Instance.new("PointLight", part4)
  1004. pl.Color = part4.BrickColor.Color
  1005. pl.Brightness = 0
  1006.                         part3.Transparency = 1
  1007.                         part4.Transparency = 1
  1008. part4.Touched:connect(function(hit)
  1009.         if not equipped then return end
  1010.         if debounce then return end
  1011.         debounce = true
  1012.                 coroutine.wrap(function()
  1013.                         pcall(function()
  1014.         if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1015.                                         if hit.Parent.Name == char.Name then return end
  1016.         if hit.Parent:findFirstChild("stoopidstuff") ~= nil and hit.Parent:findFirstChild("stoopidstuff").Value == true then
  1017.                 return
  1018.         end
  1019.         damagerandom = damage + math.random(0, 10)
  1020.                 hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - damagerandom
  1021.                 coroutine.wrap(function()
  1022.         local prt = Instance.new("Part", char)
  1023.         prt.FormFactor = "Custom"
  1024.         prt.Size = Vector3.new(0.1, 0.1, 0.1)
  1025.         prt.Transparency = 1
  1026.         prt.CanCollide = false
  1027.         prt.CFrame = CFrame.new(part4.CFrame.x, part4.CFrame.y, part4.CFrame.z)
  1028.         prt.Anchored = true
  1029.         coroutine.resume(coroutine.create(function()
  1030.                         for i = 2, 10, 0.05 do
  1031.                                 if prt == nil then return end
  1032.                         prt.CFrame = prt.CFrame * CFrame.new(0, 0.05, 0)
  1033.                         game:service'RunService'.Stepped:wait()
  1034.                         end
  1035.         end))
  1036.        
  1037. local bg = Instance.new("BillboardGui")
  1038. bg.Parent = prt
  1039. bg.Adornee = prt
  1040. bg.Size = UDim2.new(4, 0, 3.5, 0)
  1041. bg.ExtentsOffset = Vector3.new(0, 0, 0)
  1042. local lol = Instance.new("TextLabel")
  1043. lol.Size = UDim2.new(1.3, 0, 0.4, 0)
  1044. lol.TextScaled = true
  1045. lol.TextWrapped = true
  1046. lol.BackgroundTransparency = 0.4
  1047. lol.Parent = bg
  1048. lol.FontSize = "Size24"
  1049. lol.TextColor3 = Color3.new(1, 0, 0)
  1050. lol.TextStrokeTransparency = 0
  1051. lol.Font = "ArialBold"
  1052. lol.Text = "-"..damagerandom
  1053.        
  1054. wait(5)
  1055. prt:Destroy()
  1056. end)()
  1057.         end
  1058. end)
  1059. end)()
  1060.         wait(0.1)
  1061.                 debounce = false
  1062. end)
  1063. mouse.Button1Down:connect(function(mouse)
  1064.         if slashing then return end
  1065.         if not equipped then return end
  1066. if blocking2 then return end
  1067.         if blocking then return end
  1068.         slashing = true
  1069.                 slash()
  1070. end)
  1071. mouse.KeyUp:connect(function(key)
  1072.        
  1073.         if key == "f" then
  1074.                 if not equipped then return end
  1075. if not blocking then return end
  1076.                 unblock()
  1077. char:findFirstChild("Humanoid").MaxHealth = 100
  1078.         end
  1079. if key == "g" then
  1080.                         if not equipped then return end
  1081. if not blocking2 then return end
  1082.                 unblock2()
  1083. char:findFirstChild("Humanoid").MaxHealth = 100
  1084. end
  1085. end)
  1086. mouse.KeyDown:connect(function(key)
  1087.         if key == "f" then
  1088.                 if not equipped then return end
  1089. if blocking then return end
  1090. if blocking2 then return end
  1091.                 blocking = true
  1092.                 block()
  1093.         end
  1094.         if key == "g" then
  1095.                 if not equipped then return end
  1096. if blocking then return end
  1097. if blocking2 then return end
  1098.                 blocking2 = true
  1099.                 block2()
  1100.         end
  1101.                         if key == "v" then
  1102.                         if healing then return end
  1103.                         if slashing then return end
  1104.                         healing = true
  1105.                 heal()
  1106.         end
  1107.         if key == "q" then
  1108.                 if blocking2 then return end
  1109.                 if blocking then return end
  1110.                 equipped = not equipped
  1111.                 if equipped then
  1112.                         coroutine.wrap(function()
  1113.                 while equipped do
  1114.                         part4.Transparency = 0.6
  1115.                         pl.Brightness = 0.6
  1116. wait(0.05)
  1117. part4.Transparency = 0.7
  1118. pl.Brightness = 0.8
  1119. wait(0.05)
  1120.                 end
  1121.                         end)()
  1122.                         weld1.Part1 = ra
  1123.                         weld1.C0 = CFrame.new(0, 0, 1) * CFrame.Angles(math.pi/2, 0, 0)
  1124.                                                 part3.Transparency = 0
  1125.         local sound = Instance.new("Sound", char.Head)
  1126.         sound.SoundId = [[rbxasset://sounds\Rocket whoosh 01.wav]]
  1127.         sound.Pitch = 3
  1128.         sound.Volume = 1
  1129.         sound:play()
  1130.         equip()
  1131.         wait(1)
  1132.         sound:stop()
  1133.         sound:Destroy()
  1134.                 else
  1135.                         deequip()
  1136.                         wait(0.1)
  1137.                         weld1.Part1 = rl
  1138.                         weld1.C0 = CFrame.new(-0.6,-0.8,-0.2) * CFrame.Angles(math.pi/4, 0, 0)
  1139.                         part3.Transparency = 1
  1140.                         pl.Brightness = 0
  1141.                         part4.Transparency = 1
  1142.                 end
  1143.         end
  1144.        
  1145. end)
  1146. while true do
  1147.                
  1148.         if slashing then
  1149.                         local clone = part4:clone()
  1150.                         clone.Anchored = true
  1151.                         clone.Parent = workspace
  1152.                         clone.Name = "trail"
  1153.                         clone:findFirstChild("Mesh"):Destroy()
  1154.                         Instance.new("BlockMesh", clone)
  1155.                         clone.Mesh.Scale = clone.Mesh.Scale - Vector3.new(0.8, 0, 0) + Vector3.new(0, 0, 1.6)
  1156.                         coroutine.wrap(function()
  1157.                         for i = 0, 20 do
  1158.                                 clone.Transparency = clone.Transparency + 0.05
  1159.                                 clone.Mesh.Scale = clone.Mesh.Scale - Vector3.new(0.05, 0.05, 0.05)
  1160.                                 wait()                                
  1161.                         end
  1162.                         clone:Destroy()
  1163.                         end)()
  1164.         end
  1165.         wait()
  1166.         end
  1167.  
  1168.  
  1169. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  1170. local Player,game,owner = owner,game
  1171. local RealPlayer = Player
  1172. do
  1173.     print("FE Compatibility code by Mokiros")
  1174.     local rp = RealPlayer
  1175.     script.Parent = rp.Character
  1176.    
  1177.     --RemoteEvent for communicating
  1178.     local Event = Instance.new("RemoteEvent")
  1179.     Event.Name = "UserInput_Event"
  1180.  
  1181.     --Fake event to make stuff like Mouse.KeyDown work
  1182.     local function fakeEvent()
  1183.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  1184.         t.connect = t.Connect
  1185.         return t
  1186.     end
  1187.  
  1188.     --Creating fake input objects with fake variables
  1189.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  1190.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1191.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  1192.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  1193.     end}
  1194.     --Merged 2 functions into one by checking amount of arguments
  1195.     CAS.UnbindAction = CAS.BindAction
  1196.  
  1197.     --This function will trigger the events that have been :Connect()'ed
  1198.     local function te(self,ev,...)
  1199.         local t = m[ev]
  1200.         if t and t._fakeEvent then
  1201.             for _,f in pairs(t.Functions) do
  1202.                 f(...)
  1203.             end
  1204.         end
  1205.     end
  1206.     m.TrigEvent = te
  1207.     UIS.TrigEvent = te
  1208.  
  1209.     Event.OnServerEvent:Connect(function(plr,io)
  1210.         if plr~=rp then return end
  1211.         m.Target = io.Target
  1212.         m.Hit = io.Hit
  1213.         if not io.isMouse then
  1214.             local b = io.UserInputState == Enum.UserInputState.Begin
  1215.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  1216.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  1217.             end
  1218.             if io.UserInputType == Enum.UserInputType.MouseButton2 then
  1219.                 return m:TrigEvent(b and "Button2Down" or "Button2Up")
  1220.             end
  1221.             for _,t in pairs(CAS.Actions) do
  1222.                 for _,k in pairs(t.Keys) do
  1223.                     if k==io.KeyCode then
  1224.                         t.Function(t.Name,io.UserInputState,io)
  1225.                     end
  1226.                 end
  1227.             end
  1228.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  1229.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  1230.         end
  1231.     end)
  1232.     Event.Parent = NLS([==[
  1233.     local Player = game:GetService("Players").LocalPlayer
  1234.     local Event = script:WaitForChild("UserInput_Event")
  1235.     local Mouse = Player:GetMouse()
  1236.     local UIS = game:GetService("UserInputService")
  1237.     local input = function(io,a)
  1238.         if a then return end
  1239.         --Since InputObject is a client-side instance, we create and pass table instead
  1240.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  1241.     end
  1242.     UIS.InputBegan:Connect(input)
  1243.     UIS.InputEnded:Connect(input)
  1244.     local h,t
  1245.     --Give the server mouse data 30 times every second, but only if the values changed
  1246.     --If player is not moving their mouse, client won't fire events
  1247.     while wait(1/30) do
  1248.         if h~=Mouse.Hit or t~=Mouse.Target then
  1249.             h,t=Mouse.Hit,Mouse.Target
  1250.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  1251.         end
  1252.     end]==],Player.Character)
  1253.  
  1254.     ----Sandboxed game object that allows the usage of client-side methods and services
  1255.     --Real game object
  1256.     local _rg = game
  1257.  
  1258.     --Metatable for fake service
  1259.     local fsmt = {
  1260.         __index = function(self,k)
  1261.             local s = rawget(self,"_RealService")
  1262.             if s then
  1263.                 return typeof(s[k])=="function"
  1264.                 and function(_,...)return s[k](s,...)end or s[k]
  1265.             end
  1266.         end,
  1267.         __newindex = function(self,k,v)
  1268.             local s = rawget(self,"_RealService")
  1269.             if s then s[k]=v end
  1270.         end
  1271.     }
  1272.     local function FakeService(t,RealService)
  1273.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  1274.         return setmetatable(t,fsmt)
  1275.     end
  1276.  
  1277.     --Fake game object
  1278.     local g = {
  1279.         GetService = function(self,s)
  1280.             return rawget(self,s) or _rg:GetService(s)
  1281.         end,
  1282.         Players = FakeService({
  1283.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  1284.         },"Players"),
  1285.         UserInputService = FakeService(UIS,"UserInputService"),
  1286.         ContextActionService = FakeService(CAS,"ContextActionService"),
  1287.         RunService = FakeService({
  1288.             _btrs = {},
  1289.             RenderStepped = _rg:GetService("RunService").Heartbeat,
  1290.             BindToRenderStep = function(self,name,_,fun)
  1291.                 self._btrs[name] = self.Heartbeat:Connect(fun)
  1292.             end,
  1293.             UnbindFromRenderStep = function(self,name)
  1294.                 self._btrs[name]:Disconnect()
  1295.             end,
  1296.         },"RunService")
  1297.     }
  1298.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  1299.     g.service = g.GetService
  1300.     FakeService(g,game)
  1301.     --Changing owner to fake player object to support owner:GetMouse()
  1302.     game,owner = g,g.Players.LocalPlayer
  1303. end
  1304. script.Parent = workspace.CurrentCamera
  1305. local plr = game:GetService("Players").LocalPlayer
  1306.  
  1307. local tool = Instance.new("Tool",plr:WaitForChild("Backpack"))
  1308. tool.Grip = CFrame.new(0,-0.2,-1.6) * CFrame.Angles(math.rad(100),math.rad(180),math.rad(0))
  1309. tool.Name = "bluE"
  1310.  
  1311. local part = Instance.new("Part",tool)
  1312. part.Name = "Handle"
  1313. part.Size = Vector3.new(4,6,4)
  1314. part.TopSurface = "Smooth"
  1315. part.BottomSurface = "Smooth"
  1316. part.CanCollide = false
  1317. part:BreakJoints()
  1318.  
  1319. local mesh = Instance.new("SpecialMesh",part)
  1320. mesh.MeshId = "rbxassetid://24342877" --mesh.MeshId = "rbxassetid://132920499"
  1321. mesh.TextureId = "rbxassetid://139521211" --"http://www.roblox.com/asset/?id=134479421"
  1322. mesh.Scale = Vector3.new(2,2,2)
  1323.  
  1324. local sound = Instance.new("Sound",part)
  1325. sound.SoundId = "rbxassetid://148862502"
  1326. sound.Volume = 10
  1327.  
  1328. local sound2 = Instance.new("Sound",part)
  1329. sound2.SoundId = "rbxassetid://280667448"
  1330. sound2.Volume = 5
  1331.  
  1332. local sound3 = Instance.new("Sound",part)
  1333. sound3.SoundId = "rbxassetid://198973822"
  1334. sound3.Volume = 10
  1335.  
  1336. local sound4 = Instance.new("Sound",part)
  1337. sound4.SoundId = "rbxassetid://258057783"
  1338. sound4.Volume = 10
  1339.  
  1340. local sound5 = Instance.new("Sound",part)
  1341. sound5.SoundId = "rbxassetid://130932305"
  1342. sound5.Volume = 10
  1343.  
  1344. local sound6 = Instance.new("Sound",part)
  1345. sound6.SoundId = "rbxassetid://906084456"
  1346. sound6.Volume = 10
  1347. sound6.TimePosition = 2
  1348.  
  1349. function firstHum(target)
  1350.     for i,v in pairs(target:GetChildren()) do
  1351.         if v:IsA("Humanoid") then
  1352.             return v
  1353.         end
  1354.     end
  1355.     return nil
  1356. end
  1357.  
  1358. local slap = false
  1359. local cd = false
  1360.  
  1361. plr:GetMouse().Button1Down:connect(function()
  1362.     if tool.Parent == plr.Character then
  1363.         if slap == false then
  1364.             slap = true
  1365.             sound2:Play()
  1366.             local str = Instance.new("StringValue")
  1367.             str.Name = "toolanim"
  1368.             str.Value = "Slash"
  1369.             str.Parent = tool
  1370.             wait(1)
  1371.             slap = false
  1372.         end
  1373.     end
  1374. end)
  1375.  
  1376. part.Touched:connect(function(hit)
  1377.     if slap == true then
  1378.         if cd == false then
  1379.             if not hit:IsDescendantOf(plr.Character) then
  1380.                 if hit.Parent:IsA("Model") then
  1381.                     local fhum = firstHum(hit.Parent)
  1382.                     if fhum then
  1383.                         cd = true
  1384.                         fhum.PlatformStand = true
  1385.                         sound:Play()
  1386.                         local con1
  1387.                         con1 = game:GetService("RunService").Heartbeat:connect(function()
  1388.                             fhum.PlatformStand = true
  1389.                         end)
  1390.                         wait(0.1)
  1391.                         local vel = Instance.new("BodyVelocity",hit)
  1392.                         vel.Velocity = ((hit.Position - plr.Character:WaitForChild("HumanoidRootPart").Position).unit + Vector3.new(0,0.5,0))*50
  1393.                         vel.MaxForce = Vector3.new(10000000,10000000,10000000)
  1394.                         wait(1)
  1395.                         cd = false
  1396.                         vel:Destroy()
  1397.                         local vel2 = Instance.new("BodyVelocity",hit)
  1398.                         vel2.Velocity = Vector3.new(0,12.5,0)
  1399.                         vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  1400.                         local p2 = Instance.new("Part",hit)
  1401.                         p2.Anchored = true
  1402.                         p2.Transparency = 0.6
  1403.                         p2.CanCollide = false
  1404.                         p2.Size = Vector3.new(0.2,0.2,0.2)
  1405.                         p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  1406.                         p2.BrickColor = BrickColor.new("New Yeller")
  1407.                         p2.Material = "Neon"
  1408.                         local m2 = Instance.new("CylinderMesh",p2)
  1409.                         m2.Scale = Vector3.new(60,10000,60)
  1410.                         local scln = sound3:Clone()
  1411.                         scln.Parent = hit
  1412.                         scln:Play()
  1413.                         local con2
  1414.                         con2 = game:GetService("RunService").Heartbeat:connect(function()
  1415.                             p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  1416.                         end)
  1417.                         wait(7)
  1418.                         vel2.Velocity = Vector3.new(0,0,0)
  1419.                         wait(0.5)
  1420.                         scln:Stop()
  1421.                         local scln3 = sound5:Clone()
  1422.                         scln3.Parent = hit
  1423.                         scln3:Play()
  1424.                         wait(1)
  1425.                         local bav = Instance.new("BodyAngularVelocity",hit)
  1426.                         bav.AngularVelocity = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
  1427.                         vel2.Velocity = Vector3.new(0,-250,0)
  1428.                         p2.BrickColor = BrickColor.new("Really red")
  1429.                         local scln6 = sound6:Clone()
  1430.                         scln6.Parent = hit
  1431.                         scln6:Play()
  1432.                         local continue = false
  1433.                         local htc
  1434.                         htc = hit.Touched:connect(function(hitp)
  1435.                             if not hitp:IsDescendantOf(hit.Parent) then
  1436.                                 continue = true
  1437.                                 scln6:Stop()
  1438.                                 vel2:Destroy()
  1439.                                 con2:Disconnect()
  1440.                                 con1:Disconnect()
  1441.                                 htc:Disconnect()
  1442.                                 p2:Destroy()
  1443.                             end
  1444.                         end)
  1445.                         repeat wait() until continue == true
  1446.                         local ctab = {}
  1447.                         for i=1,4 do
  1448.                             local p = Instance.new("Part",hit)
  1449.                             p.Size = Vector3.new(30,30,30)
  1450.                             p.Anchored = true
  1451.                             p.CanCollide = false
  1452.                             p.TopSurface = "Smooth"
  1453.                             p.BottomSurface = "Smooth"
  1454.                             p.Color = Color3.fromRGB(255,math.random(0,255),0)
  1455.                             p.CFrame = hit.CFrame
  1456.                             local con
  1457.                             con = game:GetService("RunService").Heartbeat:connect(function()
  1458.                                 p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  1459.                                 p.Transparency = p.Transparency + 0.01
  1460.                                 if p.Transparency >= 1 then
  1461.                                     con:Disconnect()
  1462.                                 end
  1463.                             end)
  1464.                             table.insert(ctab,con)
  1465.                         end
  1466.                         Instance.new("Explosion",workspace).Position = hit.Position
  1467.                         local scln2 = sound4:Clone()
  1468.                         scln2.Parent = hit
  1469.                         scln2:Play()
  1470.                         vel2:Destroy()
  1471.                         hit.Parent:BreakJoints()
  1472.                         repeat wait() until not hit:IsDescendantOf(workspace)
  1473.                         con2:Disconnect()
  1474.                     end
  1475.                 end
  1476.             end
  1477.         end
  1478.     end
  1479. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top