Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has been converted to FE by iPxter
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- local p = owner
- local char = p.Character
- local hed = char.Head
- local LocalPlayer = p
- local naeeym = Instance.new("BillboardGui",char)
- naeeym.Size = UDim2.new(0,100,0,40)
- naeeym.StudsOffset = Vector3.new(0,5,0)
- naeeym.Adornee = char.Head
- local tecks = Instance.new("TextLabel",naeeym)
- tecks.BackgroundTransparency = 1
- tecks.BorderSizePixel = 0
- tecks.Text = LocalPlayer.Name
- tecks.Font = "ArialBold"
- tecks.FontSize = "Size24"
- tecks.TextStrokeTransparency = 0
- tecks.TextStrokeColor3 = Color3.new(0,0,0)
- tecks.TextColor3 = Color3.new(255,255,255)
- tecks.Size = UDim2.new(1,0,0.5,0)
- local Player = owner
- local Character = p.Character
- local LeftArm2 = Character["Left Arm"]
- local RightArm2 = Character["Right Arm"]
- local LeftLeg2 = Character["Left Leg"]
- local RightLeg2 = Character["Right Leg"]
- local Head2 = Character.Head
- local Torso2 = Character.Torso
- --created by SoldierJoao
- --Credits to metabee for the knives edit
- cut = Instance.new("Sound", Character)
- cut.SoundId = "https://www.roblox.com/asset/?id=502284205"
- cut.Volume = 1.5
- thri = Instance.new("Sound", Character)
- thri.SoundId = "https://www.roblox.com/asset/?id=502284205"
- thri.Volume = 100
- WRY = Instance.new("Sound", Character)
- WRY.SoundId = "https://www.roblox.com/asset/?id=502284205"
- WRY.Volume = 5
- local Players=game:service'Players'
- local Player=owner
- local RenderStepped=game:service'RunService'.Heartbeat
- local MeshId='http://www.roblox.com/asset?id=901086988'
- local TextureId='http://www.roblox.com/asset/?id=901087931'
- local BeeSpeed= 500
- local QHold=false
- local EHold=false
- Mouse.Button1Down:connect(function()
- cut:Play()
- if Mouse.Target then
- local Bee=Instance.new('Part',Player.Character)
- Bee.CanCollide=false
- Bee.Size=Vector3.new(1,1,1)
- Bee.CFrame=Player.Character.Torso.CFrame
- Bee.Anchored = false
- local BeeMesh=Instance.new('SpecialMesh',Bee)
- BeeMesh.MeshType='FileMesh'
- BeeMesh.MeshId=MeshId
- BeeMesh.TextureId=TextureId
- BeeMesh.Scale=Vector3.new(math.random(1,5),math.random(1,5),math.random(1,5))
- local BodyVel=Instance.new('BodyVelocity',Bee)
- BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- local BodyGyro=Instance.new('BodyGyro',Bee)
- BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
- BodyGyro.P=2e4
- coroutine.wrap(function()
- RenderStepped:connect(function()
- BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)))
- BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
- end)
- end)()
- Bee.Touched:connect(function(p)
- if p.Parent~=Player.Character and p.Parent:FindFirstChild('Humanoid') then
- p.Parent:BreakJoints()
- local sphere = Instance.new("Part")
- sphere.Size = Vector3.new()
- sphere.CFrame = Bee.CFrame
- sphere.CanCollide = false
- sphere.BrickColor = BrickColor.new("Bright yellow")
- sphere.Material = "Neon"
- sphere.Anchored = true
- local mesh = Instance.new("SpecialMesh")
- mesh.Parent = sphere
- mesh.MeshType = "Sphere"
- sphere.Touched:connect(function(touch)
- if touch ~= nil then
- if touch.Parent ~= Player.Character then
- if touch.Parent.ClassName == "Accessory" then
- if touch.Parent.Parent ~= Player.Character then
- touch:Destroy()
- end
- else
- touch:Destroy()
- end
- end
- end
- end)
- sphere.Parent = workspace
- Bee:Destroy()
- for i=1,10 do
- sphere.Size = sphere.Size + Vector3.new(3 * i, 3 * i, 3 * i)
- sphere.Transparency = sphere.Transparency + (0.05 * i)
- wait()
- end
- sphere:Destroy()
- thri:Play()
- end
- end)
- end
- end)
- Mouse.KeyDown:connect(function(k)
- local Key=k:lower''
- if Key=='q'then
- QHold=true
- elseif Key=='e'then
- EHold=true
- end
- end)
- Mouse.KeyUp:connect(function(k)
- local Key=k:lower''
- if Key=='q'then
- QHold=false
- elseif Key=='e'then
- EHold=false
- end
- end)
- coroutine.wrap(function()
- RenderStepped:connect(function()
- if QHold then
- if BeeSpeed>0 then
- BeeSpeed=BeeSpeed-50
- end
- elseif EHold then
- BeeSpeed=BeeSpeed+50
- end
- end)
- end)()
- mse = Mouse
- sound = Instance.new("Sound", Character)
- sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
- sound.Volume = 2.5
- sound2 = Instance.new("Sound", Character)
- sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
- sound2.Volume = 2.5
- sound3 = Instance.new("Sound", Character)
- sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
- sound3.Volume = 1.8
- sound4 = Instance.new("Sound", Character)
- sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
- sound4.Volume = 2
- TSTheme = Instance.new("Sound", Character)
- TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
- TSTheme.Volume = 2
- canworld = true
- mse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "t" then
- if canworld == false then return end
- if canworld then
- canworld = false
- sound3:Play()
- tecks.Text = "ZA WARUDO!"
- wait(2)
- tecks.Text = LocalPlayer.Name
- sound:Play()
- sound4:Play()
- TSTheme:Play()
- local function spawnpart()
- sphere = Instance.new("Part")
- --game.Debris:AddItem(sphere,3)
- local sm = Instance.new("SpecialMesh", sphere)
- sm.MeshType = "Sphere"
- sphere.Transparency = 0.5
- sphere.Anchored = true
- sphere.CanCollide = false
- sphere.Material = "Neon"
- sphere.BrickColor = BrickColor.new("Black")
- end
- local function weld(lol)
- local weld = Instance.new("Weld", Player.Character.Torso)
- weld.Part0 = Player.Character.Torso
- weld.Part1 = lol
- weld.C0 = Player.Character.Torso.CFrame:inverse()
- weld.C1 = lol.CFrame:inverse()
- end
- wait()
- spawnpart()
- weld(sphere)
- sphere.Parent = Character.Torso
- for i = 1,3 do
- sphere.Size = sphere.Size + Vector3.new(50,50,50)
- wait()
- end
- wait()
- sphere:Destroy()
- BeeSpeed = 0
- wait()
- end
- end
- end
- )
- tecks.Text = LocalPlayer.Name
- mse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "y" then
- canworld = true
- tecks.Text = "Time continues moving again."
- sound2:Play()
- wait()
- BeeSpeed = 10
- wait(0.5)
- BeeSpeed = 20
- wait(0.5)
- BeeSpeed = 40
- wait(0.3)
- BeeSpeed = 70
- wait(0.2)
- BeeSpeed = 500
- tecks.Text = LocalPlayer.Name
- TSTheme:Stop()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement